public interface PartsOfSpeechTagger
| Modifier and Type | Method and Description |
|---|---|
List<PartsOfSpeechToken> |
tag(String[] tokenizedSentence)
Tags the tokens in the tokenized sentence.
|
List<PartsOfSpeechToken> |
tag(String[] sentences,
Tokenizer tokenizer)
Tags the tokens in the sentences.
|
List<PartsOfSpeechToken> |
tag(String input,
SentenceDetector sentenceDetector,
Tokenizer tokenizer)
Tags the tokens in the input.
|
List<PartsOfSpeechToken> tag(String input, SentenceDetector sentenceDetector, Tokenizer tokenizer)
input - The input.sentenceDetector - A SentenceDetector.tokenizer - A Tokenizer.PartsOfSpeechToken.List<PartsOfSpeechToken> tag(String[] sentences, Tokenizer tokenizer)
sentences - An array of sentences.tokenizer - A Tokenizer.PartsOfSpeechToken.List<PartsOfSpeechToken> tag(String[] tokenizedSentence)
tokenizedSentence - A single tokenized sentence.PartsOfSpeechToken.Copyright © 2018. All rights reserved.