Menu

Tree [d17df2] default tip /
 History

Read Only access


File Date Author Commit
 HIKM-submission.pdf 2011-12-12 diego diego [d17df2] Draft of paper
 README.txt 2011-10-26 diego diego [82c144] Copyright notice
 annotations_test.txt 2011-10-26 diego diego [07748e] Initial
 annotations_train.txt 2011-10-26 diego diego [07748e] Initial
 neg_tagger.py 2011-10-26 diego diego [82c144] Copyright notice
 neg_triggers.txt 2011-10-26 diego diego [07748e] Initial
 parse_xml.py 2011-10-26 diego diego [82c144] Copyright notice
 wrapper.py 2011-10-26 diego diego [82c144] Copyright notice

Read Me

#######################################################################
# Author: Patrick Davis-Desmond                                       #
# Project page: http://sourceforge.net/q/clinevidence                 #
#                                                                     #
# Date: 26 Oct 2011	                                              #
#######################################################################

neg_tagger.py -- A python module based on Wendy Chapman's NegEx algorithm.

The original NegEx code is available at:
http://code.google.com/p/negex/  

######################
# Files:             #
######################
This package includes 7 files:
1) 	neg_tagger.py: Source code for the Python implementation.

2) 	wrapper.py: Source code for a short program to demonstrate
        using neg_tagger.py. Simply run this in Python.

3)      neg_triggers.txt: This file lists the rules that were used with
	wrapper.py to test neg_tagger.py. Users are free to use
	anything as a rule but they should follow the style of the
	example rule file.  Generate your rule file as needed.

4) 	annotations_test.txt: The test kit. Format of the test kit and files
	with sentences to check negations for follows this structure:

	Number TAB Text TAB Dummystring

	This file was created from XML files downloaded from PubMed
	Central and processed with the file parse_xml.py.

	The output will have the following structure:

	Number TAB Conclusion TAB Abstract TAB Dummystring TAB
	Sentence.with.tags TAB Decision 

5)      annotations_train.txt: The data used for discovering the rules.

6)      parse_xml.py: Program that was used to read XML files retrieved
        from PubMed Central and produce annotations_test.txt. The
        program assumes the XML files are stored in directory 'PMC_Files'.

7)	README: This file.


Copyright (C) 2011  Patrick Davis-Desmond

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.