]
Michael Neale resolved JBRULES-37.
----------------------------------
Resolution: Out of Date
non DSL based NLP for simple predicates
---------------------------------------
Key: JBRULES-37
URL:
http://jira.jboss.com/jira/browse/JBRULES-37
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Rule Assemply/SPI
Affects Versions: 3.0-beta1
Reporter: Michael Neale
Assigned To: Michael Neale
Fix For: 4.0.0.MR3
Original Estimate: 3 days
Remaining Estimate: 3 days
Should be based on a config file, which spels out what possesive strings are,
conjunctions etc, what are redundant
So we can do:
The Dog's name is fido and its age is less than 2
Dog(name=="fido", age < 2)
['s] is possesive, [is] is the operator, [its] references the Fact, The is stripped
out etc.
basic format of
{fact, field, opr, arg} conjuntion {repeat}
[08:54] <bob> if default lang could do cheesy reflection name-based stuff,
perhaps?
[08:54] <bob> turning verbs into methods by reflection?
[08:54] <bob> w/o any specific mappings?
[08:54] <bob> <-- cluefree
[08:55] <bob> import com.myco.pets.*
[08:56] <bob> ...
[08:56] <bob> dog name is "Ted"
[08:56] <bob> Dog( name='Ted' )
[08:56] <bob> etc
[08:56] <bob> purely very basic by default
[08:56] <bob> or am I thinking about it wrong?
[08:56] <bob> mic!
[08:56] <bob> stop perving
[08:56] <bob> start IRCing!
[08:58] <mic> bob: yeah can do that to
[08:58] <mic> started working on something like that, but on the back burner for
the moment
[08:58] <mic> of course, need to know that it is a Dog object to do reflection
etc...
[08:58] <mic> but thats more of a 3.1 thing
[08:59] <mic> would be a seperate expander
[09:00] <bob> yah, string[0] is a noun, search imports for class named string[0]
[09:00] <bob> 'k
[09:00] <bob> noun attribute operator value
[09:00] <bob> filter out throw-away words like "a" "the" etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: