Package org.apache.nlpcraft.model
Interface NCVariant
-
public interface NCVariant extends List<NCToken>
A list of tokens representing one possible parsing variant of the user input.Note that a given user input can have one or more possible different parsing variants. Depending on model configuration a user input can produce hundreds or even thousands of parsing variants.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<NCToken>
getMatchedTokens()
Utility method that returns all non-freeword tokens.-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-