calhoun.analysis.crf.io
Class GTFInputInterval13
java.lang.Object
calhoun.analysis.crf.io.GTFInputInterval13
- All Implemented Interfaces:
- TrainingSequenceIO, java.io.Serializable
- Direct Known Subclasses:
- GTFInputInterval29
public class GTFInputInterval13
- extends java.lang.Object
- implements TrainingSequenceIO
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GTFInputInterval13
public GTFInputInterval13()
readTrainingSequences
public void readTrainingSequences(java.lang.Object location,
java.util.List<TrainingSequence<java.util.Map<java.lang.String,java.lang.Object>>> seqs)
throws java.io.IOException
- Description copied from interface:
TrainingSequenceIO
- reads training sequences from the specified location.
- Specified by:
readTrainingSequences in interface TrainingSequenceIO
- Parameters:
location - location of the training sequences. Meaning is implementation dependent.seqs - a list of the input sequences to which hidden sequences should be added. Each hidden sequence is an array of integers containing hidden state indices.
- Throws:
java.io.IOException
writeTrainingSequences
public void writeTrainingSequences(java.lang.Object location,
java.util.Iterator<int[]> data)
throws java.io.IOException
- Description copied from interface:
TrainingSequenceIO
- writes training sequences to the specified location.
- Specified by:
writeTrainingSequences in interface TrainingSequenceIO
- Parameters:
location - location of the training sequences. Meaning is implementation dependent.data - iterator over the hidden states to write.
- Throws:
java.io.IOException
getNameComponent
public java.lang.String getNameComponent()
- Returns:
- Returns the nameComponent.
setNameComponent
public void setNameComponent(java.lang.String nameComponent)
- Parameters:
nameComponent - The nameComponent to set.