• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

String comparison with a percentage in accuracy result

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello experts,
Is there a certain library that can provide the functionality of comparing two strings and giving a percentage of their matching.

Regards
 
Marshal
Posts: 68862
275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

You obviously missed the naming policy on the way in. And Tonik is misspelt.

There probably is, in which case you can find it on Google, but it would be easy to write your own.
 
Orange Tonik
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a naming policy? Plus my real name's Toni Krause so Tonik is my nickname
 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if this is what you are looking for but check StringUtils.getLevenshteinDistance from apache's commons-lang.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Orange Tonik, welcome to Javaranch,
and yes there is a naming policy you'll find it here.
No matter you use your nickname, but your name should sound real


Hope this helps
 
lowercase baba
Posts: 12827
52
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you registered, right above the line where you entered your display name, was the line:

Publicly Displayed Name (This name must conform to our naming policy):

That would seem to imply we have a naming policy.

This policy is strictly enforced. You can always go to this thread to discuss the policy, but i'd advise reading the whole thing first to avoid re-hashing any argument.
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
Try Free Java/.NET Libraries for Word Excel PowerPoint and PDF
htttp://www.e-iceblue.com/free-apis.html
    Bookmark Topic Watch Topic
  • New Topic