-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nltk #332
Comments
Quick Fix for NLTK Module LookupErrorSolutionTo resolve this, download the required resource using one of the following methods: Option 1: Terminal CommandRun this in your terminal: python -m nltk.downloader averaged_perceptron_tagger Option 2: In Python ScriptAdd this to your Python code: import nltk
nltk.download('averaged_perceptron_tagger') This will ensure the required resource is downloaded and available for use. |
Was already updated and still does not work :(
0%| | 0/1 [00:00<?, ?it/s] Resource averaged_perceptron_tagger_eng not found.
For more information see: https://www.nltk.org/data.html Attempted to load taggers/averaged_perceptron_tagger_eng/ Searched in: |
I have the same issue, +1 |
Does anyone know any solutions to this problem? First it starts off with this:
C:\Users\me\Downloads\OpenVoiceProject\.venv\lib\site-packages\torch\nn\utils\weight_norm.py:143: FutureWarning:
torch.nn.utils.weight_normis deprecated in favor of
torch.nn.utils.parametrizations.weight_norm. WeightNorm.apply(module, name, dim)
Then this:
File "C:\Users\me\Downloads\OpenVoiceProject\voice.py", line 42, in openvoice_v2 model.tts_to_file(text, speaker_id, src_path, speed=speed)
Which leads to:
File "C:\Users\me\Downloads\OpenVoiceProject\.venv\lib\site-packages\nltk\data.py", line 579, in find raise LookupError(resource_not_found)
Finally:
`LookupError:
Resource averaged_perceptron_tagger_eng not found.
Please use the NLTK Downloader to obtain the resource:
For more information see: https://www.nltk.org/data.html
Attempted to load taggers/averaged_perceptron_tagger_eng/
Searched in:
- 'C:\Users\me/nltk_data'
- 'C:\Users\me\Downloads\OpenVoiceProject\.venv\nltk_data'
- 'C:\Users\me\Downloads\OpenVoiceProject\.venv\share\nltk_data'
- 'C:\Users\me\Downloads\OpenVoiceProject\.venv\lib\nltk_data'
- 'C:\Users\me\AppData\Roaming\nltk_data'
- 'C:\nltk_data'
- 'D:\nltk_data'
- 'E:\nltk_data'
**********************************************************************`
The text was updated successfully, but these errors were encountered: