ternip Package

ternip Package

ternip.__init__.normaliser()[source]

Returns default normaliser, already configured.

ternip.__init__.recogniser()[source]

Returns the default recogniser, already configured.

timex Module

class ternip.timex.Timex(type=None, value=None, id=None)[source]

Bases: object

A temporal expression

ternip.timex.add_timex_ids(ts)[source]

Goes through all TIMEXs and adds IDs to the timexes, if they don’t exist already. Each ID is an integer, and is guaranteed to be unique in this set of timexes.