When I set IRecognizerParams::TrainUserPatterns property to TRUE, the Pattern Training dialog appear not for all characters, but some characters are recognised incorrect. Can I get Pattern Training dialog for each character in document not only for uncertainly recognized characters or call it for symbols that were recognised incorrect.
How to make Pattern Training dialog appear on each character not only for uncertainly recognized (or unknown) characters?
- 2K Views
- Last Post 19 January 2015
In order Pattern Training dialog appear for all characters please try to set RecognizerParams::UseBuiltInPatterns property to TRUE. For more information about it please refer to the Developer's Help → API Reference → Parameter Objects → Preprocessing, Analysis, Recognition, and Synthesis Parameters → RecognizerParams.
Julia, thank you for response. But something is wrong. Your proposal not working for me. I use code for User Patterns Training Utility with some modifications.
So code is: FREngine.RecognizerParams recognizerParams = documentProcessingParams.PageProcessingParams.RecognizerParams; recognizerParams.UserPatternsFile = patternSourceFileTextBox.Text; recognizerParams.UseBuiltInPatterns = true; recognizerParams.TrainUserPatterns = true;
patternSourceFileTextBox.Text contains path to user pattern file.
As I see and as stated in the documentation "This property (UseBuiltInPatterns) set to TRUE means that ABBYY FineReader Engine will use its own built-in patterns for recognition." So the recognition with this property may be worse than use user patterns only and Pattern Training dialog may appear more often than without it. Result of recognition is different for UseBuiltInPatterns true and false for me. But Pattern Training dialog still appear not for all characters. As I see engine has some other mechanism that allow it confidently recognise some characters and I may not disable it to make Pattern Training dialog appear for each symbol.
1346 questions, 4388 answers.