You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ This package wraps the PyThaiNLP library to add support Thai for spaCy.
7
7
- Named entity recognition
8
8
- Sentence segmentation
9
9
- Dependency parsing
10
+
- Word vector
10
11
11
12
12
13
## Install
@@ -49,6 +50,8 @@ nlp.add_pipe(
49
50
"dependency_parsing": False,
50
51
"dependency_parsing_engine": "esupar",
51
52
"dependency_parsing_model": None,
53
+
"word_vector": True,
54
+
"word_vector_model": "thai2fit_wv"
52
55
}
53
56
)
54
57
```
@@ -64,6 +67,8 @@ nlp.add_pipe(
64
67
- dependency_parsing: Bool (True or False) to turn on the Dependency parsing.
65
68
- 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)
66
69
- 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)
67
72
68
73
**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.**
0 commit comments