Skip to content

Commit 6aec509

Browse files
committed
v0.1dev6
- Add Word vector
1 parent 8d78235 commit 6aec509

4 files changed

Lines changed: 358 additions & 50 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This package wraps the PyThaiNLP library to add support Thai for spaCy.
77
- Named entity recognition
88
- Sentence segmentation
99
- Dependency parsing
10+
- Word vector
1011

1112

1213
## Install
@@ -49,6 +50,8 @@ nlp.add_pipe(
4950
"dependency_parsing": False,
5051
"dependency_parsing_engine": "esupar",
5152
"dependency_parsing_model": None,
53+
"word_vector": True,
54+
"word_vector_model": "thai2fit_wv"
5255
}
5356
)
5457
```
@@ -64,6 +67,8 @@ nlp.add_pipe(
6467
- dependency_parsing: Bool (True or False) to turn on the Dependency parsing.
6568
- dependency_parsing_engine: The Dependency parsing engine. You can read more: [Options for engine](https://pythainlp.github.io/docs/3.1/api/parse.html#pythainlp.parse.dependency_parsing)
6669
- dependency_parsing_model: The Dependency parsing model. You can read more: [Options for model](https://pythainlp.github.io/docs/3.1/api/parse.html#pythainlp.parse.dependency_parsing)
70+
- word_vector: Bool (True or False) to turn on the word vector.
71+
- word_vector_model: The word vector model. You can read more: [Options for model](https://pythainlp.github.io/docs/3.1/api/word_vector.html#pythainlp.word_vector.WordVector)
6772

6873
**Note: If you turn on Dependency parsing, word segmentation and sentence segmentation are turn off to use word segmentation and sentence segmentation from Dependency parsing.**
6974

0 commit comments

Comments
 (0)