Closed RosaWagner closed 2 years ago
Sounds useful. I'll probably have time to add this in end of May.
Having to delay this to June.
@RosaWagner If you check out dev
you can try:
$ hyperglot path/to/font.ttf --speakers
$ hyperglot path/to/font.ttf --speakers --sorting="speakers"
$ hyperglot path/to/font.ttf --speakers --sorting="speakers" --sort-dir="desc"
# the default output is equivalent to
$ hyperglot path/to/font.ttf --sorting="speakers" --sort-dir="asc"
With regards to the speaker "threshold" I wonder how useful it really is. Maybe the most essential would be a flag to remove languages with 0 speakers. At the same time I feel this could be up to the application entirely. What do you think?
Btw, if you feel you can think of other useful sorting attributes, feel free to add here, the item value is the sorting lambda that gets applied to each Language
object.
To answer your question, Languages with 0 speaker is still a useful information ;)
Just testing it and it works super fine ;) thanks a lot for this feature!
Roger, in dev
for now, will deploy to pip version with the next update.
Deployed as part of 0.4.0