Package de.jungblut.nlp.mr.TfIdfCalculatorJob

Examples of de.jungblut.nlp.mr.TfIdfCalculatorJob.DocumentVectorizerReducer


  ReduceDriver<Text, TextIntIntIntWritable, Text, VectorWritable> reduceDriver;

  @Before
  public void setUp() {
    DocumentVectorizerReducer reducer = new DocumentVectorizerReducer();
    reduceDriver = ReduceDriver.newReduceDriver(reducer);
    reduceDriver.getConfiguration().setInt(
        TfIdfCalculatorJob.NUMBER_OF_DOCUMENTS_KEY, 20);
    reduceDriver.getConfiguration().setInt(
        TfIdfCalculatorJob.NUMBER_OF_TOKENS_KEY, 3);
View Full Code Here

TOP

Related Classes of de.jungblut.nlp.mr.TfIdfCalculatorJob.DocumentVectorizerReducer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.