Skip to content
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

can't run on file #2

Open
moeMostafa5998 opened this issue Sep 2, 2023 · 0 comments
Open

can't run on file #2

moeMostafa5998 opened this issue Sep 2, 2023 · 0 comments

Comments

@moeMostafa5998
Copy link

When I run the following command phonetise-Buckwalter.py [inputfile]
I got the following error
Traceback (most recent call last):
File "C:\Users\moe\Downloads\Compressed\Arabic-Phonetiser-master\Arabic-Phonetiser\phonetise-Buckwalter.py", line 199, in
utterance = re.sub(u'Ai', u'<i', utterance)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\moe\AppData\Local\Programs\Python\Python311\Lib\re_init_.py", line 185, in sub
return _compile(pattern, flags).sub(repl, list, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'list'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant