Skip to content

Commit

Permalink
model: str --> model: Union[str, None]
Browse files Browse the repository at this point in the history
  • Loading branch information
bact committed Dec 12, 2023
1 parent 63e1a56 commit de1a1bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pythainlp/parse/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@


def dependency_parsing(
text: str, model: str = "", tag: str = "str", engine: str = "esupar"
text: str,
model: Union[str, None] = None,
tag: str = "str",
engine: str = "esupar",
) -> Union[List[List[str]], str]:
"""
Dependency Parsing
Expand Down

0 comments on commit de1a1bc

Please sign in to comment.