Mobileread
Dictionary
#11  KevinH 01-26-2021, 10:03 AM
Not sure I follow your question fully. So I am taking a stab at answering it.

User "dictionaries" are just simple word lists and are saved and managed as such by the user. Adding a word to ignore or ignoreAll does not add it to a wordlist. It just temporarily adds it as an entry in the primary dictionary any time the dictionary is first loaded. Reloading the primary dictionary will make it "forget" these words that were ignored.

That said, each and every time your primary dictionary is loaded, if you have selected a user wordlist, it will add that list to your primary dictionary known entries.

At least that is the way it is supposed to work.
Reply 

#12  Ashjuk 01-26-2021, 11:56 AM
Kevin,

I was probably not very clear with my question. I was just wondering how the words one adds to the default dictionary get saved?

What was puzzling me was that, although I have been using Sigil on a daily basis - and adding words to the default dictionary every day - the date stamp on the 'default' file in the user_dictionaries folder was four days old. I was expecting the file to be updated every time a new word is added and the date of the file to reflect that.

It's not a problem as everything appears to work as it should - just wondering that's all.
Reply 

#13  KevinH 01-26-2021, 12:09 PM
Hmm .... if you add words to the default wordlist, then its file should be updated/written to at every time. There is no other way to "remember" it between Sigil sessions.

You might try exiting out of Sigil instead of leaving Sigil open just to see if that forces the write. Or alternatively if you have the target folder already open on your OS Desktop watching, you may want to close that folder and then reopen it to see if the window itself was just not updated.

Please let us know what you find.
Reply 

#14  Ashjuk 01-27-2021, 04:24 AM
I have just checked this morning before opening Sigil and the 'default' file now has yesterday's date - not sure what the time was when I added the last word but the time stamp looks about right too.

I will keep an eye on it to see if it happens again - probably just a glitch.
Reply 

#15  Ashjuk 01-27-2021, 08:15 AM
Kevin,

I did what you suggested and had Sigil and a file manager open side-by-side when editing a book.

I noted something odd. I had created a temporary dictionary for the last book I was working on so that I could eliminate words specific to that book -mostly people's names.
I had not removed that following completion of the book, so it was presumably still active.

I have just right-clicked on a word in the current book, and then clicked on Add To Default Dictionary. Whilst doing that I was keeping an eye on the files in the user_dictionaries folder and I was surprised to see that the file for the temporary dictionary was immediately updated rather than the default (as I had selected).

I then went into preferences and removed the temporary dictionary. On returning to the code view pane the word that I had just added was once again underlined indicating it was misspelled.

I repeated the right-click add to default and this time the default file was updated.

The reason why my default file was four days old was, presumably, because all the words that I had supposedly been adding to the default dictionary were in fact being added to the temporary dictionary that I had created for the book I was editing at the time.

What that probably means is that having now removed that temporary dictionary all the words that I thought I was adding to the default are now lost.

Surely it should not work like this.
Reply 

#16  Ashjuk 01-28-2021, 04:58 AM
I have just added a book specific dictionary for the current book I am editing and, as soon as I did any words that I added to the default dictionary got put into that instead.

It appears this problem is not one book related, but something that affects all.

The odd thing is that I created another dictionary 'slang' for words that are considered common slang, but this appears to hijack words destined for the default.

Has anyone else experienced this problem or is it something to do with my installation?
Reply 

#17  BetterRed 01-28-2021, 06:25 AM
Quote Ashjuk
I have just added a book specific dictionary for the current book I am editing and, as soon as I did any words that I added to the default dictionary got put into that instead.

It appears this problem is not one book related, but something that affects all.

The odd thing is that I created another dictionary 'slang' for words that are considered common slang, but this appears to hijack words destined for the default.

Has anyone else experienced this problem or is it something to do with my installation?
@Ashjuk - Firstly, I am still using Version 1.0.0, Build time 2019.12.17 06:45:11 UTC

I have tried to repeat your problem, but I've failed. I don't spell check in Sigil, so my starting point was an empty 'default' user dictionary.

I added two dictionaries - names and jargon, the misspelt words ended up in the dictionaries I wanted them to be in, e.g. 'Cristobel' went into names, 'CoCo-Bonds' went into jargon, and 'nightshift' went into default.

I added words to the 'current' user dictionary by clicking the Add to dictionary button and by pressing F2. There's nothing amiss with the three user dictionary files - they have modify timestamps and the words I would expect them to have. Of course, I may have misconstrued your steps.

FWIW - I rediscovered a reason I don't use Sigil's spellchecker. To change the user dictionary you have to use the selector on the right. I prefer calibre's approach of allowing selection of the dictionary in the context menu flyout e.g Add/Remove . . . -><dictionary>.

BR
Reply 

#18  Ashjuk 01-28-2021, 07:59 AM
@BetterRed,

Thanks for that information, but as you are using a very old version it is probably not indicative that the problem is not in the current version.

I am puzzled as to why creating another dictionary - not named default - causes it to become the location for storing words added to the default dictionary.

Hopefully one of the developers will have a look at the problem and report back.
Reply 

#19  BetterRed 01-28-2021, 03:33 PM
Quote Ashjuk
@BetterRed,

Thanks for that information, but as you are using a very old version it is probably not indicative that the problem is not in the current version.

I am puzzled as to why creating another dictionary - not named default - causes it to become the location for storing words added to the default dictionary.

Hopefully one of the developers will have a look at the problem and report back.
My hope is that my tests on 1.0 may help Kevin identify the cause of your problem, I should have made that clear. He made some changes in version 1.4 relating to multilingual spell checking that may have bought about your issue.

Of late, whenever I've decided to update Sigil, something pops up here that makes me change my mind.

BR
Reply 

#20  KevinH 01-28-2021, 03:36 PM
Actually, comparing Sigil 1.0 to Sigil 1.4.3, Sigil 1.4.3 is much more stable with many fewer bugs in general than Sigil 1.0. And this particular issue was not a bug at all, just a misunderstanding that any user dictionary can be made to be the Default.

If any serious bugs end up in a release, we make quick follow-up releases. So just like anything else, when a new release is announced you can take a wait and see approach as long as you are happy with your particular version.
Reply 

 « First  « Prev Next »  Last »  (2/3)
Today's Posts | Search this Thread | Login | Register