douzha6055 2013-03-20 10:20
浏览 53
已采纳

智能Ajax / PHP FAQ脚本

I'm working as a programmer for a major travelling agency. I'm quite experienced, but now I ran into a problem that requires kind of an AI to be built up. I know these kinds of scripts exist everywhere, but I can't seem to find anything useful.

Basically we're building a FAQ script. We're getting loaded up with e-mails of the same types of questions every day, so we want to build a contact form which works just as it does while I'm writing this: In the right side it presents a number of already answered questions which are somehow similar to what I'm writing right now. The same happens while I write the subject.

Well, to get down to business. I'm making a contact form, but as the client is writing the subject and/or message, I want a number of pre-defined Q&A's to be presented for them as they write. I believe that I'm not able to use soundex as the FAQ will be in danish and thereby not sounding phonetically like english.

So.. How would I:

  • Build up the database? Should I use fulltext or tags, and extract the known tags from the message?
  • Build up the PHP script? Are there any functions that you think I should know of?

Basically I'm researching, so I would be very grateful for merely simple SQL queries as well as full scripts designed for the purpose! Anything is useful.

  • 写回答

2条回答 默认 最新

  • dongxin0031 2013-03-20 10:23
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?