Skip to main content

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.

https://vngrs.com/

PyPI version PyPi downloads Docs License

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:

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)

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)

Uploaded Source

Built Distribution

vngrs_nlp-0.2.3-py3-none-any.whl (17.8 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page