Solved

Stemming/Word matching library for C#...

Posted on 2007-03-26
2
2,513 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 500 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exception when using Alea null reference in fsharp.core.dll 3 79
parse string in c# 5 41
Stop Git from being my repository 1 51
GET INFO ABOUT WHAT THE PRINTER IS DOING ? 11 76
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.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

751 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