Miniproject: Activity - petermr/CEVOpen Wiki

Original URL: https://github.com/petermr/CEVOpen/wiki/Miniproject:-Activity

OWNER: Radhu Ladani

Objective:

Introduction:

Methods and Methodology:

Getpapers:

General code syntax: getpapers -q <"project title "> -o <file name> -x<xml> -p<pdf> -k <number of papers requied>

Query code:

             getpapers -q "(medicinal activity) AND (essential oil)" -o eo_activity -x -p -k 100 -f activity/log.txt

This helps to build corpus of 92 articles with full text and xml file

ami:

ami section:

Ami section which is used to section the research papers into the front, body, back ,floats and groups. Sectioning of downloaded files will create a tree structure for us which will help in exploring the content of the file. Sectioning done using section function of ami .Which runs on command prompt.

General code syntax: ami -p <cproject> section

Query code:

            ami –p eo_activity section

ami search:

Ami search which search and analysis the terms in your project repository and gives the frequency is terms and the histogram of your corpus.

General code syntax: ami –p <cprooject><directory> search –dictionary <path>

Query code:

            ami -p eo_activity search --dictionary activity

Search_lib:

For search_lib, download PAPERS into PROJECTS , find SECTIONS and index with (DICTIONARIES and/or PATTERNS) into a searchable KNOWLEDGEBASE and analyse for new INSIGHTS.

General code syntax: python search_lib.py --dict --sect --proj

Query code:

           python search_lib.py --dict activity --sect introduction --proj activity

           python search_lib.py --dict activity --sect METHOD --proj oil186 

Result and Discussion:

Getpapers:

Collected freely available papers from EUROPMC. Once getpapers command executive.

Activity_Minicorpus

FIGURE 1: OUTPUT OF getpapers

AMI section:

Results of ami section. It sections the papers in the directory.

ami_section

FIGURE 2: OUTPUT OF ami section

Ami search:

Results are in the form of table , histogram and in the each folder results.

Screenshot (578)

FIGURE 4: OUTPUT OF AMI SEARCH IN TABLE WITH FREQUENCY

Activity_amiresult

FIGURE 5: PLOT OF .SVG FILE

Search_lib:

Results are in the form of matplotlib graph for activity dictionary with corpus activity and oil186

Activity

FIGURE 6: OUTPUT OF SEARCH_LIB WITH SECTION INTRODUCTION AND MINICORPUS ACTIVITY

oil186(METHOD)

FIGURE 7: OUTPUT OF SEARCH_LIB WITH SECTION METHOD AND MINICORPUS OIL186