diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-10-28 00:22:42 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-10-28 00:22:42 +0000 |
commit | ad5a1a959648483f6d0d049af7ce54346c28728f (patch) | |
tree | 6d1085d28dfcee2a407bdca64ecf11ae178b068c /word-aligner/support | |
parent | e474b6a282e00e4a48e0938ceaecc7ea8e682ef4 (diff) |
change stem handling
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@693 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'word-aligner/support')
-rwxr-xr-x | word-aligner/support/make_lex_grammar.pl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/word-aligner/support/make_lex_grammar.pl b/word-aligner/support/make_lex_grammar.pl index fb9d0214..3e243125 100755 --- a/word-aligner/support/make_lex_grammar.pl +++ b/word-aligner/support/make_lex_grammar.pl @@ -99,7 +99,6 @@ $oe_dict{'<eps>'} = '<eps>'; my $MIN_FEATURE_COUNT = 0; my $ADD_PREFIX_ID = 1; -my $ADD_CLASS_CLASS = 1; my $ADD_LEN = 1; my $ADD_SIM = 1; my $ADD_DICE = 1; @@ -203,11 +202,6 @@ for my $f (sort keys %fdict) { push @feats, "Dice=$dice"; } } - if ($ADD_CLASS_CLASS) { - my $ce = $eclass{$e} or die "E- no class for: '$e'"; - my $cf = $fclass{$f} or die "F- no class for: '$f'"; - push @feats, "C${cf}_${ce}=1"; - } my $is_null = undef; if ($ADD_NULL && $f eq '<eps>') { $is_null = 1; |