aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Aspell-user] Pipe mode ?


From: V. Dimo
Subject: [Aspell-user] Pipe mode ?
Date: Tue, 29 Nov 2005 10:17:47 +0100 (CET)

Hello,

(i'm new to aspell and linux)

i am interested in using aspell (in french) in pipe mode,

i have some text, that i "cat" to a "aspell -a -c --lang=fr" command and would like to parse/analyse output. btw, my trouble is i do not know what tokenization is used by aspell or where to found it. have you any clues ?

i had understand that stars "*" are for words which are ok, and if there are any unknown words apsell suggest something in the form "unknown : suggestion1, 2, ..."  like in the example below (example is written with a "e" in french)

$ echo "une virgule, ceci est un example" | aspell -a -c --lang=fr
@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.3)
*
*
*
*
*
& example 27 25: exemple, ex ample, ex-ample, exemples, exempte, exempté, exhale, exhalé, ample, exempter, exemptes, exemptés, étampe, étampé, d'exemple, exhaler, exhales, exhalés, l'exemple, érable, étable, établé, d'ample, l'ample, épampre, épampré, étampée

i would have preferd to be able to know :

une   *
virgule   *
,   *
ceci   *
est   *
un   *
example   & example 27 25: exemple, ex ample, ex-ample, exemples, exempte, exempté, exhale, exhalé, ample, exempter, exemptes, exemptés, étampe, étampé, d'exemple, exhaler, exhales, exhalés, l'exemple, érable, étable, établé, d'ample, l'ample, épampre, épampré, étampée

(if someone had a python/perl/awk/any wrapper to that i am particularly interested)

Also i was wondering if i had some entries to aspell dict like firstname / lastname how aspell will handle that ? is there some help available somewhere about how to do ?

great thanks.

Vince.


Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez le ici !
reply via email to

[Prev in Thread] Current Thread [Next in Thread]