The download progress bar that is invoked in this line will always say 'Downloading LanguageTool 6.4', regardless of which version the program actually downloads.
What I did:LanguageTool(language_tool_download_version='6.3'
Expected behavior:
Download LanguageTool-6.3 to ~./cache/language_tool_python
Print Downloading LanguageTool 6.3 to stdout in front of the progress bar.
Actual behavior:
Download LanguageTool-6.3 to ~./cache/language_tool_python
Print Downloading LanguageTool 6.4 to stdout in front of the progress bar.
Possible solutions:
In get_http, get the version from url and not from the static LTP_DOWNLOAD_VERSION. Or, pass the variable version from download_lt to download_zip to get_http.
The download progress bar that is invoked in this line will always say 'Downloading LanguageTool 6.4', regardless of which version the program actually downloads.
What I did:
LanguageTool(language_tool_download_version='6.3'
Expected behavior:
~./cache/language_tool_python
Downloading LanguageTool 6.3
to stdout in front of the progress bar.Actual behavior:
~./cache/language_tool_python
Downloading LanguageTool 6.4
to stdout in front of the progress bar.Possible solutions: In
get_http
, get the version fromurl
and not from the staticLTP_DOWNLOAD_VERSION
. Or, pass the variableversion
fromdownload_lt
todownload_zip
toget_http
.