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

Applications, problèmes de configuration réseau
jimarch
yeomen
Messages : 224
Inscription : mer. 26 déc. 2012, 20:38
Localisation : La Roche sur Yon - 85000

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

Message 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
Dernière modification par jimarch le mar. 17 sept. 2019, 16:46, modifié 1 fois.
Fixe : AMD Ryzen 5 2600X Six-Core Processor | 15,6 Gio de mémoire vive | GeForce GTX 1650 SUPER/PCIe/SSE2
Portable : Plasma - Kde | Notebook Clevo W740SU | Plateforme Intel Haswell avec Intel Core i7-4750HQ | Intel Iris Pro graphics 5200
Sauvegardes quotidiennes de mes système et données par BORG
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [aspell] Comment modifier le dictionnaire personnel

Message 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.
jimarch
yeomen
Messages : 224
Inscription : mer. 26 déc. 2012, 20:38
Localisation : La Roche sur Yon - 85000

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

Message 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 !
Fixe : AMD Ryzen 5 2600X Six-Core Processor | 15,6 Gio de mémoire vive | GeForce GTX 1650 SUPER/PCIe/SSE2
Portable : Plasma - Kde | Notebook Clevo W740SU | Plateforme Intel Haswell avec Intel Core i7-4750HQ | Intel Iris Pro graphics 5200
Sauvegardes quotidiennes de mes système et données par BORG
Répondre