Minor fixes to the adverbations

Signed-off-by: merspieler <merspieler@users.noreply.github.com>
This commit is contained in:
merspieler 2018-03-10 13:04:40 +01:00
parent 6c94f2a205
commit 67c7c4c7a6

View file

@ -241,6 +241,8 @@ class FlightGearCopilotSkill(MycroftSkill):
checklist_title = checklist_title.replace('/', '|')
checklist_title = "^" + checklist_title
match = re.search(checklist_title, cl_request, re.I)
checklist_title = checklist_title[1:]
checklist_title = checklist_title.replace('|', ', ')
if match != None:
self.speak(checklist_title + " checklist")
@ -776,22 +778,22 @@ class FlightGearCopilotSkill(MycroftSkill):
text = re.sub("A/SKID", "anti skid", text, flags=re.I)
text = re.sub("N/W", "nose weel", text, flags=re.I)
text = re.sub("A/THR", "auto thrust", text, flags=re.I)
text = re.sub(" THR ", "thrust", text, flags=re.I)
text = re.sub("Eng ", "engine", text, flags=re.I)
text = re.sub("THR ", "thrust", text, flags=re.I)
text = re.sub("Eng ", "engine ", text, flags=re.I)
text = re.sub("Mstr", "master", text, flags=re.I)
text = re.sub("PB", "push button", text, flags=re.I)
text = re.sub("man", "manual", text, flags=re.I)
text = re.sub("FLT", "flight", text, flags=re.I)
text = re.sub("INST", "instruments", text, flags=re.I)
text = re.sub("TEMP", "temperature", text, flags=re.I)
text = re.sub(" LT", "light", text, flags=re.I)
text = re.sub(" LT", " light", text, flags=re.I)
text = re.sub("SEL", "selector", text, flags=re.I)
text = re.sub("LDG", "landing", text, flags=re.I)
text = re.sub("MDA", "minimum decent altitude", text, flags=re.I)
text = re.sub("DH", "decision height", text, flags=re.I)
text = re.sub("EXT", "external", text, flags=re.I)
text = re.sub("FLX", "flex", text, flags=re.I)
text = re.sub("EMER", "emergency", text, flags=re.I)
text = re.sub("EMER ", "emergency ", text, flags=re.I)
text = re.sub("BRK", "break", text, flags=re.I)
text = re.sub("KG", "kilogram", text, flags=re.I)
text = re.sub("LB", "pounds", text, flags=re.I)