Accelerated training of conditional random fields with stochastic gradient methods
a separator theorem for planar graphs * .