Skip to content

Commit de1a1bc

Browse files
committed
model: str --> model: Union[str, None]
1 parent 63e1a56 commit de1a1bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pythainlp/parse/core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010

1111

1212
def dependency_parsing(
13-
text: str, model: str = "", tag: str = "str", engine: str = "esupar"
13+
text: str,
14+
model: Union[str, None] = None,
15+
tag: str = "str",
16+
engine: str = "esupar",
1417
) -> Union[List[List[str]], str]:
1518
"""
1619
Dependency Parsing

0 commit comments

Comments
 (0)