djantimat | Detect dirty slang in russian text and process

 by   PixxxeL Python Version: 0.1.4 License: MIT

kandi X-RAY | djantimat Summary

kandi X-RAY | djantimat Summary

djantimat is a Python library. djantimat has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install djantimat' or download it from GitHub, PyPI.

Detect dirty slang in russian text and process it. Конечно же, бороться с русской ненормативной лексикой очень сложно и данный модуль не претендует на однозначную победу, но помочь в этой борьбе может. Список слов и регулярные выражения, лежащие в основе модуля, взяты в разное время в забытых местах Интернета и, если кто-то обнаружит своё авторство, то я с радостью это авторство укажу или удалю проприетарную часть по требованию. В основе модуля лежат два принципа: * морфологический анализ слов посредством модуля [pymorphy2] их сопоставление с базой заранее заготовленных * анализ текста на основе регулярного выражения. Можно использовать либо тот, либо другой способ. Второй вариант работает быстрее, но менее точный. Зато работает вне Django. Первый вариант медленнее, но его легко "обучать", добавляя слова в список. Первый вариант также можно использовать вне Django, но Вам придется самим разобрать базу из файла `djantimat/fixtures/initial_data.json` и подменить свойство `PymorphyProc.words` их списком. Модуль работает только с unicode-объектами.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              djantimat has a low active ecosystem.
              It has 15 star(s) with 11 fork(s). There are 2 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              djantimat has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of djantimat is 0.1.4

            kandi-Quality Quality

              djantimat has 0 bugs and 0 code smells.

            kandi-Security Security

              djantimat has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              djantimat code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              djantimat is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              djantimat releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed djantimat and discovered the below as its top functions. This is intended to give you an instant insight into djantimat implemented functionality, and help decide if they suit your requirements.
            • Wrap text in text .
            • Sets the word to the normal form .
            • Generate words from text .
            • Replace all words in text .
            • Return the number of words in a string
            • Returns a list of all words .
            • Return the unicode .
            Get all kandi verified functions for this library.

            djantimat Key Features

            No Key Features are available at this moment for djantimat.

            djantimat Examples and Code Snippets

            Regexp Method Usage
            Pythondot img1Lines of Code : 2dot img1License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            $ python
            >>> from djantimat.helpers import RegexpProc  
            Pymorph2 Method Usage
            Pythondot img2Lines of Code : 2dot img2License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            $ python manage.py shell
            >>> from djantimat.helpers import PymorphyProc  
            Installation
            Pythondot img3Lines of Code : 1dot img3License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            $ pip install djantimat  

            Community Discussions

            No Community Discussions are available at this moment for djantimat.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install djantimat

            Добавление модуля в джанго:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install djantimat

          • CLONE
          • HTTPS

            https://github.com/PixxxeL/djantimat.git

          • CLI

            gh repo clone PixxxeL/djantimat

          • sshUrl

            git@github.com:PixxxeL/djantimat.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link