- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
自然语言处理NL 最大概率分词算法
NLP基于最大概率的汉语切分
Ytinrete
要求:
基于最大概率的汉语切分
目标:采用最大概率法进行汉语切分。
其中:n-gram用bigram,平滑方法至少用Laplace平滑。
输入:接收一个文本,文本名称为:corpus_for_test.txt
输出:切分结果文本,
其中:切分表示:用一个字节的空格“ ”分隔,如:我们 在 学习 。
每个标点符号都单算一个切分单元。
输出文件名为:学号.txt
Bigram参数训练语料:corpus_for_train.txt
注:请严格按此格式输出,以便得到正确评测结果
切分性能评价:
分 切分结果评测 F*100, F=2P*R/(P+R)
特别注意:代码雷同问题
本次作业最后得分会综合考虑:切分性能、代码、文档等几个方面。
第三次作业上交的截止时间:2014 年1月7日24:00
1.关于最大概率分词
基本思想是:
一个待切分的汉字串可能包含多种分词结果,将其中概率最大的作为该字串的分词结果。
根据:
由于语言的规律性,句子中前面出现的词对后面可能出现的词有很强的预示作用。
公式1:
其中 w表示词, s表示待切分字符串。
公式2:
例如:
S:有意见分歧
W1: 有/ 意见/ 分歧/
W2: 有意/ 见/ 分歧/
the drawings, first to become familiar with the drawings, mainly about the following aspects: 1) pages of drawings and diagrams, maps; 2) a comprehensive understanding of drawing; 3) finding of design-driven dimensions (), do not resize and adjust the size; 4) questioned the drawings; 5) develop buries a construction programme and technical clarification; 6) clear corners and special treatment; 7) controlled construction drawings to verify construction scheme and design. (2) at the construction site to find subject planted area: various engineering, first on the scene to find planted area, it must first understand the curtain wall installation section, and some projects are all curtain wall, the entire project is a region-wide, only partial walls, the zone is local. (3) identify the axis positioning: positioning the drawings shown in axis compared with the actual construction site to find out exactly where the axis positioning, axis positioning function are: 1) to help determine the origin of curtain walls; 2) acceptance of the installation is accurate; 3) adjust errors, and determine the error range. (4) find anchor points: according to site to find the exact location of the axis, according to the drawings provided by the content determine the positioning point; number of anchor points shall not be less than two points. Repeated measurements determine the location poi
您可能关注的文档
- 老GU操作使用明书.doc
- 老张的2012语文高考试题分类汇编之文学作品阅读及答案.doc
- 老朱的拖鞋(献所有桂电八院上过朱老师课程的同学).doc
- 老河口中学高一语(人教版)导学案:必修 4 Unit1 language points.doc
- 老河口中学高一语(人教版)导学案:必修3unit2 language points.doc
- 老河口中学高一语(人教版)导学案:必修4 Unit 2 Language Points.doc
- 老河口中学高一语(人教版)导学案:必修4 unit3 language points.doc
- 老罗学andrid总结.docx
- 考核说明(法学论).doc
- 考点 12 人和动物体内糖类、脂质和蛋白质的代谢.doc
原创力文档


文档评论(0)