kroketio / kotki

Simple and fast language translations without using the cloud.
Mozilla Public License 2.0
20 stars 1 forks source link

When using the "normal" kotki_models I get a (non-blocking) error message #3

Open r10513 opened 1 year ago

r10513 commented 1 year ago

user@ubuntu:~$ kotki-cli -i "Hello, world!" -m enit Skipping model enuk because vocab was missing Skipping model uken because vocab was missing

I get the result, but I wonder if there is anything missing in the kotki_models_0.3.3.zip package. Note1: I am using kotki v. 0.6.0 Note2: That error message does not occur when using kotki_models_0.3.3-tiny.zip

Btw. Thank you for packaging Bergamot Translato!! :)

kroketio commented 1 year ago

Hello, it warns that there is something wrong with the enuk and uken (english<->ukranian) models so they were not loaded.

IIRC it is printed to stderr so you can ignore it via $ kotki-cli -i "Hello, world!" -m enit 2>/dev/null

Via script usage, you'd keep stdout and stderr as seperate channels so it's ok.

But yes the warning message is maybe a bit alarming but Kotki is working fine.

r10513 commented 1 year ago

Hi, thanks for your answer! Indeed, I am aware that Kotki is working fine! :) I just think that the kokti_models 0.3.3 might be modified to exclude enuk and uken models.. ;)

Once again, thank you for creating Kotki.

PS I leave the decision to you if to close this issue "as complete", or "as not planned", or to keep it open (should you decide to modify kotki_models 0.3.3)