All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.datexis.encoder.impl.TrigramEncoder Maven / Gradle / Ivy

package de.datexis.encoder.impl;

import org.slf4j.LoggerFactory;

/**
 * More readable Version of our heavily-used Trigram-Encoder
 * @author Sebastian Arnold 
 */
public class TrigramEncoder extends LetterNGramEncoder {
  
  public TrigramEncoder() {
    super("TRI");
    log = LoggerFactory.getLogger(TrigramEncoder.class);
    this.setN(3);
  }
  
  public TrigramEncoder(String id) {
    super(id);
    log = LoggerFactory.getLogger(TrigramEncoder.class);
    this.setN(3);
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy