Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


(no subject)

  • Fathzer

    I'm not sure to understand the need.

    It seems like you're looking for a class that evaluates expressions like: "contains(x,'java') && contains(x,'hadoop') && contains(x,'big data') || contains(x,'analytic') && !contains(x,'recruiting'). Where x is a variable (see containing a text like "I am a java programmer.\nRead about hadoop.\nDoing big data right now."

    You can implement such a thing using a custom evaluator (see It should implements a 'contains' function (see to see how to implement functions). It should work not only on boolean, but also on strings ('recruiting', 'analytics', etc... are not booleans).

    After thinking about it:
    - If you're trying to evaluate a text ranking, probably a boolean function is not the best solution (usually this kind of functionnalities works with probabilities).
    - If someone is interested in writing a 'excel like' evaluator, dealing with boolean, string, numbers, date, etc... I would be very happy to publish that class in a separate jar (to keep core javaluator small).

    Last edit: Fathzer 2014-05-27