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 hashes)
Built Distribution
vngrs_nlp-0.2.3-py3-none-any.whl
(17.8 MB
view hashes)
Close
Hashes for vngrs_nlp-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 901e46e951a058fb06311923128f615be077598870b9f413125dfe6b4a40ca08 |
|
MD5 | 9ee4fe70530231263f50024d2e5efa45 |
|
BLAKE2b-256 | bee44311ab3fd347e66b70454a1e403cf3c0bc5892aadfc5da0d581b4235556b |