-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·26 lines (22 loc) · 1.06 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
from distutils.core import setup
setup(
name='TERNIP',
version='1.0',
packages=['ternip', 'ternip.formats', 'ternip.rule_engine', 'ternip.rule_engine.normalisation_functions'],
package_data={'ternip': ['rules/*/*.ruleblock', 'rules/*/*.pyrule', 'rules/*/*.rule']},
scripts=['annotate_timex'],
author='Chris Northwood',
author_email='chris@pling.org.uk',
description='Temporal Expression Recognition and Normalisation in Python',
long_description="""
TERNIP is a library which can recognise and normalise temporal expressions
in text. A temporal expression is one such as '8th July 2010' - those which
refer to some form of time (either a point in time, a duration, etc).
The two functions TERNIP performs is first to identify these expressions in
some text, and then to figure out the absolute date (as close as it can)
that is refers to.
TERNIP can handle a number of formats for representing documents and the
metadata associated with a TIMEX. The most common form is TimeML.
"""
)