Keine Beschreibung

Nikos Atlas b8878b43d9 make leaf_strategy return tokens instead of text vor 2 Jahren
.idea 184da42adb package ready to be installed vor 2 Jahren
nltk_data 6ff7ea09de renaming to word_processor vor 2 Jahren
word_processor b8878b43d9 make leaf_strategy return tokens instead of text vor 2 Jahren
.gitignore 6ff7ea09de renaming to word_processor vor 2 Jahren
README.md 6ff7ea09de renaming to word_processor vor 2 Jahren
document.txt a6c1829963 leaf strategy tester vor 2 Jahren
pytest.ini 6ff7ea09de renaming to word_processor vor 2 Jahren
requirements.txt feb0a01cdd adds synonyms - tests and configuration - snapshot testing vor 2 Jahren
setup.py 6ff7ea09de renaming to word_processor vor 2 Jahren

README.md

Installation

  • make a virtualenv
  • pip install

Download the relevant network

python -m spacy download en_core_web_trf

Testing

Run tests

pytest

Update snapshots

pytest --snapshot-update

Install

Clone repo

git clone http://onarbooks.com/nikatlas/word_processor.git
pip install ./word_processor

Download the relevant network

python -m spacy download en_core_web_trf

Run the package's script

python -m word_processor "A sentence that describes a variable or function or method or class"