Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor module import fixing in documentation examples #299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This example trains a classifier on adjectives mined from Twitter using Python 3

```python
from pattern.web import Twitter
from pattern.en import tag
from pattern.text.en import tag
from pattern.vector import KNN, count

twitter, knn = Twitter(), KNN()
Expand Down Expand Up @@ -68,7 +68,7 @@ If none of the above works, you can make Python aware of the module in three way
```python
MODULE = '/users/tom/desktop/pattern'
import sys; if MODULE not in sys.path: sys.path.append(MODULE)
from pattern.en import parsetree
from pattern.text.en import parsetree
```

Documentation
Expand Down