Add more documentation to term-extraction classes