Page 2 of 2

Re: Is the user dictionary available in pdf?

Posted: Thu Jul 18, 2024 9:02 am
by stam
richmond62 wrote: Thu Jul 18, 2024 8:57 am I am looking, ultimately, for a plain text version of the Dictionary, so I store it as a custom prop in a stack, call bits of it into a field, and edit (add my own guff) using a simple text editor.
I think maybe more useful you either look at Bernd's tinyDictionary or James Hale's Docset Reader stack, modify them "to add your guff", rather than keep thousands of pages as unstructured text in a custom prop...

This would mean likely having to edit the SQL functionality as I think both of these are based on SQLite.
Keeping it as unstructured text seems like a non-viable option to me... I guess you could make it an array, but not sure that's less work that just working with SQLite which is blazingly fast...

Re: Is the user dictionary available in pdf?

Posted: Thu Jul 18, 2024 9:17 am
by bn
Hi Richmond,
richmond62 wrote: Thu Jul 18, 2024 8:57 am I am looking, ultimately, for a plain text version of the Dictionary, so I store it as a custom prop in a stack, call bits of it into a field, and edit (add my own guff) using a simple text editor.
TinyDictionary has to option to add user notes to a dictionary entry. Those notes are stored locally and loaded at the start of TinyDictionary. Maybe that does what you want.

Kind regards
Bernd

Re: Is the user dictionary available in pdf?

Posted: Thu Jul 18, 2024 9:21 am
by richmond62
The only snag about this is that I might want to transfer my modded dictionary onto other machines: say the ones in my school.

"unstructured text" would be fairly useless, but structured text would not.

Were the dictionary available as a list of terms, delimited in some way (e.g. '-----'), and it were loaded into a variable when required, searching it should not be unduly difficult.

Re: Is the user dictionary available in pdf?

Posted: Thu Jul 18, 2024 9:36 am
by FourthWorld
The SQLite DB that contains the data is inherently very nicely delimited.

PDF is a display format, not designed for parsing and notoriously inconsistent in what you get out of it with the clipboard or conversion tools.

I'd go to the source: use the SQLite DB.

Re: Is the user dictionary available in pdf?

Posted: Thu Jul 18, 2024 9:50 am
by bn
Hi Richmond,
richmond62 wrote: Thu Jul 18, 2024 9:21 am The only snag about this is that I might want to transfer my modded dictionary onto other machines: say the ones in my school.

"unstructured text" would be fairly useless, but structured text would not.

Were the dictionary available as a list of terms, delimited in some way (e.g. '-----'), and it were loaded into a variable when required, searching it should not be unduly difficult.
the notes file is stored (on a Mac)
/Users/userName/Library/Application Support/LcTinyDict/tinyDictNotes.array

TinyDictionary has the option to import notes via the cog menu. So notes are portable. Synching is another problem.
Also in tinyDict there is a category to sort by "Note".

Kind regards
Bernd

Re: Is the user dictionary available in pdf?

Posted: Thu Jul 18, 2024 10:13 am
by richmond62
Synching is another problem.
In my language school the only type of synching we aim for is lip-synching:

"Repeat after me: THe THin THerpeutic Thesaurus THinks it is THe Thing to use." :D