|
Home > Archive > Unix Programming > April 2007 > Ispell
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Christian Christmann 2007-04-12, 7:21 am |
| Hallo,
um meine Dokumente zu überprüfen, nutze ich vim+ispell.
Gibt es bei ispell eine Möglichkeit, zu überprüfen, ob nicht
ein Wort 2x hintereinander auftaucht. Das sind beliebte Fehler,
die immer wieder auftauchen.
(Vielleicht geht es auch ganz einfach mit vim? Tipps willkommen).
Gruß,
Christian
| |
| Jens Thoms Toerring 2007-04-12, 7:23 pm |
| Christian Christmann <plfriko@yahoo.de> wrote:
> um meine Dokumente zu ?berpr?fen, nutze ich vim+ispell.
> Gibt es bei ispell eine M?glichkeit, zu ?berpr?fen, ob nicht
> ein Wort 2x hintereinander auftaucht. Das sind beliebte Fehler,
> die immer wieder auftauchen.
This is a group where people communicate in English, so here a
short translation: Christoph is asking if it's possible to
find instances where a word is accidentally repeated using
ispell.
Now my comment: I doubt that this is possible using ispell which
is just a spell checker. But you could use a regular expression
like
\(\<\w\+\>\)[ \t\n]\+\1
to search for such instances as long as the words are identical,
i.e. you don't have one of the words e.g. start with an upper
case letter while the other starts with a lower case one. That
case I better leave for the vi experts here;-)
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
|
|
|
|
|