Schnittstelle TokenContextGenerator

Alle bekannten Implementierungsklassen:
DefaultTokenContextGenerator

public interface TokenContextGenerator
Interface for context generators required for TokenizerME.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    getContext(String sentence, int index)
     
  • Methodendetails

    • getContext

      String[] getContext(String sentence, int index)
      Parameter:
      sentence - The string that represents a sentence.
      index - The index to consider splitting tokens.
      Gibt zurück:
      An array of features for a sentence at the specified index.