Refactor semanticizer model loading Adds doctests to travis file