From 22e05bf807ad59bfad38fcdf35bb51524034e23b Mon Sep 17 00:00:00 2001 From: redpony Date: Thu, 28 Oct 2010 00:22:42 +0000 Subject: change stem handling git-svn-id: https://ws10smt.googlecode.com/svn/trunk@693 ec762483-ff6d-05da-a07a-a48fb63a330f --- word-aligner/support/make_lex_grammar.pl | 6 ------ 1 file changed, 6 deletions(-) (limited to 'word-aligner/support') 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{''} = ''; 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 '') { $is_null = 1; -- cgit v1.2.3