You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the middle of loading uspantek spanish dictionary. the txt file robert provided is a mess. next todo: give it to chatgpt and ask it to create a tsv file which has ONLY uspantek word and its corresponding spanish translation. none of the grammar related crap
given a word in uspantek- from training or dev, give it to a look up dictionary,find its corresponding spanish word, and return it.
103
+
The dictionary was provided to us by the professor who went to guatemala to create this dictionary from uspantek speaking people
104
+
105
+
:param usp_word: the word in uspantek
106
+
107
+
:return: returns the corresponding spanish word
108
+
"""
109
+
defget_spanish_word_given_usp_word(usp_word):
110
+
111
+
pass
112
+
113
+
102
114
"""
103
115
given a word from training and dev vocab, get the corresponding embedding using fast text.
104
116
105
117
:param vocab: vocabulary
118
+
:param embdding model: the corresponding embedding model, that will be used. i.e model 3. e.g fasttext for spanish or english
119
+
:param language: what language. options are spanish or uspantek. Rather if it is uspantek, we need to do one extra step. i.e take every word in uspantek, and find its corresponding spanish word,- then only does pulling the corresponding spanish embedding makes sense.
120
+
106
121
:return: returns a dictionary of each word and its corresponding embedding
0 commit comments