sofie.parsing
Class Token.AnyName

java.lang.Object
  extended by sofie.parsing.Token
      extended by sofie.parsing.Token.AnyName
All Implemented Interfaces:
java.lang.Comparable<Token>
Enclosing class:
Token

public static class Token.AnyName
extends Token

Superclass for tokens that are considered in patterns


Nested Class Summary
 
Nested classes/interfaces inherited from class sofie.parsing.Token
Token.AnyName, Token.CanonicProperName, Token.CommonIndividual, Token.Company, Token.Date, Token.Functional, Token.Literal, Token.NameType, Token.Number, Token.Person, Token.ProperName, Token.Punctuation, Token.Repeat, Token.SemiCanonicProperName, Token.Separator, Token.StartCommentToken, Token.StopWord, Token.Title, Token.URL, Token.USState, Token.WikiLink, Token.Word
 
Field Summary
 
Fields inherited from class sofie.parsing.Token
CATEGORY, HTMLCOMMENT, IGNORE, INFOBOXBAR, INFOBOXHEAD, original, REF, REVISION, SEPARATOR, STARTARTICLE, STARTBRACES, STARTINFOBOX, STARTSCRIPT, token
 
Constructor Summary
Token.AnyName(java.lang.String s)
           
 
Method Summary
 boolean replaceMe()
          Tells whether the token shall be replaced by '@' in a pattern
 
Methods inherited from class sofie.parsing.Token
compareTo, equals, hashCode, isInteresting, isMultiWord, original, token, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Token.AnyName

public Token.AnyName(java.lang.String s)
Method Detail

replaceMe

public boolean replaceMe()
Description copied from class: Token
Tells whether the token shall be replaced by '@' in a pattern

Overrides:
replaceMe in class Token