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的回應

評論:正評 - 腳本一切正常

§
發表於:2025-08-18

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作者
§
發表於:2025-08-24

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。