Package com.gengoai.hermes.lexicon
Class LexiconMatch
- java.lang.Object
-
- com.gengoai.hermes.lexicon.LexiconMatch
-
- All Implemented Interfaces:
Serializable
public class LexiconMatch extends Object implements Serializable
Value class for matches made by lexicons- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LexiconMatch(@NonNull HString span, double score, @NonNull String matchedString, String tag)
Instantiates a new Lexicon match.LexiconMatch(@NonNull HString span, @NonNull LexiconEntry entry)
Instantiates a new Lexicon match.
-
-
-
Constructor Detail
-
LexiconMatch
public LexiconMatch(@NonNull @NonNull HString span, @NonNull @NonNull LexiconEntry entry)
Instantiates a new Lexicon match.- Parameters:
span
- the spanentry
- the entry
-
-