Re: List words of a dictionnary.
"Kevin Scannell" <[email protected]> Mon, 2 Jun 2008 17:11:00 -0500
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 2, 2008 at 5:05 PM, Kevin Atkinson <[email protected]> wrote: > On Mon, 2 Jun 2008, Jean-Rémy Falleri wrote: > >> To do that using Aspell, I need a function in the Aspell API that can >> list all the words of a given dictionnary. After having read the whole >> aspell.h file, I have reached the conclusion that it does not exist >> yet. Am I right? Is there an easy way to do that? > > It is possible, see print_word_list in example-c.c in the examples/ > directory of the source distribution. And while it might be off-topic for this particular list, let me add that this is not a good way to collect n-gram statistics for a language - you'd want to do that with actual running texts if you're interested in language recognition. Kevin _______________________________________________ Aspell-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-devel