Text this: Reasoning with probabilistic and deterministic graphical models :