Metadata-Version: 2.1
Name: ctakes-parser
Version: 0.1.0
Summary: Python 3 port of CTakes output parser.
Home-page: https://github.com/titu1994/PyCTakesParser
Author: Somshubra Majumdar
Author-email: titu1994@gmail.com
License: MIT
Download-URL: https://github.com/titu1994/PyCTakesParser
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.0.0
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: lxml
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'


# 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

```python
pip install ctakes_parser
```

## From Github Master

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

# Examples

## Parse Single File

```python
import ctakes_parser as parser

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

## Parse Entire Directory

```python
import ctakes_parser as parser

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


