Jump to content


DirectCorrect


  • You cannot reply to this topic
2 replies to this topic

#1 TomEck

    Member

  • Members
  • PipPipPip
  • 55 posts

Posted 21 October 2008 - 07:35 AM

It might be that I miss a preference but I have noticed that DirectCorrect does not "remember" different languages in the same document.

For example:

You may write an email in Mail.app and the language of the first paragraph is English. That means you have to use as spelling language of SC English too.
The language of the next paragraph is French, so that you switch the spelling language of SC to French as well.
In this case SC spell checks the first paragraph again and DirectCorrect will show a lot of mistakes (at least if you use the option "Check: Entire Paragraph") because the spelling language is now French instead of English.

Would it be possible that SC remembers the used spelling language of each paragraph written through SCs input method?

I have tried the option "Try to determine the best language for each paragraph" but could not notice a difference. I have also found the DirectCorrect option "Check: Selected Paragraphs" but in this case I have to go through each paragraph manually.

Not really a big issue, just a question...

Thomas

#2 Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,986 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 22 October 2008 - 07:34 PM

View PostTomEck, on Oct 21 2008, 08:35 AM, said:

It might be that I miss a preference but I have noticed that DirectCorrect does not "remember" different languages in the same document.

For example:

You may write an email in Mail.app and the language of the first paragraph is English. That means you have to use as spelling language of SC English too.
The language of the next paragraph is French, so that you switch the spelling language of SC to French as well.
In this case SC spell checks the first paragraph again and DirectCorrect will show a lot of mistakes (at least if you use the option "Check: Entire Paragraph") because the spelling language is now French instead of English.

Would it be possible that SC remembers the used spelling language of each paragraph written through SCs input method?

I have tried the option "Try to determine the best language for each paragraph" but could not notice a difference. I have also found the DirectCorrect option "Check: Selected Paragraphs" but in this case I have to go through each paragraph manually.

Not really a big issue, just a question...

Thomas

No, it doesn't do this right now. I am considering how to properly implement something like this - not really an easy task as it's really something the application should be tagging the text with, so DirectCorrect can retrieve it. Consider what would happen when cutting and pasting - Spell Catcher would not be able to keep track...

Also, DirectCorrect is extremely memory and CPU intensive, it caches a fair bit of info, but will throw away what's been cached at various times.

A tough one with no obvious solution. Unfortunately, there is no attribute defined at the TSM or Accessibility level for tagging text with a specific language.

I could do what Check Selection does when the "try to determine best language..." preference is set, but if you've ever tried it with Check Selection you can see how much CPU that can take.

#3 TomEck

    Member

  • Members
  • PipPipPip
  • 55 posts

Posted 24 October 2008 - 07:28 AM

View PostEvan Gross, on Oct 23 2008, 02:34 AM, said:

View PostTomEck, on Oct 21 2008, 08:35 AM, said:

It might be that I miss a preference but I have noticed that DirectCorrect does not "remember" different languages in the same document.

For example:

You may write an email in Mail.app and the language of the first paragraph is English. That means you have to use as spelling language of SC English too.
The language of the next paragraph is French, so that you switch the spelling language of SC to French as well.
In this case SC spell checks the first paragraph again and DirectCorrect will show a lot of mistakes (at least if you use the option "Check: Entire Paragraph") because the spelling language is now French instead of English.

Would it be possible that SC remembers the used spelling language of each paragraph written through SCs input method?

I have tried the option "Try to determine the best language for each paragraph" but could not notice a difference. I have also found the DirectCorrect option "Check: Selected Paragraphs" but in this case I have to go through each paragraph manually.

Not really a big issue, just a question...

Thomas

No, it doesn't do this right now. I am considering how to properly implement something like this - not really an easy task as it's really something the application should be tagging the text with, so DirectCorrect can retrieve it. Consider what would happen when cutting and pasting - Spell Catcher would not be able to keep track...

Also, DirectCorrect is extremely memory and CPU intensive, it caches a fair bit of info, but will throw away what's been cached at various times.

A tough one with no obvious solution. Unfortunately, there is no attribute defined at the TSM or Accessibility level for tagging text with a specific language.

I could do what Check Selection does when the "try to determine best language..." preference is set, but if you've ever tried it with Check Selection you can see how much CPU that can take.

Thanks for the prompt response and info. As mentioned, it does not cause really a problem and I am with you that a CPU preserving implementation of DirectCorrect is much more important.