When a point is separating two sentences (in a single line of text), the output gives a single utterance. But when replacing the point by a comma or a semicolon, this outputs 2 utterances. See below:
$ echo 'a comma a point.' | phonemize
ɐ kɑːmə ɐ pɔɪnt
$ echo 'a comma. a point.' | phonemize
ɐ kɑːmə ɐ pɔɪnt
$ echo 'a comma; a point.' | phonemize
ɐ kɑːmə
ɐ pɔɪnt
$ echo 'a comma, a point.' | phonemize
ɐ kɑːmə
ɐ pɔɪnt
$ echo 'a comma? a point!' | phonemize
ɐ kɑːmə
ɐ pɔɪnt
The expected behavior would be to ignore punctuation.
When a point is separating two sentences (in a single line of text), the output gives a single utterance. But when replacing the point by a comma or a semicolon, this outputs 2 utterances. See below:
The expected behavior would be to ignore punctuation.