Closed roblframpton closed 1 year ago
This probably happens because fugashi uses C extensions, via Cython. That means classes in fugashi are not normal Python code. I have heard of similar issues with other package that use C extensions in other IDEs.
Based on https://github.com/microsoft/pylance-release/issues/2440, it looks like this could probably be fixed by adding type stubs to fugashi. I have no interest in adding type stubs myself, but if someone made a PR with them and it could be maintained with minimal effort I would take a look at it.
Going to close this since I'm not going to work on it and it's not a bug.
I am using fugshi in a Python project. I created a venv, and then did the following:
I created a file called analyze/analyze_jp.py:
Executing this script works fine, but the Pylance linter in VSCode gives an error saying '"Tagger" is not a known member of module "fugashi"'.
All my other packages are fine. Is there a reason this happens in fugashi?