Skip to content

questions about _split and _reduce #1

@davidenitti

Description

@davidenitti

hi,
I'm trying to understand the code, and I have few questions:
if the output for the command doxer.py -t 3satoshi is

0.0010055437039908227 -> 237lachesis_forum.txt                      
0.001015254105998512 -> 224GavinAndresen_forum.txt
224GavinAndresen

I don't understand the line corpus = corpus[:_split(_reduce(corpus))]
I don't get what _split/reduce do.
isn't corpus = sorted(corpus,reverse=False)[:args.reduce] enough to reduce the corpus with the give option?
Another question: where did you take the forum text? did you remove the quotes? if someone replies to another person in the forum, the original message can be quoted, making the text of 2 people appear in the same message, can this be a problem?
thanks

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