views:

30

answers:

3

I need to run spell check on jsps in our enterprise apps. I want the spell checker to ignore the html/css/javscript/jsp/java keywords and check on regular english labels. Is there an API or perl/unix script way of doing this ? I dont want to open each jsp in ms-word to do that check.

A: 

Depending on your IDE, spell check might already be included.

And usually for this kind of situation, properties files are used to contain the text, which allows to run the spell check on properties files only.

Colin Hebert
+1  A: 

If use have free time, I think better way is to write your own spell checking tool.

Please check out following link. How to Write a Spelling Corrector

That article has implemented a spell checker in Python.

Also if you are using eclipse, it has an inbuilt spell checker.

Upul
+1  A: 

It's not exactly what you're asking for, but you can enable spell checking in Eclipse IDE (which will ignore tags and reserved keywords and apply only on your text). Maybe it can help...

The option is located in General\Editors\Text Editors\Spelling.

Antoine