-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC improved tutorial and install instructions
- Loading branch information
Showing
3 changed files
with
106 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,30 @@ | ||
Install | ||
======= | ||
|
||
Formasaurus requires Python 2.7+ or 3.3+, | ||
scipy, numpy, scikit-learn, sklearn-crfsuite and lxml to work. | ||
Formasaurus requires Python 2.7+ or 3.3+ and the following Python packages: | ||
|
||
First, make sure numpy is installed. Then, to install Formasaurus with all | ||
* scipy_ | ||
* numpy_ | ||
* scikit-learn_ 0.17+ | ||
* sklearn-crfsuite_ | ||
* lxml_ | ||
|
||
.. _numpy: https://github.com/numpy/numpy | ||
.. _scipy: https://github.com/scipy/scipy | ||
.. _scikit-learn: https://github.com/scikit-learn/scikit-learn | ||
.. _sklearn-crfsuite: https://github.com/TeamHG-Memex/sklearn-crfsuite | ||
.. _lxml: https://github.com/lxml/lxml | ||
|
||
First, make sure numpy_ is installed. Then, to install Formasaurus with all | ||
its other dependencies run | ||
|
||
:: | ||
|
||
pip install formasaurus[with-deps] | ||
|
||
These packages may require extra steps to install, so the command above | ||
may fail. In this case install dependencies manually, on by one, and | ||
may fail. In this case install dependencies manually, on by one | ||
(follow their install instructions), | ||
then run:: | ||
|
||
pip install formasaurus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters