[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] Multi dicts
From: |
Christoph Hintermüller |
Subject: |
Re: [Aspell-user] Multi dicts |
Date: |
Sat, 11 Feb 2006 09:42:16 +0100 |
User-agent: |
KMail/1.8 |
Hi
Am Samstag, 11. Februar 2006 01:46 schrieb Claus Atzenbeck:
> On Sat, 11 Feb 2006, Claus Atzenbeck wrote:
>
> > Hi all,
> >
> > I have an English article with lots of Java code snippets. Certainly,
> > most of the Java code is not recognized by Aspell.
Of what type is the document of your article? Some office document or is it
tex/latex or other format which has to be compiled into the final format?
Do you spellcheck the article by calling aspell or its ispell wraper or
through the spellchecking interface of a wordprocessor or other programs.
> >
> > I am wondering if there is a simple way to do the following:
> >
> > (1) Extract a list of all lists that are *not* approved by the English
> ^^^^^
> This should have been "words", not "lists".
> Sorry. I better go to bed now. :-)
> > dictionary. I would like to edit this list manually to make sure
> > that only the Java code "words" are left.
> >
> > (2) Tell Aspell to use the English dictionary, but ignore all words that
> > are in this newly created list.
> >
> > I know that the Aspell manual says something about multi dictionaries,
> > but I am not sure if this is exactly what I want with my "stop list".
> > (Maybe it's just too late to think clearly and I should get some sleep.)
> >
In case you use aspell directly is the javacode separeated from the text by
quoting symbols or other specific delimiters ??
If so have a look at the "context" filter for aspell >= 0.60.x and at the
filter modes using this filter. It will make things a lot easier for you as
you need not to collect the java symbols at all as aspell will never see
them. If the java code is not enclosed within delimiter tags or quoting
symbols have a look at the personal word list aspell uses to store all words
which you add to the dictionary from within aspell.
cu
Xris