seinspel / converter

GNU General Public License v3.0
0 stars 0 forks source link

Replace cmudict with amepd #6

Closed tmke8 closed 5 years ago

tmke8 commented 5 years ago

preprocessing.js currently expects cmudict as input. But amepd is much better.

The problem is that the format is different.

cmudict:

ABBS  AE1 B Z
ABBY  AE1 B IY0
ABC  EY1 B IY2 S IY2
ABC'S  EY1 B IY2 S IY2 Z
ABCO  AE1 B K OW0
ABCOTEK  AE1 B K OW0 T EH2 K
ABCS  EY1 B IY2 S IY2 Z
ABDALLA  AE2 B D AE1 L AH0
ABDALLAH  AE2 B D AE1 L AH0
ABDEL  AE1 B D EH2 L
ABDELLA  AE2 B D EH1 L AH0
ABDICATE  AE1 B D AH0 K EY2 T

amepd:

ABBS  AE1 B Z
ABBY  AE1 B IY0
ABCO  AE1 B K OW0
ABCOTEK  AE1 B K OW0 T EH2 K
ABDALLA  AE2 B D AE1 L AX
ABDALLAH  AE2 B D AE1 L AX
ABDEL  AE1 B D EH2 L #@@{ "name": "male" }@@ Alexander Siddig (Siddig El Tahir El Fadil El Siddig Abderrahman Mohammed Ahmed Abdel Karim El Mahdi)
ABDELLA  AE2 B D EH1 L AX
ABDERRAHMAN  AE0 B D EH1 R AX M AE0 N #@@{ "name": "male" }@@ Alexander Siddig (Siddig El Tahir El Fadil El Siddig Abderrahman Mohammed Ahmed Abdel Karim El Mahdi)
ABDICATE  AE1 B D IH0 K EY2 T
tmke8 commented 5 years ago

Done.