List of usage examples for edu.stanford.nlp.international.spanish.process SpanishTokenizer coreLabelFactory
public static TokenizerFactory<CoreLabel> coreLabelFactory()
From source file:org.knime.ext.textprocessing.language.spanish.nodes.tokenization.tokenizer.word.StanfordNlpSpanishTokenizer.java
License:Open Source License
/** Static method to generate the TokenizerFactory with given options. */ private static final TokenizerFactory<CoreLabel> getTokenizerFactory() { final TokenizerFactory<CoreLabel> tokenizer = SpanishTokenizer.coreLabelFactory(); tokenizer.setOptions(OPTIONS);//w ww. ja v a2s . co m return tokenizer; }