A handful of words have extra non-phone content in their pronunciations, e.g. [(k, v) for k, v in pr.pronunciations if '#' in v] evaluates to...
[("d'artagnan", 'D AH0 R T AE1 NG Y AH0 N # foreign french'),
('danglar', 'D AH0 NG L AA1 R # foreign french'),
('danglars', 'D AH0 NG L AA1 R Z # foreign french'),
('gdp', 'G IY1 D IY1 P IY1 # abbrev'),
('hiv', 'EY1 CH AY1 V IY1 # abbrev'),
('porthos', 'P AO0 R T AO1 S # foreign french'),
('spieth', 'S P IY1 TH # name'),
('spieth', 'S P AY1 AH0 TH # old')]
This should obviously not be the case! There may be other instances like this—I haven't had time to check. I imagine it's a problem with the upstream module providing the pronunciations.
A handful of words have extra non-phone content in their pronunciations, e.g.
[(k, v) for k, v in pr.pronunciations if '#' in v]evaluates to...This should obviously not be the case! There may be other instances like this—I haven't had time to check. I imagine it's a problem with the upstream module providing the pronunciations.