Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunwoongko authored Dec 5, 2022
1 parent 52459ad commit 4f587d5
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 @@ -44,7 +44,7 @@ pecab.nouns("자장면을 먹을까? 짬뽕을 먹을까? 그것이 고민이로
["자장면", "짬뽕", "그것", "고민"]
```

#### 5) `Pecab(user_dict=List[str])`: Set up a user dictionary.
#### 5) `Pecab(user_dict=List[str])`: applies a user dictionary.
Note that words included in the user dictionary **cannot contain spaces**.
- Without `user_dict`
```python
Expand All @@ -64,7 +64,7 @@ pecab.pos("저는 삼성디지털프라자에서 지펠냉장고를 샀어요.")
[('', 'NP'), ('', 'JX'), ('삼성디지털프라자', 'NNG'), ('에서', 'JKB'), ('지펠냉장고', 'NNG'), ('', 'JKO'), ('', 'VV+EP'), ('어요', 'EF'), ('.', 'SF')]
```

#### 6) `PeCab(split_compound=bool)`: Divide compound words into smaller pieces.
#### 6) `PeCab(split_compound=bool)`: devides compound words into smaller pieces.
```python
from pecab import PeCab

Expand Down

0 comments on commit 4f587d5

Please sign in to comment.