nostril
nostril copied to clipboard
Nostril: Nonsense String Evaluator
Hello, In this PR, I moved `pytest` to a new file: `requirements-dev.txt`. When nostril is used in a production environment, `pytest` and its dependencies are not a packages that should...
Using compiled regex and changed from a blocklist to an allowlist. Solves error: `TypeError: __new__() missing 3 required positional arguments: 'string_frequency', 'total_frequency', and 'idf'` That can occur with certain inputs...
It looks like Nostril cannot work with PyInstaller ? I got a Windows EXE but then I got this error : _File "site-packages\nostril\nonsense_detector.py", line 945, in File "site-packages\nostril\nonsense_detector.py", line 621,...
Is there a function to return actual score rather than a boolean True/False
There's a rather large memory leak in this library. I won't have the time to find it, but noticed it by forking (subprocess) a project many times and importing nostril...
Hello, In the training directory, there's some brief explanation about training. the README file is pointing to a not existing ngram file (there's no ngram_frequencies file in the repo). Is...
Make Nostril be available from PyPI and possibly other package hosting sites.
Since the time this was written, I've come up with slightly more clear installation instructions for installing from github. The instructions for Nostril should be updated.
Take this for example: `31d51a69d5ca0407d279a2ece4b3eacd60610444359a0ad099931a516f163397` It is a SHA-256 hash represented as a hex string. Common sense says it's gibberish. Yet too often are such hashes reported by nostril as...
Fixes #1 The PR add Makefile targets for releasing the package to Pypi. To make the release, you simply have: * to create an account on [Pypi](https://pypi.org/); * run `make...