Skip to content

Commit

Permalink
minor module import change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachit Bansal committed Jan 11, 2020
1 parent 5b85d99 commit ecaa4cc
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit ecaa4cc

Please sign in to comment.