|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.trees.international.french.FrenchTreeReader
public class FrenchTreeReader
A reader for XML format French Treebank files. Note that the raw XML files are in ISO-8859-1 format, so they must be converted to UTF-8.
Handles multiword expressions (MWEs).
Field Summary | |
---|---|
static String |
EMPTY_LEAF
|
static String |
MISSING_PHRASAL
|
static String |
MISSING_POS
|
Constructor Summary | |
---|---|
FrenchTreeReader(Reader in)
Read parse trees from a Reader. |
|
FrenchTreeReader(Reader in,
TreeFactory tf,
TreeNormalizer tn)
Read parse trees from a Reader. |
Method Summary | |
---|---|
void |
close()
Close the Reader behind this TreeReader . |
static void |
main(String[] args)
For debugging. |
Tree |
readTree()
Reads a single tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EMPTY_LEAF
public static final String MISSING_PHRASAL
public static final String MISSING_POS
Constructor Detail |
---|
public FrenchTreeReader(Reader in)
in
- The Reader
public FrenchTreeReader(Reader in, TreeFactory tf, TreeNormalizer tn)
in
- Readertf
- TreeFactory -- factory to create some kind of Treetn
- the method of normalizing treesMethod Detail |
---|
public void close()
TreeReader
TreeReader
.
close
in interface TreeReader
public Tree readTree()
TreeReader
readTree
in interface TreeReader
null
at end of file.public static void main(String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |