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

some ideas to improve your brainchild!! #5

Open
dodanghoanganh opened this issue Mar 24, 2021 · 6 comments
Open

some ideas to improve your brainchild!! #5

dodanghoanganh opened this issue Mar 24, 2021 · 6 comments

Comments

@dodanghoanganh
Copy link

dodanghoanganh commented Mar 24, 2021

on 3/25/2021
Wow, amazing!!
<3 I has tried to use your add-on which is a significant idea.
@@@@@@ A number of functions may be useful and attracting to users:

  • allow users create their own databases with simple file types, such as TXT, excel, tsv,.. => It's is better to have more tools assist creating database easily; small, simple but powerful.
  • A simple tool (may be integral) for splitting text into sentences to create databases automatically
  • use separate databases for each fields
  • bulking creating function: should have a warning window which inform us when it finishes tasks
  • highlight words which is substituted, for instance:
    love -> I <u>love</u> you in result.
    I love you.
    => options
  • can choose source field and destination field in editor or browser
  • base on keyword/a specific field => can select a export field in editor (1)
  • base on keyword/a specific field => can select export fields from different databases in editor (2)
  • add shortcut to perform typical tasks+
  • compatible with Edit Field During Review (Cloze) https://ankiweb.net/shared/info/385888438 + shortcut
  • some functions are similar to https://github.com/sth2018/FastWordQuery <3
  • reduce (options) spaces of extracted sentences
  • can select the number of exporting sentence: 1/2/3/..
    +...

Many thanks!

--- solved

  • bulking creating function doesn't work on the newest Anki. => it works properly (25-03-2021)

--- 2021-03-25 <3 Congratulations!

@dodanghoanganh dodanghoanganh changed the title to put forward some ideas to improve your add-on A lover of your addon puts forward some ideas to improve your brainchild! Mar 24, 2021
@dodanghoanganh dodanghoanganh changed the title A lover of your addon puts forward some ideas to improve your brainchild! some ideas to improve your brainchild! Mar 24, 2021
@dodanghoanganh dodanghoanganh changed the title some ideas to improve your brainchild! some ideas to improve your brainchild!! Mar 24, 2021
@dodanghoanganh
Copy link
Author

dodanghoanganh commented Mar 25, 2021

  • Finding and extracting sentences by the first letters of each original sentence
    For example:
    In database, I stored and formated:
love, like, family,  ::: To love is to like something or someone a lot. I love my family very much. 
recruit, join, organization, manager :::: To recruit people means to select them to join or work for an organization. We successfully recruited someone to be the new manager.

If the searching word/words matches the first letters before ":::" like "recruit / join / organization /manager"-> result in "To recruit people means to select them to join or work for an organization. We successfully recruited someone to be the new manager."

=> It very useful to choose the right word, meaning and sentence.
many thanks!

@krmanik
Copy link
Owner

krmanik commented Mar 25, 2021

Those features will be added in next update. And those are useful features. Thanks.

@krmanik
Copy link
Owner

krmanik commented Mar 30, 2021

Implemented features update

  • change word color
  • create own database from tsv file
    1. text file with one sentence per line in tsv file (Save as tsv)
    2. Uncheck downloaded from tatoeba.org in create db window
    3. Select file and create
      For recreating delete the db file from Anki1/addons21/1682655437/lang_db

Next features implementation

  • Delete db
  • Add to selected field
  • Bold, Italic and underline for sentences and words

@dodanghoanganh
Copy link
Author

oh, i haven't found updated announcement from Anki yet.
I put the addon's ID to manually install but can't find any changes.
I dont know what is happening!

@krmanik
Copy link
Owner

krmanik commented Mar 31, 2021

The changes are on GitHub I will update once all things implemented.
But you can manually download this GitHub repo and copy two files
init.py and editor.py but you have to manually edit config.json and add following to .json file after text_color

 "word_color": "#000000",

Like this, note comma , when editing.

"text_color": "#000000", "word_color": "#000000",

I haven't put it on AnkiWeb because during update Anki delete the folder which remove previous language database and config.json. So, I am implementing to prevent those.

@dodanghoanganh
Copy link
Author

dodanghoanganh commented Mar 31, 2021

That's great! I have a desire for forthcoming new features! many thanks!
20210331_204117_895_notepad++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants