learning to link with wikipedia

一、本文目标:

如何自动识别非结构化文本中提到的主题,并将其链接到适当的Wikipedia文章中进行解释。

二、主要借鉴论文:

Mihalcea and Csomai----Wikify!: linking documents to encyclopedic knowledge

第一步:detection(identifying the terms and phrases from which links should be made):

link probabilities:它作为锚的维基百科文章数量,除以提及它的文章数量。

第二步:disambiguation:从短语和上下文的单词中提取特征。

Medelyan et al.---- Topic Indexing with Wikipedia.

Disambiguation:

Balancing the commonness (or prior probability) of each sense and how the sense relates to its surrounding context.

三、两大步骤:link disambiguation and link detection

Link disambiguation:

Commonness and Relatedness

  1.The commonness of a sense is defined by the number of times it is used as a destination in Wikipedia.

  2.Our algorithm identifies these cases by comparing each possible sense with its surrounding context. This is a cyclic problem because these terms may also be ambiguous

where a and b are the two articles of interest, A and B are the sets of all articles that link to a and b respectively, and W is set of all articles in Wikipedia.

Some context terms are better than others

1.单词The是明确的,因为它只用于链接到文章的语法概念,但是对于消除其他概念的歧义,它没有任何价值。

link probability 可以解决这个问题。很多文章提到the,但没有把它作为链接使用。

  2. 许多上下文术语都是与文档的中心无关的. 我们可以使用Relatedness的度量方法,通过计算一个术语与所有其他上下文术语的平均语义关联,来确定该术语与这个中心线程的关系有多密切。

  

  These two variables—link probability and relatedness—are averaged to provide a weight for each context term.

Combining the features

图中,大多关于“树”是与本文是不相关的,因为该文档显然是关于计算机科学的。如果在上下文不明确或混淆的情况下,则应选择最常用。这在大多数情况下都是正确的。

引入最后一个feature: context quality

This takes into account the number of terms involved, the extent they relate to each other, and how often they are used as Wikipedia links.

the commonness of each sense,its relatedness to the surrounding context,context quality

这三个feature来训练一个分类器。

注:这个分类器并不是为每一项选择最好的词义,而是独立考虑每一种候选,并产生它的概率。

训练阶段需要考虑的问题:参数,分类器。

参数:specifies the minimum probability of senses that are considered by the algorithm.

---- 2%

分类器:C4.5

link detection:

link detection首先收集文档中的所有n-grams,并保留那些概率超过非常低的阈值(这用于丢弃无意义的短语和停止词)。使用分类器消除所有剩余短语的歧义。

1.会有几个链接与之相关的情况。就像Democrats and Democratic Party的情况一样。

2.如果分类器发现多个可能的情况,术语可能指向多个候选。例如,民主党人可以指该党或任何民主的支持者。

Features of these articles are used to inform the classifier about which topics should and should not be linked:

Link Probability

Mihalcea and Csomai’s link probability to recognize the majority of links

引入两个feature: the average and the maximum

the average: expected to be more consistent

the maxinum: be more indicative of links

比如:Democratic Party 比 the party 有更高的链接可能性。

Relatedness

此文中,读者更可能对克林顿、奥巴马和民主党感兴趣,而不是佛罗里达州或密歇根州。

希望与文档中心线相关的主题更有可能被链接。

引入feature:  the average relatedness

between each topic and all of the other candidates.

Disambiguation Confidence

使用分类器的结果作为置信度。

引入两个feature: average and maximum values

Generality

对于读者来说,为他们不知道的主题提供链接要比为那些不需要解释的主题提供链接更有用。

为一个链接定义一个generality表示它位于Wikipedia类别树中的最小深度。

通过从构成Wikipedia组织层次结构根的基本类别开始执行广度优先搜索来计算。

Location and Spread

三个feature: Frequency         first occurrence        last occurrence

第一次和最后一次出现的距离用于体现文档讨论主题的一致性。

  训练阶段唯一要配置的变量是初始链接概率阈值,用于丢弃无意义的短语和停止单词。

--6.5%

四.WIKIFICATION IN THE WILD

Data: Xinhua News Service, the New York Times, and the Associated Press.

论文《learning to link with wikipedia》的更多相关文章

  1. 论文《A Generative Entity-Mention Model for Linking Entities with Knowledge Base》

    A Generative Entity-Mention Model for Linking Entities with Knowledge Base   一.主要方法 提出了一种生成概率模型,叫做en ...

  2. Entity Framework Model First下改变数据库脚本的生成方式

    在Entity Framework Model First下, 一个非常常见的需求是改变数据库脚本的生成方式.这个应用场景是指,当用户在Designer上单击鼠标右键,然后选择Generate Dat ...

  3. Entity Framework的核心 – EDM(Entity Data Model) 一

    http://blog.csdn.net/wangyongxia921/article/details/42061695 一.EnityFramework EnityFramework的全程是ADO. ...

  4. EF,ADO.NET Entity Data Model简要的笔记

    1. 新建一个项目,添加一个ADO.NET Entity Data Model的文件,此文件会生成所有的数据对象模型,如果是用vs2012生的话,在.Designer.cs里会出现“// Defaul ...

  5. Create Entity Data Model

    http://www.entityframeworktutorial.net/EntityFramework5/create-dbcontext-in-entity-framework5.aspx 官 ...

  6. 论文分享|《Universal Language Model Fine-tuning for Text Classificatio》

    https://www.sohu.com/a/233269391_395209 本周我们要分享的论文是<Universal Language Model Fine-tuning for Text ...

  7. Entity Framework Tutorial Basics(5):Create Entity Data Model

    Create Entity Data Model: Here, we are going to create an Entity Data Model (EDM) for SchoolDB datab ...

  8. ASP.NET-MVC中Entity和Model之间的关系

    Entity 与 Model之间的关系图 ViewModel类是MVC中与浏览器交互的,Entity是后台与数据库交互的,这两者可以在MVC中的model类中转换 MVC基础框架 来自为知笔记(Wiz ...

  9. How to: Use the Entity Framework Model First in XAF 如何:在 XAF 中使用EF ModelFirst

    This topic demonstrates how to use the Model First entity model and a DbContext entity container in ...

  10. 创建实体数据模型【Create Entity Data Model】(EF基础系列5)

    现在我要来为上面一节末尾给出的数据库(SchoolDB)创建实体数据模型: SchoolDB数据库的脚本我已经写好了,如下: USE master GO IF EXISTS(SELECT * FROM ...

随机推荐

  1. Flask快速实现简单python接口

    Flask 是一个轻量级 web 框架,自由.灵活.可扩展性强.Flask 本身相当于一个内核,大部分功能都需要扩展第三方库. Flask 框架有多“轻量”呢,之前写过一篇 Django实现restf ...

  2. mysql 向字段添加数据或者删除数据

    UPDATE table SET cids = CONCAT(cids , ',12') where id=id //向字段添加数据 //因为要用逗号分隔 所以在在前面加了一个逗号 UPDATE ta ...

  3. 【python系统学习06】一张图看懂列表并学会操作

    点击跳转-原文地址 数据类型 - 列表(list) 「目录:」 一张图了解列表 列表是什么 列表长啥样 语法格式 代码示例 格式特征 列表定义 列表操作 - 提取单个:偏移量 什么是偏移量 偏移量提取 ...

  4. session跨域丢失问题

    配置一个 filter package com.psm.filter; import javax.servlet.*; import javax.servlet.http.HttpServletReq ...

  5. 推荐几个高质量图片网站,再也不怕没图装X了

    这几个图片网站都是高质量的图片网站,建议收藏! 找个高逼格的图片发票圈,不再难了. Unsplash 网址:https://unsplash.com Unsplash是一个免费高质量照片的网站,照片都 ...

  6. 嗯 想写个demo 苦于没数据

    step 1: 来点数据: 各种数据 随你便了. step 2: 来个 服务端 step 3 : 客户端 调用

  7. 使用Route Prefix 使用属性路由 精通ASP-NET-MVC-5-弗瑞曼

  8. 2019杭电多校赛第九场 Rikka with Mista

    Problem Description Rikka is a fervent fan of JoJo's Bizarre Adventure. As the last episode of Golde ...

  9. ThinkPHP 5.0.7 + MySQL 构建RESTful API的小程序---02-ThinkPHP5中的orm的模型关联

    ThinkPHP5.0中的操作ORM的一对一,一对多,多对多的操作: 由以下表举例: banner表的设计 id name description delete_time update_time 1 ...

  10. NOde.js的安装和简介

    1.nodejs的安装 1.1 检测nodejs的版本 node -v (version:版本) 1.2 path配置nodejs 的环境变量(当前版本都是自动安装配置环境变量)指令: path 1. ...