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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file ctakes_parser-0.1.0.tar.gz.

File metadata

  • Download URL: ctakes_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

File hashes

Hashes for ctakes_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ab6ca073efee53b8357c141ce91e6a63c8062cadf04bc9c2fc073135b9be7a0
MD5 bbf79616cc9314c5d5bd8d6d55a0899c
BLAKE2b-256 a682068c7462ec296701550a37b77c4246f364352007cc1233b4a4157d2a5df8

See more details on using hashes here.

File details

Details for the file ctakes_parser-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ctakes_parser-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

File hashes

Hashes for ctakes_parser-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 991f47644caee55152222f4ecb1337088898448bef14bc6ba48b778bad6b9581
MD5 35d0265194e215ed4f1bf15969fdc5e7
BLAKE2b-256 7df20fe9b12026614d88c26607f133223f724d6a018a4383977bcc3da09e2ec8

See more details on using hashes here.

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