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

Error in Sadhu2Colito/Sadhu-colito.py #1

Open
ArupDas15 opened this issue Feb 28, 2022 · 0 comments
Open

Error in Sadhu2Colito/Sadhu-colito.py #1

ArupDas15 opened this issue Feb 28, 2022 · 0 comments

Comments

@ArupDas15
Copy link

Hello,

Thank you for this amazing work.

When I am trying to run Sadhu-colito.py I get "UTF-16 stream does not start with BOM" error. This error gets resolved if we make the following changes:
kriya_mul_list = [line.rstrip('\n') for line in open(fileName, encoding='utf-8',errors = 'ignore')] (Lnie 17)
kriya_vibokti_list = [line.rstrip('\n') for line in open(fileName, encoding='utf-8',errors = 'ignore')] (Line 23)
all_sentences = [line.rstrip('\n') for line in open(fileName, encoding='utf-8',errors = 'ignore')] [Line 35]
exceptional_cases = [line.rstrip('\n') for line in open(fileName, encoding='utf-8',errors = 'ignore')] [Line 91]

I request your kind attention in this regard.

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