资源描述:
《秒针网页内容分析系统WebService接口文档》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、秒针网页内容分析系统简介秒针网页内容分析系统WebService接口文档HandsofWebContentAnalysisSystem北京学之途网络科技有限公司14HTTP://www.miaozhen.comTel:010/58876546-801秒针网页内容分析系统简介目录秒针网页内容分析系统WebService接口文档1WebService接口3方法3方法1:parseDocument3方法2:parseDocumentWithDate3方法3:reParseDocument4方法4:reParseDocumentWithDate5
2、方法5:saveDocument5方法6:reSaveDocument6方法7:getDocumentByUrl7方法8:getDocumentByUrlWithQuery7方法9:getDocumentByUrlWithQueryAndDate7方法10:getDocument8方法11:getDocumentWithQuery8方法12:getDocumentWithQueryAndDate9方法13:deleteDocumentByUrl9方法14:deleteDocument10方法15:documentCount10方法16:g
3、etIdByUrl10方法17:maxUrl11方法18:maxId11方法19:saveKeyword11方法20:deleteKeyword12复杂数据类型说明12类型1:classDocument12类型2:classKeyword13类型3:classEntity14北京学之途网络科技有限公司14HTTP://www.miaozhen.comTel:010/58876546-801秒针网页内容分析系统简介WebService接口方法方法1:parseDocument名称函数原型publicDocumentparseDocument
4、(StringuserName,Stringpassword,Stringtitle,Stringcontent,intkeywordLength,intsummaryLength,booleanisQuery,intrelDocNum)功能描述根据传入文章的标题,内容,计算出文章的摘要、关键词、实体以及与其相关的文章。输入参数及说明StringuserName:用户名Stringpassword:密码Stringtitle:文章标题Stringcontent:文章内容intkeywordLength:返回关键词的最大个数intsumma
5、ryLength:返回摘要的长度上限booleanisQuery:是否计算相关文档(=true时,返回的document对象中relatedDocument中包含相关文档列表,=false时则不包含。此参数在第一次批量导入文章的过程中建议设为false,这样可以提高导入速度)intrelDocNum:返回的相关文章的数目返回类型及说明Document:返回带有计算出的文章摘要、关键词、实体和相关文章的Document对象,出现异常或错误返回null。方法2:parseDocumentWithDate名称函数原型publicDocument
6、parseWithoutDate(StringuserName,Stringpassword,Stringtitle,Stringcontent,intkeywordLength,intsummaryLength,booleanisQuery,intrelDocNum,DatestartDate,DateendDate)功能描述根据传入文章的标题、内容和起始截止日期,计算出文章的摘要、关键词、实体以及与其相关的自startDate至endDate的文章。北京学之途网络科技有限公司14HTTP://www.miaozhen.comTel:0
7、10/58876546-801秒针网页内容分析系统简介输入参数及说明StringuserName:用户名Stringpassword:密码Stringtitle:文章标题Stringcontent:文章内容intkeywordLength:返回关键词的最大个数intsummaryLength:返回摘要的长度上限booleanisQuery:是否计算相关文档(=true时,返回的document对象中relatedDocument中包含相关文档列表,=false时则不包含。此参数在第一次批量导入文章的过程中建议设为false,这样可以提高导
8、入速度)intrelDocNum:返回的相关文档的数目DatestartDate:返回相关文章的起始日期DateendDate:返回相关文章的结束日期返回类型及说明Document:返回带有计