soundex算法的数据结构? [英] Data structure for soundex algorithm?

查看:177
本文介绍了soundex算法的数据结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以建议使用什么数据结构来 soundex algorithm 程序?要使用的语言是Java。如果有人以前在Java中工作过。该程序应该具有以下功能:
可以读取约50,000个单词
应该能够读取一个单词并返回相同的soundex相关单词



我不希望程序实现只是对使用什么数据结构的建议。

解决方案

提示:如果使用SQL作为数据绑定,那么您可以让SQL使用两个sql函数SOUNDEX和DIFFERENCE来处理它。



也许不是你想要的,但是很多人不知道MSsql有这两个功能。


Can anyone suggest me on what data structure to use for a soundex algorithm program? The language to be used is Java. If anybody has worked on this before in Java. The program should have these features: be able to read about 50,000 words should be able to read a word and return the related words having the same soundex

I don't want the program implementation just few advices on what data structure to use.

解决方案

TIP: If you use SQL as a databackend then you can let SQL handle it with the two sql-functions SOUNDEX and DIFFERENCE.

Maybe not what you wanted, but many people do not know that MSsql has those two functions.

这篇关于soundex算法的数据结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆