public class UniSylDocumentReader extends java.lang.Object implements de.ims.icarus.io.Reader<ProsodicDocumentData>, de.ims.icarus.util.data.DataCreater, ProsodyConstants
Modifier and Type | Field and Description |
---|---|
protected gnu.trove.map.TIntObjectMap<de.ims.icarus.language.coref.Cluster> |
clusterMap |
protected java.util.LinkedList<de.ims.icarus.language.coref.Span> |
spanBuffer |
protected java.util.Stack<de.ims.icarus.language.coref.Span> |
spanStack |
AUDIO_FILE_KEY, AUDIO_OFFSET_KEY, BEGIN_TS_KEY, CODA_SIZE_KEY, CODA_TYPE_KEY, DOCUMENT_ID, END_TS_KEY, FLAG_MAPS_SYLLABLES, IS_LEX, IS_REF, NEXT_SYL_LEXICAL_STRESS, NUM_SYL_LAST_STRESS, NUM_SYL_NEXT_STRESS, ONSET_SIZE_KEY, ONSET_TYPE_KEY, PAINTE_A1_KEY, PAINTE_A2_KEY, PAINTE_B_KEY, PAINTE_C1_KEY, PAINTE_C2_KEY, PAINTE_CHANNEL_ABOVE_LABEL, PAINTE_CHANNEL_ABOVE_VALUE, PAINTE_CHANNEL_BELOW_LABEL, PAINTE_CHANNEL_BELOW_VALUE, PAINTE_CHANNEL_CROSSING_LABEL, PAINTE_CHANNEL_CROSSING_VALUE, PAINTE_CHANNEL_INSIDE_LABEL, PAINTE_CHANNEL_INSIDE_VALUE, PAINTE_CHANNEL_UNACCENTED_LABEL, PAINTE_D_KEY, PAINTE_EDITOR_VIEW_ID, PAINTE_MAX_C_KEY, PEAK_SHAPE_FALL_LABEL, PEAK_SHAPE_FALL_VALUE, PEAK_SHAPE_NO_PEAK_LABEL, PEAK_SHAPE_NO_PEAK_VALUE, PEAK_SHAPE_RISE_FALL_LABEL, PEAK_SHAPE_RISE_FALL_VALUE, PEAK_SHAPE_RISE_LABEL, PEAK_SHAPE_RISE_VALUE, PHONEME_COUNT_KEY, PREV_SYL_LEXICAL_STRESS, PROSODY_PERSPECTIVE_ID, PROSODY_PLUGIN_ID, SENTENCE_NUMBER_KEY, STRESS_KEY, SYLLABLE_BEGIN_TS_KEY, SYLLABLE_COUNT, SYLLABLE_DURATION_KEY, SYLLABLE_END_TS_KEY, SYLLABLE_ENDPITCH_KEY, SYLLABLE_FORM_KEY, SYLLABLE_LABEL_KEY, SYLLABLE_MIDPITCH_KEY, SYLLABLE_OFFSET_KEY, SYLLABLE_POSITION_TYPE, SYLLABLE_STARTPITCH_KEY, SYLLABLE_STRESS_KEY, SYLLABLE_TIMESTAMP_KEY, SYLLABLE_VOWEL_KEY, TOBI_LABEL, TOBI_TONE, TONAL_PROMINENCE_KEY, VOWEL_DURATION_KEY
DATA_GROUP_LABEL, DATA_GROUP_VALUE, DATA_HEAD_ROOT, DATA_LEFT_LABEL, DATA_LEFT_VALUE, DATA_NO_VALUE, DATA_RIGHT_LABEL, DATA_RIGHT_VALUE, DATA_ROOT_LABEL, DATA_UNDEFINED_DOUBLE_VALUE, DATA_UNDEFINED_FLOAT_VALUE, DATA_UNDEFINED_LABEL, DATA_UNDEFINED_VALUE, DATA_YES_VALUE, DEPREL_KEY, DIRECTION_KEY, DISTANCE_KEY, EDGE_KEY, ENTITY_KEY, FEATURES_KEY, FLAG_PROJECTIVE, FLAGS_KEY, FORM_KEY, FRAMESET_KEY, GENDER_KEY, HEAD_KEY, ID_KEY, INDEX_KEY, LEMMA_KEY, LENGTH_KEY, NUMBER_KEY, PARSE_KEY, POS_KEY, ROOT_KEY, SENSE_KEY, SIZE_KEY, SPEAKER_FEATURES_KEY, SPEAKER_KEY, TAG_KEY, TRANSITIVE_KEY
Constructor and Description |
---|
UniSylDocumentReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.Object |
create() |
de.ims.icarus.util.data.ContentType |
getContentType() |
void |
init(de.ims.icarus.util.location.Location location,
de.ims.icarus.util.Options options) |
ProsodicDocumentData |
next() |
protected gnu.trove.map.TIntObjectMap<de.ims.icarus.language.coref.Cluster> clusterMap
protected java.util.LinkedList<de.ims.icarus.language.coref.Span> spanBuffer
protected java.util.Stack<de.ims.icarus.language.coref.Span> spanStack
public void init(de.ims.icarus.util.location.Location location, de.ims.icarus.util.Options options) throws java.io.IOException, de.ims.icarus.util.location.UnsupportedLocationException
init
in interface de.ims.icarus.io.Reader<ProsodicDocumentData>
java.io.IOException
de.ims.icarus.util.location.UnsupportedLocationException
Reader.init(de.ims.icarus.util.location.Location, de.ims.icarus.util.Options)
public void close() throws java.io.IOException
close
in interface de.ims.icarus.io.Reader<ProsodicDocumentData>
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
Reader.close()
public de.ims.icarus.util.data.ContentType getContentType()
getContentType
in interface de.ims.icarus.io.Reader<ProsodicDocumentData>
getContentType
in interface de.ims.icarus.util.data.DataCreater
Reader.getContentType()
public java.lang.Object create()
create
in interface de.ims.icarus.util.data.DataCreater
DataCreater.create()
public ProsodicDocumentData next() throws java.io.IOException, de.ims.icarus.util.UnsupportedFormatException
next
in interface de.ims.icarus.io.Reader<ProsodicDocumentData>
java.io.IOException
de.ims.icarus.util.UnsupportedFormatException
Reader.next()