Saternius

Saternius / EnvironmentTest / 0.1.1

README.md

Currently pending a maven group id so the code currently is pinging my own server for the results, until I can properly import the environment, (thus there might be some performance losses). This is only public for bounty, and will be properly patched and running within  a few days.

------------------------------------------------------------------------------

Information about the algorithm:

I used a naive POS centric algorithm.

Essentially for capitalization it upper-cases the first word and any proper noun.

To determine questions, it detects if the first word is of the followings:

"who","what","when","where","why","how","is","are","can","will","should","isn't","does","did","didn't","doesn't","have","haven't","shouldn't"

if it is, more likely than not its a question.

Note, this does not detect questions like: "Bobby was a zerg main?", mainly because "Bobby was a zerg main." is also an acceptable statement.