1 Star 0 Fork 0

小工头 / ArticlePairMatching

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Doc2Graph

We put the code for constructing Concept Interaction Graph and run experiments in our ACL 2019 submission here.

We also put the datasets here: Chinese News Same Event dataset (CNSE) and Chinese News Same Story dataset (CNSS).

Requirement

To run the code successfully, you will need (just install the most recent version)

  • Pytorch
  • Graph-tool

How to use

**Run experiments: ** Please go to src/models/CCIG, and run script.sh.

**Process data: ** Please go to src/models/CCIG/data/ and run feature_extractor.py.

Datasets: The CNSE dataset in the paper is in data/raw/event-story-cluster/same_event_doc_pair.txt, and the CNSS dataset is located in data/raw/event-story-cluster/same_story_doc_pair.txt.

**CIG visualization: ** we put some figures of CIG with community detection in the folder ``CIG visualization by graph-tool''.

Project Organization

├── LICENSE
├── README.md          <- The top-level README for developers using this project.
├── data

├── src                <- Source code for use in this .

   └──models/CCIG         

       ├── data     <- code for extract graph features 
       ├── util     <- code for some functions 
       ├── loader.py  <- code for loading graph features
       ├── main.py  <- main code for running models
       └── models   <- pytorch code for our model

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/gg914/ArticlePairMatching.git
git@gitee.com:gg914/ArticlePairMatching.git
gg914
ArticlePairMatching
ArticlePairMatching
master

搜索帮助