-
Notifications
You must be signed in to change notification settings - Fork 17
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
Feature Request: apy review-from-file
#105
Comments
I have no idea how this would work. Please provide a more detailed description of how you you want this to work, preferably with some examples. |
Apologies, here is the description:
ExampleInputmodel: Basic
# Note
model: Cloze
## Text
The {{c1::Supervised Classification}} learning algorithms are {{c2::K-Nearest Neighbour algorithm}}, {{c3::Logistic regression}}, {{c4::Decision tree}}, {{c5::Support Vector Machine}}.
## Back Extra
# Note
model: Cloze
## Text
In {{c1::KNN}}, the {{c2::K}} parameter defines the amount of {{c3::nearest neighbours}} considered.
## Back Extra Expected Output
Usagewhen calling Is this sufficient information? please let me know. |
Yes, but I'm not sure I agree this is necessary. So, in my opinion, you could get the desired functionality by performing two steps: apy add-from-file new-notes.md
apy review added:1 Thus, I'm curious what the value proposition of having a single command for this is. Perhaps I don't understand quite what you want here? |
I understand. The value proposition is to be able to review cards directly from your file before it gets added to the anki database. This is so that everyone can review their markdown file cards before commiting an addition to the anki db. However, if this requires significant changes to the codebase, then i will implement a script that does a addition, review of latest cards, and removal upon exit. Let me know if it is. |
Ok, how about if I add a
Does this sound like what you want? |
Hello lervag, Sorry for the late reply. The idea was to review the cards directly from the markdown file before any database operation. One thing about database operations like adding the cards, is that i have to close my anki application, otherwise there will be:
As such, i would like to avoid such operations if possible, unless im ready to commit the flashcards into my database. Is this still possible? Thank you for your guidance! |
No problem!
Ah, ok. That would actually require a lot of work, because the entire review code is based on the database APIs fron Anki. And in more recent versions of the Anki API there is no way (that I know of) to not actually commit the actions continuously.
Yes, that's right.
Everything is possible, but to be honest, I'm not really motivated to work on this. I would not use the functionality myself and I see no easy way to implement it. Sorry! |
No description provided.
The text was updated successfully, but these errors were encountered: