Klasse LanguageDetectionFastText

java.lang.Object
org.texttechnologylab.duui.apps.LanguageDetectionFastText

public class LanguageDetectionFastText extends Object
A simple HTTP server that uses the fastText model to detect the language of a text. The server listens on port 8000 and provides three endpoints: - /v1/communication_layer: returns a Lua script that can be used to serialize and deserialize CAS objects - /v1/typesystem: returns the type system of the CAS objects - /v1/process: processes a CAS object and adds the detected language as a Language annotation
  • Konstruktordetails

    • LanguageDetectionFastText

      public LanguageDetectionFastText()
  • Methodendetails