Klasse EntityLinkerProperties

java.lang.Object
opennlp.tools.entitylinker.EntityLinkerProperties

public class EntityLinkerProperties extends Object
Properties wrapper for EntityLinker implementations.
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getProperty

      public String getProperty(String key, String defaultValue) throws IOException
      Retrieves a property value for a given key.
      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.