Skip to content

Lexical models: respect for originally-typed capitalization #2638

@DavidLRowe

Description

@DavidLRowe

Is your feature request related to a problem? Please describe.
When I'm trying to enter a word beginning with an uppercase letter ("Sunahan") and have typed the first letter ("S" in the screen shot), and the lowercase version ("sunahan") is suggested, clicking on the suggested word enters the word with an initial lowercase letter instead of the initial uppercase letter I typed.

Describe the solution you'd like
Since the lowercase word has been proposed, the model has already made the correspondence between the words -- one beginning with an uppercase letter and the other a lowercase letter. It seems reasonable that the model could use the beginning letter(s) that were actually typed.

Describe alternatives you've considered
Currently one needs to type the entire word to get the uppercase version.

Product context

  • Keyman Developer 13, predictive text model testing in web browser

Additional context
The next word to be typed is "Sunahan", which is the first suggested word, but it appears with a lowercase "s" at the beginning.
image

If I click on the "sunahan", I get "sunahan" -- that is, the capital "S" is replaced by lowercase "s".
image

This is probably no surprise, but it did surprise me and made me wonder why I had to type the whole word just to keep the uppercase "S".

Other considerations: some languages (for example, Ife (Togo) have prefixes that remain lowercase even when attached to a word beginning with an uppercase letter. (For example, ńǸwé-Ɔ̀ɖáyé in Luke 4:4, https://www.bible.com/bible/1759/LUK.4.IFE.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions