View Single Post
Old 02-27-2016, 09:12 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,499
Karma: 5703586
Join Date: Nov 2009
Device: many
BetterRed,

Quote:
[*] add a button to save the current word list to a file, preferably with the counts comma separated, but without would be more than adequate.
I really think that this interface is busy enough and does not need more buttons for things most people would never use. Why would anyone want a list of misspelled words?!? That said, I should be able to make the list of misspelled words copyable to the clipboard and you should then be able to paste it into any editor if you really want a copy of the misspelled words.

Quote:
[*]Change to the suggested word - assuming the topmost in the suggested list is correct, which it often is.
[*]Copy word to clipboard, I know ctrl+c works but...
What is wrong with ctrl+c? There is any number of suggestions, so have something that only worked on the top suggestion again makes no sense to me. Why not simply copy it and paste it where you need it. Too many ways to do something just leads to problems documenting how to use the spell checker interface.

Quote:
I navigate my way down the list with the down arrow key, on a Windows keyboard the context menu key is almost adjacent to the down arrow key, so I use the context menu to Ignore, Add... and Find... -- so why not Change... and Copy...
I will think about it, as it would not clutter anything visually too much. But this is something that will not happen until after full epub3 support has been implemented in Sigil since my free development time is all used up for that. That said, if you can convince any other developer to make these changes, I would be happy to accept pull requests as long as they do not break anything and don't clutter up the interface.

Quote:
[*] add a button (and/or word list context menu item) to clear ignored words, there's an unassigned keyboard shortcut to do it, but... too hard to remember them all
I am surprised there is a keyboard assignment for it. AFAIK, this is not possible without removing from the memory and reloading the complete dictionary. Ignored words are actually added to the main spellchecker dictionary that is loaded in memory for that ebook. When you "ignore" a word, you are telling the spellchecker that it should add its correct list temporarily. So clearing the ignore word list and restarting is the only easy way to deal with that. The solution is to simply NOT hit Ignore for misspelled words you want to revisit. You can skip to the next word without fixing it and return the next time around you do spell checking.

Quote:
[*] add a feature deal to better deal with misplaced hyphens. If a mispelt word has a hyphen - eg 'con-sidered' - then if removal of the hyphen yields a valid word - i.e. 'considered' - then offer that word as the first choice in the list of suggestions.
That is something for the author of Hunspell to consider adding as a feature. I have no plans to modify the Hunspell code we use inside Sigil to do this. It is purely stock hunspell code. The correct word should be someplace in the short list of 10 suggestions since their order is (was) based on ngram scoring. This is something more useful for OCR'd text and not reflowable text where hyphenation is done on the fly and not hard coded. So I recommend one of those plugins that do lots of automated clean-ups.

That said, wouldn't it be better to handle those words first by searching for all hyphenated words using a grep in Sigil's Find and Replace, see the word in context and decide if you want to keep the hyphen or not? Things like that are often better viewed in context of other text to see what the author actually meant. Then once that is done, you do the spellchecking.


Again, the best place for requests for improvements are as an issue on the Sigil github site. Many more potential developers will see it there rather than here, and some might be convinced to try and create a pull request that implements some of them. It also means it won't get lost or forgotten.

Take care,

KevinH
KevinH is offline   Reply With Quote