AO3: Tag Word Cloud

Change font size of words of AO3 tags according to the word frequency in each chapter or entire works.

< Σχολιασμός για τον κώδικα AO3: Tag Word Cloud

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 18/08/2025

Love the script and have been playing with it for some time now. Realy REALY helpful. I never knew I needed it. I have a suggestion for the functions.

Some characters have their "legal name" in the tags but the fic uses a more informal name. For example, Robert Scott will not show up as a major character because the author used Bobby the whole fic.

Would it be possible to implement "nicknames" for specific characters? As an additional factor where under circumstances where the fic has "Bobby" increase the count for "Robert".

Not asking you to include every name in existence, just the ability to add custom names on the client side.

VanniusΔημιουργός
§
Δημοσιεύτηκε: 24/08/2025

Sorry for the late response, and thank you for your kind comment.

I've updated TWC to version 1.5.

Please edit relatedWordGroups to your preference.

    const relatedWordGroups = [ // Lowercase only
        [ 'cat', 'catelyn' ], // Add up the count of "cat" and the count of "catelyn"
        [ 'eddard', 'ned' ],  // Add up the count of "eddard" and the count of "ned"
        [ 'robert', 'bobby' ] // Add up the count of "robert" and the count of "bobby"
    ];

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.

长期地址
遇到问题?请前往 GitHub 提 Issues。