- Jul 09, 2022
-
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
Added if __name__ == "__main__" check.
-
fredRan24 authored
Change WelshAudioProcessor to PhonemeLevelSpeechProcessor for clearer representation of it's purpose and utility. - It can be used for any phonetic language
-
- Jul 06, 2022
-
-
fredRan24 authored
- Added check for dictionary existing - Added function for loading corpus for clarity - Added check if corpus file exists in load function
-
fredRan24 authored
- Refactoring
-
fredRan24 authored
- Check if the entered word Is numeric before trying to convert to int()
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
These will be used in the separate testing branch instead. Removed to make the main branch's purpose clearer.
-
fredRan24 authored
-
- May 30, 2022
-
-
fredRan24 authored
- Function called in init, and can now be updated directly from the menu, for rapid on the fly changes and testing of additions to the dictionary file.
-
fredRan24 authored
Added variables for the respective language dictionary and corpus files
-
fredRan24 authored
- Updated temp files
-
fredRan24 authored
- Removed 'dictionary.txt' and 'corpus.txt' from directory - Added spanish and welsh equivalents for both dictionary and corpus
-
- May 11, 2022
- May 05, 2022
-
-
fredRan24 authored
seect -> select
-
fredRan24 authored
Changed spelling to correct version.
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
-
fredRan24 authored
Class can now provide audio output for words in the corpus, as long as the file exists.
-
fredRan24 authored
Added [l] option to menu, where the selected word will be played
-
fredRan24 authored
A start and stop sound is now played on recording start and stop
-
fredRan24 authored
-
fredRan24 authored
Added recordings of correct pronunciations for words in corpus
-
- Apr 27, 2022
-
-
fredRan24 authored
Contains python package requirements.txt for use in setting up environment for syste use.
-
fredRan24 authored
Utilises interactions class to perform all of the functionality of the system in a readable format
-
fredRan24 authored
Class contains the reorder, processor and checker classes, and can be utilised by main.py to supply user with menus, record, process and compare input speech. __init__ - loads the classes mentioned above. Adds a local variable for the mode and exit modeSelector - shows the mode selector menu and allows mode selection wordSelector - shows the word selection menu and allows word selection repeatMenu - shows a menu after one round of use/recording, which allows user to exit, change mode or word, or to record again printCurrentWord - prints the currently selected word which is being trained on check - checks the transcription against the selected word, returning the appropriate output recordAndProcess - records the audio using the reorder class and processes it using the processor class, outputting the model's transcription
-
fredRan24 authored
__init__ - gets the corpus from the corpus file, sets a variable ready to store the currently selected word. getCorpus - returns the corpus as a list of str setWord - sets the local word variable compare - Compares a supplied string against the currently selected word, and formats output accordingly. Shows a list of differences across the two words if there are any.
-
fredRan24 authored
Added class to deal with recording __init__ - Sets sample rate, recording chunk size, time to record for, and creates a place in memory to store audio frames. record - records the audio using the previously set parameters, returning a numpy.array for processing
-
fredRan24 authored
List of 15 words which are known to work with the system
-
fredRan24 authored
Contains Methods: __init__ - Loads the wav2vec2 model, gets the dictionary from dictionary.txt in root dir processWavDir - redacted to reduce footprint, can be uncommented for use in testing. processAudio - processes a numpy array and transcribes using International Phonetic Alphabet (IPA) convertIPAToRoman - converts the IPA word into corresponding welsh orthography (latin script) using the disctionary
-
fredRan24 authored
-