This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex-mr_series-sherpa-onnx/sherpa-onnx/java-api/src/com/k2fsa/sherpa/onnx/SpeechSegment.java
2024-05-28 14:59:47 +08:00

21 lines
372 B
Java

package com.k2fsa.sherpa.onnx;
public class SpeechSegment {
private final int start;
private final float[] samples;
public SpeechSegment(int start, float[] samples) {
this.start = start;
this.samples = samples;
}
public int getStart() {
return start;
}
public float[] getSamples() {
return samples;
}
}