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 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
  • Text Summarization: In development progress...

Installation

pip install vngrs-nlp
conda install vngrs-nlp

Documentation:

  • Detailed documentation about usage, classes, functions, datasets and evaluation metrics are available at Documentation.

Usage Example:

Dependency Parser

from vnlp import DependencyParser
dep_parser = DependencyParser()

dep_parser.predict("Onun için yol arkadaşlarımızı titizlikle seçer, kendilerini iyice sınarız.")
[(1, 'Onun', 5, 'obl'),
(2, 'için', 1, 'case'),
(3, 'yol', 1, 'nmod'),
(4, 'arkadaşlarımızı', 5, 'obj'),
(5, 'titizlikle', 6, 'obl'),
(6, 'seçer', 7, 'acl'),
(7, ',', 10, 'punct'),
(8, 'kendilerini', 10, 'obj'),
(9, 'iyice', 8, 'advmod'),
(10, 'sınarız', 0, 'root'),
(11, '.', 10, '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.1.4.tar.gz (63.0 MB view details)

Uploaded Source

Built Distribution

vngrs_nlp-0.1.4-py3-none-any.whl (63.1 MB view details)

Uploaded Python 3

File details

Details for the file vngrs-nlp-0.1.4.tar.gz.

File metadata

  • Download URL: vngrs-nlp-0.1.4.tar.gz
  • Upload date:
  • Size: 63.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for vngrs-nlp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bb5687d3315a3af01104b84544c246c0eb3c9aac1e0f079f276355689ba80f66
MD5 a61f9ec309f73dd18f10d8b2aed50606
BLAKE2b-256 0496b20f66b2895d9e1b3d93a2e1b30e3764545060e4533e4ae28e78ffb49133

See more details on using hashes here.

Provenance

File details

Details for the file vngrs_nlp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: vngrs_nlp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 63.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for vngrs_nlp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 23aea0d661c7f271929ee13c4581aff49160e0d87252f09227c3154e9f7b418b
MD5 6f74457c92d5381a637a82a92d041860
BLAKE2b-256 46345572fdd958d5b6c168278fe180a635c52935a26e9e8abcac67d5d4c9268f

See more details on using hashes here.

Provenance

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