On Tue, Nov 05, 2024 at 11:53:35PM +0000, Reuben Thomas wrote: > > So I'm still baffled: if Aspell doesn't know about "castellano" anywhere, > then how does the command > > $ aspell check -d castellano mytext.txt > > work? > > If enchant people wants to add some of those aliases I would not go beyond > > the equivalent ispell `-d' argument, so `enchant-2 -d ...' works similarly > > as for ispell. > > > > I don't know what you mean about adding aliases. My understanding from the > above is that "castellano" is not known to aspell, so why would Enchant > need to know about it? As you said:
See /usr/lib/aspell contents. Normal dicts (those shown by `aspell dump dicts' and available through `aspell -l ...') are called using basename of *.multi files (I think that the same from *.rws or *.dat files may work if no associated *.multi file is present, but cannot confirm). For spanish aspell dicts you have es.dat es.rws es.multi Aliases are defined by *.alias files and are called using their basename and `aspell -d ...'. `aspell -d ..' also accepts valid `aspell -l ...' arguments. E.g., castellano.alias espanol.alias `aspell -l ...' does not accept aliases, although they are accepted by `aspell -d ..' -- Agustin