More details on Phrasal discriminative features
From NLPWiki
Revision as of 16:14, 16 January 2014 by ThangLuongMinh (Talk | contribs)
Various discriminative features can be specified under the [additional-featurizers] section in Phrasal *.ini files.
Discriminative Phrase Table
edu.stanford.nlp.mt.decoder.feat.sparse.DiscriminativePhraseTable(arg1,arg2,arg3)
"arg1" -- true/false, whether to use lexicalized features or not (default=true) "arg2" -- true/false, whether to use class-based features or not (default=false) "arg3" -- int, whether to threshold feature counts (default=-1, no thresholding)
Discriminative Alignments
edu.stanford.nlp.mt.decoder.feat.sparse.DiscriminativeAlignments(arg1,arg2,arg3)
"arg1" -- true/false, whether to add source deletions or not (default=false) "arg2" -- true/false, whether to add target insertions or not (default=false) "arg3" -- true/false, whether to use class-based features or not (default=false)
Lexical Reordering
edu.stanford.nlp.mt.decoder.feat.base.LexicalReorderingFeaturizer(args), each argument can take one of the following values:
"conditionOnConstellations" "classes" "useClasses" -- use word classes "countFeatureIndexN" -- N is an int, whether to threshold feature counts (N<0, no thresholding).