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 | 22e05bf807ad59bfad38fcdf35bb51524034e23b (patch) | |
tree | ce537739d375d5216a9558414dd9d8dce065f6fc /word-aligner/support | |
parent | ecde8cb600b24c31b062f8f53d57641e3fa23379 (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; |