Skip to content

Commit b19149e

Browse files
StefanwuuHaotian Wu
andauthored
fix a small issue (#609)
Co-authored-by: Haotian Wu <[email protected]>
1 parent a5a4600 commit b19149e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lexicon/conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def run(self):
207207

208208
phonemes = set()
209209
seen_lemma = {}
210-
with uopen(self.text_file.get_path()) as f:
210+
with uopen(self.text_file.get_path(), "rt") as f:
211211
for line in f:
212212
# splitting is taken from RASR
213213
# src/Tools/Bliss/blissLexiconLib.py#L185

0 commit comments

Comments
 (0)