Skip to content

Unclear or outdated documentation of build_langpack.py #99

@LantiHUN

Description

@LantiHUN

Problem:

Unclear or outdated documentation of build_langpack.py

My situation:

I really like this app, but sadly it doesn't have Hungarian language support.
I was trying to use build_langpack.py to create a Hungarian language pack, but the example command python build_langpack.py --lang fr --output langpack-fr.zip doesnt seem to work, since the script requires an --input option too:
Usage: python3 build_langpack.py --lang fr --name "French" --input french_words.txt --output langpack-fr.zip

So I scraped a Hungarian Wikipedia page for testing, and ran the script with the resulting txt as an input:
magyar.txt

The resulting unigrams.txt seems to be correct, but the dictionary only contains 73 words
Image

Probably the .txt file is in a wrong format, but I didn't find any instructions on how the .txt input should be formatted.

My request

The readme need to be updated with clear instructions on how to create and add custom language packs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions