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 7057059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:56:27+00:00 2026-05-28T03:56:27+00:00

I am out of ideas on how to complete this task. I am counting

  • 0

I am out of ideas on how to complete this task. I am counting the frequency of a word, actually the base form of the word (e.g. running will be counted as run). I looked up on some implementations of Levenshtein distance (one implementation I run into is from dotnerperls).

I also tried the double Metaphone, but it isn’t what I’m looking for.

So, please give me some ideas on how to tweak Levenshtein distance algorithm in classifying linguistically similar words since the algorithm is only for determining the number of edits needed not considering if they are linguistically similar or not

Example:
1. “running” will be counted as one occurrence of the word “run”
2. “word” will likewise be an occurrence of “word”
3. “fear” will NOT be counted as an occurrence of “gear”

Also, I am implementing it in C#.

Thanks in advance.

Edit: I edited it as Rene suggested.
Another note:
I am trying to consider to consider if a word is a substring of another word but that implementation will not be as much dynamic.
Another idea I think is: “if adding -s or -ing to string1, string1 == string2, then string2 is an occurrence of string1.” However, this is not the case as some words have irregular plurals.

  • 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-05-28T03:56:28+00:00Added an answer on May 28, 2026 at 3:56 am

    The task you are trying to solve is called Stemming or Lemmatisation.

    As you figured out already, Levenshtein-Distance is not the way to go here.
    Common stemming-algorithms for english include the Porter- and Snowball-Stemmer.
    If you google for that I’m sure you will find a C#-implementation of one of them.

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

Sidebar

Related Questions

I'm running out of good ideas on how to crack this bug. I have
I'm out of ideas! If I do this: string strTo = email1@domain.com; string strFrom
Do you ever run into a bug where you are just out of ideas
Unable to figure this one out... In the below form, all of the inputs
so I'm complete new not c#, and I ran out of ideas to try
I am out of ideas here, so I'm hoping someone can help. Here is
Any ideas on the correct method of typecasting an Object out of a getAttribute
How do you sketch out your iPhone App designs and ideas? I am currently
I can't figure out why my didEndSelector isn't being called. Any ideas? - (void)
I've mapped out this cool idea for my personal web page. I essentially just

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.