Package opennlp.tools.entitylinker
Klasse EntityLinkerProperties
java.lang.Object
opennlp.tools.entitylinker.EntityLinkerProperties
Properties wrapper for 
EntityLinker implementations.- Siehe auch:
- 
KonstruktorübersichtKonstruktorenKonstruktorBeschreibungEntityLinkerProperties(File propertiesFile) InitializesEntityLinkerPropertiesvia aFilereference.EntityLinkerProperties(InputStream propertiesIn) InitializesEntityLinkerPropertiesvia aInputStreamreference.
- 
MethodenübersichtModifizierer und TypMethodeBeschreibunggetProperty(String key, String defaultValue) Retrieves a property value for a givenkey.
- 
Konstruktordetails- 
EntityLinkerPropertiesInitializesEntityLinkerPropertiesvia aFilereference.- Parameter:
- propertiesFile- The- Filethat references the- *.propertiesconfiguration.
- Löst aus:
- IOException- Thrown if IO errors occurred.
 
- 
EntityLinkerPropertiesInitializesEntityLinkerPropertiesvia aInputStreamreference.- Parameter:
- propertiesIn- The- InputStreamthat references the- *.propertiesconfiguration.
- Löst aus:
- IOException- Thrown if IO errors occurred.
 
 
- 
- 
Methodendetails- 
getPropertyRetrieves a property value for a givenkey.- Parameter:
- key- The key to the desired item in the properties configuration- key=value
- defaultValue- A default value in case the- key, or the value are missing
- Gibt zurück:
- A property value as a String.
- Löst aus:
- IOException- Thrown if the properties object was not initialized properly.
 
 
-