ahmetaa/zemberek-nlp
Über uns
NLP-Werkzeuge für die türkische Sprache.
KI und maschinelles LernenGemessener Sternzuwachs
- in 24h
- +1
- in 7 days
- +7
- in 15 days
- +12
- in 1 month
- +17
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalZemberek-NLP
Zemberek-NLP provides Natural Language Processing tools for Turkish.
Latest version is 0.21.0. Change Log
Please read the FAQ for common questions.
Modules
| Module | Maven Id | |
|---|---|---|
| Core | zemberek-core | Special Collections, Hash functions and helpers. |
| Morphology | zemberek-morphology | Turkish morphological analysis, disambiguation and word generation. |
| Tokenization | zemberek-tokenization | Turkish tokenization, detokenization and sentence boundary detection. |
| Normalization | zemberek-normalization | Spell checker, deasciifier (LatticeDeasciifier), and noisy text normalization. |
| Dependency Parsing | zemberek-dependency | Universal Dependencies v2 (UD_Turkish-BOUN) syntactic dependency parser (4.2 MB pure Java). |
| NER | zemberek-ner | Turkish Named Entity Recognition. |
| Classification | zemberek-classification | Text classification based on Java port of fastText project. |
| Language Identification | zemberek-lang-id | Fast identification of text language. |
| Language Modeling | zemberek-lm | Provides a language model compression algorithm. |
| Applications | zemberek-apps | Console applications and interactive Web Demo Studio (StartWebDemo). |
| gRPC Server | zemberek-grpc | gRPC server for access from other languages. |
| Examples | zemberek-examples | Usage examples. |
Interactive Web Demo Studio
You can explore morphological analysis, ambiguity resolution, dependency parsing, noisy text normalization, deasciification, and tokenization interactively with StartWebDemo (./apps/run_demo.sh):

Usage
Maven
Add this to pom.xml file
<repositories>
<repository>
<id>zemberek-repo</id>
<name>zemberek Maven Repo on Github</name>
<url>https://raw.github.com/ahmetaa/maven-repo/master</url>
</repository>
</repositories>
And dependencies (For example morphology):
<dependencies>
<dependency>
<groupId>zemberek-nlp</groupId>
<artifactId>zemberek-morphology</artifactId>
<version>0.21.0</version>
</dependency>
</dependencies>
Jar distributions
Google drive page contains jar files for different versions.
[zemberek-full.jar] is a single jar that contains all modules and dependencies. When it is run directly with
java -jar zemberek-full.jar
It will list available console applications.
Docker
A Dockerfile is provided that builds zemberek-full.jar from source and packages it in a
Java 21 runtime image:
docker build -t zemberek .
By default the container starts the gRPC server on port 6789:
docker run -p 6789:6789 zemberek
Any other console application can be run by passing its name and parameters. For example, the web demo (open http://localhost:8080) or the interactive morphology console:
docker run -p 8080:8080 zemberek StartWebDemo --host 0.0.0.0
docker run -it zemberek MorphologyConsole
To list available applications:
docker run --rm --entrypoint java zemberek -jar /app/zemberek-full.jar
The JVM heap defaults to 75% of the container memory limit. It can be changed through
JAVA_TOOL_OPTIONS, e.g. docker run -e JAVA_TOOL_OPTIONS="-Xmx2g" ....
For Developers
Here information about how to compile the code and generate jar files from the project is explained.
Examples
There is an examples module in the code for usage examples.
Also, there is a separate project with same examples that uses Zemberek-NLP as maven modules: Turkish-nlp-examples
Known Issues and Limitations
- NER module does not provide a model yet.
- Library is not well-tested for multi-threaded usage.
Please see issues section for further issues and feel free to create new ones.
License
Code is licensed under Apache License, Version 2.0
Citing
If you use this project in an academic publication, please refer to this site.
Acknowledgements
Please refer to contributors.txt file.
Ähnliche Projekte entdecken
Wird geladen…