Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
migrate from LF to LN
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanceNCounter committed Jun 8, 2021
1 parent 0078f3c commit 5e9ff9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ gTTS>=2.2.2
voxpopuli
# pyee pinned because of mycroft
pyee==8.1.0
lingua_franca>=0.4.2
lingua_nostra>=0.4.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"psutil",
"gTTS>=2.2.1",
"pyee==8.1.0",
"lingua_franca>=0.4.2"
"lingua_nostra>=0.4.3"
"voxpopuli"],
author_email='[email protected]',
description='TTS engines',
Expand Down
8 changes: 4 additions & 4 deletions text2speech/modules/mimic2_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
ReadTimeout, ConnectionError, ConnectTimeout, HTTPError
)

from lingua_franca.format import pronounce_number
import lingua_franca.config
from lingua_nostra.format import pronounce_number
import lingua_nostra.config

from urllib import parse
import math
Expand All @@ -20,7 +20,7 @@

max_sentence_size = 170

lingua_franca.config.load_langs_on_demand = True
lingua_nostra.config.load_langs_on_demand = True


def break_chunks(l, n):
Expand Down Expand Up @@ -260,7 +260,7 @@ def _normalized_numbers(self, sentence):
LOG.exception("type error in mimic2_tts.py _normalized_numbers()")
except ImportError:
LOG.warning(
"lingua_franca not installed, can not normalize numbers")
"lingua_nostra not installed, can not normalize numbers")
return sentence

def get_tts(self, sentence, wav_file):
Expand Down

0 comments on commit 5e9ff9c

Please sign in to comment.