May 31, 2010 at 8:11 am
Hi Mike, great code!
It works fine for me in general but I´m having problems when a word begins with "and" or with "or" like "orthopedics".
I´ve change, in SearchGrammar.cs OrOperator.Rule = Symbol("or") for OrOperator.Rule = Symbol("or ") (note the blank space after the "or") and it works, but I´m not sure its a good solution.
I´m also having problems is with one letter words, if you search "when I grow up" doesn´t return any result, but if you search "when grow up" it returns matching records including the one who has "when I grow up". FORMSOF (INFLECTIONAL, I) returns nothing.
Thanks,
Marcelo.
August 9, 2010 at 3:11 pm
mceitlin (5/31/2010)
Hi Mike, great code!It works fine for me in general but I´m having problems when a word begins with "and" or with "or" like "orthopedics".
I´ve change, in SearchGrammar.cs OrOperator.Rule = Symbol("or") for OrOperator.Rule = Symbol("or ") (note the blank space after the "or") and it works, but I´m not sure its a good solution.
I´m also having problems is with one letter words, if you search "when I grow up" doesn´t return any result, but if you search "when grow up" it returns matching records including the one who has "when I grow up". FORMSOF (INFLECTIONAL, I) returns nothing.
Thanks,
Marcelo.
Hi Marcelo,
Thanks, appreciate the feedback. There's a fix for that issue as well as some other improvements in the latest version of the grammar at the CodePlex website ("Irony" project). There was also a temporary fix somewhere earlier in this thread, but I'd recommend getting the latest version from the Irony CodePlex site.
Thanks
Mike C
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy