Hi,
On 5/26/06, Thomas Lange <[EMAIL PROTECTED]> wrote:
> Yes, You are correct, the users may in several times just correct the
> sentences, but the process of analysing the Paragraph is processed just
> once per change (after a change or a return key press, as I told
> before). And a single check should provide all information regarding the
> block analysed, IT not means that everything will be showed to the user,
> it will just be stored in some place (an object in memory) for the User
> Interface deal with it.
I hope you don't intend to create such objects hidden in the memory for
later use by the auto checking as well. I think it will be way to easily
to have many of such objects created by accident (e.g. wrong language
set at paragraph). Caching a very limited number of results will be Ok
though.
The main question is if it is not much more efficient (time and memory)
for auto checking if the suggestions are not retrieved.
AFAIK for spell checkers at least retrieving suggestions is a
considerable task compared to only find out that sth is wrong somewhere.
Thus it might be a good idea to only keep one (or at most a very limited
number) of that sth-is-wrong-somewhere data if that can be used to speed
up the suggestion retrieval.
But most likely that will be of not much use either when you can not
cache all of them (which is likely a memory no-go). And caching a small
number will probably not help either since when it is about up grammar
checking those will be obsolete almost instantly.
Thus currently me thinks there is no use in retrieving or caching any
data beyond the minimum required results to mark the text portion when
running in the background.
TL->Bruno: Please check if I'm wrong here.
If we use the compiler idea that Tomas mentioned before(the first wrong checking stops) this idea is valid, we will cache just one object. Its no use to cache everything in memory since after any change every object in memory will be discarded.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
