Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Menny Even Danan
    @menny
    Another option is to use auto-text which is a dictionary of "known" typos and their real spelling. Something like recieve->receive.
    Or, I was thinking of extracting the dictionary into an Android Service aidl interface
    and have it be able to have logic
    But that's not something easy to implement.
    ಮಯೂರ ವರ್ಮ
    @MayuraVerma
    Could you please point to the code in main app, can I give it a shot
    EtienneDesticourt
    @EtienneDesticourt
    Might be able to get more improvements with models that condition on the previous letters, the literature is surprisingly sparse, just going from an 8% error rate to a 0.8% one can feel like a world of difference. If you're willing to invest the time, the first step would be to setup a coordinate logger and find a few people willing to have their typing logged and to send in the logs.
    matrixbot
    @matrixbot
    ildar Guys, sorry to distract you from a high theory. But there are two bug which are minor or trivial that irritate much. (sidenote: so much I had to switch back to Gboard ((( )
    AnySoftKeyboard/AnySoftKeyboard#1797
    AnySoftKeyboard/AnySoftKeyboard#1798
    ildar Please please fix!
    EtienneDesticourt
    @EtienneDesticourt

    I've added docstrings for all non-trivial functions in the gesture system. Now I'm working on assessing its accuracy by simulating noisy gestures.

    The current system uses a corner matching algorithm to classify gestures. The Keyboard object starts by loading a dictionary and feeds it to the gesture detector object which then generates paths of corners for every word. To do so it first creates a sequence of points by getting the location of the center of each key needed to type the word, then it keeps those points that are at an angle > 170° from each others.

    Afterward, when the user traces a gesture, the points the gesture goes through are passed to the gesture detector through keyboard events. Once the gesture is over, only the corners (angles > 170°) are kept. Then the dictionary if filtered to keep only the words who start by the key that was pressed at the start of the user gesture. A cumulative euclidean distance is then calculated between the corners of those words and the corners of the traced gesture.

    We keep the n-lowest distances for suggestions, with the lowest being the typed word.

    Menny Even Danan
    @menny
    @EtienneDesticourt thank you for this summary! I'll add this text to the gesture-detector class.
    Whenever you have something to share (PR, or branch to review) let me know
    EtienneDesticourt
    @EtienneDesticourt
    No need to add I've added all that in the docstrings in my branch. I'll open a PR once I've improved the algorithm.
    EtienneDesticourt
    @EtienneDesticourt
    I've opened a pull request so we can discuss the progress if necessary @menny
    (please don't merge though, it's far from finished)
    EtienneDesticourt
    @EtienneDesticourt
    @menny Could you point me to the English dictionary that the keyboard uses please? I can't seem to find it in the code.
    matrixbot
    @matrixbot
    matrixbot
    @matrixbot
    ildar ArenaL5 and Menny! Thanks a lot for fixing bugs recently!
    ildar yet 1 question: I see that CI is changed (M$ launched its own?). But where are CI artifacts? Namely built APKs to install and test?
    matrixbot
    @matrixbot
    ildar @menny ?
    matrixbot
    @matrixbot
    EtienneDesticourt
    @EtienneDesticourt
    Thanks
    kiransnagaraj
    @kiransnagaraj
    Hi ,can any tell how to fix build issues. If any steps that really be helpful thank you
    Menny Even Danan
    @menny
    @kiransnagaraj what issues do you see?
    kiransnagaraj
    @kiransnagaraj
    @menny Error in java compiler
    @menny
    I am facing build issue
    Caused by: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: com/sun/tools/javac/util/JavacMessages$ResourceBundleHelper
    EtienneDesticourt
    @EtienneDesticourt
    I'm starting to get some good results from the gesture AI: 80+% word prediction accuracy and 90+% for top 2 suggestions.
    Should be able to start the Java implementation soon.
    Menny Even Danan
    @menny
    @kiransnagaraj make sure you are using Java 10. I have jenv to manage my Java environment
    @EtienneDesticourt this is amazing to hear! Thanks for the effort
    EtienneDesticourt
    @EtienneDesticourt
    I'm hesitating on which data structure to use to handle my words. I need to have a frequency and a gesture object for each word so I'm thinking of using two HashMaps with a word -> freq, and a word -> gesture association. It'd allow me to work solely with word lists when I incrementally prune candidates and have a way back to the freq and gesture information easily.
    On the other hand the current implementation uses a list of words and a list of frequencies so it might be better to just add a list of gestures. But then I'd have to keep track of the indices of the words in the original list whenever I prune words away incrementally and only keep a subset of them.
    Having a hard time figuring out the memory/access-time tradeoffs.
    Not sure it even matters for a number of elements in the 100 thousands
    matrixbot
    @matrixbot
    ildar EtienneDesticourt, thanks a lot for your efforts. this part definitely needs in improving.
    Menny Even Danan
    @menny
    better start with something simple (map) and then we can look at the code together and find a more suitable structure.
    eetrukhan
    @eetrukhan
    Hello, help me, please, don't you now how to test this keyboard in android studio emulator on mac?
    Vikalp Saxena
    @saxena_vikalp_twitter
    Hi I wanted to build a gesture U
    Typing keyboard
    Thought it would be good idea to see how others have done it.
    Could you guys please guide me how do I get started
    matrixbot
    @matrixbot
    ildar Gesture typing works already. What do you want to do?
    realboy918
    @realboy918
    I need learning ml for making a keyboard app??
    Matrixbot help
    ildar
    realboy918
    @realboy918
    il
    matrixbot
    @matrixbot
    ildar What?
    Or Schapira
    @schapira
    hi, I want to test beta version, can I get apk without google account?
    matrixbot
    @matrixbot
    ildar this is sane but ASK devs set up CI but do not build APK
    ildar 🤦‍♂️
    ildar insane I mean
    allonp
    @allonp
    how can i disable the dictionary?