Class HyphenMatcher

  • All Implemented Interfaces:
    TokenMatcher

    public class HyphenMatcher
    extends AbstractRecursiveMatcher
    Term matcher to match word sequence with hyphen between each word.
    The sequence should start and end with hyphen, examples :
    • a-t : valid
    • a-t-elle : valid
    • a-t-elle- : not valid
    • -test- : not valid
    • Constructor Summary

      Constructors 
      Constructor Description
      HyphenMatcher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String createMatchedString​(java.util.List<java.lang.String> words)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HyphenMatcher

        public HyphenMatcher()