Functions | Variables
wekaToDTree Namespace Reference

Functions

def formatDTree
def is_number
def recTB

Variables

 at_tree = False
tuple data = dict(m.groupdict().items() + {"level": level}.items())
list data_lines = []
tuple dtree = formatDTree(items)
tuple level = line.count("|")
tuple line = line_raw.rstrip()
int line_skip = 0
list lines = []
tuple m = re.match("(?P<variable>[\w\-]+) (?P<operator>[<\=>\!]+) (?P<value>[0-9a-zA-Z\.\-_]+): (?P<result>[\S]+) \((?P<occurrences>[\S]+)\)", unlevelled_line)
list unlevelled_line = line[level * 4:]

Function Documentation

def wekaToDTree.formatDTree (   branch_children)

Definition at line 99 of file wekaToDTree.py.

def wekaToDTree.is_number (   s)

Definition at line 92 of file wekaToDTree.py.

def wekaToDTree.recTB (   data_lines,
  level = 0 
)

Definition at line 70 of file wekaToDTree.py.


Variable Documentation

Definition at line 36 of file wekaToDTree.py.

tuple wekaToDTree::data = dict(m.groupdict().items() + {"level": level}.items())

Definition at line 66 of file wekaToDTree.py.

Definition at line 55 of file wekaToDTree.py.

Definition at line 128 of file wekaToDTree.py.

tuple wekaToDTree::level = line.count("|")

Definition at line 58 of file wekaToDTree.py.

tuple wekaToDTree::line = line_raw.rstrip()

Definition at line 43 of file wekaToDTree.py.

Definition at line 37 of file wekaToDTree.py.

list wekaToDTree::lines = []

Definition at line 35 of file wekaToDTree.py.

tuple wekaToDTree::m = re.match("(?P<variable>[\w\-]+) (?P<operator>[<\=>\!]+) (?P<value>[0-9a-zA-Z\.\-_]+): (?P<result>[\S]+) \((?P<occurrences>[\S]+)\)", unlevelled_line)

Definition at line 61 of file wekaToDTree.py.

Definition at line 59 of file wekaToDTree.py.



beliefstate
Author(s): Jan Winkler
autogenerated on Sun Oct 5 2014 22:30:16