dankoy / korvo-to-anki Goto Github PK
View Code? Open in Web Editor NEWConvert KOReader vocabulary builder data to anki cards
License: BSD 3-Clause "New" or "Revised" License
Convert KOReader vocabulary builder data to anki cards
License: BSD 3-Clause "New" or "Revised" License
Is your feature request related to a problem? Please describe.
User can run export multiple time with the same database, but if the first export was successful, then it should save state. Then on next runs export won't do anything, except user doen't add new word to database.
Describe the solution you'd like
Possible solution write state as a txt file in the same directory as jar. The contents are words in new line. The next boot of application will know about state of previous runs and filter out already exported words.
Describe alternatives you've considered
None
Additional context
None
Describe the bug
When state is saved it takes all data from db and rewrites it in file.
To Reproduce
Expected behavior
Take current state and add to it newly exported words. Don't overwrite everything from database, because databases could be different.
Desktop (please complete the following information):
Describe the bug
In TemplateCreatorService create method finished faster than executor service shuts down.
To Reproduce
Expected behavior
Export method waits for all runnable tasks to finish.
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
Could work better with async extractor service in full async mode.
Describe the solution you'd like
If extractor service works in async mode, then requests to external API could also be done using async methods.
Is your feature request related to a problem? Please describe.
When user used "auto" as sourceLanguage key in command "anki-exporter", application skip dictionaryapi. It would be better to detect automatically which language is used before make decision to use dictionaryapi or not.
Describe the solution you'd like
Use Tika language detection to check whole vocabulary-builder database. Seems like it's correct to take one word in book as example word and detect language for whole book. As long as whole book read in one language is should be enough.
Describe alternatives you've considered
None
Additional context
None
Describe the bug
Can't create export file with colons on windows.
To Reproduce
Run app on windows OS.
Expected behavior
Export file should be created without errors. Probably should change colons to something else.
Desktop (please complete the following information):
Additional context
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 76:
Is your feature request related to a problem? Please describe.
In shell command, user can choose if he wants to have definitions and/or examples of words. Or he wants just translation.
This can help to speed up process of conversion for users who don't want lookup definitions in external API.
Describe the solution you'd like
Possible solution in command to have additional keys that can turn on or off functionality.
For example: convert --text text --useGoogleTranslate true --useDictionaryApi true --options t,mt,rm
Default for --useGoogleTranslate --useDictionaryApi is false.
Application will just go in google translate for translations and don't care about transcriptions, definitions, examples, synonyms, antonyms.
https://api.dictionaryapi.dev/api/v2/entries/en/
Probably valid only for english as a source language
It should be used branch strategy with dev
environment.
All changes are made in dev
branch. Then when release has to be done, then open PR to main
branch from dev
. Also increase project version.
Also dependabot
should make pull requests to dev
branch. Not dependencies
. So the action to rebase main
to dependencies
is no longer necessary.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.