diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/.gitignore b/SpeechRecognition/Silero/Silero_Speech_Recognition/.gitignore
new file mode 100644
index 00000000..aa724b77
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/.gitignore
@@ -0,0 +1,15 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
diff --git a/SpeechRecognition/app/.gitignore b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/.gitignore
similarity index 100%
rename from SpeechRecognition/app/.gitignore
rename to SpeechRecognition/Silero/Silero_Speech_Recognition/app/.gitignore
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/build.gradle b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/build.gradle
new file mode 100644
index 00000000..49b6af9e
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/build.gradle
@@ -0,0 +1,40 @@
+plugins {
+ id 'com.android.application'
+}
+
+android {
+ namespace 'com.example.silero_speech_recognition'
+ compileSdk 32
+
+ defaultConfig {
+ applicationId "com.example.silero_speech_recognition"
+ minSdk 27
+ targetSdk 32
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+}
+
+dependencies {
+
+ implementation 'androidx.appcompat:appcompat:1.5.1'
+ implementation 'com.google.android.material:material:1.6.1'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
+ implementation 'org.pytorch:pytorch_android_lite:1.12.2'
+}
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/proguard-rules.pro b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/proguard-rules.pro
new file mode 100644
index 00000000..481bb434
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/androidTest/java/com/example/silero_speech_recognition/ExampleInstrumentedTest.java b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/androidTest/java/com/example/silero_speech_recognition/ExampleInstrumentedTest.java
new file mode 100644
index 00000000..3e01b06e
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/androidTest/java/com/example/silero_speech_recognition/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.example.silero_speech_recognition;
+
+import android.content.Context;
+
+import androidx.test.platform.app.InstrumentationRegistry;
+import androidx.test.ext.junit.runners.AndroidJUnit4;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import static org.junit.Assert.*;
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * @see Testing documentation
+ */
+@RunWith(AndroidJUnit4.class)
+public class ExampleInstrumentedTest {
+ @Test
+ public void useAppContext() {
+ // Context of the app under test.
+ Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
+ assertEquals("com.example.silero_speech_recognition", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/AndroidManifest.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..288be008
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/AndroidManifest.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/java/com/example/silero_speech_recognition/MainActivity.java b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/java/com/example/silero_speech_recognition/MainActivity.java
new file mode 100644
index 00000000..f1ba3ab2
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/java/com/example/silero_speech_recognition/MainActivity.java
@@ -0,0 +1,319 @@
+package com.example.silero_speech_recognition;
+
+import static android.Manifest.permission.RECORD_AUDIO;
+
+import android.content.Context;
+import android.content.pm.PackageManager;
+import android.media.AudioFormat;
+import android.media.AudioRecord;
+import android.media.MediaRecorder;
+import android.os.Build;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.HandlerThread;
+import android.util.Log;
+import android.view.View;
+import android.widget.Button;
+import android.widget.TextView;
+
+import androidx.appcompat.app.AppCompatActivity;
+import androidx.core.content.ContextCompat;
+
+import org.pytorch.IValue;
+import org.pytorch.Module;
+import org.pytorch.Tensor;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.nio.FloatBuffer;
+import java.text.DecimalFormat;
+import java.text.NumberFormat;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import org.pytorch.LiteModuleLoader;
+
+
+public class MainActivity extends AppCompatActivity {
+ private static final String TAG = MainActivity.class.getName();
+
+ private Module module;
+ private TextView mTextView,timeView;
+ private Button mButton;
+
+ private final static int REQUEST_RECORD_AUDIO = 13;
+ private final static int AUDIO_LEN_IN_SECOND = 6;
+ private final static int SAMPLE_RATE = 16000;
+ private final static int RECORDING_LENGTH = SAMPLE_RATE * AUDIO_LEN_IN_SECOND;
+
+ private final static String LOG_TAG = MainActivity.class.getSimpleName();
+
+ private int mStart = 1;
+ private HandlerThread mTimerThread;
+ private Handler mTimerHandler;
+ private Runnable mRunnable = new Runnable() {
+ @Override
+ public void run() {
+ mTimerHandler.postDelayed(mRunnable, 1000);
+
+ MainActivity.this.runOnUiThread(
+ () -> {
+ mButton.setText(String.format("Listening - %ds left", AUDIO_LEN_IN_SECOND - mStart));
+ mStart += 1;
+ });
+ }
+ };
+
+ @Override
+ protected void onDestroy() {
+ stopTimerThread();
+ super.onDestroy();
+ }
+
+ protected void stopTimerThread() {
+ if (mTimerThread !=null)
+ {
+ mTimerThread.quitSafely();
+ }
+ try {
+ mTimerThread.join();
+ mTimerThread = null;
+ mTimerHandler = null;
+ mStart = 1;
+ } catch (InterruptedException e) {
+ Log.e(TAG, "Error on stopping background thread", e);
+ }
+ }
+
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ mButton = findViewById(R.id.start_btn);
+ mTextView = findViewById(R.id.result_view);
+ timeView = findViewById(R.id.spec_txt_view);
+
+ mButton.setOnClickListener(new View.OnClickListener() {
+ public void onClick(View v) {
+ mButton.setText(String.format("Listening - %ds left", AUDIO_LEN_IN_SECOND));
+ mButton.setEnabled(false);
+
+ Thread thread = new Thread(new Runnable() {
+ @Override
+ public void run() {
+ android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_AUDIO);
+
+ int bufferSize = AudioRecord.getMinBufferSize(SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT);
+ if (ContextCompat.checkSelfPermission(getApplicationContext(), RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED)
+ {
+ AudioRecord record = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT,
+ bufferSize);
+
+ if (record.getState() != AudioRecord.STATE_INITIALIZED) {
+ Log.e(LOG_TAG, "Audio Record can't initialize!");
+ return;
+ }
+ record.startRecording();
+
+ long shortsRead = 0;
+ int recordingOffset = 0;
+ short[] audioBuffer = new short[bufferSize / 2];
+ short[] recordingBuffer = new short[RECORDING_LENGTH];
+
+ while (shortsRead < RECORDING_LENGTH) {
+ int numberOfShort = record.read(audioBuffer, 0, audioBuffer.length);
+ shortsRead += numberOfShort;
+ System.arraycopy(audioBuffer, 0, recordingBuffer, recordingOffset, numberOfShort);
+ recordingOffset += numberOfShort;
+ }
+
+ record.stop();
+ record.release();
+ stopTimerThread();
+
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ mButton.setText("Recognizing...");
+ }
+ });
+
+ float[] floatInputBuffer = new float[RECORDING_LENGTH];
+
+ // feed in float values between -1.0f and 1.0f by dividing the signed 16-bit inputs.
+ for (int i = 0; i < RECORDING_LENGTH; ++i) {
+ floatInputBuffer[i] = recordingBuffer[i] / (float) Short.MAX_VALUE;
+ }
+
+ long s = System.currentTimeMillis();
+ final String result = recognize(floatInputBuffer);
+ long e = System.currentTimeMillis();
+ NumberFormat formatter = new DecimalFormat("#0.00000");
+ String runTime = " " +formatter.format((e - s) / 1000d) + " seconds";
+
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ timeView.setText(runTime);
+ showTranslationResult(result);
+ mButton.setEnabled(true);
+ mButton.setText("Start");
+ } });
+
+
+ }
+ }
+ });
+ thread.start();
+
+ mTimerThread = new HandlerThread("Timer");
+ mTimerThread.start();
+ mTimerHandler = new Handler(mTimerThread.getLooper());
+ mTimerHandler.postDelayed(mRunnable, 1000);
+
+ }
+ });
+ requestMicrophonePermission();
+ }
+
+ private void requestMicrophonePermission() {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
+ requestPermissions(
+ new String[]{android.Manifest.permission.RECORD_AUDIO}, REQUEST_RECORD_AUDIO);
+ }
+ }
+
+ private String assetFilePath(Context context, String assetName) {
+ File file = new File(context.getFilesDir(), assetName);
+ if (file.exists() && file.length() > 0) {
+ return file.getAbsolutePath();
+ }
+
+ try (InputStream is = context.getAssets().open(assetName)) {
+ try (OutputStream os = new FileOutputStream(file)) {
+ byte[] buffer = new byte[4 * 1024];
+ int read;
+ while ((read = is.read(buffer)) != -1) {
+ os.write(buffer, 0, read);
+ }
+ os.flush();
+ }
+ return file.getAbsolutePath();
+ } catch (IOException e) {
+ Log.e(TAG, assetName + ": " + e.getLocalizedMessage());
+ }
+ return null;
+ }
+
+ private void showTranslationResult(String result) {
+ mTextView.setText(result);
+ }
+
+
+
+ private String recognize(float[] floatInputBuffer) {
+ if (module == null) {
+ module = LiteModuleLoader.load(assetFilePath(getApplicationContext(), "silero.ptl"));
+ }
+
+ double modelInput[] = new double[RECORDING_LENGTH];
+ for (int n = 0; n < RECORDING_LENGTH; n++)
+ modelInput[n] = floatInputBuffer[n];
+
+ FloatBuffer inTensorBuffer = Tensor.allocateFloatBuffer(RECORDING_LENGTH);
+ for (double val : modelInput)
+ inTensorBuffer.put((float)val);
+
+ Tensor inTensor = Tensor.fromBlob(inTensorBuffer, new long[]{1, RECORDING_LENGTH});
+ Tensor outputTensor = module.forward(IValue.from(inTensor)).toTensor();
+
+ String result = SileroDecoder(outputTensor);
+
+ return result;
+ }
+ private int[] argmaxOneD(float[]arr,int dim1,int dim2)
+ {
+ int ans[] = new int[dim1];
+ int k=0;
+ for(int i=0;imax)
+ {
+ max=arr[k];
+ index=j;
+ }
+ k++;
+ }
+ ans[i]=index;
+ }
+ return ans;
+
+ }
+ private String SileroDecoder(Tensor opProbs)
+ {
+ long shape[] = opProbs.shape();
+ final int DIM1= (int) shape[1];
+ final int DIM2 = (int) shape[2];
+ float array[] = opProbs.getDataAsFloatArray();
+ String labels[] = {"_", "th", "the", "in", "an", "re", "er", "on", "at", "ou", "is", "en", "to", "and", "ed", "al", "as", "it", "ing", "or", "of", "es", "ar", "he", "le", "st", "se", "om", "ic", "be", "we", "ly", "that", "no", "wh", "ve", "ha", "you", "ch", "ion", "il", "ent", "ro", "me", "id", "ac", "gh", "for", "was", "lo", "ver", "ut", "li", "ld", "ay", "ad", "so", "ir", "im", "un", "wi", "ter", "are", "with", "ke", "ge", "do", "ur", "all", "ce", "ab", "mo", "go", "pe", "ne", "this", "ri", "ght", "de", "one", "us", "am", "out", "fe", "but", "po", "his", "te", "ho", "ther", "not", "con", "com", "ll", "they", "if", "ould", "su", "have", "ct", "ain", "our", "ation", "fr", "ill", "now", "sa", "had", "tr", "her", "per", "ant", "oun", "my", "ul", "ca", "by", "what", "red", "res", "od", "ome", "ess", "man", "ex", "she", "pl", "co", "wor", "pro", "up", "thing", "there", "ple", "ag", "can", "qu", "art", "ally", "ok", "from", "ust", "very", "sh", "ind", "est", "some", "ate", "wn", "ti", "fo", "ard", "ap", "him", "were", "ich", "here", "bo", "ity", "um", "ive", "ous", "way", "end", "ig", "pr", "which", "ma", "ist", "them", "like", "who", "ers", "when", "act", "use", "about", "ound", "gr", "et", "ide", "ight", "ast", "king", "would", "ci", "their", "other", "see", "ment", "ong", "wo", "ven", "know", "how", "said", "ine", "ure", "more", "der", "sel", "br", "ren", "ack", "ol", "ta", "low", "ough", "then", "peo", "ye", "ace", "people", "ink", "ort", "your", "will", "than", "pp", "any", "ish", "look", "la", "just", "tor", "ice", "itt", "af", "these", "sp", "has", "gre", "been", "ty", "ies", "ie", "get", "able", "day", "could", "bl", "two", "time", "beca", "into", "age", "ans", "mis", "new", "ree", "ble", "ite", "si", "urn", "ass", "cl", "ber", "str", "think", "dis", "mar", "ence", "pt", "self", "ated", "did", "el", "don", "ck", "ph", "ars", "ach", "fore", "its", "part", "ang", "cre", "well", "ions", "where", "ves", "ved", "em", "good", "because", "over", "ud", "ts", "off", "turn", "cr", "right", "ress", "most", "every", "pre", "fa", "fir", "ild", "pos", "down", "work", "ade", "say", "med", "also", "litt", "little", "ance", "come", "ving", "only", "ful", "ought", "want", "going", "spe", "ps", "ater", "first", "after", "ue", "ose", "mu", "iz", "ire", "int", "rest", "ser", "coun", "des", "light", "son", "let", "ical", "ick", "ra", "back", "mon", "ase", "ign", "ep", "world", "may", "read", "form", "much", "even", "should", "again", "make", "long", "sto", "cont", "put", "thr", "under", "cor", "bet", "jo", "car", "ile", "went", "yes", "ually", "row", "hand", "ak", "call", "ary", "ia", "many", "cho", "things", "try", "gl", "ens", "really", "happ", "great", "dif", "bu", "hi", "made", "room", "ange", "cent", "ious", "je", "three", "ward", "op", "gen", "those", "life", "tal", "pa", "through", "und", "cess", "before", "du", "side", "need", "less", "inter", "ting", "ry", "ise", "na", "men", "ave", "fl", "ction", "pres", "old", "something", "miss", "never", "got", "feren", "imp", "sy", "ations", "tain", "ning", "ked", "sm", "take", "ten", "ted", "ip", "col", "own", "stand", "add", "min", "wer", "ms", "ces", "gu", "land", "bod", "log", "cour", "ob", "vo", "ition", "hu", "came", "comp", "cur", "being", "comm", "years", "ily", "wom", "cer", "kind", "thought", "such", "tell", "child", "nor", "bro", "ial", "pu", "does", "head", "clo", "ear", "led", "llow", "ste", "ness", "too", "start", "mor", "used", "par", "play", "ents", "tri", "upon", "tim", "num", "ds", "ever", "cle", "ef", "wr", "vis", "ian", "sur", "same", "might", "fin", "differen", "sho", "why", "body", "mat", "beg", "vers", "ouse", "actually", "ft", "ath", "hel", "sha", "ating", "ual", "found", "ways", "must", "four", "gi", "val", "di", "tre", "still", "tory", "ates", "high", "set", "care", "ced", "last", "find", "au", "inte", "ev", "ger", "thank", "ss", "ict", "ton", "cal", "nat", "les", "bed", "away", "place", "house", "che", "ject", "sol", "another", "ited", "att", "face", "show", "ner", "ken", "far", "ys", "lect", "lie", "tem", "ened", "night", "while", "looking", "ah", "wal", "dr", "real", "cha", "exp", "war", "five", "pol", "fri", "wa", "cy", "fect", "xt", "left", "give", "soci", "cond", "char", "bor", "point", "number", "mister", "called", "six", "bre", "vi", "without", "person", "air", "different", "lot", "bit", "pass", "ular", "youn", "won", "main", "cri", "ings", "den", "water", "human", "around", "quest", "ters", "ities", "feel", "each", "friend", "sub", "though", "saw", "ks", "hund", "hundred", "times", "lar", "ff", "amer", "scho", "sci", "ors", "lt", "arch", "fact", "hal", "himself", "gener", "mean", "vol", "school", "ason", "fam", "ult", "mind", "itch", "ped", "home", "young", "took", "big", "love", "reg", "eng", "sure", "vent", "ls", "ot", "ince", "thous", "eight", "thousand", "better", "mom", "appe", "once", "ied", "mus", "stem", "sing", "ident", "als", "uh", "mem", "produ", "stud", "power", "atch", "bas", "father", "av", "nothing", "gir", "pect", "unt", "few", "kes", "eyes", "sk", "always", "ared", "toge", "stru", "together", "ics", "bus", "fort", "ween", "rep", "ically", "small", "ga", "mer", "ned", "ins", "between", "yet", "stre", "hard", "system", "course", "year", "cept", "publ", "sim", "sou", "ready", "follow", "present", "rel", "turned", "sw", "possi", "mother", "io", "bar", "ished", "dec", "ments", "pri", "next", "ross", "both", "ship", "ures", "americ", "eas", "asked", "iness", "serv", "ists", "ash", "uni", "build", "phone", "lau", "ctor", "belie", "change", "interest", "peri", "children", "thir", "lear", "plan", "import", "ational", "har", "ines", "dist", "selves", "city", "sen", "run", "law", "ghter", "proble", "woman", "done", "heart", "book", "aut", "ris", "lim", "looked", "vid", "fu", "bab", "ately", "ord", "ket", "oc", "doing", "area", "tech", "win", "name", "second", "certain", "pat", "lad", "quite", "told", "ific", "ative", "uring", "gg", "half", "reason", "moment", "ility", "ution", "shall", "aur", "enough", "idea", "open", "understand", "vie", "contin", "mal", "hor", "qui", "address", "heard", "help", "inst", "oney", "whole", "gover", "commun", "exam", "near", "didn", "logy", "oh", "tru", "lang", "restaur", "restaurant", "design", "ze", "talk", "leg", "line", "ank", "ond", "country", "ute", "howe", "hold", "live", "comple", "however", "ized", "ush", "seen", "bye", "fer", "ital", "women", "net", "state", "bur", "fac", "whe", "important", "dar", "nine", "sat", "fic", "known", "having", "against", "soon", "ety", "langu", "public", "sil", "best", "az", "knew", "black", "velo", "sort", "seven", "imag", "lead", "cap", "ask", "alth", "ature", "nam", "began", "white", "sent", "sound", "vir", "days", "anything", "yeah", "ub", "blo", "sun", "story", "dire", "money", "trans", "mil", "org", "grow", "cord", "pped", "cus", "spo", "sign", "beaut", "goodbye", "inde", "large", "question", "often", "hour", "que", "pur", "town", "ield", "coming", "door", "lig", "ling", "incl", "partic", "keep", "engl", "move", "later", "ants", "food", "lights", "bal", "words", "list", "aw", "allow", "aren", "pret", "tern", "today", "believe", "almost", "bir", "word", "possible", "ither", "case", "ried", "ural", "round", "twent", "develo", "plain", "ended", "iting", "chang", "sc", "boy", "gy", "since", "ones", "suc", "cas", "national", "plac", "teen", "pose", "started", "mas", "fi", "fif", "afr", "fully", "grou", "wards", "girl", "e", "t", "a", "o", "i", "n", "s", "h", "r", "l", "d", "u", "c", "m", "w", "f", "g", "y", "p", "b", "v", "k", "'", "x", "j", "q", "z", "-", "2", " "};
+ int blank_idx =0;
+ int space_idx = 998;
+ int two_idx = 997;
+ int argm[] = argmaxOneD(array,DIM1,DIM2);
+ List final_labels = new ArrayList();
+
+ for(int i=0;i
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 00000000..eca70cfe
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 00000000..c209e78e
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..b2dfe3d1
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 00000000..4f0f1d64
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..62b611da
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 00000000..948a3070
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..1b9a6956
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 00000000..28d4b77f
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..9287f508
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 00000000..aa7d6427
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 00000000..9126ae37
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values-night/themes.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values-night/themes.xml
new file mode 100644
index 00000000..3afc2efd
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values-night/themes.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/colors.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/colors.xml
new file mode 100644
index 00000000..f8c6127d
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/colors.xml
@@ -0,0 +1,10 @@
+
+
+ #FFBB86FC
+ #FF6200EE
+ #FF3700B3
+ #FF03DAC5
+ #FF018786
+ #FF000000
+ #FFFFFFFF
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/strings.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..7a551260
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Silero_Speech_Recognition
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/themes.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/themes.xml
new file mode 100644
index 00000000..29da2acb
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/values/themes.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/xml/backup_rules.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/xml/backup_rules.xml
new file mode 100644
index 00000000..fa0f996d
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/xml/backup_rules.xml
@@ -0,0 +1,13 @@
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/xml/data_extraction_rules.xml b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/xml/data_extraction_rules.xml
new file mode 100644
index 00000000..9ee9997b
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/main/res/xml/data_extraction_rules.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/test/java/com/example/silero_speech_recognition/ExampleUnitTest.java b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/test/java/com/example/silero_speech_recognition/ExampleUnitTest.java
new file mode 100644
index 00000000..fdfc5f3a
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/app/src/test/java/com/example/silero_speech_recognition/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.example.silero_speech_recognition;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * @see Testing documentation
+ */
+public class ExampleUnitTest {
+ @Test
+ public void addition_isCorrect() {
+ assertEquals(4, 2 + 2);
+ }
+}
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/build.gradle b/SpeechRecognition/Silero/Silero_Speech_Recognition/build.gradle
new file mode 100644
index 00000000..4bf68af6
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/build.gradle
@@ -0,0 +1,26 @@
+buildscript {
+ repositories {
+ // Check that you have the following line (if not, add it):
+ google() // Google's Maven repository
+ jcenter()
+ maven {
+ url "https://oss.sonatype.org/content/repositories/snapshots"
+ }
+ }
+
+
+ dependencies {
+
+ // Add this line
+ classpath 'com.google.gms:google-services:4.3.10'
+
+ }
+}// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+
+
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+plugins {
+ id 'com.android.application' version '7.3.0' apply false
+ id 'com.android.library' version '7.3.0' apply false
+}
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle.properties b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle.properties
new file mode 100644
index 00000000..3e927b11
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle.properties
@@ -0,0 +1,21 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app's APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Enables namespacing of each library's R class so that its R class includes only the
+# resources declared in the library itself and none from the library's dependencies,
+# thereby reducing the size of the R class for that library
+android.nonTransitiveRClass=true
\ No newline at end of file
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle/wrapper/gradle-wrapper.jar b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 00000000..e708b1c0
Binary files /dev/null and b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle/wrapper/gradle-wrapper.properties b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..a2bc3dbb
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Nov 04 14:26:32 IST 2022
+distributionBase=GRADLE_USER_HOME
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
+distributionPath=wrapper/dists
+zipStorePath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/gradlew b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradlew
new file mode 100644
index 00000000..4f906e0c
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/gradlew.bat b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradlew.bat
new file mode 100644
index 00000000..107acd32
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/SpeechRecognition/Silero/Silero_Speech_Recognition/settings.gradle b/SpeechRecognition/Silero/Silero_Speech_Recognition/settings.gradle
new file mode 100644
index 00000000..6c4f71c5
--- /dev/null
+++ b/SpeechRecognition/Silero/Silero_Speech_Recognition/settings.gradle
@@ -0,0 +1,16 @@
+pluginManagement {
+ repositories {
+ gradlePluginPortal()
+ google()
+ mavenCentral()
+ }
+}
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+rootProject.name = "Silero_Speech_Recognition"
+include ':app'
diff --git a/SpeechRecognition/Silero/model_creation.ipynb b/SpeechRecognition/Silero/model_creation.ipynb
new file mode 100644
index 00000000..8c0c109b
--- /dev/null
+++ b/SpeechRecognition/Silero/model_creation.ipynb
@@ -0,0 +1,515 @@
+{
+ "nbformat": 4,
+ "nbformat_minor": 0,
+ "metadata": {
+ "colab": {
+ "provenance": []
+ },
+ "kernelspec": {
+ "name": "python3",
+ "display_name": "Python 3"
+ },
+ "language_info": {
+ "name": "python"
+ },
+ "accelerator": "GPU",
+ "gpuClass": "standard",
+ "widgets": {
+ "application/vnd.jupyter.widget-state+json": {
+ "025a463085be4be3be0326b377b7b62e": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "HBoxModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_dom_classes": [],
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "HBoxModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/controls",
+ "_view_module_version": "1.5.0",
+ "_view_name": "HBoxView",
+ "box_style": "",
+ "children": [
+ "IPY_MODEL_5b89957c21c748309b45e8b0ad0af14e",
+ "IPY_MODEL_c29c095d54d54997b486cedb113e52e1",
+ "IPY_MODEL_fafef9a8b969448cad690141f8945536"
+ ],
+ "layout": "IPY_MODEL_cb4bae85de524bd98b77cd950ff100c7"
+ }
+ },
+ "5b89957c21c748309b45e8b0ad0af14e": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "HTMLModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_dom_classes": [],
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "HTMLModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/controls",
+ "_view_module_version": "1.5.0",
+ "_view_name": "HTMLView",
+ "description": "",
+ "description_tooltip": null,
+ "layout": "IPY_MODEL_8be5e486284a4bf987f2dc7fa8d59705",
+ "placeholder": "",
+ "style": "IPY_MODEL_e792fb71b0164d0f8d5a4fcaab2310db",
+ "value": "100%"
+ }
+ },
+ "c29c095d54d54997b486cedb113e52e1": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "FloatProgressModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_dom_classes": [],
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "FloatProgressModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/controls",
+ "_view_module_version": "1.5.0",
+ "_view_name": "ProgressView",
+ "bar_style": "success",
+ "description": "",
+ "description_tooltip": null,
+ "layout": "IPY_MODEL_e4779594ae944dd692b31084ee7ffa7f",
+ "max": 1036844,
+ "min": 0,
+ "orientation": "horizontal",
+ "style": "IPY_MODEL_08a0572fade14a0c81b6ce5637285fb6",
+ "value": 1036844
+ }
+ },
+ "fafef9a8b969448cad690141f8945536": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "HTMLModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_dom_classes": [],
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "HTMLModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/controls",
+ "_view_module_version": "1.5.0",
+ "_view_name": "HTMLView",
+ "description": "",
+ "description_tooltip": null,
+ "layout": "IPY_MODEL_d0430952a2784813a6cbe4b4c02523a4",
+ "placeholder": "",
+ "style": "IPY_MODEL_1d89d25928454a38b7d0a03122b41368",
+ "value": " 0.99M/0.99M [00:00<00:00, 1.30MB/s]"
+ }
+ },
+ "cb4bae85de524bd98b77cd950ff100c7": {
+ "model_module": "@jupyter-widgets/base",
+ "model_name": "LayoutModel",
+ "model_module_version": "1.2.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/base",
+ "_model_module_version": "1.2.0",
+ "_model_name": "LayoutModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "LayoutView",
+ "align_content": null,
+ "align_items": null,
+ "align_self": null,
+ "border": null,
+ "bottom": null,
+ "display": null,
+ "flex": null,
+ "flex_flow": null,
+ "grid_area": null,
+ "grid_auto_columns": null,
+ "grid_auto_flow": null,
+ "grid_auto_rows": null,
+ "grid_column": null,
+ "grid_gap": null,
+ "grid_row": null,
+ "grid_template_areas": null,
+ "grid_template_columns": null,
+ "grid_template_rows": null,
+ "height": null,
+ "justify_content": null,
+ "justify_items": null,
+ "left": null,
+ "margin": null,
+ "max_height": null,
+ "max_width": null,
+ "min_height": null,
+ "min_width": null,
+ "object_fit": null,
+ "object_position": null,
+ "order": null,
+ "overflow": null,
+ "overflow_x": null,
+ "overflow_y": null,
+ "padding": null,
+ "right": null,
+ "top": null,
+ "visibility": null,
+ "width": null
+ }
+ },
+ "8be5e486284a4bf987f2dc7fa8d59705": {
+ "model_module": "@jupyter-widgets/base",
+ "model_name": "LayoutModel",
+ "model_module_version": "1.2.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/base",
+ "_model_module_version": "1.2.0",
+ "_model_name": "LayoutModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "LayoutView",
+ "align_content": null,
+ "align_items": null,
+ "align_self": null,
+ "border": null,
+ "bottom": null,
+ "display": null,
+ "flex": null,
+ "flex_flow": null,
+ "grid_area": null,
+ "grid_auto_columns": null,
+ "grid_auto_flow": null,
+ "grid_auto_rows": null,
+ "grid_column": null,
+ "grid_gap": null,
+ "grid_row": null,
+ "grid_template_areas": null,
+ "grid_template_columns": null,
+ "grid_template_rows": null,
+ "height": null,
+ "justify_content": null,
+ "justify_items": null,
+ "left": null,
+ "margin": null,
+ "max_height": null,
+ "max_width": null,
+ "min_height": null,
+ "min_width": null,
+ "object_fit": null,
+ "object_position": null,
+ "order": null,
+ "overflow": null,
+ "overflow_x": null,
+ "overflow_y": null,
+ "padding": null,
+ "right": null,
+ "top": null,
+ "visibility": null,
+ "width": null
+ }
+ },
+ "e792fb71b0164d0f8d5a4fcaab2310db": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "DescriptionStyleModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "DescriptionStyleModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "StyleView",
+ "description_width": ""
+ }
+ },
+ "e4779594ae944dd692b31084ee7ffa7f": {
+ "model_module": "@jupyter-widgets/base",
+ "model_name": "LayoutModel",
+ "model_module_version": "1.2.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/base",
+ "_model_module_version": "1.2.0",
+ "_model_name": "LayoutModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "LayoutView",
+ "align_content": null,
+ "align_items": null,
+ "align_self": null,
+ "border": null,
+ "bottom": null,
+ "display": null,
+ "flex": null,
+ "flex_flow": null,
+ "grid_area": null,
+ "grid_auto_columns": null,
+ "grid_auto_flow": null,
+ "grid_auto_rows": null,
+ "grid_column": null,
+ "grid_gap": null,
+ "grid_row": null,
+ "grid_template_areas": null,
+ "grid_template_columns": null,
+ "grid_template_rows": null,
+ "height": null,
+ "justify_content": null,
+ "justify_items": null,
+ "left": null,
+ "margin": null,
+ "max_height": null,
+ "max_width": null,
+ "min_height": null,
+ "min_width": null,
+ "object_fit": null,
+ "object_position": null,
+ "order": null,
+ "overflow": null,
+ "overflow_x": null,
+ "overflow_y": null,
+ "padding": null,
+ "right": null,
+ "top": null,
+ "visibility": null,
+ "width": null
+ }
+ },
+ "08a0572fade14a0c81b6ce5637285fb6": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "ProgressStyleModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "ProgressStyleModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "StyleView",
+ "bar_color": null,
+ "description_width": ""
+ }
+ },
+ "d0430952a2784813a6cbe4b4c02523a4": {
+ "model_module": "@jupyter-widgets/base",
+ "model_name": "LayoutModel",
+ "model_module_version": "1.2.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/base",
+ "_model_module_version": "1.2.0",
+ "_model_name": "LayoutModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "LayoutView",
+ "align_content": null,
+ "align_items": null,
+ "align_self": null,
+ "border": null,
+ "bottom": null,
+ "display": null,
+ "flex": null,
+ "flex_flow": null,
+ "grid_area": null,
+ "grid_auto_columns": null,
+ "grid_auto_flow": null,
+ "grid_auto_rows": null,
+ "grid_column": null,
+ "grid_gap": null,
+ "grid_row": null,
+ "grid_template_areas": null,
+ "grid_template_columns": null,
+ "grid_template_rows": null,
+ "height": null,
+ "justify_content": null,
+ "justify_items": null,
+ "left": null,
+ "margin": null,
+ "max_height": null,
+ "max_width": null,
+ "min_height": null,
+ "min_width": null,
+ "object_fit": null,
+ "object_position": null,
+ "order": null,
+ "overflow": null,
+ "overflow_x": null,
+ "overflow_y": null,
+ "padding": null,
+ "right": null,
+ "top": null,
+ "visibility": null,
+ "width": null
+ }
+ },
+ "1d89d25928454a38b7d0a03122b41368": {
+ "model_module": "@jupyter-widgets/controls",
+ "model_name": "DescriptionStyleModel",
+ "model_module_version": "1.5.0",
+ "state": {
+ "_model_module": "@jupyter-widgets/controls",
+ "_model_module_version": "1.5.0",
+ "_model_name": "DescriptionStyleModel",
+ "_view_count": null,
+ "_view_module": "@jupyter-widgets/base",
+ "_view_module_version": "1.2.0",
+ "_view_name": "StyleView",
+ "description_width": ""
+ }
+ }
+ }
+ }
+ },
+ "cells": [
+ {
+ "cell_type": "code",
+ "source": [
+ "!pip install -q torchaudio omegaconf soundfile"
+ ],
+ "metadata": {
+ "id": "mVALNcaUTtk4"
+ },
+ "execution_count": null,
+ "outputs": []
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "import torch\n",
+ "import zipfile\n",
+ "import torchaudio\n",
+ "from glob import glob\n",
+ "from itertools import groupby\n",
+ "\n",
+ "device = torch.device('cpu') # gpu also works, but our models are fast enough for CPU\n",
+ "\n",
+ "model, decoder, utils = torch.hub.load(repo_or_dir='snakers4/silero-models',\n",
+ " model='silero_stt',\n",
+ " language='en', # also available 'de', 'es'\n",
+ " device=device)\n",
+ "(read_batch, split_into_batches,\n",
+ " read_audio, prepare_model_input) = utils # see function signature for details\n",
+ "\n",
+ "# download a single file, any format compatible with TorchAudio (soundfile backend)\n",
+ "torch.hub.download_url_to_file('https://opus-codec.org/static/examples/samples/speech_orig.wav',\n",
+ " dst ='speech_orig.wav', progress=True)\n",
+ "test_files = glob('speech_orig.wav')\n",
+ "batches = split_into_batches(test_files, batch_size=10)\n",
+ "input = prepare_model_input(read_batch(batches[0]),\n",
+ " device=device)\n",
+ "print(\"input shape\",input.shape)\n",
+ "output = model(input)\n",
+ "print(output.shape)\n",
+ "for example in output:\n",
+ " x=example.cpu()\n",
+ " print(x.shape)\n",
+ " print(decoder(x))"
+ ],
+ "metadata": {
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 156,
+ "referenced_widgets": [
+ "025a463085be4be3be0326b377b7b62e",
+ "5b89957c21c748309b45e8b0ad0af14e",
+ "c29c095d54d54997b486cedb113e52e1",
+ "fafef9a8b969448cad690141f8945536",
+ "cb4bae85de524bd98b77cd950ff100c7",
+ "8be5e486284a4bf987f2dc7fa8d59705",
+ "e792fb71b0164d0f8d5a4fcaab2310db",
+ "e4779594ae944dd692b31084ee7ffa7f",
+ "08a0572fade14a0c81b6ce5637285fb6",
+ "d0430952a2784813a6cbe4b4c02523a4",
+ "1d89d25928454a38b7d0a03122b41368"
+ ]
+ },
+ "id": "CmV-oibQIJI-",
+ "outputId": "92106194-dd62-44d1-ba34-3a401d0e1cd5"
+ },
+ "execution_count": 3,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "name": "stderr",
+ "text": [
+ "Using cache found in /root/.cache/torch/hub/snakers4_silero-models_master\n"
+ ]
+ },
+ {
+ "output_type": "display_data",
+ "data": {
+ "text/plain": [
+ " 0%| | 0.00/0.99M [00:00, ?B/s]"
+ ],
+ "application/vnd.jupyter.widget-view+json": {
+ "version_major": 2,
+ "version_minor": 0,
+ "model_id": "025a463085be4be3be0326b377b7b62e"
+ }
+ },
+ "metadata": {}
+ },
+ {
+ "output_type": "stream",
+ "name": "stdout",
+ "text": [
+ "input shape torch.Size([1, 172800])\n",
+ "torch.Size([1, 136, 999])\n",
+ "torch.Size([136, 999])\n",
+ "the boch canoe slit on the smooth planks blew the sheet to the dark blue background it's easy to tell a depth of a well four hours of steady work faced us\n"
+ ]
+ }
+ ]
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "from torch.utils.mobile_optimizer import optimize_for_mobile\n",
+ "\n",
+ "# quantized_model = torch.quantization.quantize_dynamic(\n",
+ "# model, qconfig_spec={torch.nn.Linear}, dtype=torch.qint8)\n",
+ "scripted_model = torch.jit.script(model)\n",
+ "optimized_model = optimize_for_mobile(scripted_model)\n",
+ "optimized_model._save_for_lite_interpreter(\"silero.ptl\")"
+ ],
+ "metadata": {
+ "id": "eAgYfLN1IPAL"
+ },
+ "execution_count": 6,
+ "outputs": []
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "model=torch.jit.load('/content/silero.ptl')\n",
+ "\n",
+ "output = model(input)\n",
+ "print(output.shape)\n",
+ "for example in output:\n",
+ " x=example.cpu()\n",
+ " print(x.shape)\n",
+ " print(decoder(x))"
+ ],
+ "metadata": {
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ },
+ "id": "JD6ewrxIYdqZ",
+ "outputId": "e0633a84-2828-4b91-d8bf-6d67f4324c12"
+ },
+ "execution_count": 10,
+ "outputs": [
+ {
+ "output_type": "stream",
+ "name": "stdout",
+ "text": [
+ "torch.Size([1, 136, 999])\n",
+ "torch.Size([136, 999])\n",
+ "the boch canoe slit on the smooth planks blew the sheet to the dark blue background it's easy to tell a depth of a well four hours of steady work faced us\n"
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/SpeechRecognition/.gitignore b/SpeechRecognition/Wav2Vec/.gitignore
similarity index 100%
rename from SpeechRecognition/.gitignore
rename to SpeechRecognition/Wav2Vec/.gitignore
diff --git a/SpeechRecognition/Wav2Vec/app/.gitignore b/SpeechRecognition/Wav2Vec/app/.gitignore
new file mode 100644
index 00000000..42afabfd
--- /dev/null
+++ b/SpeechRecognition/Wav2Vec/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/SpeechRecognition/app/build.gradle b/SpeechRecognition/Wav2Vec/app/build.gradle
similarity index 100%
rename from SpeechRecognition/app/build.gradle
rename to SpeechRecognition/Wav2Vec/app/build.gradle
diff --git a/SpeechRecognition/app/src/main/AndroidManifest.xml b/SpeechRecognition/Wav2Vec/app/src/main/AndroidManifest.xml
similarity index 100%
rename from SpeechRecognition/app/src/main/AndroidManifest.xml
rename to SpeechRecognition/Wav2Vec/app/src/main/AndroidManifest.xml
diff --git a/SpeechRecognition/app/src/main/java/org/pytorch/demo/speechrecognition/MainActivity.java b/SpeechRecognition/Wav2Vec/app/src/main/java/org/pytorch/demo/speechrecognition/MainActivity.java
similarity index 100%
rename from SpeechRecognition/app/src/main/java/org/pytorch/demo/speechrecognition/MainActivity.java
rename to SpeechRecognition/Wav2Vec/app/src/main/java/org/pytorch/demo/speechrecognition/MainActivity.java
diff --git a/SpeechRecognition/Wav2Vec/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/SpeechRecognition/Wav2Vec/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 00000000..2b068d11
--- /dev/null
+++ b/SpeechRecognition/Wav2Vec/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SpeechRecognition/Wav2Vec/app/src/main/res/drawable/ic_launcher_background.xml b/SpeechRecognition/Wav2Vec/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 00000000..07d5da9c
--- /dev/null
+++ b/SpeechRecognition/Wav2Vec/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SpeechRecognition/app/src/main/res/layout/activity_main.xml b/SpeechRecognition/Wav2Vec/app/src/main/res/layout/activity_main.xml
similarity index 100%
rename from SpeechRecognition/app/src/main/res/layout/activity_main.xml
rename to SpeechRecognition/Wav2Vec/app/src/main/res/layout/activity_main.xml
diff --git a/SpeechRecognition/app/src/main/res/mipmap-hdpi/ic_launcher.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-mdpi/ic_launcher.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/SpeechRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
similarity index 100%
rename from SpeechRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
rename to SpeechRecognition/Wav2Vec/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
diff --git a/SpeechRecognition/app/src/main/res/values/colors.xml b/SpeechRecognition/Wav2Vec/app/src/main/res/values/colors.xml
similarity index 100%
rename from SpeechRecognition/app/src/main/res/values/colors.xml
rename to SpeechRecognition/Wav2Vec/app/src/main/res/values/colors.xml
diff --git a/SpeechRecognition/app/src/main/res/values/strings.xml b/SpeechRecognition/Wav2Vec/app/src/main/res/values/strings.xml
similarity index 100%
rename from SpeechRecognition/app/src/main/res/values/strings.xml
rename to SpeechRecognition/Wav2Vec/app/src/main/res/values/strings.xml
diff --git a/SpeechRecognition/app/src/main/res/values/styles.xml b/SpeechRecognition/Wav2Vec/app/src/main/res/values/styles.xml
similarity index 100%
rename from SpeechRecognition/app/src/main/res/values/styles.xml
rename to SpeechRecognition/Wav2Vec/app/src/main/res/values/styles.xml
diff --git a/SpeechRecognition/build.gradle b/SpeechRecognition/Wav2Vec/build.gradle
similarity index 100%
rename from SpeechRecognition/build.gradle
rename to SpeechRecognition/Wav2Vec/build.gradle
diff --git a/SpeechRecognition/create_wav2vec2.py b/SpeechRecognition/Wav2Vec/create_wav2vec2.py
similarity index 100%
rename from SpeechRecognition/create_wav2vec2.py
rename to SpeechRecognition/Wav2Vec/create_wav2vec2.py
diff --git a/SpeechRecognition/gradle.properties b/SpeechRecognition/Wav2Vec/gradle.properties
similarity index 100%
rename from SpeechRecognition/gradle.properties
rename to SpeechRecognition/Wav2Vec/gradle.properties
diff --git a/SpeechRecognition/gradle/wrapper/gradle-wrapper.jar b/SpeechRecognition/Wav2Vec/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from SpeechRecognition/gradle/wrapper/gradle-wrapper.jar
rename to SpeechRecognition/Wav2Vec/gradle/wrapper/gradle-wrapper.jar
diff --git a/SpeechRecognition/gradle/wrapper/gradle-wrapper.properties b/SpeechRecognition/Wav2Vec/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from SpeechRecognition/gradle/wrapper/gradle-wrapper.properties
rename to SpeechRecognition/Wav2Vec/gradle/wrapper/gradle-wrapper.properties
diff --git a/SpeechRecognition/gradlew b/SpeechRecognition/Wav2Vec/gradlew
old mode 100755
new mode 100644
similarity index 100%
rename from SpeechRecognition/gradlew
rename to SpeechRecognition/Wav2Vec/gradlew
diff --git a/SpeechRecognition/gradlew.bat b/SpeechRecognition/Wav2Vec/gradlew.bat
similarity index 96%
rename from SpeechRecognition/gradlew.bat
rename to SpeechRecognition/Wav2Vec/gradlew.bat
index e95643d6..f9553162 100644
--- a/SpeechRecognition/gradlew.bat
+++ b/SpeechRecognition/Wav2Vec/gradlew.bat
@@ -1,84 +1,84 @@
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto init
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto init
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:init
-@rem Get command-line arguments, handling Windows variants
-
-if not "%OS%" == "Windows_NT" goto win9xME_args
-
-:win9xME_args
-@rem Slurp the command line arguments.
-set CMD_LINE_ARGS=
-set _SKIP=2
-
-:win9xME_args_slurp
-if "x%~1" == "x" goto execute
-
-set CMD_LINE_ARGS=%*
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/SpeechRecognition/scent_of_a_woman_future.wav b/SpeechRecognition/Wav2Vec/scent_of_a_woman_future.wav
similarity index 100%
rename from SpeechRecognition/scent_of_a_woman_future.wav
rename to SpeechRecognition/Wav2Vec/scent_of_a_woman_future.wav
diff --git a/SpeechRecognition/screenshot1.png b/SpeechRecognition/Wav2Vec/screenshot1.png
similarity index 100%
rename from SpeechRecognition/screenshot1.png
rename to SpeechRecognition/Wav2Vec/screenshot1.png
diff --git a/SpeechRecognition/screenshot2.png b/SpeechRecognition/Wav2Vec/screenshot2.png
similarity index 100%
rename from SpeechRecognition/screenshot2.png
rename to SpeechRecognition/Wav2Vec/screenshot2.png
diff --git a/SpeechRecognition/screenshot3.png b/SpeechRecognition/Wav2Vec/screenshot3.png
similarity index 100%
rename from SpeechRecognition/screenshot3.png
rename to SpeechRecognition/Wav2Vec/screenshot3.png
diff --git a/SpeechRecognition/settings.gradle b/SpeechRecognition/Wav2Vec/settings.gradle
similarity index 100%
rename from SpeechRecognition/settings.gradle
rename to SpeechRecognition/Wav2Vec/settings.gradle