sofie.parsing
Class Token.Date

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

public static class Token.Date
extends Token.Literal

Normalized dates


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.Date(java.lang.String s)
           
 
Method Summary
 boolean isInteresting()
          Tells whether the token shall be considered as a possible entity
 basics.datagraph.LiteralYagoClass yagoClass()
          Point to the literal YAGO class
 
Methods inherited from class sofie.parsing.Token.Literal
replaceMe
 
Methods inherited from class sofie.parsing.Token
compareTo, equals, hashCode, isMultiWord, original, token, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Token.Date

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

isInteresting

public boolean isInteresting()
Description copied from class: Token
Tells whether the token shall be considered as a possible entity

Overrides:
isInteresting in class Token

yagoClass

public basics.datagraph.LiteralYagoClass yagoClass()
Description copied from class: Token.Literal
Point to the literal YAGO class

Specified by:
yagoClass in class Token.Literal