t***q 发帖数: 418 | 1 【 以下文字转载自 Programming 讨论区 】
发信人: treeq (treeq), 信区: Programming
标 题: 问一个如何建立一个rest web service ,其中有query string 功能。
发信站: BBS 未名空间站 (Wed Mar 4 21:28:13 2015, 美东)
如题,要建一个 web service, 有 query string 的功能。主要是,有一个 影视作品
的title 进来,用 web service 里的 一些function, 和已有的一个 flat file, 那个
flat file里,有许多影视作品的 title , 及其他一些信息, 用这个 flat file, 和
已输入的 title, 算出与之最相似的影视作品的title, 然后 call 相关 url 后, 能
有一个 hash table 输出, 其中有最相近的 title , 和 相似率, 一个类似
confidence level 的东西。
例子如下:
http://www.dreamsyssoft.com/python-scripting-tutorial/create-si
现在就是不知道如何把query string , 还有算 相似度的function 加进去。其实自己
也不知道这个例子到底有没有用,对这个问题。谁能说说?还有就是哪位能给个 web
service 用 query string的标准的例子,链接之类的。多谢! | c******n 发帖数: 4965 | 2 ft what are u doing here? not asking people to do a take home exam for u,
are u?
和
【在 t***q 的大作中提到】 : 【 以下文字转载自 Programming 讨论区 】 : 发信人: treeq (treeq), 信区: Programming : 标 题: 问一个如何建立一个rest web service ,其中有query string 功能。 : 发信站: BBS 未名空间站 (Wed Mar 4 21:28:13 2015, 美东) : 如题,要建一个 web service, 有 query string 的功能。主要是,有一个 影视作品 : 的title 进来,用 web service 里的 一些function, 和已有的一个 flat file, 那个 : flat file里,有许多影视作品的 title , 及其他一些信息, 用这个 flat file, 和 : 已输入的 title, 算出与之最相似的影视作品的title, 然后 call 相关 url 后, 能 : 有一个 hash table 输出, 其中有最相近的 title , 和 相似率, 一个类似 : confidence level 的东西。
|
|