public static class ADSentenceStream.SentenceParser extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | ADSentenceStream.SentenceParser.LeafRepresents the AD leaf | 
| class  | ADSentenceStream.SentenceParser.NodeRepresents the AD node | 
| class  | ADSentenceStream.SentenceParser.TreeElementRepresents a tree element, Node or Leaf | 
| Constructor and Description | 
|---|
| SentenceParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| ADSentenceStream.SentenceParser.TreeElement | getElement(String line)Parse a tree element from a AD line | 
| ADSentenceStream.Sentence | parse(String sentenceString,
     int para,
     boolean isTitle,
     boolean isBox)Parse the sentence | 
public ADSentenceStream.Sentence parse(String sentenceString, int para, boolean isTitle, boolean isBox)
public ADSentenceStream.SentenceParser.TreeElement getElement(String line)
line - the AD lineCopyright © 2018 The Apache Software Foundation. All rights reserved.