Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider capitalisation when reading Paratext SpellingStatus.xml file #19

Open
DavidLRowe opened this issue Apr 5, 2022 · 1 comment

Comments

@DavidLRowe
Copy link
Collaborator

The new format of SpellingStatus.xml file ("pt9" and "pt9all" types) supports an optional "SpecificCase" element that seems to indicate capitalisation of the word.

Currently the "SpecificCase" element is ignored, so "Alabama" and "alabama" are both accepted.

We could add an option to exclude words with a "SpecificCase" element (essentially ignoring proper names), so neither "Alabama" nor "alabama" would be accepted.

We could add an option to process "SpecificCase" elements and enforce capitalisation, so "Alabama" would be accepted but "alabama" would not.

@DavidLRowe
Copy link
Collaborator Author

From MH: Hunspell by default is case insensitive but you can set a flag to require the case given (as in Alabama/X and then KEEPCASE X in the .aff file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant