Primitive text direction feature detector

v.1.1 of text direction feature detector :)
https://docs.python.org/2/library/operator.html#operator.itemgetter maybe