Package net.sf.collabreview.transform.tokened

Examples of net.sf.collabreview.transform.tokened.Tokenizer


  public void setExternalFilter(TrivialTokenFilter externalFilter) {
    this.externalFilter = externalFilter;
  }

  public void addTokensFromArtifact(Artifact artifact) {
    Tokenizer tokenizer = owningRepository.getTokenizerFactory().create(artifact.getContent());
    List<Token> tokens = tokenizer.listTokens();
    for (Token token : tokens) {
      IndexEntry entry = getIndexEntryForToken(token, true);
      if (!isTrivialToken(token)) {
        entry.addOrigin(artifact.getId());
        testNonTriviality(entry, token);
View Full Code Here

TOP

Related Classes of net.sf.collabreview.transform.tokened.Tokenizer

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.