Skip to content

Commit ac43d73

Browse files
authored
Merge pull request #22 from WeberJulian/patch-1
Fix first usage exemple documentation
2 parents e15b695 + 2ffa490 commit ac43d73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/_sources/index.rst.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ A tokenizer and `IPA <https://en.wikipedia.org/wiki/International_Phonetic_Alpha
1212
text = 'He wound it around the wound, saying "I read it was $10 to read."'
1313
1414
for sent in sentences(text, lang="en-us"):
15-
if word.phonemes:
16-
print(word.text, *word.phonemes)
15+
for word in sent:
16+
if word.phonemes:
17+
print(word.text, *word.phonemes)
1718
1819
Output::
1920

0 commit comments

Comments
 (0)