Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Stemming/Word matching library for C#...

Posted on 2007-03-26
2
Medium Priority
?
2,578 Views
Last Modified: 2013-11-07
I am using the FullTextSearch feature on SQL Server.   This feature let's you very efficiently search through text in a database.  So I can do the following search:

SELECT * FROM MyTable WHERE CONTAINS(Notes, 'run')

Which will return the following records:

The boy will run.
The boy ran.
The boy is running.

So, FTS handles the tenses of the word run, and automatically returns all records with the word run, even if it's in a different tense.  The problem is that now I have these three records, and I want to display the matching word - like this:

The boy will <b>run</b>.
THe boy <b>ran</b>.
The boy is <b>running</b>.

The problem is that from C# the only "word" I know about is run, and the 1st one is the only "simple" match that I can make on the word run.

I guess my question is - are there any free stemming/word matching/etc libraries for C# that would help me match the word run to ran and running like FTS does IN is C#?

Thanks.

EJ
0
Comment
Question by:kalliopi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
ShazbotOK earned 2000 total points
ID: 18796377
This dude created a good example on how you can utilize the Inflectional searches in C#:
http://sqljunkies.com/PrintContent.aspx?type=howto&id=9EA5DCFB-A250-4915-BAC4-83261DA96A5B
0
 
LVL 6

Author Comment

by:kalliopi
ID: 18800294
That is EXACTLY what I was looking for!  If I could give you an A+ I would have.  Thank you!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question