https://github.com/titu1994/pyctakesparser
Utilities to parse the output of cTAKES
https://github.com/titu1994/pyctakesparser
Last synced: 3 months ago
JSON representation
Utilities to parse the output of cTAKES
- Host: GitHub
- URL: https://github.com/titu1994/pyctakesparser
- Owner: titu1994
- License: mit
- Created: 2019-11-22T04:46:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T17:06:10.000Z (over 1 year ago)
- Last Synced: 2025-06-28T04:48:12.845Z (4 months ago)
- Language: Python
- Size: 59.6 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 parserdf = parser.parse_file(file_path='notes_in/mts_sample_note_97_1152.txt.xmi')
```## Parse Entire Directory
```python
import ctakes_parser as parserparser.parse_dir(in_directory_path='notes_in/',
out_directory_path='notes_out/')
```