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

Add autocorrections #3

Open
lumpidu opened this issue May 5, 2022 · 0 comments
Open

Add autocorrections #3

lumpidu opened this issue May 5, 2022 · 0 comments
Assignees

Comments

@lumpidu
Copy link
Collaborator

lumpidu commented May 5, 2022

The file addons/languages/icelandic/pack/src/main/res/xml/icelandic_autotext.xml when filled, is used to apply typical autocorrection mappings for wrongly spelled / weakly formulated words.

We should collect a list assembled from a similar list that should be made available (?) by the SpellChecker team from GreynirCorrect.

The format of that file needs to be according to the following example:

<words>
    <word src="abouta">about a</word>
    <word src="aboutit">about it</word>
    <word src="aboutthe">about the</word>
    <word src="acheive">achieve</word>
    <word src="acheived">achieved</word>
    <word src="acheiving">achieving</word>
    <word src="acomodate">accommodate</word>
    <word src="accomodate">accommodate</word>
    <word src="acn">can</word>
    <word src="adn">and</word>
    <word src="agian">again</word>
    <word src="ahd">had</word>
    <word src="ahve">have</word>
    <word src="aint">ain't</word>
    <word src="alot">a lot</word>
    <word src="amde">made</word>
    <word src="amke">make</word>
    <word src="andone">and one</word>
    <word src="andteh">and the</word>
    <word src="anothe">another</word>
    <word src="arent">aren't</word>
    <word src="asthe">as the</word>
    <word src="atthe">at the</word>
    <word src="bakc">back</word>
    <word src="beacuse">because</word>
    <word src="becasue">because</word>
    <word src="becaus">because</word>
    <word src="becausea">because a</word>
    <word src="becauseof">because of</word>
    <word src="becausethe">because the</word>
    <word src="becauseyou">because you</word>
...
    <word src="youd">you'd</word>
    <word src="youll">you'll</word>
    <word src="youre">you're</word>
    <word src="youve">you've</word>
</words>
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

2 participants