Class SpecialTokens.Token

java.lang.Object
com.yahoo.language.process.SpecialTokens.Token
All Implemented Interfaces:
Comparable<SpecialTokens.Token>
Enclosing class:
SpecialTokens

public static final class SpecialTokens.Token extends Object implements Comparable<SpecialTokens.Token>
An immutable special token
  • Constructor Details

    • Token

      public Token(String token)
      Creates a special token
    • Token

      public Token(String token, String replacement)
      Creates a special token which will be represented by the given replacement token
  • Method Details