public class HierarchicalVocabularyBuilder extends VocabularyBuilder
Constructor and Description |
---|
HierarchicalVocabularyBuilder(MOTPipeInterface pipe,
java.lang.String buildDir,
int bufferSize,
java.lang.String[] matchedAnnotations,
java.lang.String[] skippedAnnotations,
boolean skipNumber,
int minTokenSize) |
Modifier and Type | Method and Description |
---|---|
int |
addClass(java.lang.String className,
int parentId) |
addClass, compile, feed, mergeAndSelectVocabulary, newDocument, reset, setPipe
public HierarchicalVocabularyBuilder(MOTPipeInterface pipe, java.lang.String buildDir, int bufferSize, java.lang.String[] matchedAnnotations, java.lang.String[] skippedAnnotations, boolean skipNumber, int minTokenSize) throws java.io.IOException
pipe
- The pipe used to tokenize the inputsbuilDir
- bufferSize
- Buffer size in bytes for the sortersmatchedAnnotations
- The list of annotations to matchskippedAnnotations
- The list of annotations to skipskipNumber
- if true, numbers are skippedminTokenSize
- The minimum token sizejava.io.IOException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.