Cross-domain temporal information extractors: temporal expressions, events and temporal links.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
buffer
mantime
models
static
templates
.gitignore
.gitmodules
LICENSE.txt
MANIFEST.in
README.md
TODO.md
__init__.py
mantime.py
requirements.txt
server.py
setup.py

README.md

ManTIME

ManTIME is a Temporal information extraction pipeline for general and clinical domain. Given a piece of English text it is able to recognise and highlight clinical named entities (problems, treatments, clinical departments) and temporal expressions.

The clinical model is based on the (i2b2/2012 annotation schema), whereas the general model is based on the (TempEval-3 annotation schema) Models will be soon available.

##Dependencies

ManTIME is based on the following software components:

##Web interface

ManTIME web interface

You can use ManTIME (TempEval-3 version) via its web server by (clicking here). It currently runs on my personal workstation. If the web service doesn't work that only means I am using my machine to do some intense computing. It will be back online soon. :)

##How to use it

Put the input files in a particular folder and run:

$ python mantime.py test [-ppp] <folder_path> <model_name>

the option -ppp uses the post-processing pipeline on top of the CRFs model.

You can also annotate just a sentence using the following command:

$ python mantime.py train <folder_path> <model_name>

The script will create a new model folder in mantime/models/.

##License

Copyright (c) 2012-2015, Michele Filannino All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the FreeBSD Project.

##Contact