I - D - public interface ObservationTableReader<I,D>
ObservationTable from a string source.| 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. |
@Nonnull ObservationTable<I,D> read(@Nonnull String source, @Nonnull Alphabet<I> alphabet)
ObservationTable which allows access to short and long prefixes as well as
suffixes.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.