Skip to content

String.substring always returns null for corpus weighting #9

@dfilimon

Description

@dfilimon

At line 173 in Vectorize20NewsGroups.java [1], the substring call is from startIndex 1 to endIndex 1 which always returns an empty string.
So, the CorpusWeighting cw is always going to be null.

Did you run it to see if it works? :)

[1] c09d742#L0R173

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions