-
Notifications
You must be signed in to change notification settings - Fork 64
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
mysp.myprosody(p,c) giving parselmouth.PraatError: Stray text after 'else'. error #22
Comments
Any update? |
I repaired it. You should replace the file 'myprosody/dataset/essen/MLTRNL.praat'. |
@hebo1982
|
Hey @hebo1982 |
Hey how did you fix it ? Because that work for me but I have the same issue with mysplev() |
name 'pickle' is not defined: https://stackoverflow.com/questions/48477949/not-able-to-pip-install-pickle-in-python-3-6 |
It worked like charm post replacement of MLTRNL.praat(26.2KB) to MLTRNL.praat(26.1KB). thank you! |
@tyriaa This is because this function has a sklearn.tree.tree dependency and it was removed from scikit-learn version 0.24. |
Hello,
I could all functions up to mysp.myprosody(p,c) and this throws an error which is related to PRAAT file.
parselmouth.PraatError: Stray text after 'else'.
Script line 332 not performed or completed:
« else vowel1=vowel1+0 »
Script not completed.
mysp.myprosody(p,c)
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\bbrij\AppData\Local\Programs\Python\Python39\lib\site-packages\myprosody_init_.py", line 369, in myprosody
objects= run_file(sourcerun, -20, 2, 0.3, "yes",sound,path, 80, 400, 0.01, capture_output=True)
parselmouth.PraatError: Stray text after 'else'.
Script line 332 not performed or completed:
« else vowel1=vowel1+0 »
Script not completed.
I could run previous functions successfully.
Here is the screenshot if it helps:
The text was updated successfully, but these errors were encountered: