public abstract class DependencyReader extends Object
Created: Sat Nov 10 15:25:10 2001
| Modifier and Type | Field and Description |
|---|---|
protected BufferedReader |
inputReader |
protected boolean |
labeled |
| Constructor and Description |
|---|
DependencyReader() |
| Modifier and Type | Method and Description |
|---|---|
static DependencyReader |
createDependencyReader(String format) |
static DependencyReader |
createDependencyReader(String format,
boolean discourseMode) |
protected abstract boolean |
fileContainsLabels(String filename,
boolean fileAccess) |
abstract DependencyInstance |
getNext() |
protected Reader |
getReader(String content,
boolean fileAccess) |
boolean |
isLabeled() |
protected String |
normalize(String s) |
boolean |
startReading(String content,
boolean fileAccess) |
protected BufferedReader inputReader
protected boolean labeled
public static DependencyReader createDependencyReader(String format, boolean discourseMode) throws IOException
IOExceptionpublic static DependencyReader createDependencyReader(String format) throws IOException
IOExceptionpublic boolean startReading(String content, boolean fileAccess) throws IOException
IOExceptionprotected Reader getReader(String content, boolean fileAccess) throws IOException
IOExceptionpublic boolean isLabeled()
public abstract DependencyInstance getNext() throws IOException
IOExceptionprotected abstract boolean fileContainsLabels(String filename, boolean fileAccess) throws IOException
IOExceptionCopyright © 2018 JULIE Lab Jena, Germany. All rights reserved.