[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: baloo_queryparser... again
From:       Franklin Weng <franklin () goodhorse ! idv ! tw>
Date:       2014-09-13 12:18:28
Message-ID: CADtxYXaJNcmXhd6wHkBrH-5-0d+je8vX8qdX84x5mnOBCuY+bw () mail ! gmail ! com
[Download RAW message or body]

Hi,

2014-08-18 16:52 GMT+08:00 Denis Steckelmacher <steckdenis@yahoo.fr>:

> The goal of the parser is to accept as many correct sentences as possible,
> while also accepting wrong sentences. If I take your example of "last $1",
> this means that you can just put all the words that could replace "last" in
> the list: "A|B|C|D $1". This way, when the user uses the correct word
> according to $1, the sentence will be parsed. The fact that the user is
> allowed to use C instead of B with $1 being a day is not a problem at all.
>
>
One more question.  Does the space matter?  Do A$1 and A $1 have different
result of parsing?


Thanks,
Franklin

[Attachment #3 (text/html)]

<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">2014-08-18 \
16:52 GMT+08:00 Denis Steckelmacher <span dir="ltr">&lt;<a \
href="mailto:steckdenis@yahoo.fr" \
target="_blank">steckdenis@yahoo.fr</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><span \
style="color:rgb(34,34,34)">The goal of the parser is to accept as many correct \
sentences as possible, while also accepting wrong sentences. If I take your example \
of &quot;last $1&quot;, this means that you can just put all the words that could \
replace &quot;last&quot; in the list: &quot;A|B|C|D $1&quot;. This way, when the user \
uses the correct word according to $1, the sentence will be parsed. The fact that the \
user is allowed to use C instead of B with $1 being a day is not a problem at \
all.</span><br></div></div> <br></blockquote><div><br></div><div>One more question.   \
Does the space matter?   Do A$1 and A $1 have different result of \
parsing?</div><div><br></div><div><br></div><div>Thanks,</div><div>Franklin</div></div></div></div>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic