Package org.texttechnologylab.duui.apps
Klasse LanguageDetectionFastText
java.lang.Object
org.texttechnologylab.duui.apps.LanguageDetectionFastText
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
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
LanguageDetectionFastText
public LanguageDetectionFastText()
-
-
Methodendetails
-
main
- Löst aus:
Exception
-