Nodes/ComfyUI Gender Tag Filter/Gender NL Filter πŸ³οΈβ€πŸŒˆ
ComfyUI Node

Gender NL Filter πŸ³οΈβ€πŸŒˆ

A ComfyUI node in utils/tags with 11 inputs and 1 output.

By senjinthedragonΒ·Created 5 months agoΒ·Updated 5 months agoΒ· 0
Gender NL Filter πŸ³οΈβ€πŸŒˆ
  • spacy_nlp
  • filtered_text
β—„textβ–Ί
β—„modestrip_female_languageβ–Ί
β—„filter_anatomytrueβ–Ί
β—„replace_anatomytrueβ–Ί
β—„filter_presentationtrueβ–Ί
β—„swap_clothingtrueβ–Ί
β—„handle_pronounstrueβ–Ί
β—„rewrite_referencestrueβ–Ί
β—„map_neopronounstrueβ–Ί
β—„handle_negationstrueβ–Ί
Categoryutils/tags

Inputs (11)

NameTypeDefaultDescription
textSTRINGNatural language prompt, tag list, or mixed content. Chain after GenderTagFilter for full tag+NL coverage. Standalone tags are detected and skipped automatically.
modeCOMBOstrip_female_language'strip_female_language' -> rewrite female-coded vocabulary 'strip_male_language' -> rewrite male-coded vocabulary 'off' -> pass through unchanged
filter_anatomyBOOLEANtrueProcess anatomy words at all. Turn off to leave all anatomy language completely untouched.
replace_anatomyBOOLEANtrueReplace anatomy words with gender-appropriate counterparts rather than removing them entirely. e.g. 'Her breasts bounced' -> 'His pecs bounced' 'His cock throbbed' -> 'Her pussy throbbed' Words with no clean equivalent are still removed. Has no effect when filter_anatomy is off.
filter_presentationBOOLEANtrueProcess clothing and accessory language at all. Turn off to leave all clothing language completely untouched. Useful for crossdressing characters.
swap_clothingBOOLEANtrueReplace clothing terms with gender-appropriate equivalents rather than removing them. e.g. dress -> suit, skirt -> trousers, bra -> removed, bikini -> swim trunks Has no effect when filter_presentation is off.
handle_pronounsBOOLEANtrueSwap binary gendered pronouns. she/her/hers/herself <-> he/him/his/himself spaCy correctly disambiguates 'her' between possessive (-> his) and object (-> him).
rewrite_referencesBOOLEANtrueSwap gendered nouns and adjectives. woman/girl/lady/feminine <-> man/boy/guy/masculine Also covers furry terms: vixen/doe/mare/tigress etc. Plus titles, family terms, and mythological figures.
map_neopronounsBOOLEANtrueMap neopronouns to binary equivalents image models recognise. Covers: shi/hir (Chakat/furry), they/them, xe/xem, ze/zir, ey/em (Spivak), fae/faer, ve/ver, per. Plural they/them preserved by spaCy (regex is approximate). When off, all neopronouns pass through unchanged.
handle_negationsBOOLEANtrueProtect negated anatomy terms from removal or replacement. e.g. 'no breasts' and 'without a vagina' are left untouched. spaCy uses dependency parsing; regex uses 4-token heuristic.
spacy_nlpoptSPACY_NLPConnect a SpaCy Model Loader node to enable spaCy-backed NLP processing with accurate negation detection, pronoun disambiguation, and multi-word span matching. Leave disconnected to use the regex fallback instead.

Outputs (1)

NameTypeDescription
filtered_textSTRINGβ€”