New constructor and getter methods for recognizer.

Added additional constructors and getter methods.