119120121122123124125126127128129
FastTag tagger = new FastTag(); List<String> words = Lists.newArrayList(Splitter.on(CharMatcher.WHITESPACE).trimResults().omitEmptyStrings() .split(current)); List<String> tagged = tagger.tag(words); IIndexWord idxWord; List<IWordID> wordID; IWord word; StringBuilder outDef = new StringBuilder();
6869707172737475767778
String[] tmpArray = current.split("\\s"); List<String> tmp = Arrays.asList(tmpArray); List<String> tagged = tagger.tag(tmp); for (int j = 0; j < tagged.size(); j++) { es.addEvent(new Event(tagged.get(j), this)); } }