anoopkunchukuttan / indic_nlp_library

Resources and tools for Indian language Natural Language Processing
http://anoopkunchukuttan.github.io/indic_nlp_library/
MIT License
549 stars 160 forks source link

morph_analyze_document should form a list of lists #12

Closed martiansideofthemoon closed 7 years ago

martiansideofthemoon commented 7 years ago

My reference is to https://github.com/anoopkunchukuttan/indic_nlp_library/blob/925e3d4414b824954711edd81597832d2419d847/src/indicnlp/morph/unsupervised_morph.py#L93

Instead of extend(), could you use append() to make a more easy to use list of lists?

anoopkunchukuttan commented 7 years ago

I agree. Thanks for the suggestion. I will make the changes.

anoopkunchukuttan commented 7 years ago

Changes made

martiansideofthemoon commented 7 years ago

Thank you @anoopkunchukuttan! Great library :smile: