Package edu.upenn.seas.mstparser.io
Class CONLLReader
- java.lang.Object
-
- edu.upenn.seas.mstparser.io.DependencyReader
-
- edu.upenn.seas.mstparser.io.CONLLReader
-
public class CONLLReader extends DependencyReader
A reader for files in CoNLL format.Created: Sat Nov 10 15:25:10 2001
- Version:
- $Id: CONLLReader.java 112 2007-03-23 19:19:28Z jasonbaldridge $
- Author:
- Jason Baldridge
- See Also:
DependencyReader
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandiscourseMode-
Fields inherited from class edu.upenn.seas.mstparser.io.DependencyReader
inputReader, labeled
-
-
Constructor Summary
Constructors Constructor Description CONLLReader(boolean discourseMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanfileContainsLabels(String content, boolean fileAccess)DependencyInstancegetNext()-
Methods inherited from class edu.upenn.seas.mstparser.io.DependencyReader
createDependencyReader, createDependencyReader, getReader, isLabeled, normalize, startReading
-
-
-
-
Method Detail
-
getNext
public DependencyInstance getNext() throws IOException
- Specified by:
getNextin classDependencyReader- Throws:
IOException
-
fileContainsLabels
protected boolean fileContainsLabels(String content, boolean fileAccess) throws IOException
- Specified by:
fileContainsLabelsin classDependencyReader- Throws:
IOException
-
-