展示 HN:188 部宪法的三维语义地图(3 万条条款,嵌入式向量)
Show HN: Semantic atlas of 188 constitutions in 3D (30k articles, embeddings)

原始链接: https://constitutionalmap.ai/en

嵌入将法律文本转化为向量,聚类步骤将讨论相关宪法主题的向量分组。在国家模式下,颜色显示政治来源。在聚类模式下,颜色显示主题邻域。大型、密集的云团通常表示重复出现的宪法思想,例如权利、机构、紧急权力、选举或修正案规则。孤立的点通常标记不寻常的条款、罕见的措辞或特定国家的宪法设计选择。该平台提供两种类型的搜索:关键词搜索查找字面术语出现,而语义搜索检索概念上附近的段落,即使没有匹配的术语。搜索结果突出显示3D画布中的语义空间区域,将您阅读的内容与其位置联系起来。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 展示 HN: 188个宪法的3D语义地图(3万篇文章,嵌入向量) (constitutionalmap.ai) 3点 由 joaoli131 1小时前 | 隐藏 | 过去 | 收藏 | 讨论 我在注意到现有的比较宪法法律的工具要么学习曲线陡峭,要么只支持关键词搜索后构建了这个项目。 通过结合Gemini嵌入向量和UMAP投影,你可以浏览来自188个国家的30,828条宪法条款,并找到概念上相关的条款,即使措辞不同。 欢迎反馈,尤其是来自法律研究人员或比较法学者。 源代码和流程:github.com/joaoli13/constitutional-map-ai 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请YC | 联系方式 搜索:
相关文章

原文

The embedding turns legal text into vectors, and the clustering step groups vectors that tend to discuss related constitutional themes. In country mode, color shows political origin. In cluster mode, color shows thematic neighborhood.

Large, dense clouds usually indicate recurring constitutional ideas such as rights, institutions, emergency powers, elections, or amendment rules. Isolated points often mark unusual provisions, rare wording, or country-specific constitutional design choices.

The platform offers two types of search: keyword search finds literal term occurrences, while semantic search retrieves conceptually nearby passages even without matching terms. Search results highlight regions of the semantic space in the 3D canvas, linking what you read to where it sits.

联系我们 contact @ memedata.com