diff options
Diffstat (limited to 'derivation_to_json/README')
-rw-r--r-- | derivation_to_json/README | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/derivation_to_json/README b/derivation_to_json/README index 947cefd..0f83d5a 100644 --- a/derivation_to_json/README +++ b/derivation_to_json/README @@ -1,4 +1,7 @@ -This (horrid) hack reads cdec's "--show_derivations" and "--extract_rules" -into data structures and tries to align "groups" in source and target sides -of rules in a smart, presentable way. +This (horrid) hack reads cdec's "--show_derivations" and "--extract_rules" into data structures and tries to align "groups" in source and target sides +of rules in a smart, presentable way. The result resembles a phrase-based +system, given that the word alignment gives enough hints. + +To run: + ./derivation_to_json.rb < <one of the .raw files> |