Book a Demo

Author Topic: Spelling checker could split compound words  (Read 3394 times)

d_p_robinson

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Spelling checker could split compound words
« on: May 23, 2007, 07:18:39 am »
The spelling checker could be made more intelligent by splitting compound words. For example it flags 'SampleRequestMessage' as an error. Camel-case and pascal-case are widely used within industry, along with '_', so a simple algorithm could split words at capital letters or underscore and check the resulting smaller words (Sample, Request, Message).

Similarly it could remove prefixes such as 'm_' etc.
David Robinson

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Spelling checker could split compound words
« Reply #1 on: May 23, 2007, 08:51:20 pm »
Gets my support...

And while we're tinkering - some refactoring functionality (like search and replace) wouldn't go astray...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!