366 questions
650 answers
856 comments
779 users
Al momento sembra che gli apostrofi debbano essere ignorati, nel senso che quando trovi un'apostrofo, spezzi e diventano 2 parole:
Gone from the path direct: and e'en to tell gone ['G AO1 N'] from ['F R AH1 M'] the ['DH AH0', 'DH AH1', 'DH IY0'] path ['P AE1 TH'] direct ['D ER0 EH1 K T', 'D AY0 R EH1 K T', 'D IH0 R EH1 K T'] and ['AH0 N D', 'AE1 N D'] e ['IY1'] en ['EH1 N'] to ['T UW1', 'T IH0', 'T AH0'] tell ['T EH1 L']
Gone from the path direct: and e'en to tell
gone ['G AO1 N'] from ['F R AH1 M'] the ['DH AH0', 'DH AH1', 'DH IY0'] path ['P AE1 TH'] direct ['D ER0 EH1 K T', 'D AY0 R EH1 K T', 'D IH0 R EH1 K T'] and ['AH0 N D', 'AE1 N D'] e ['IY1'] en ['EH1 N'] to ['T UW1', 'T IH0', 'T AH0'] tell ['T EH1 L']
Restituisce:
[1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0]
Il risultato è uguale a quello dell'esempio. Se poi le cose cambiano aggiornerò il post.