[JBoss JIRA] Reopened: (JBRULES-37) non DSL based NLP for simple predicates
by Mark Proctor (JIRA)
[ http://jira.jboss.com/jira/browse/JBRULES-37?page=all ]
Mark Proctor reopened JBRULES-37:
---------------------------------
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 2 months
[JBoss JIRA] Closed: (JBRULES-265) Automatic DSL populator (wizard/utility)
by Mark Proctor (JIRA)
[ http://jira.jboss.com/jira/browse/JBRULES-265?page=all ]
Mark Proctor closed JBRULES-265.
--------------------------------
Fix Version/s: 4.0.0.MR2
(was: 4.0.0.MR3)
Resolution: Won't Fix
> Automatic DSL populator (wizard/utility)
> ----------------------------------------
>
> Key: JBRULES-265
> URL: http://jira.jboss.com/jira/browse/JBRULES-265
> Project: JBoss Rules
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Eclipse IDE
> Reporter: Michael Neale
> Assigned To: Michael Neale
> Fix For: 4.0.0.MR2
>
>
> This would introspect selected objects, and create LHS and RHS DSL mappings to access each and every field.
> For LHS, something like
> There is Person {p}
> Person {p} age is less then {age}
> Person {p} age is greater then {age}
> .. and so on (depending on field data type).
> ..possibly generate a mapping that includes all fields in one line
> For RHS, something like
> Set age of Person {p} to {age}
> etc etc...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 2 months