title: Any simple shape recognition libraries for Java?
body: <p>I am working on a on-screen keyboard for Android, and I need to recognize starting points, turning points and end points of lines drawn by the user on the keyboard. A simple straightening function would be nice, as it is difficult to draw a perfectly straight line even with a stylus, not to mention finger-only touchscreens today.</p>
  
  <p>What I am trying to write is something like Swype.</p>
  
  <p>Any good libraries that I can use or make reference to?</p>