Skip to content

mysp.myprosody(p,c) giving parselmouth.PraatError: Stray text after 'else'. error #22

@bbrij87

Description

@bbrij87

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.

mysp.myspsyl(p,c)
number_ of_syllables= 121
mysp.mysppron(p,c)
Pronunciation_posteriori_probability_score_percentage= :94.97

Here is the screenshot if it helps:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions