View Single Post
Old 03-23-2020, 02:40 AM   #15
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
@BetterRed

It's possible to permanently add a user dictionary to a .bdic file during conversion. If qwebengine_convert_dict finds a file with a .dic_delta extension in the same location as the .dic file, it'll automatically add the words to the main dictionary. (Ideally, .dic_delta entries should also have morphology codes, but simple word lists will also work.)

For example, if you convert en_US.dic to en_US.bdic and en_US.dic_delta contains the following entries:

Code:
BetterRed
chillax
PageEdit will offer "BetterRed" and "chillax" as spelling suggestions. (It'd be relatively easy to write a script for adding a user dictionary to a .bdic file during conversion with qwebengine_convert_dict.)
Attached Thumbnails
Click image for larger version

Name:	BR_Spell.png
Views:	267
Size:	10.9 KB
ID:	177864  
Doitsu is offline   Reply With Quote