|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectleila.patterns.LinearLinkageFile
public class LinearLinkageFile
This class is part of LEILA (http://mpii.de/yago-naga/leila). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the author Fabian M. Suchanek (http://suchanek.name).
LinearLinkageFile represents an LL-file (the non-grammatical parts of the corpus). The class provides an Iterator over the LinearLinkages.
| Field Summary | |
|---|---|
protected java.io.BufferedReader |
in
Holds the Reader |
| Constructor Summary | |
|---|---|
LinearLinkageFile(java.io.File inf)
Constructs a LinearLinkageFile from a file |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
TRUE if there is another Linkage |
java.util.Iterator<LinearLinkage> |
iterator()
Returns this |
static java.io.File |
llFile(java.io.File f)
Returns the LL-filename for an HTML-filename |
LinearLinkage |
next()
Returns next Linkage |
void |
remove()
Does nothing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.BufferedReader in
| Constructor Detail |
|---|
public LinearLinkageFile(java.io.File inf)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.util.Iterator<LinearLinkage> iterator()
iterator in interface java.lang.Iterable<LinearLinkage>public boolean hasNext()
hasNext in interface java.util.Iterator<LinearLinkage>public void remove()
remove in interface java.util.Iterator<LinearLinkage>public LinearLinkage next()
next in interface java.util.Iterator<LinearLinkage>public static java.io.File llFile(java.io.File f)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||