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

手动关闭错不过三,或者集合错不过三功能到错题本 #14

Open
triflingZ opened this issue Dec 28, 2020 · 4 comments
Open
Labels
discuss discussion about memory methods, etc.

Comments

@triflingZ
Copy link

感谢您长久的贡献和更新。

建议如题。
背景是在背GRE单词,有些打死记不住的反而最需要记,希望能有一个合集让我重点背诵,而非让这些重难词消失。

不知道这样写issue对不对。

@Benature
Copy link
Owner

感谢支持~

关于错不过三功能:如果是运行源码的话可以先告诉你改哪里来关掉错不过三,作为 walkaround,后期会考虑是否增加一个开关。

然后关于这种针对记不住的词,我觉得可以讨论一下。就我而言,对于打死记不住的词我会加星做标记(本身是想做个导出指定 flag 的功能的,一直咕咕😅),另外就是这种词一般记忆率会很低,我一般用记忆序优先复习这些难词。

emmm 好像有点跑题了,当初做错不过三还有个原因是想给自己一种压迫感,“再不记住这个词的话今天就看不到这个词了”之类,不然可能回陷于一种不断“不记得”的疲态中。所以错不过三功能个人不建议关掉,也能作为种反向激励吧。

错题本功能倒是一直想做,结果被自己一直咕_(:з」∠)_ 「昨日重现」算是错题本的一种变体,针对于近期的难词再作复习。

@Benature Benature added the discuss discussion about memory methods, etc. label Jan 29, 2021
@hsl-jack-82
Copy link

首先感谢大佬的贡献,已star
请问改哪里可以关掉错不过三这个功能
非常感谢🙏

@Benature
Copy link
Owner

Benature commented May 3, 2021

@hsl-jack-82 这里有两个数字 3,修改这两个可以改成任意的错不过 N

if ((repeatMode && word_tmp.repeat < 3) || word_tmp.repeat == 1) {
    if (wordIndex != wordArray.length - 1) {
        wordArray.splice(wordIndex, 1);
        let index_tmp = Math.round(Math.random() * (wordArray.length - wordIndex)) + wordIndex;
        index_tmp += Math.min(wordArray.length - wordIndex - 1, 5); // 防止过快重现
        // console.log(index_tmp)
        // word_tmp.repeat = true;
        wordArray.splice(index_tmp, 0, word_tmp);
    }
    wordIndex--;
} else if (word_tmp.repeat == 3) {
    layer.msg('😡错不过三')
}

@hsl-jack-82
Copy link

非常感谢🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss discussion about memory methods, etc.
Projects
None yet
Development

No branches or pull requests

3 participants