drsvw88664 2010-03-14 16:22
浏览 50

从给予信件的随机词

Is there any possible code for getting output in php(all possible word from word dictionary)

for example....for word "werflo"

  1. flower

  2. fowler

  3. reflow

  4. wolfer

  • 写回答

2条回答 默认 最新

  • dqc22586 2010-03-14 16:25
    关注
    1. Take your word list, order each word's letters (alphebetical or otherwise, as long as it's consistent).
    2. Associate each word with its ordered letter string
    3. Apply the same letter ordering to your input
    4. Find the matching words, which is now trivial as you just need to find those where the ordered letter sequence matches.
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度