keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
403 stars 112 forks source link

feat(developer): Support commas in word count in lexical models #3174

Closed MakaraSok closed 2 years ago

MakaraSok commented 4 years ago

Describe the bug I was playing with the language model for Khmer and the initial issue I ran into was that the word count does not show up for me in the Design view, even though they are all there in the code view.

Design View image

Code View image

After talking with @darcywong00, we found that it was because of the comma (,) in the word counts. When removing the comma in the Code View, the numbers show up in the Design View (see the screenshot below). image

NOTE: The wordlist.tsv were exported/downloaded from Google Sheet and of course the comma is there in the word count column.

Expected behavior The word count should be shown up correctly whether or not the comma is used. :)


Keyman Developer:


Keyboard

mcdurdin commented 4 years ago

I'm going to classify this as a feature request -- to support formatted numbers -- rather than as a bug 😀