Package com.complexible.stardog.docs.nlp
Class Document
- java.lang.Object
-
- com.complexible.stardog.docs.nlp.Annotated
-
- com.complexible.stardog.docs.nlp.Document
-
-
Field Summary
-
Fields inherited from class com.complexible.stardog.docs.nlp.Annotated
mAnnotations
-
-
Constructor Summary
Constructors Constructor Description Document(int theSize)Create document with the given number of sentences
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token[]sentence(int theIndex)Get tokens at given sentenceToken[][]sentences()Get all tokens in this documentvoidset(int theIndex, Token[] theSentence)Set tokens for given sentenceintsize()Get number of sentences
-