本文整理汇总了Java中edu.stanford.nlp.trees.TreeNormalizer类的典型用法代码示例。如果您正苦于以下问题:Java TreeNormalizer类的具体用法?Java TreeNormalizer怎么用?Java TreeNormalizer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TreeNormalizer类属于edu.stanford.nlp.trees包,在下文中一共展示了TreeNormalizer类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: TaggedFileRecord
import edu.stanford.nlp.trees.TreeNormalizer; //导入依赖的package包/类
private TaggedFileRecord(String file, Format format,
String encoding, String tagSeparator,
TreeTransformer treeTransformer,
TreeNormalizer treeNormalizer,
NumberRangesFileFilter treeRange,
Filter<Tree> treeFilter,
Integer wordColumn, Integer tagColumn) {
this.file = file;
this.format = format;
this.encoding = encoding;
this.tagSeparator = tagSeparator;
this.treeTransformer = treeTransformer;
this.treeNormalizer = treeNormalizer;
this.treeRange = treeRange;
this.treeFilter = treeFilter;
this.wordColumn = wordColumn;
this.tagColumn = tagColumn;
}
开发者ID:benblamey,项目名称:stanford-nlp,代码行数:19,代码来源:TaggedFileRecord.java
示例2: TaggedFileRecord
import edu.stanford.nlp.trees.TreeNormalizer; //导入依赖的package包/类
private TaggedFileRecord(String file, Format format,
String encoding, String tagSeparator,
TreeTransformer treeTransformer,
TreeNormalizer treeNormalizer,
NumberRangesFileFilter treeRange,
Filter<Tree> treeFilter,
Integer wordColumn, Integer tagColumn) {
this.file = file;
this.format = format;
this.encoding = encoding;
this.tagSeparator = tagSeparator;
this.treeTransformer = treeTransformer;
this.treeNormalizer = treeNormalizer;
this.treeRange = treeRange;
this.treeFilter = treeFilter;
this.wordColumn = wordColumn;
this.tagColumn = tagColumn;
}
开发者ID:jaimeguzman,项目名称:data_mining,代码行数:19,代码来源:TaggedFileRecord.java
示例3: TueBaDZPennTreeNormalizer
import edu.stanford.nlp.trees.TreeNormalizer; //导入依赖的package包/类
public TueBaDZPennTreeNormalizer(TreebankLanguagePack tlp, int nodeCleanup, List<TreeNormalizer> tns) {
this.tlp = tlp;
this.nodeCleanup = nodeCleanup;
root = tlp.startSymbol();
this.tns.addAll(tns);
}
开发者ID:FabianFriedrich,项目名称:Text2Process,代码行数:7,代码来源:TueBaDZPennTreeNormalizer.java
示例4: FragDiscardingPennTreeReader
import edu.stanford.nlp.trees.TreeNormalizer; //导入依赖的package包/类
public FragDiscardingPennTreeReader(Reader in, TreeFactory tf, TreeNormalizer tn, Tokenizer<String> tk) {
super(in, tf, tn, tk);
}
开发者ID:FabianFriedrich,项目名称:Text2Process,代码行数:4,代码来源:FragDiscardingPennTreeReader.java
注:本文中的edu.stanford.nlp.trees.TreeNormalizer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论