All Projects → Steven-AA → find-all-the-new-words

Steven-AA / find-all-the-new-words

Licence: MIT license
找出文章中的生词(配合anki使用)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to find-all-the-new-words

logseq-anki-sync
An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
Stars: ✭ 219 (+476.32%)
Mutual labels:  anki
anki2orgdrill
Python package to convert Anki style flashcards to Emacs org-drill format
Stars: ✭ 18 (-52.63%)
Mutual labels:  anki
AnkigaokaoTutorial
一本结合高考的 Anki 入门书
Stars: ✭ 48 (+26.32%)
Mutual labels:  anki
ankigenbot
Telegram bot to automatically generate and upload anki cards to ankisrs.net
Stars: ✭ 58 (+52.63%)
Mutual labels:  anki
frozen-fields
A fork of Tiago Barroso's Frozen Fields add-on with support for Anki 2.1
Stars: ✭ 22 (-42.11%)
Mutual labels:  anki
speed-focus-mode
Speed Focus Mode add-on for Anki
Stars: ✭ 19 (-50%)
Mutual labels:  anki
mpvacious
Adds mpv keybindings to create Anki cards from movies and TV shows.
Stars: ✭ 286 (+652.63%)
Mutual labels:  anki
kian
Alternative desktop frontend for Anki2
Stars: ✭ 33 (-13.16%)
Mutual labels:  anki
AnnA Anki neuronal Appendix
Using machine learning on your anki collection to enhance the scheduling via semantic clustering and semantic similarity
Stars: ✭ 39 (+2.63%)
Mutual labels:  anki
google-translate-anki
No description or website provided.
Stars: ✭ 28 (-26.32%)
Mutual labels:  anki
ankidown
Ankidown - a flexible document importer for Anki
Stars: ✭ 37 (-2.63%)
Mutual labels:  anki
SmartReview
💠 单词智能复习项目 - 艾宾浩斯遗忘曲线 + 混淆词
Stars: ✭ 43 (+13.16%)
Mutual labels:  anki
anki tools
No description or website provided.
Stars: ✭ 32 (-15.79%)
Mutual labels:  anki
manjaro-fs-arm64
Manjaro rootfs with xfce4 and vncserver preinstalled. Just setup username, password and vnc password. Also one more edition with latest Anki preinstalled.
Stars: ✭ 19 (-50%)
Mutual labels:  anki
ankimaker
Automatically generates Anki decks from many sources
Stars: ✭ 43 (+13.16%)
Mutual labels:  anki
anki-md
A markdown to anki flash cards converter
Stars: ✭ 22 (-42.11%)
Mutual labels:  anki
anki-markdown-notes
Anki add-on to extract notes from markdown files and import them to Anki
Stars: ✭ 34 (-10.53%)
Mutual labels:  anki
anki-apkg
Create .apkg file for Anki
Stars: ✭ 25 (-34.21%)
Mutual labels:  anki
files2flashcards
Keep your flashcards rooted in the context of your notes
Stars: ✭ 28 (-26.32%)
Mutual labels:  anki
notes
A miscellany of thoughts.
Stars: ✭ 18 (-52.63%)
Mutual labels:  anki

find-all-the-new-words

GitHub issues GitHub forks GitHub stars GitHub license codecov GitHub All Releases

提醒

pyinstaller目前并不完善,对NLTK的支持有些问题(见stackoverflow#2159), logger也无法正常地读取配置文件。总之对我来说打包体验极差,我已经在这上面浪费了较多的时间,所以打包exe无限期搁置,请尝试安装python来使用这个工具。如果需要帮助可以加群询问。寒假期间我尽量出一个详尽的安装教程。

注意!!!!!!!!!

考研,忙,目前对它的升级都是为我自己服务的,所以很多东西不是通用的,也没有仔细地测试,所以,如果你并不会Python,暂时不推荐使用。

依赖

  • Python3.6

交流

  • 维护一个文档,对于文档有任何的问题或建议欢迎通过下方Q群或issue或邮件联系我。TODO
  • 维护一个QQ群,737389550

已知bug

  • exe 2.1.0后打包
  • confignew.txt相关的命令行参数暂不可用
  • 各种特殊的、奇怪的、错误的标点被剔除后,本应分开的两个单词被合并了,比如before us:that from会被分成beforeusthatfrom
  • 中途手动退出后,本次学习保存的新单词内容错误
    • 临时解决方案:将new.txt放入article文件夹中,运行find模式代码

最近的更新

[Improve]

  • 保留单词中的大小写状态以便判断专有名词
  • 读取已知词库时,跳过词形还原
  • 增加pytest并连接CodeCov

[Features]

  • 输出标记过的文章
  • 输出含有生词的句子
  • 输出生词的翻译
  • 自定义按键
  • 自定义config路径
  • 手动退出

[Bug]

  • 修复了中途手动退出后,本次学习保存的新单词内容错误的bug

即将到来的新 Feature 预告

说明:中断恢复、过多生词自动切割这两个功能其实都是为了解决中途退出保存进度的问题,因此准备中途手动退出保存来解决这些问题

说明:有一些新的想法,为了节约时间,多config选择不做开发了,可以通过每一个文件夹里面都放一份程序来实现。自定义config路径功能暂时保留,用来实现多个文件夹共用一个config。

2.1.*

  • 输出含有新单词的句子
  • 输出标注后的文章
  • 查询网络词典(欧陆,谷歌)
  • 查询本地词典
  • 生成可直接导入 Anki 的文件(即不再通过英语单词制卡工具
  • 自定义输出文件模板

使用

  • 把文章放在 ./article 文件夹中
  • build 模式用来建立自己的词汇库,即 old.txt,同时也可以将新单词列出来,建议建立的时候挑选较短的文章,一篇一篇来
  • 词库建立好了就可以使用 find 模式批量查找生词

exe文件

  • exe文件 release 里面
  • 解压后 ,快捷方式需要你自己重新创建
  • 如果还需要帮助,你可以参考上面给的示例

关于anki

更新

2019年08月09日 2.1.3

[Improve]

  • 保留单词中的大小写状态以便判断专有名词
  • 读取已知词库时,跳过词形还原

2019年07月19日 2.1.2

  • 输出标记过的文章
  • 输出含有生词的句子
  • 输出生词的翻译

2019年04月26日 2.1.1

  • 修复了中途手动退出后,本次学习保存的新单词内容错误的bug
  • 对单词列表进行了排序

2018年11月26日 2.1.0

  • 修复q只能退出一个文件的bug
  • 自定义按键
  • 自定义config路径

2018年11月22日 2.0.5

  • 手动退出
  • 修复getch无法跨平台问题
  • 增加budge
  • 增加pytest并连接CodeCov
  • 更正所有FAIDNFAIDK:D
  • 修复部分python3版本没有decode的问题(linux平台下getch返回值为str,因此没有decode)

2018年11月16日 2.0.4

  • 修复new.txt反复覆盖的bug
  • 增加上一次运行时的生成的new.txt是否保留的选择
  • 修复articles中的文件没有自动移动到old_articles的bug

2018年10月10日 2.0.3

  • 使用logging替代print
  • 增加/log/FAIDN.log文件

2018年09月30日 2.0.2

  • 词形还原,提供四种模式,修改FAIDN.config中的LEMMATIZATION_MODE来修改模式,目前支持四种模式。这里需要感谢@ninja33
    • None不做处理
    • list使用字典映射来词形还原。字典来自这里,里面共有条41760词条,如果文章中的单词不在此字典中,保持原样
    • NLTK
    • both先使用字典,后使用NLTK

2018年09月28日 2.0.1

  • 重构代码,我也不知道是重构好了还是重构差了。。。
  • 鸽了一个暑假,接下来更新可能稳定一点
  • 这个版本我只做了简单测试,所以记得备份自己的old.txt,其他应该不会造成什么损失
  • 维护一个QQ群,万一有人用呢,也满足一下我的虚荣心,更新可能快点。737389550

2018年05月16日 1.0.1

  • 删除了pattern 的词形还原
  • 修复了一个文件命名错误导致把old.txt覆盖了的bug,它把我的词库弄没了。我希望没有给你们带来什么损失,毕竟并没有人来报bug。

2018年03月14日 1.0.0

  • 添加 v1.0.0 release
  • 添加 json indent

2018年03月14日 0.2.3

  • 增加 FAIDN.config, 支持自定义目录

2018年02月27日 0.2.2

  • 从 python 2.7 更新到 python 3.6
  • 增加词形还原功能

2017年04月08日 0.2.1

  • 修复old.txt文件没有单词的bug
  • 修复build 模式输入2会报错的bug

2017年03月07日 0.2.0

  • 省略回车,节省时间
  • 按照pylint规范化代码
  • 添加0.2.0的exe程序
  • 修复.py与exe不同的路径情况(用于生成exe的Python文件已放入压缩包)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].