Beispiel #1
0
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    AbstractTmlIndexingTest.setUpBeforeClass();
    repository.addDocumentsInFolder(Configuration.getTmlFolder() + "/corpora/uppsala", 1);

    corpus = new SearchResultsCorpus("externalid:s3d0100.a1");
    corpus.getParameters().setTermSelectionCriterion(TermSelection.TF);
    corpus.getParameters().setTermSelectionThreshold(0);
    corpus.load(repository);
  }
Beispiel #2
0
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    AbstractTmlIndexingTest.setUpBeforeClass();
    repository.addDocumentsInFolder(Configuration.getTmlFolder() + "/corpora/uppsala");
    Corpus corpus = new RepositoryCorpus();
    corpus.load(repository);

    operation = new TagClouds();
    operation.setCorpus(corpus);
    operation.start();
  }