Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadForouhesh committed Mar 5, 2022
1 parent da0f67d commit 37e9799
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Persian Part of Speech tagger based on Conditional Random Fields.
## Sample

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

pos_tagger = POSTagger("model/perpos.model")
tokens = "ابراهیم رپیسی ریپس جمهور جمهوری اسلامی ایران میباشد".split()
Expand Down
2 changes: 0 additions & 2 deletions cfr_pos/__init__.py

This file was deleted.

2 changes: 2 additions & 0 deletions crf_pos/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from crf_pos.utils import *
from crf_pos.crf import *
2 changes: 1 addition & 1 deletion cfr_pos/crf.py → crf_pos/crf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from cfr_pos.utils import token2features
from crf_pos.utils import token2features
import pickle


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from cfr_pos.crf import POSTagger
from crf_pos.crf import POSTagger

pos_tagger = POSTagger("model/perpos.model")
tokens = "ابراهیم رئیسی رئيس‌جمهور جمهوری اسلامی ایران می‌باشد".split()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name='crf_pos',
version='1.0.0',
packages=['cfr_pos'],
packages=['crf_pos'],
url='https://github.com/MohammadForouhesh/crf-pos-persian',
license='MIT',
author='mforouhesh',
Expand Down

0 comments on commit 37e9799

Please sign in to comment.