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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:08:32+00:00 2026-06-17T12:08:32+00:00

Is there any dictionary based string matching algorithm in Java? Something that will give

  • 0

Is there any dictionary based string matching algorithm in Java?

Something that will give the percentage of similarity between two strings based on the dictionary ?

Like

 public double getSimilarity(String str1, String str2);

for which an implementation like :

 getSimilarity("Professor", "Teacher")

will give a very high percentage ?

Thanks in advance 🙂

  • 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-17T12:08:33+00:00Added an answer on June 17, 2026 at 12:08 pm

    There is a great work done by Shaul Markovitch and Evgeniy Gabrilovich, described in their article: Wikipedia-based Semantic Interpretation for Natural Language Processing.

    The idea is as follows: Index wikipedia (or other context source).

    Creating a mapping for each term (word): term -> articles in which the term appears in.

    Each term is basically represented by a vector – for simplicity, let’s say it is a binary vector – so for the term t the entry d will be ‘1’ if and only if the term t appears in the document d.

    Now, given these vectors – to find if two terms t1, t2 are similar – all you have to do it take the vector similarity of the two vectors that represent t1 and t2.


    Note: The binary vector is a simplification, in fact the article uses the tf-idf score, that the term t has in a document d.

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

Sidebar

Related Questions

Is there any way I can set a formatter on models that will convert
Lot of googling did not help me! Are there any good dictionary web based
In any DBMS that's more than half-baked, there is a distinction between a read
is there any way to store duplicate keys in a dictionary? I have a
Is there any functional difference in Python between a try statement and an if
Is there any difference (compiler/interpreter/juju wise, etc) between the two versions of checking the
Basically, I want something like this: Dictionary<object, string> dict = new Dictionary<object, string>(); dict.Add(null,
Are there any available implementations of a Hashtable that provide thread safety with minimal
Is there any idiom for getting an arbitrary key, value pair from a dictionary
I have a Dictionary<string, someobject> . EDIT: It was pointed out to me, that

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.