Class LexiconMatch

    • Constructor Detail

      • LexiconMatch

        public LexiconMatch​(@NonNull
                            @NonNull HString span,
                            @NonNull
                            @NonNull LexiconEntry entry)
        Instantiates a new Lexicon match.
        Parameters:
        span - the span
        entry - the entry
      • LexiconMatch

        public LexiconMatch​(@NonNull
                            @NonNull HString span,
                            double score,
                            @NonNull
                            @NonNull String matchedString,
                            String tag)
        Instantiates a new Lexicon match.
        Parameters:
        span - the span
        score - the score
        matchedString - the matched string
        tag - the tag