Hi Justin, Thanks again. Your answers are always so helpful. Now I understand that the orders of these rules does matter and I can see how it works in the True Positive/Total and Remaining Positive/Total columns. And you are right that this is not a well-thought sample code so it only shows my idea of translating the rules into other programming language. Thanks for your clarification on the code. And for the two similar rules, I looked into the filter viewer in the Text Filter node and the two “call” words are tagged with different part of speech. This is kind of a pain for me because that means when I translate these rules into other language, I also have to include the part of speech/term role tagging things. Besides that, scoring documents will also have to be parsed and tagged with part of speech/term role (noun, verb, etc. ) which could be quite a challenge and extra work. I know Python’s NLTK package can do this job but if the people in the engineering side said that they have to deploy the rule in other language such as java then I really don't know what to do then. But then I realize that these “same-word different-role” rules only occurred within the same single category and never happen between different categories. So like you said, it should be okay to combine these rules into one rule and do without the term role parsing part. In the end, they will just be assigned to the same category anyway.
... View more