hjyanghj

In Microsoft Windows SDK,

.NET Framework Development >Windows Presentation Fundation>WPF Fundamentals>Digital Ink>Handwriting Recognition

there is a sample which I can compile and run it in my Vista machine.

My question is:

If I want to recognize digit only, how to implement to increase accuracy How to use RecognizerContext

Thanks



Re: Windows Presentation Foundation (WPF) if we only want recognize digits, how to increase the recognition accuracy in WPF?

Yi-Lun Luo - MSFT

Hello, I think RecognizerContext.WordList is what you want.

RecognizerContext RC = new RecognizerContext();

RC.WordList = new WordList();

string testStr = "thunk";

if (!RC.IsStringSupported(testStr))

{

WordList WL = RC.WordList;

WL.Add(testStr);

// testStr is not available for use in recognition

// until the WordList property is re-assigned

RC.WordList = WL;

}






Re: Windows Presentation Foundation (WPF) if we only want recognize digits, how to increase the recognition accuracy in WPF?

hjyanghj

SDK > .Net Developement > .Net Framework SDK > .Net Framework > Windows Presentation Foundation

> WPF Fundamentals > Digital Ink > How-to Topics > Analyze Ink with Analysis Hints

do show a nice example.