liqilcn / ee447_idea_tree

Idea tree extraction for EE447 lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idea Tree Extraction Lab for ee447

Attention

  1. We recommend that you use conda to create a new python environment and install all the dependency packages via the requirement file. The code will run fine in a python 3.7 environment.
  2. Graphviz may need to be installed on your machine.

Usage

  1. Compile the gml reading tool in your python environment, otherwise the code will not work
    cd ./src/readgml
    python setup.py build_ext --inplace
  1. Choose .gml files you want to extract idea tree in ./temp_files/input/source_gml/. The file name is leading articles paper ID in acemap.
  2. Modify the pid list in main.py
  3. run main.py to get idea trees, then you can get the idea tree in idea_tree_thumbnail

You can get the details of the corresponding paper ID via a URL like this: https://www.acemap.info/paper/280665520. The last part of the URL is the paper ID. This may help you to filter the corresponding .gml file.

About

Idea tree extraction for EE447 lab


Languages

Language:Python 97.8%Language:C 2.2%