Giter Site home page Giter Site logo

simacorrect's People

Contributors

kristober avatar lumpidu avatar

Stargazers

 avatar  avatar

Watchers

 avatar

simacorrect's Issues

Import dictionaries

Allowing users to import dictionaries, whether it would be from individuals, institutions or their old phones.

Need to investigate how feasible this really is and if so, how much support can we provide.
Items to investigate:

  • Enable users to import dictionaries
  • View a collection of dictionaries recommended by institutions, companies or even individuals.

Suggestion process stops if a correction is used by the user.

Example to help describe the bug: Let's say you write 3 words, word a, b and c. The spell checker iterates through all the words, processing 1 at time. Let's say you write those words pretty fast and immediately as you get spell suggestion for word a you use that to correct the word. Meanwhile the spell checker is still "processing" word b and c, and if you use the correction for word a while that is still going on, you somehow stop the spell checking process and you won't get suggestions for word b and c UNLESS you continue writing (for each new word the spell checker iterates through the whole thing.)

Note:
This might only be an issue while the response from the API is as slow as it is currently. Before being able to determine if this issue is worth looking into we need to be able to replicate this after we've setup a proper API with fast response time.

API / Connection management

Create a class that encompasses all the networking stuff required by our application.

  • API call handler
  • #5
  • method to check if there is a valid connection

cache for API calls

After a proper API has been established it should be worth while to explore caching to see if it increases performance by any meaningful amount.

Samsung Keyboard not compatible

Samsung Keyboard doesn't support a custom spell checker so one must use another keyboard such as Gboard.
This is stated in the readme but not indicated in the application itself.
Ideally we need something to identify if a keyboard supports the spellchecker instead of what we do currently, which is:
Redirect users to LanguageSettings, which is fine if users use a compatible keyboard but leaves users with no resolution if the keyboard isnt compatible.

Solution I propose.
Identifying if the keyboard doesen't support a spell checker and instead ask the user if he want's to install Gboard to be able to use the spell checker. If the user has a keyboard installed that is compatible with a spell checker, redirect the user to those settings.

Create info screen

Info screen with information about the app, device, company, e.t.c.

  • Add button to main activity to open this activity
  • Create activity with "about attributes" Version / URL / e.t.c.
  • #9

Robust connection handling

Currently dealt with in a "temporary" manner in #1 but we are in need of a more robust solution.
Currently we just throw a generic exception if the API calls fail but ideally we would need to handle all the different ways things could go wrong.

Simaromur's connection check used as reference point.

  • Implement registerNetworkCallback to check on network availability
  • Implement a periodic health check

Add privacy notice

We need to create the privacy notice for Simacorrect (or whatever name it will end up). This privacy notice should be added on the Grammatek homepage at an HTML anchor similar to https://www.grammatek.com/legal#simaromur.

  • Prepare privacy notice on homepage
  • Add anchor into privacy notice dialog inside Simacorrect

Suggestions looping bug

If I get 2 suggestions for 1 annotation and select one of them and get a suggestion for the same word I'll get my original word as a suggestion.
E.g. if I write eg dreymi I will get 2 suggestions for eg, ég and mig.
If I select the suggestion ég I will have the text ég dreymi and we don't get any more suggestions at this point.
If I continue typing and add the word a new API request is triggered to check the input text ég dreymi að, now we get a suggestion again for the first word ég, except in this case Yfirlestur suggests only the word mig but what also comes as a suggestion is eg, the original word typed by the user.

This additional suggestion eg is not being given by the web service nor being stored anywhere in the spell checker service, this is being stored in the UI layer which interfaces text input boxes.

Interestingly enough, this occurs only on android version 12 and newer, meaning I'm unable to reproduce this on android version 11. There were some changes to android.view.textservice on version 12 that are likely causing this but one would need to take a deep dive to investigate this further.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.