Skip to main content

Python 3 port of CTakes output parser.

Project description

Py CTakes Parser

Python utilities to parse the output of cTAKES 4.0.

Repository is a port of the Julia repository found here - https://github.com/bcbi/CTakesParser.jl

Installation

From PyPi

pip install ctakes_parser

From Github Master

pip install git+https://github.com/titu1994/PyCTakesParser.git

Examples

Parse Single File

import ctakes_parser as parser

df = parser.parse_file(file_path='notes_in/mts_sample_note_97_1152.txt.xmi')

Parse Entire Directory

import ctakes_parser as parser

parser.parse_dir(in_directory_path='notes_in/',
                 out_directory_path='notes_out/')

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ctakes-parser, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size ctakes_parser-0.1.0-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ctakes_parser-0.1.0.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page