public class TreeIO extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INDENTIFIER |
static char |
LRB
The left parenthesis character within the tree
|
static char |
RRB
The right parenthesis character within the tree
|
| Constructor and Description |
|---|
TreeIO() |
| Modifier and Type | Method and Description |
|---|---|
static TreeRepresentation |
parseCharniakSentence(String sentence)
This method allows to read a tree in the form (S(NP)(VP)) and returns the
corresponding Tree Representation
|
public static final String INDENTIFIER
public static final char LRB
public static final char RRB
public static TreeRepresentation parseCharniakSentence(String sentence) throws TreeIOException
sentence - The input StirngTreeIOException - his exception is trown if any problem in the tree IO phase is
experimentedCopyright © 2014 Semantic Analytics Group @ Uniroma2. All rights reserved.