Skip to content

Empty documents passed for feature extraction. Zero sentence count. #5

@aseempatni

Description

@aseempatni
  File "/home/aseem/code/nlp/src/feature/readability/readability.py", line 25, in analyze_text
    avg_words_p_sentence = word_count/sentence_count

I think we are getting this error because the document is empty. We should make sure that docs array doesn't contain empty documents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions