gpt4 book ai didi

使用数据转储进行 Freebase 评分

转载 作者:行者123 更新时间:2023-12-02 03:50:22 28 4
gpt4 key购买 nike

如果您使用 Freebase 搜索按名称获取任何实体的匹配项,您将获得按 relevance score 排序的结果.例如尝试 Taj Mahal .

我正在尝试使用 Freebase 数据转储获得类似的结果,因此在我的数据库中,“Taj Mahal”相关主题将按相关性排序,即建筑排在第一位,音乐家排在第二位,依此类推。

有没有关于如何在不查询 Freebase 搜索 API 的情况下实现这一点的建议?

最佳答案

您链接到的有关相关性分数的维基页面说:

Freebase entities have an inherent relevance score (ranking) computed during indexing that is function of its inbound and outbound link counts in Freebase and Wikipedia. Some popular Freebase entities also have a popularity score computed by Google. By default, both scores are combined together during queries.

这应该会让您很好地了解从哪里开始。 Freebase 入度和出度可以直接从转储计算,但维基百科入度/出度需要使用维基百科转储(或 Freebase 的 WEX 转储)。 “Google 计算的人气分数”显然是您无法复制的东西。

关于使用数据转储进行 Freebase 评分,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14583384/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com