|
|
@ -65,7 +65,7 @@ public class TextHelper {
|
|
|
|
private static final float MIN_DETECT_PROBABILITY = 0.80f;
|
|
|
|
private static final float MIN_DETECT_PROBABILITY = 0.80f;
|
|
|
|
private static final String TRANSLITERATOR = "Any-Latin; Latin-ASCII";
|
|
|
|
private static final String TRANSLITERATOR = "Any-Latin; Latin-ASCII";
|
|
|
|
private static final int MAX_CONVERSATION_SAMPLE_SIZE = 8192;
|
|
|
|
private static final int MAX_CONVERSATION_SAMPLE_SIZE = 8192;
|
|
|
|
private static final long MAX_CONVERSATION_DURATION = 3000; // milliseconds
|
|
|
|
private static final long MAX_CONVERSATION_DURATION = 2500; // milliseconds
|
|
|
|
|
|
|
|
|
|
|
|
private static final ExecutorService executor =
|
|
|
|
private static final ExecutorService executor =
|
|
|
|
Helper.getBackgroundExecutor(1, "text");
|
|
|
|
Helper.getBackgroundExecutor(1, "text");
|
|
|
|