Skip to content

More sophisticated label name mechanism #3

Open
@bsless

Description

@bsless

Thank you for this script, it surely makes life easier :)
When used with several files, displaying the correct label is a bit of a heuristic process, though. I could rename my files, but generally, perhaps it could be improved
What do you think about the following heuristic for labeling:

  • split file names on a set of strings such as ., _, -
  • count the occurrences in each bin in the split (we care about 1 vs. many)
  • many bins are selected for label names
  • 1 bins (common for all) can become the title

I wouldn't mind PRing this

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