Class EntityTypes


  • public class EntityTypes
    extends java.lang.Object
    Contains names of entity types that are commonly used throughout the system as well as other entity related definitions and utility functions
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ENTITY_COMPANY
      Company entities (Attivio, McDonalds, etc..)
      static java.lang.String ENTITY_CREDIT_CARD
      Credit card number entities
      static java.lang.String ENTITY_DATE
      Calendar dates and days of the week.
      static java.lang.String ENTITY_DISTANCE  
      static java.lang.String ENTITY_DOCUMENT
      Scope for identifying document structure.
      static java.lang.String ENTITY_EMAIL
      Email address entities
      static java.lang.String ENTITY_FACILITY
      Facility entities (White House, etc..)
      static java.lang.String ENTITY_IP_ADDRESS
      IP address entities
      static java.lang.String ENTITY_LAT_LON
      Latitude/Longitude entities
      static java.lang.String ENTITY_LATITUDE_LONGITUDE
      Latitude and Longitude coordinates for a geographical location.
      static java.lang.String ENTITY_LOCATION
      Location entities
      static java.lang.String ENTITY_MONEY
      Money entities ($2.40, etc..)
      static java.lang.String ENTITY_NATIONALITY
      Nationality entities (Chinese, Mexican, etc..)
      static java.lang.String ENTITY_NOUN_PHRASE
      Noun-phrase entities
      static java.lang.String ENTITY_NUMBER  
      static java.lang.String ENTITY_ORGANIZATION
      Organization entities (Democratic Party, etc..)
      static java.lang.String ENTITY_PARAGRAPH
      Scope for identifying paragraphs.
      static java.lang.String ENTITY_PERCENT
      Percentage number entities (23.5%, etc..)
      static java.lang.String ENTITY_PERSON
      Person entities (George Bush, Jessica Simpson, etc..)
      static java.lang.String ENTITY_PERSON_ID
      Person id entities (eg social security number, etc..)
      static java.lang.String ENTITY_PHONE_NUMBER
      Phone number entities
      static java.lang.String ENTITY_PRODUCT
      Brand or model name that identifies a tangible product that consumers may purchase.
      static java.lang.String ENTITY_RELIGION
      Religion entities (Jewish, Catholic, etc..)
      static java.lang.String ENTITY_SENTENCE
      Sentence breaks.
      static java.lang.String ENTITY_STREET_ADDRESS
      Street address entities
      static java.lang.String ENTITY_TEMPORAL_DATE
      Temporal Date
      static java.lang.String ENTITY_TIME
      Clock time or an expanse of time.
      static java.lang.String ENTITY_TITLE
      Appellation associated with a person by virtue of occupation, office, birth, or as an honorific.
      static java.lang.String ENTITY_URL
      Url entities
      static java.lang.String ENTITY_UTM
      Universal Transverse Mercator coordinates for a geographical location.
      static java.lang.String ENTITY_VEHICLE
      Vehicle Types
      static java.lang.String ENTITY_WEAPON
      Weapon types
    • Constructor Summary

      Constructors 
      Constructor Description
      EntityTypes()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String fromEscapedValue​(java.lang.String value)  
      static java.lang.String getEntityType​(java.lang.String name)
      Looks up entity type by name
      • Methods inherited from class java.lang.Object

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

      • ENTITY_DOCUMENT

        public static final java.lang.String ENTITY_DOCUMENT
        Scope for identifying document structure.
        See Also:
        Constant Field Values
      • ENTITY_PARAGRAPH

        public static final java.lang.String ENTITY_PARAGRAPH
        Scope for identifying paragraphs.
        See Also:
        Constant Field Values
      • ENTITY_SENTENCE

        public static final java.lang.String ENTITY_SENTENCE
        Sentence breaks.
        See Also:
        Constant Field Values
      • ENTITY_PERSON

        public static final java.lang.String ENTITY_PERSON
        Person entities (George Bush, Jessica Simpson, etc..)
        See Also:
        Constant Field Values
      • ENTITY_LOCATION

        public static final java.lang.String ENTITY_LOCATION
        Location entities
        See Also:
        Constant Field Values
      • ENTITY_COMPANY

        public static final java.lang.String ENTITY_COMPANY
        Company entities (Attivio, McDonalds, etc..)
        See Also:
        Constant Field Values
      • ENTITY_RELIGION

        public static final java.lang.String ENTITY_RELIGION
        Religion entities (Jewish, Catholic, etc..)
        See Also:
        Constant Field Values
      • ENTITY_ORGANIZATION

        public static final java.lang.String ENTITY_ORGANIZATION
        Organization entities (Democratic Party, etc..)
        See Also:
        Constant Field Values
      • ENTITY_FACILITY

        public static final java.lang.String ENTITY_FACILITY
        Facility entities (White House, etc..)
        See Also:
        Constant Field Values
      • ENTITY_NATIONALITY

        public static final java.lang.String ENTITY_NATIONALITY
        Nationality entities (Chinese, Mexican, etc..)
        See Also:
        Constant Field Values
      • ENTITY_CREDIT_CARD

        public static final java.lang.String ENTITY_CREDIT_CARD
        Credit card number entities
        See Also:
        Constant Field Values
      • ENTITY_EMAIL

        public static final java.lang.String ENTITY_EMAIL
        Email address entities
        See Also:
        Constant Field Values
      • ENTITY_LAT_LON

        public static final java.lang.String ENTITY_LAT_LON
        Latitude/Longitude entities
        See Also:
        Constant Field Values
      • ENTITY_WEAPON

        public static final java.lang.String ENTITY_WEAPON
        Weapon types
        See Also:
        Constant Field Values
      • ENTITY_VEHICLE

        public static final java.lang.String ENTITY_VEHICLE
        Vehicle Types
        See Also:
        Constant Field Values
      • ENTITY_MONEY

        public static final java.lang.String ENTITY_MONEY
        Money entities ($2.40, etc..)
        See Also:
        Constant Field Values
      • ENTITY_PERCENT

        public static final java.lang.String ENTITY_PERCENT
        Percentage number entities (23.5%, etc..)
        See Also:
        Constant Field Values
      • ENTITY_PERSON_ID

        public static final java.lang.String ENTITY_PERSON_ID
        Person id entities (eg social security number, etc..)
        See Also:
        Constant Field Values
      • ENTITY_PHONE_NUMBER

        public static final java.lang.String ENTITY_PHONE_NUMBER
        Phone number entities
        See Also:
        Constant Field Values
      • ENTITY_TEMPORAL_DATE

        public static final java.lang.String ENTITY_TEMPORAL_DATE
        Temporal Date
        See Also:
        Constant Field Values
      • ENTITY_URL

        public static final java.lang.String ENTITY_URL
        Url entities
        See Also:
        Constant Field Values
      • ENTITY_NOUN_PHRASE

        public static final java.lang.String ENTITY_NOUN_PHRASE
        Noun-phrase entities
        See Also:
        Constant Field Values
      • ENTITY_IP_ADDRESS

        public static final java.lang.String ENTITY_IP_ADDRESS
        IP address entities
        See Also:
        Constant Field Values
      • ENTITY_STREET_ADDRESS

        public static final java.lang.String ENTITY_STREET_ADDRESS
        Street address entities
        See Also:
        Constant Field Values
      • ENTITY_PRODUCT

        public static final java.lang.String ENTITY_PRODUCT
        Brand or model name that identifies a tangible product that consumers may purchase. Includes items such as food, clothes, accessories, toiletries, home appliances, furniture, electronics, computer software, vehicles, weapons, etc. Does not include generic descriptions of a product.
        See Also:
        Constant Field Values
      • ENTITY_TITLE

        public static final java.lang.String ENTITY_TITLE
        Appellation associated with a person by virtue of occupation, office, birth, or as an honorific.
        See Also:
        Constant Field Values
      • ENTITY_UTM

        public static final java.lang.String ENTITY_UTM
        Universal Transverse Mercator coordinates for a geographical location.
        See Also:
        Constant Field Values
      • ENTITY_DATE

        public static final java.lang.String ENTITY_DATE
        Calendar dates and days of the week.
        See Also:
        Constant Field Values
      • ENTITY_TIME

        public static final java.lang.String ENTITY_TIME
        Clock time or an expanse of time.
        See Also:
        Constant Field Values
      • ENTITY_LATITUDE_LONGITUDE

        public static final java.lang.String ENTITY_LATITUDE_LONGITUDE
        Latitude and Longitude coordinates for a geographical location.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EntityTypes

        public EntityTypes()
    • Method Detail

      • getEntityType

        public static java.lang.String getEntityType​(java.lang.String name)
        Looks up entity type by name
        Parameters:
        name - of the entity to lookup
        Returns:
        the entity type string
      • fromEscapedValue

        public static java.lang.String fromEscapedValue​(java.lang.String value)