-
Notifications
You must be signed in to change notification settings - Fork 1
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
Installation and running problems #1
Comments
Thank you for your review.
I will try to fix it. (Soon there will be updated Myanmar language
processing tool).
The model is only for Myanmar language.
…On Sun, Dec 10, 2023, 7:17 PM jtsoftware ***@***.***> wrote:
Installation gives an error:
C:\tst\mm-Word-Seg>pip install -r python-crfsuite
ERROR: Could not open requirements file: [Errno 2] No such file or
directory: 'python-crfsuite'
But still seemed to be installed:
pip install python-crfsuite
Requirement already satisfied: python-crfsuite in
c:\users\johnt\appdata\local\programs\python\python310\lib\site-packages
(0.9.9)
Running gives error:
C:\tst\mm-Word-Seg>python ./seg.py -i input.txt -o output.txt
Traceback (most recent call last):
File "C:\tst\mm-Word-Seg\seg.py", line 19, in
tagger.open('./mm-word-300.crfsuite')
File "pycrfsuite/_pycrfsuite.pyx", line 571, in
pycrfsuite._pycrfsuite.Tagger.open
File "pycrfsuite/_pycrfsuite.pyx", line 733, in
pycrfsuite._pycrfsuite.Tagger._check_model
FileNotFoundError: [Errno 2] No such file or directory:
'./mm-word-300.crfsuite'
Copying model\mm-word-segmentation-300.crfsuite to .\mm-word-300.crfsuite
got rid of the error, but the output is not segmented.
Input:
ເຈົ້າມັກເຮັດຫຍັງເວລາຫວ່າງ?
ເຈົ້າເຮັດຫຍັງເວລາຫວ່າງ?
ໃນເວລາຫວ່າງຂ້ອຍມັກຟັງເພງ
ເຈົ້າມັກເຮັດຫຍັງ?
Output:
ເຈົ້າມັກເຮັດຫຍັງເວລາຫວ່າງ?
ເຈົ້າເຮັດຫຍັງເວລາຫວ່າງ?
ໃນເວລາຫວ່າງຂ້ອຍມັກຟັງເພງ
ເຈົ້າມັກເຮັດຫຍັງ?
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMVNGQEI7TNE2DLFGGQPFWTYIWR53AVCNFSM6AAAAABAOQYBPSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTIMZUGY3DKNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
So sorry. I got confused about languages. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installation gives an error:
C:\tst\mm-Word-Seg>pip install -r python-crfsuite
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'python-crfsuite'
But still seemed to be installed:
pip install python-crfsuite
Requirement already satisfied: python-crfsuite in c:\users\johnt\appdata\local\programs\python\python310\lib\site-packages (0.9.9)
Running gives error:
C:\tst\mm-Word-Seg>python ./seg.py -i input.txt -o output.txt
Traceback (most recent call last):
File "C:\tst\mm-Word-Seg\seg.py", line 19, in
tagger.open('./mm-word-300.crfsuite')
File "pycrfsuite/_pycrfsuite.pyx", line 571, in pycrfsuite._pycrfsuite.Tagger.open
File "pycrfsuite/_pycrfsuite.pyx", line 733, in pycrfsuite._pycrfsuite.Tagger._check_model
FileNotFoundError: [Errno 2] No such file or directory: './mm-word-300.crfsuite'
Copying model\mm-word-segmentation-300.crfsuite to .\mm-word-300.crfsuite got rid of the error, but the output is not segmented.
Input:
ເຈົ້າມັກເຮັດຫຍັງເວລາຫວ່າງ?
ເຈົ້າເຮັດຫຍັງເວລາຫວ່າງ?
ໃນເວລາຫວ່າງຂ້ອຍມັກຟັງເພງ
ເຈົ້າມັກເຮັດຫຍັງ?
Output:
ເຈົ້າມັກເຮັດຫຍັງເວລາຫວ່າງ?
ເຈົ້າເຮັດຫຍັງເວລາຫວ່າງ?
ໃນເວລາຫວ່າງຂ້ອຍມັກຟັງເພງ
ເຈົ້າມັກເຮັດຫຍັງ?
The text was updated successfully, but these errors were encountered: