Hi

I am looking for building up a frame work for efficient matching of items against conditions. The root condition is given as combinations of 'include this' and 'exclude that' and 'match keyword' to 'also check other condition(s)'. A condition can be identified by its ID. The root condition is always a member of some group uniquely. When the text item matches a condition, it is also associated to the 'group' of which the condition is member. Each item can match zero or many conditions.

Sounds too complicated ? Here is more.. There are many items on daily base and thousands of conditions which keeps on changing
One of my real test is the interpretation of human thinking into this. For example 'soda' means 'coke', 'pepsi' etc.. Now if it says include soda as part of the condition, it means that any text item with coke or pepsi should be captured as well to the group. This is one of the straight forward example , but not in every case the context is well-known. Also I have to build these type of things in the framework. A well-suited example would be excluding non-european items.

I also have to take care of possible spelling mistakes in conditions and items to some extent, after getting the handle on the main frame work.

Thank you,
artist


In reply to Text Matching by artist

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.