Name: pyCProject
Owner: The ContentMine
Description: Provides basic function to read a ContentMine CProject and CTrees into python datastructures.
Created: 2015-11-11 09:26:27.0
Updated: 2018-03-21 11:11:27.0
Pushed: 2017-06-03 15:50:14.0
Homepage: null
Size: 44
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Provides basic function to read a ContentMine CProject and CTrees into python datastructures.
Main use is to read in all results.xml created by ami, and to be relate them to papers/metadata.
Visualization / network analysis in factnet.py will is no longer supported or maintained in this package as it is not part of the core functionality, and will be removed.
install pycproject
ce activate YOURVIRTUALENV
install pycproject
on setup.py build
on setup.py install
If your cproject is in PATH/TO/CPROJECT/CPROJECTNAME
, call the script with
on3 pycproject/convert2elasticdump.py --raw PATH/TO/CPROJECT --name CPROJECTNAME --output PATH/TO/OUTPUTFOLDER
You can then read a generated ContentMine-project in with
pycproject.readctree import CProject
OJECT = CProject("path_to_cproject", "cproject_name")
You can work with a pandas DataFrame after creating it with
MYPROJECT.get_dataframe()