fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
177 stars 24 forks source link

Feature request: Natural Language Pipleline for Question Generation #283

Open abrzxc opened 2 years ago

abrzxc commented 2 years ago

Hi, First of all, thank you for the continuous contribution to this amazing addon. Ability to add cards directly from PDF and link them to the source was a game changer. Also, this addon continues to amaze everyday as you go on and discover new features.

With the latest innovations in machine learning and artificial intelligence especially Natural Language Processing, it feels like this addon will benefit greatly with the inclusion of an NLP pipeline for question generation.

Feature Description

Possible Directions for Establishing an NLP pipeline for question generation. There are already a lot of projects which are good at question generation pipelines. Their performance is good enough to be directly used in this addon. Example, https://huggingface.co/valhalla/t5-small-qa-qg-hl

Conclusion This feature is currently present in polar bookshelf premium but only offer limited card generation. This feature will bring in a new age of Artificial Intelligence and Machine Learning based tools to Anki. With the newer innovations, better models, AI based search etc. can be later be introduced to Anki but it all requires a starting point.

fonol commented 2 years ago

Hi, I think NLG is an interesting topic, and I have privately fiddled myself with question generation. But it is a complex topic, and would require some significant work backend and UI-wise, which I cannot do atm unfortunately.