Documentation for writing text mining connectors