etchen commited on
Commit
cd7b4eb
·
verified ·
1 Parent(s): d4e6541

Create LanguageBase

Browse files
Files changed (1) hide show
  1. LanguageBase +17 -0
LanguageBase ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class Language:
2
+ @abstractmethod
3
+ def __init__(self):
4
+ pass
5
+
6
+ @abstractmethod
7
+ def asr(self, audio):
8
+ pass
9
+
10
+ @abstractmethod
11
+ def compare(self, target_pron, user_pron):
12
+ pass
13
+
14
+ @property
15
+ @abstractmethod
16
+ def compare_colors(self):
17
+ pass