Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
fix: 更新 README 文档,修正通用领域描述,增加任意文本提取说明
yifanfeng973db8d44ef885
diff --git a/hyperextract/templates/README.md b/hyperextract/templates/README.mdindex d2cd546..0f7b5ca 100644--- a/hyperextract/templates/README.md+++ b/hyperextract/templates/README.md@@ -8,7 +8,7 @@ This library is organized by **Domain**, ensuring that the extraction logic matc| Domain | Description | Key Focus || :--- | :--- | :--- |-| **`general`** | General Purpose | Encyclopedias, Biographies, Webpages |+| **`general`** | General Purpose | Arbitrary Text, Encyclopedias, Biographies || **`finance`** | Finance & Investment | Reports, Filings, Transcripts || **`medicine`** | Medicine & Health | Clinical Records, Guidelines, Drug Info || **`tcm`** | Traditional Chinese Medicine | Case Records, Herbology, Acupuncture |@@ -28,6 +28,7 @@ This library is organized by **Domain**, ensuring that the extraction logic matc### 1. `general` (General Purpose)The default choice for unstructured text that doesn't fit a specific industry.+* **Arbitrary Text (Universal Extraction)**: Any type of text (e.g., web content, notes, blogs) for direct entity and relationship extraction without specific domain constraints.* **Wikipedia Articles / Encyclopedias**: Comprehensive descriptions of entities with structured infobox-like attributes.* **Biographies & Memoirs**: Life stories of individuals, focusing on key life events and relationships.* **Non-fiction Books (Popular Science)**: Books that cover broad topics (e.g., "Sapiens", "Thinking, Fast and Slow") with cross-domain concepts and arguments.diff --git a/hyperextract/templates/README_ZH.md b/hyperextract/templates/README_ZH.mdindex c6987d2..9f20bf3 100644--- a/hyperextract/templates/README_ZH.md+++ b/hyperextract/templates/README_ZH.md@@ -8,7 +8,7 @@| 领域代码 | 领域名称 | 核心关注点 || :--- | :--- | :--- |-| **`general`** | 通用百科 | 百科全书、人物传记、网页介绍 |+| **`general`** | 通用/百科 | 任意文本、百科全书、人物传记 || **`finance`** | 金融投资 | 研报、公告、会议纪要 || **`medicine`** | 医疗健康 | 临床指南、病历、药品文档 || **`tcm`** | 中医中药 | 医案、本草、方剂、经络 |@@ -28,6 +28,7 @@### 1. `general` (General Purpose)适用于无法归类或多领域交叉的文本,通过提取基础实体和SPO关系构建通用图谱。+* **任意文本 (通用提取)**:适用于任何类型的文本(如网页内容、日常笔记、博客文章),直接提取其中的实体及关系,不限制特定领域。* **维基百科/百度百科条目**:对实体(人物、组织、地点)的综合性描述,包含结构化的属性信息。* **人物传记与回忆录**:记录个人生平事迹、主要成就及社会关系的叙事性文本。* **非虚构类书籍 (大社科/科普)**:跨领域、概念性的书籍(如《人类简史》、《思考,快与慢》),侧重提取通用概念与论点。