Technology Questions

Go Back   Technology Questions > Hardware Questions > Mobile Computers > Tablet PC > Tablet PC Software > Tablet PC Developers

Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 10-18-2007, 12:20 PM
Chris DiPierro
Newsgroup Contributor
 
Posts: n/a
Ink Analysis slow with large word lists

As many people have pointed out the benefits of InkAnalysis, we've been
doing some experimenting with it. In general it's working well for us,
but we've noted it is rather slow when we give it a hint node with a
wordlist factoid containing about 170,000 possible words. Obviously this
is a bit of an extreme, but it seems to be significantly slower that
we'd like and possibly slower than just using a recognition context.

Are there any tips for making this sort of recognition take place faster?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 10-18-2007, 12:20 PM
  #2 (permalink)  
Old 10-19-2007, 10:20 AM
Josh Einstein
Newsgroup Contributor
 
Posts: n/a
Re: Ink Analysis slow with large word lists

Have you tried it with RecognizerContext to see if it's just the size of the
word list or actually IA that's not performing well?

Also, is the hint node relatively small? Or is it a global hint?

--
Josh Einstein (Tablet PC MVP)
Einstein Technologies
Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com


"Chris DiPierro" <cdipierr@mi-corporation.com> wrote in message
news:OPR%23DqbEIHA.4712@TK2MSFTNGP04.phx.gbl...
> As many people have pointed out the benefits of InkAnalysis, we've been
> doing some experimenting with it. In general it's working well for us, but
> we've noted it is rather slow when we give it a hint node with a wordlist
> factoid containing about 170,000 possible words. Obviously this is a bit
> of an extreme, but it seems to be significantly slower that we'd like and
> possibly slower than just using a recognition context.
>
> Are there any tips for making this sort of recognition take place faster?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 10-22-2007, 06:50 AM
Chris DiPierro
Newsgroup Contributor
 
Posts: n/a
Re: Ink Analysis slow with large word lists

Yes, I've since tried it with RecognizerContext again and it is
significantly faster.

I'm not sure as to the question of the "relatively small" hit node. All
we've done to create the hint is as follows:

AnalysisHintNode hint = null;
hint = analyzer.CreateAnalysisHint();
hint.Location.MakeInfinite();
hint.Factoid = Factoid.WordList;
hint.SetWordList(<an array of strings>)
hint.WordMode = true;
hint.CoerceToFactoid = true;

I'm not familiar with the terminology of a "global hint".



Josh Einstein wrote:
> Have you tried it with RecognizerContext to see if it's just the size of
> the word list or actually IA that's not performing well?
>
> Also, is the hint node relatively small? Or is it a global hint?
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 10-22-2007, 11:40 AM
Josh Einstein
Newsgroup Contributor
 
Posts: n/a
Re: Ink Analysis slow with large word lists

Okay, that's a global hint. Try to make the location match the area in which
you're writing the word. Also, the other option is that you could use Ink
Analysis for parsing the ink into its writing structure and then defer the
recognition to a RecognizerContext object.

Also, are you using background recognition or the synchronous Analyze
method?

--
Josh Einstein (Tablet PC MVP)
Einstein Technologies
Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com


"Chris DiPierro" <cdipierr@mi-corporation.com> wrote in message
news:471CA9CE.4020406@mi-corporation.com...
> Yes, I've since tried it with RecognizerContext again and it is
> significantly faster.
>
> I'm not sure as to the question of the "relatively small" hit node. All
> we've done to create the hint is as follows:
>
> AnalysisHintNode hint = null;
> hint = analyzer.CreateAnalysisHint();
> hint.Location.MakeInfinite();
> hint.Factoid = Factoid.WordList;
> hint.SetWordList(<an array of strings>)
> hint.WordMode = true; hint.CoerceToFactoid = true;
>
> I'm not familiar with the terminology of a "global hint".
>
>
>
> Josh Einstein wrote:
>> Have you tried it with RecognizerContext to see if it's just the size of
>> the word list or actually IA that's not performing well?
>>
>> Also, is the hint node relatively small? Or is it a global hint?
>>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 10-24-2007, 10:40 PM
Amber P. Race
Newsgroup Contributor
 
Posts: n/a
Re: Ink Analysis slow with large word lists

Hi Chris,

There does seem to be a perf issue with large wordlists which we are
investigating. In the meantime, if you need to use such a large wordlist for
recognition, a RecognizerContext object would be much faster. You can use
the IntermediateResultsUpdated event to catch the Analyze() process before it
starts the recognition pass.

Thanks,
Amber P. Race [MS]


"Chris DiPierro" wrote:

> Yes, I've since tried it with RecognizerContext again and it is
> significantly faster.
>
> I'm not sure as to the question of the "relatively small" hit node. All
> we've done to create the hint is as follows:
>
> AnalysisHintNode hint = null;
> hint = analyzer.CreateAnalysisHint();
> hint.Location.MakeInfinite();
> hint.Factoid = Factoid.WordList;
> hint.SetWordList(<an array of strings>)
> hint.WordMode = true;
> hint.CoerceToFactoid = true;
>
> I'm not familiar with the terminology of a "global hint".
>
>
>
> Josh Einstein wrote:
> > Have you tried it with RecognizerContext to see if it's just the size of
> > the word list or actually IA that's not performing well?
> >
> > Also, is the hint node relatively small? Or is it a global hint?
> >

>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 11-01-2007, 07:20 AM
Chris DiPierro
Newsgroup Contributor
 
Posts: n/a
Re: Ink Analysis slow with large word lists

Amber --

Thanks for this. We've resorted to RecognizerContext for now which is
serving us fine. We'll investigate Analyzer again in a later release.


Amber P. Race wrote:
> Hi Chris,
>
> There does seem to be a perf issue with large wordlists which we are
> investigating. In the meantime, if you need to use such a large wordlist for
> recognition, a RecognizerContext object would be much faster. You can use
> the IntermediateResultsUpdated event to catch the Analyze() process before it
> starts the recognition pass.
>
> Thanks,
> Amber P. Race [MS]
>
>
> "Chris DiPierro" wrote:
>
>> Yes, I've since tried it with RecognizerContext again and it is
>> significantly faster.
>>
>> I'm not sure as to the question of the "relatively small" hit node. All
>> we've done to create the hint is as follows:
>>
>> AnalysisHintNode hint = null;
>> hint = analyzer.CreateAnalysisHint();
>> hint.Location.MakeInfinite();
>> hint.Factoid = Factoid.WordList;
>> hint.SetWordList(<an array of strings>)
>> hint.WordMode = true;
>> hint.CoerceToFactoid = true;
>>
>> I'm not familiar with the terminology of a "global hint".
>>
>>
>>
>> Josh Einstein wrote:
>>> Have you tried it with RecognizerContext to see if it's just the size of
>>> the word list or actually IA that's not performing well?
>>>
>>> Also, is the hint node relatively small? Or is it a global hint?
>>>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is Right Mouse Operation so Slow on Large zip Files? JohnThePresenter Windows XP 1 04-13-2007 06:30 AM
word 2007 slow opening large documents nicholas hall Microsoft Office 2 01-15-2007 11:43 AM
Word 2003 and Numbered Lists BD Andersen Microsoft Office 0 01-15-2007 11:36 AM
RE: Word 2003 and Numbered Lists DougieVan Microsoft Office 0 01-15-2007 11:36 AM
Will A Large Folder Size Slow Down Computer? MSRX92 Windows XP 1 01-04-2007 04:43 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 08:31 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0