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

de.datexis.sector.encoder.ParVecSentenceEncoder Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package de.datexis.sector.encoder;

import de.datexis.parvec.encoder.ParVecEncoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Encodes a sentence using ParVec inference.
 * @author Sebastian Arnold 
 */
public class ParVecSentenceEncoder extends ParVecEncoder {

  protected final static Logger log = LoggerFactory.getLogger(ParVecSentenceEncoder.class);

  @Override
  public long getEmbeddingVectorSize() {
    // return size of the embedding!
    return layerSize;
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy