Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadForouhesh committed Mar 5, 2022
1 parent 37e9799 commit 6a08085
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@

Persian Part of Speech tagger based on Conditional Random Fields.

## Sample
## Installation
```bash
$ git clone https://github.com/MohammadForouhesh/crf-pos-persian
$ cd crf-pos-persian
$ python setup.py install
```

## Usage

```python
from crf_pos.crf import POSTagger
from crf_pos.crf import POSTagger

pos_tagger = POSTagger("model/perpos.model")
tokens = "ابراهیم رپیسی ریپس جمهور جمهوری اسلامی ایران میباشد".split()
Expand Down

0 comments on commit 6a08085

Please sign in to comment.