
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
nlp-text-corrector
is a python package that helps post process the raw ASR output
Tested on python 3.7. Requires Python >= 3.6.
This sofware is distributed under the MIT license of which you should have received a copy (see LICENSE file in this repository).
nlp-text-corrector
does not depend on any other third party package.
To install nlp-text-corrector in your (virtual) environment::
pip install nlp-text-corrector
That's all folks!
Parse and convert
Examples:
.. code-block:: python
>>> from nlp_text_corrector import asr_post_process
>>> asr_post_process.convert("Book twenty first century marvel movie for my two kids of age nine and thirteen at eight twenty two pm tonight")
Book 21st century marvel movie for my 2 kids of age 9 and 13 at 8:22 pm tonight
>>> asr_post_process.convert("fifty-one million five hundred seventy-eight thousand three hundred two")
51578302
>>> asr_post_process.convert("eighty-one")
81
>>> asr_post_process.convert("On May twenty-third , I bought twenty-five cows, twelve chickens and one hundred twenty five point four zero kg of potatoes.")
On May 23rd, I bought 25 cows, 12 chickens and 125.40 kg of potatoes.
Contribute
----------
Join us on https://github.com/iAmPlus/nlp-text-corrector
FAQs
IAMAI ASR Post Process Library
We found that nlp-text-corrector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.