public static class ADSentenceStream.SentenceParser extends Object
Modifier and Type | Class and Description |
---|---|
class |
ADSentenceStream.SentenceParser.Leaf
Represents the AD leaf
|
class |
ADSentenceStream.SentenceParser.Node
Represents the AD node
|
class |
ADSentenceStream.SentenceParser.TreeElement
Represents 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 © 2017 The Apache Software Foundation. All rights reserved.