Page 1 sur 1

[aspell] Comment modifier le dictionnaire personnel (résolu)

Publié : lun. 16 sept. 2019, 17:28
par jimarch
Bonjour !

J'utilise régulièrement la correction orthographique avec ASPELL

Quand un mot manque, je l'ajoute au dictionnaire, ce qui ne pose aucun problème.
Mais certains mots que j'ai ajoutés peuvent contenir des erreurs de frappe, d'inattention, de tout...

Comment faire pour modifier le dictionnaire personnel utilisé pas aspell ?
Je peux bien sûr le supprimer entièrement mais là n'est pas le but !

J'ai repéré un dictionnaire personnel sous
/home/user1/.aspell.fr.pws
que je peux éditer et donc modifier.

Est-ce la solution ou y-a-t-il autre chose à faire ?

Cdt

Re: [aspell] Comment modifier le dictionnaire personnel

Publié : mar. 17 sept. 2019, 13:46
par laurent85
Bonjour,
D'après la doc info aspell c'est bon :
5.7.1 Format of the Personal Dictionary
---------------------------------------

The personal dictionary generally has a filename of the form:

.aspell.LANG.pws

And the file itself contains two parts. The first part is a header line
of the form:

personal_ws-1.1 LANG NUM [ENCODING]

where NUM is the number of words in the list. This number is only used
as a hint, and thus does not have to be accurate. When creating a new
dictionary it is perfectly acceptable for NUM to be 0. The ENCODING is
optional and specifies the encoding of the word list. If it is left out
the encoding is expected to be in the default encoding for the language
as specified by the ‘data-encoding’ option. *Note data-encoding::.

The second part of simply a word list with one word per line.

Re: [aspell] Comment modifier le dictionnaire personnel (résolu)

Publié : mar. 17 sept. 2019, 16:45
par jimarch
Grand merci à Laurent85 !
J'en ai profité pour jeter un regard approfondi sur le manuel !
Pour ceux que cela intéresse, un petit rappel de l'adresse web : http://aspell.net/man-html/
Je passe en résolu !