暫無描述

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

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"