New constructor and getter methods for recognizer.

Added additional constructors and getter methods.
Merge pull request #16 from Skylion007/patch-1

New constructor and getter methods for recognizer.