Package ZenEvents :: Module EventClassifier
[hide private]
[frames] | no frames]

Module EventClassifier

source code

Event classifier classifies events based on their summary text. It uses a positional index to determin the class. So for each word in the summary it looks for the same word or wild card to determine which classes that word in that position could be part.

positionIndex is an array of dictionaries. Each positoin of the array represents the position of the word in the summary string. The value is a dictionary with the words as keys and a tuple of classids as values.

Classes [hide private]
  EventClassNotFound
  EventClassNotUnique
  EventClassifier
Variables [hide private]
  __doc__ = ...
Variables Details [hide private]

__doc__

Value:
"""

Event classifier classifies events based on their summary text.  It 
uses a positional index to determin the class.  So for each word in th\
e
summary it looks for the same word or wild card to determine which cla\
sses
that word in that position could be part.
...