Hi, > Furthermore, it might after all be useful to return the sentence > boundaries along with the error boundaries. This might help the user if > it indicates that sentence boundaries were not calculated correctly.
This sounds useful. > Perhaps a missing full stop, question mark, quote, or something like > that confused the grammar checker. This is perhaps only useful in an > interactive checker that can indicate the sentence as well as the error. Maybe it will get it's UI representation simply by only showing exactly that part of text that was identified as sentence in the UI. After all the UI should probably not display a whole paragraph because it may be way to large. > Furthermore, perhaps it is meaningful to allow for more than one > suggestion to be returned from the grammar checker. Suppose the mistake: > He will probably grows. > > We might want to suggest: > "He will probably grow." as well as "He probably grows." > > This is probably not the best example, but I imagine that there will be > situations where we might want to suggest more than one correction > because it could go either way. We might also want to associate a > different tip with each suggestion, I'm not sure. Of course a list of suggestions (replacement text) to be returned should be allowed. But the obvious limitation would be that the all have to be replacement for the same text part in the original sentence. Thus I think only reasonable choice for the above problem that works as solution for your case is to mark the all of "will probably grows" as the error and have the two suggestions "will probably grow" and "probably grows". Otherwise I do not see how this can properly be handled without introducing to much trouble. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
