struct.types
Interface DataManager

All Known Implementing Classes:
ChunkerDataManager, HandWritDataManager, InstanceListDataManager, NeDataManager, POSDataManager, SequenceDataManager

public interface DataManager

A generic data manager.

Version:
08/15/2006

Method Summary
 void closeAlphabets()
          Stops alphabets' growths.
 void createAlphabets(java.lang.String file)
          Creates alphabets by reading from the file according to this data manager.
 edu.umass.cs.mallet.base.types.Alphabet getDataAlphabet()
          Returns data alphabet.
 SLInstance[] readData(java.lang.String file)
          Creates instances by reading from the file according to this data manager.
 

Method Detail

createAlphabets

void createAlphabets(java.lang.String file)
                     throws java.io.IOException
Creates alphabets by reading from the file according to this data manager.

Throws:
java.io.IOException

closeAlphabets

void closeAlphabets()
Stops alphabets' growths.


readData

SLInstance[] readData(java.lang.String file)
                      throws java.io.IOException
Creates instances by reading from the file according to this data manager.

Throws:
java.io.IOException

getDataAlphabet

edu.umass.cs.mallet.base.types.Alphabet getDataAlphabet()
Returns data alphabet.



Copyright (C) 2006 University of Pennsylvania.