Turkish NLP Tools developed by VNGRS.
Project description
VNLP: Turkish NLP Tools
State-of-the-art, lightweight NLP tools for Turkish language.
Developed by VNGRS.
Functionality:
- Sentence Splitter
- Normalizer
- Spelling/Typo correction
- Convert numbers to word form
- Deasciification
- Stopword Remover:
- Static
- Dynamic
- Stemmer: Morphological Analyzer & Disambiguator
- Named Entity Recognizer (NER)
- Dependency Parser
- Part of Speech (PoS) Tagger
- Sentiment Analyzer
- Turkish Word Embeddings
- FastText
- Word2Vec
- SentencePiece Unigram Tokenizer
- Text Summarization: In development progress...
Demo:
- Try the Demo.
Installation
pip install vngrs-nlp
Documentation:
- See the Documentation for the details about usage, classes, functions, datasets and evaluation metrics.
Metrics:
Usage Example:
Dependency Parser
from vnlp import DependencyParser
dep_parser = DependencyParser()
dep_parser.predict("Oğuz'un kırmızı bir Astra'sı vardı.")
[("Oğuz'un", 'PROPN'),
('kırmızı', 'ADJ'),
('bir', 'DET'),
("Astra'sı", 'PROPN'),
('vardı', 'VERB'),
('.', 'PUNCT')]
# Spacy's submodule Displacy can be used to visualize DependencyParser result.
import spacy
from vnlp import DependencyParser
dependency_parser = DependencyParser()
result = dependency_parser.predict("Oğuz'un kırmızı bir Astra'sı vardı.", displacy_format = True)
spacy.displacy.render(result, style="dep", manual = True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vngrs-nlp-0.2.3.tar.gz
(17.7 MB
view details)
Built Distribution
vngrs_nlp-0.2.3-py3-none-any.whl
(17.8 MB
view details)
File details
Details for the file vngrs-nlp-0.2.3.tar.gz
.
File metadata
- Download URL: vngrs-nlp-0.2.3.tar.gz
- Upload date:
- Size: 17.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e5568350f736704bdbe8ad09a300f6488d8989678d62d3c64698f5bc95f9e43 |
|
MD5 | 8e7820052dc786c21a237709adc71b08 |
|
BLAKE2b-256 | ebafbcefa5fb8bcf6b977a5a62946eb8a253297cefdf6fd9fcf7f6983d91c44f |
File details
Details for the file vngrs_nlp-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: vngrs_nlp-0.2.3-py3-none-any.whl
- Upload date:
- Size: 17.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 901e46e951a058fb06311923128f615be077598870b9f413125dfe6b4a40ca08 |
|
MD5 | 9ee4fe70530231263f50024d2e5efa45 |
|
BLAKE2b-256 | bee44311ab3fd347e66b70454a1e403cf3c0bc5892aadfc5da0d581b4235556b |