|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfomat.mro.synlex.SynlexIO
public class SynlexIO
For loading a token file into a matrix with the texts as rows and words as columns. Do not use in combination with IObjectGroupingIO. The later shares id:s with CorpusIO that are not present in the TokenFiles.
Nested Class Summary | |
---|---|
private class |
SynlexIO.SynlexHandler
Exports the IMatrix in XML format The file is saved in compressed .zip-format. |
Field Summary | |
---|---|
private IMatrix |
matrix
|
Constructor Summary | |
---|---|
SynlexIO()
|
Method Summary | |
---|---|
IMatrix |
load(java.io.File file)
Loads a IMatrix from file in XML format |
private IMatrix |
load(org.xml.sax.InputSource source)
|
IMatrix |
loadCompressed(java.io.File file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private IMatrix matrix
Constructor Detail |
---|
public SynlexIO()
Method Detail |
---|
public IMatrix load(java.io.File file)
public IMatrix loadCompressed(java.io.File file)
private IMatrix load(org.xml.sax.InputSource source)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |