infomat.mro.synlex
Class SynlexIO

java.lang.Object
  extended by infomat.mro.synlex.SynlexIO

public class SynlexIO
extends java.lang.Object

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

matrix

private IMatrix matrix
Constructor Detail

SynlexIO

public SynlexIO()
Method Detail

load

public IMatrix load(java.io.File file)
Loads a IMatrix from file in XML format


loadCompressed

public IMatrix loadCompressed(java.io.File file)

load

private IMatrix load(org.xml.sax.InputSource source)