public class SuffixASCIIReader<I,D> extends Object implements ObservationTableReader<I,D>
Constructor and Description |
---|
SuffixASCIIReader() |
Modifier and Type | Method and Description |
---|---|
ObservationTable<I,D> |
read(String source,
Alphabet<I> alphabet)
Reads the string representation of an observation table and returns an implementation
of
ObservationTable which allows access to short and long prefixes as well as
suffixes. |
public ObservationTable<I,D> read(String source, Alphabet<I> alphabet)
ObservationTableReader
ObservationTable
which allows access to short and long prefixes as well as
suffixes.read
in interface ObservationTableReader<I,D>
source
- The string representation to read, must not be null
.alphabet
- The learning alphabet containing the symbols used, must not be null
.ObservationTable
which allows at lease access to
ObservationTable.getSuffixes()
, ObservationTable.getShortPrefixes()
,
and ObservationTable.getLongPrefixes()
. Will never be null
.Copyright © 2015. All rights reserved.