se.lth.cs.nlp.nlputils.deptree
Class ImportCoNLLFormat
java.lang.Object
se.lth.cs.nlp.nlputils.deptree.ImportCoNLLFormat
public class ImportCoNLLFormat
- extends Object
Factory class that reads a dependency graph encoded in the CoNLL-X
format.
- Author:
- Richard Johansson (richard@cs.lth.se)
Field Summary |
(package private) static int |
lineCount
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineCount
static int lineCount
readNextGraph
public static DepGraph readNextGraph(BufferedReader r)
- Reads a dependency graph from a reader.
- Parameters:
r
- the reader.
- Returns:
- the next dependency graph.