supermemo | TypeScript implementation of the SuperMemo | Game Engine library

 by   Maxvien TypeScript Version: 2.0.17 License: MIT

kandi X-RAY | supermemo Summary

kandi X-RAY | supermemo Summary

supermemo is a TypeScript library typically used in Gaming, Game Engine applications. supermemo has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A JavaScript/TypeScript implementation of the SuperMemo 2 (SM2) algorithm for spaced based repetition flashcards. Hit the Star button if you love this project ️.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              supermemo has a low active ecosystem.
              It has 218 star(s) with 17 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 3 have been closed. On average issues are closed in 57 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of supermemo is 2.0.17

            kandi-Quality Quality

              supermemo has 0 bugs and 0 code smells.

            kandi-Security Security

              supermemo has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              supermemo code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              supermemo is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              supermemo releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of supermemo
            Get all kandi verified functions for this library.

            supermemo Key Features

            No Key Features are available at this moment for supermemo.

            supermemo Examples and Code Snippets

            No Code Snippets are available at this moment for supermemo.

            Community Discussions

            QUESTION

            Spaced repetition algorithm from SuperMemo (SM-2)
            Asked 2019-Dec-14 at 17:20

            In order to make a vocabulary practice app in Android, I want to implement the SuperMemo (SM-2) algorithm in Java. This is a popular choice for spaced repetition software and Anki even adopts it as I understand. The source code example given here was difficult (for me) to follow because of the lack of code formatting and because it is written in Delphi.

            The author of SuperMemo states:

            1. Split the knowledge into smallest possible items.
            2. With all items associate an E-Factor equal to 2.5.
            3. Repeat items using the following intervals: I(1):=1
              I(2):=6
              for n>2: I(n):=I(n-1)*EF
              where:
              I(n) - inter-repetition interval after the n-th repetition (in days),
              EF - E-Factor of a given item
              If interval is a fraction, round it up to the nearest integer.
            4. After each repetition assess the quality of repetition response in 0-5 grade scale: 5 - perfect response
              4 - correct response after a hesitation
              3 - correct response recalled with serious difficulty
              2 - incorrect response; where the correct one seemed easy to recall
              1 - incorrect response; the correct one remembered
              0 - complete blackout.
            5. After each repetition modify the E-Factor of the recently repeated item according to the formula:
              EF':=EF+(0.1-(5-q)*(0.08+(5-q)*0.02))
              where:
              EF' - new value of the E-Factor,
              EF - old value of the E-Factor,
              q - quality of the response in the 0-5 grade scale.
              If EF is less than 1.3 then let EF be 1.3.
            6. If the quality response was lower than 3 then start repetitions for the item from the beginning without changing the E-Factor (i.e. use intervals I(1), I(2) etc. as if the item was memorized anew).
            7. After each repetition session of a given day repeat again all items that scored below four in the quality assessment. Continue the repetitions until all of these items score at least four.

            Here are some related (but different) questions on Stack Overflow:

            How do you implement this in Java?

            (I've been working on this recently and I think I have an answer, so I am submitting this as a Q&A pair to help other people doing the same thing.)

            ...

            ANSWER

            Answered 2019-Dec-14 at 17:20
            SuperMemo algorithm

            Here are some terms that we will deal with when impementing the SuperMemo (SM-2) algorithm of spaced repetition.

            • repetitions - this is the number of times a user sees a flashcard. 0 means they haven't studied it yet, 1 means it is their first time, and so on. It is also referred to as n in some of the documentation.
            • quality - also known as quality of assessment. This is how difficult (as defined by the user) a flashcard is. The scale is from 0 to 5.
            • easiness - this is also referred to as the easiness factor or EFactor or EF. It is multiplier used to increase the "space" in spaced repetition. The range is from 1.3 to 2.5.
            • interval - this is the length of time (in days) between repetitions. It is the "space" of spaced repetition.
            • nextPractice - This is the date/time of when the flashcard comes due to review again.
            Default values

            Source https://stackoverflow.com/questions/49047159

            QUESTION

            WKWebview and
            Asked 2017-Jul-10 at 14:01

            I'm having a problem with WKWebView on iOS. After taping element appears ActionSheet with three options: Photo Library, iCloud, Cancel.

            Then, when I tapped Photo Library, ActionSheet disappears, and WebView prevent to open ActionSheet once again. I'm stuck, with uploading photos via WebView.

            I've added permissions in info.plist file (Privacy - Photo Library Usage Description). Here is how I create WebView

            ...

            ANSWER

            Answered 2017-Jul-10 at 14:01

            I finally solve it. I had to implement UIViewController method:

            Source https://stackoverflow.com/questions/44848761

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install supermemo

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Maxvien/supermemo.git

          • CLI

            gh repo clone Maxvien/supermemo

          • sshUrl

            git@github.com:Maxvien/supermemo.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Game Engine Libraries

            godot

            by godotengine

            phaser

            by photonstorm

            libgdx

            by libgdx

            aseprite

            by aseprite

            Babylon.js

            by BabylonJS

            Try Top Libraries by Maxvien

            next-shopify-storefront

            by MaxvienTypeScript

            shopify-theme-customizer

            by MaxvienJavaScript

            apollo-modulizer

            by MaxvienJavaScript

            personal-blog

            by MaxvienHTML

            next-full-stack

            by MaxvienTypeScript