Skip to content

Is it a bug not to eliminate first element of a line in tag-item.dat ? #21

Description

@horiken4

tag-item.dat has number of tags related to an article at first element of any line.
So i think when counting number of tags first element should be eliminated.
But utils.py seems to regard the first element as a tag according to below code.

if len(items) >= tag_occurence_thres:

features[[int(i) for i in items], feature_index] = 1

Is it a bug or do I have any misunderstanding?

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