taishan1994/pytorch_triple_extraction
基于pytorch的中文三元组提取(命名实体识别+关系抽取)
This project helps operations engineers or data scientists extract structured information from unstructured Chinese text, particularly for technical reports like automobile fault descriptions. It takes raw Chinese text and a list of predefined relationships (e.g., '部件故障' - component failure, '性能故障' - performance issue) as input. The output is a list of subject-object-relation triplets, such as ('发动机', '熄火', '部件故障'), making it easier to build knowledge graphs or analyze textual data.
362 stars. No commits in the last 6 months.
Use this if you need to automatically identify entities (like 'engine' or 'failure') and the relationships between them (like 'engine' has a 'component failure' of 'stalling') from large volumes of Chinese text.
Not ideal if your data is not in Chinese or if you primarily need to extract entities without considering their relationships, or if you need a pre-trained model for a highly specialized domain without further training.
Stars
362
Forks
47
Language
Python
License
—
Category
Last pushed
May 12, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/taishan1994/pytorch_triple_extraction"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
davidsbatista/BREDS
"Bootstrapping Relationship Extractors with Distributional Semantics" (Batista et al., 2015) in...
davidsbatista/Snowball
Implementation with some extensions of the paper "Snowball: Extracting Relations from Large...
nicolay-r/AREkit
Document level Attitude and Relation Extraction toolkit (AREkit) for sampling and processing...
plkmo/BERT-Relation-Extraction
PyTorch implementation for "Matching the Blanks: Distributional Similarity for Relation Learning" paper
thunlp/FewRel
A Large-Scale Few-Shot Relation Extraction Dataset