Package org.apache.tika.parser.ner
Interface NERecogniser
- All Known Implementing Classes:
CoreNLPNERecogniser,GrobidNERecogniser,MITIENERecogniser,NLTKNERecogniser,OpenNLPNameFinder,OpenNLPNERecogniser,RegexNERecogniser
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Defines a contract for named entity recogniser. The NER contract includes
isAvailable(),
getEntityTypes() and recognise(String)-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.gets a set of entity types whose names are recognisable by thisbooleanDeprecated.checks if this Named Entity recogniser is available for serviceDeprecated.call for name recognition action from text
-
Field Details
-
LOCATION
Deprecated.- See Also:
-
PERSON
Deprecated.- See Also:
-
ORGANIZATION
Deprecated.- See Also:
-
MISCELLANEOUS
Deprecated.- See Also:
-
TIME
Deprecated.- See Also:
-
DATE
Deprecated.- See Also:
-
PERCENT
Deprecated.- See Also:
-
MONEY
Deprecated.- See Also:
-
-
Method Details
-
isAvailable
boolean isAvailable()Deprecated.checks if this Named Entity recogniser is available for service- Returns:
- true if this recogniser is ready to recognise, false otherwise
-
getEntityTypes
Deprecated.gets a set of entity types whose names are recognisable by this- Returns:
- set of entity types/classes
-
recognise
Deprecated.call for name recognition action from text- Parameters:
text- text with possibly contains names- Returns:
- map of entityType -> set of names
-