Is it possible to merge word lists?

Asked by Ian M

I use tagaini on a few different PCs and would like to know if it's possible to merge word lists inside tagaini or using an external tool.

I'm using v 0.2.5 on Windows, Linux & Mac!

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Tagaini Jisho Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Gnurou (gnurou) said :
#1

What do you mean by "merge lists"? If you mean share the same study data across different computers, it is possible to do so by moving your user database into a shared folder service like Dropbox (this is what I am doing). It works great.

What you need to do is to copy your user database file into the shared folder (see in Preferences -> User data for its location) and then create a symbolic link from the original place to the file in the shared folder on all computers.

By the way, I strongly suggest you upgrade Tagaini to the latest 0.2.6.2.

Revision history for this message
Ian M (ian-acces) said :
#2

Hi. Thanks for the answer. At present I have different information on various PCs and would like to make one word list file from all of these.

Thanks for the upgrade advice. I only just noticed that Tagaini had been updated.

Revision history for this message
Gnurou (gnurou) said :
#3

Merging the different data sources might be difficult - unfortunately there is no feature for this yet. You would have to connect to the user databases with SQLite and merge the tables manually, something that is not easy to do.

Having a way to export/import data lists simply would be nice anyway, and will probably happen in the future. By the meantime, I'm afraid it will be more difficult. But here is a way that should work:

1) First, you need to upgrade to 0.2.6.2, as the procedure relies on a command-line option that did not exist in 0.2.5.

2) Then, copy your MacOS and Windows user data files on your Linux machine. Let's they they are named user-win.db and user-mac.db in your Linux home directory.

3) Run Tagaini on Linux. Create two lists named "Win" and "Mac" for instance

4) Run another instance of Tagaini from the terminal, invoking it this way: "tagainijisho --userdb=user-win.db". This new instance will work with your Windows data.

5) In the second instance of Tagaini, make a search for all your studied entries, ensure all results are displayed, select them all using Ctrl+A and drag and drop them into the first instance of Tagaini, on the "Win" list.

6) Open the "Win" list, select all the entries, add them to your study list and them delete them from the "Win" list.

7) Repeat steps 5-6 for other stuff you want to preserve, like tags if you used them.

Then you can close the second instance of Tagaini, open another one with your mac database, and repeat steps 5-7.

It is a bit of a hassle but should work. After that, setup a Dropbox shared directory as I suggested on your machines and you should be ok!

Note that you can also use the --user-db option to specify the shared user database file instead of doing a symlink. Actually the option to specify a custom user database should be available in the Preferences, I will make sure to add it for a future version.

Can you help with this problem?

Provide an answer of your own, or ask Ian M for more information if necessary.

To post a message you must log in.