Dadmatech / DadmaTools

DadmaTools is a Persian NLP tools developed by Dadmatech Co.
Apache License 2.0
184 stars 40 forks source link

Replacing 'sentences' with 'sentence' #37

Closed shenassa closed 10 months ago

shenassa commented 2 years ago

Hi, First of all, i want to thank you for providing this brilliant and practical tools and wish the best for all your future endeavors. In README.md, i think you should change the below code a bit and replace the second 'sentences' with 'sentence' to work the code properly. If i am wrong, please let me know! thank you

for sentence in sentences:
    text = sentence.text
    for token in sentences:
        token_text = token.text