Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8093899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:37:04+00:00 2026-06-05T20:37:04+00:00

Is Drools suitable for writing rules for Stemming and/or POS tagging ? Suggestions for

  • 0

Is Drools suitable for writing rules for Stemming and/or POS tagging ? Suggestions for a better rule-language are welcome. I read many papers in this field that use the rule-based approach but none of them mentioned what library or framework was used to write the rules.

My rules are like the following:

if (length = 3 & first_letter in group1 and second_letter in group2) then ...
if (length = 3 & first_letter in group1 and second_letter not_in group2) then ...
if (length = 3 & first_letter not_in group1 and second_letter in group2) then ...
if (length = 3 & first_letter not_in group1 and second_letter not_in group2) then ...
if (length = 4...

… and so on.

The problem is that these rules are too many to handle. Imagine that there are ten letter-groups, and that there is a case for each letter belonging to each group. I could easily have over a thousand rules to classify a word correctly. I wrote 30 of those rules in plain C# code and that was enough for me to see how inefficient this approach was. I already have my rules organized as a tree on paper. I just need the right framework to insert, represent, tweak, and test them.

I hope my question is clear. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:37:06+00:00Added an answer on June 5, 2026 at 8:37 pm

    You can certainly use Drools for that. Drools can handle many thousand rules (I’ve seen kbases with 30k+ rules), much more complex than the ones you present above, without a sweat.

    The main issue I see is not the runtime, but the maintenance of your rules. Doing it manually, due to your use case, seems a lot of work, does not matter which language/engine you choose. Maybe you can use a decision table to define your rules as that is usually a lot less “typing” to do? or maybe you can have a script generate all the rules for you? Drools supports both.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a presentation about rule engine technology, specifically JBoss Drools. What are some
Drools Planner used this to select two distinct objects, ensuring that a rule did
I am working with Drools rules. Some developers have created rules which I have
When upgrading to drools 5, valid drools 4 xml rules do not work. Drools
I am using Eclipse with the Drools plugin to create rules. I want to
I have written a few Drools rules for my Seam application and am wondering
I'm having trouble compiling a drools 4 project. I'm getting errors in the rules
Is there a way to inserting (and removing) rules at runtime using the Drools-Camel
Do you know of a good business rule engine for .Net? I know Drools.Net
I'm using Drools (for the first time) to express some rules and it has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.