This PR splits optionalHints to modelConstraints and optionalHints.
This allows a recognizer to perform multiple recognitions on different pieces of text. This is desirable since creation of a new recognition object might be expensive.
The term constraint also suggests that certain attributes are essential to recognizer's function (namely language and script).
This PR splits optionalHints to modelConstraints and optionalHints.
This allows a recognizer to perform multiple recognitions on different pieces of text. This is desirable since creation of a new recognition object might be expensive.
The term constraint also suggests that certain attributes are essential to recognizer's function (namely language and script).