removed unused imports.
suppress cast warnings since a real method call would throw a
ClassCastException if it was the wrong type.
instead of providing the datasource to the analysis pipeline, provide
the word counter. this way, counts can be read straight from the
pipeline.
deleted unnecessary WordData class/package.
implemented wordData resource.