public class SyntaxBoxes extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getBoxesHtml(ACEParserResult parserResult)
This method takes the syntax tree of a parsing result and generates the HTML representation of the
syntax boxes showing all three types of boxes.
|
static String |
getBoxesHtml(ACEParserResult parserResult,
boolean showS,
boolean showVP,
boolean showNP)
This method takes the syntax tree of a parsing result and generates the HTML representation of the
syntax boxes.
|
public static String getBoxesHtml(ACEParserResult parserResult)
parserResult
- The parsing result.public static String getBoxesHtml(ACEParserResult parserResult, boolean showS, boolean showVP, boolean showNP)
parserResult
- The parsing result.showS
- true if the gray boxes for (subordinated) sentences should be shown.showVP
- true if the yellow boxes for verb phrases should be shown.showNP
- true if the blue boxes for noun phrases should be shown.Copyright © 2013. All Rights Reserved.