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


Download files

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

Source Distribution

ctakes_parser-0.1.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

ctakes_parser-0.1.0-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page