Ingen beskrivning

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

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"