Interface NERecogniser

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DATE  
      static java.lang.String LOCATION  
      static java.lang.String MISCELLANEOUS  
      static java.lang.String MONEY  
      static java.lang.String ORGANIZATION  
      static java.lang.String PERCENT  
      static java.lang.String PERSON  
      static java.lang.String TIME  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getEntityTypes()
      gets a set of entity types whose names are recognisable by this
      boolean isAvailable()
      checks if this Named Entity recogniser is available for service
      java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> recognise​(java.lang.String text)
      call for name recognition action from text
    • Method Detail

      • isAvailable

        boolean isAvailable()
        checks if this Named Entity recogniser is available for service
        Returns:
        true if this recogniser is ready to recognise, false otherwise
      • getEntityTypes

        java.util.Set<java.lang.String> getEntityTypes()
        gets a set of entity types whose names are recognisable by this
        Returns:
        set of entity types/classes
      • recognise

        java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> recognise​(java.lang.String text)
        call for name recognition action from text
        Parameters:
        text - text with possibly contains names
        Returns:
        map of entityType -> set of names