ComfyUI Node
Gender NL Filter π³οΈβπ
A ComfyUI node in utils/tags with 11 inputs and 1 output.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Natural language prompt, tag list, or mixed content. Chain after GenderTagFilter for full tag+NL coverage. Standalone tags are detected and skipped automatically. | |
| mode | COMBO | strip_female_language | 'strip_female_language' -> rewrite female-coded vocabulary 'strip_male_language' -> rewrite male-coded vocabulary 'off' -> pass through unchanged |
| filter_anatomy | BOOLEAN | true | Process anatomy words at all. Turn off to leave all anatomy language completely untouched. |
| replace_anatomy | BOOLEAN | true | Replace 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_presentation | BOOLEAN | true | Process clothing and accessory language at all. Turn off to leave all clothing language completely untouched. Useful for crossdressing characters. |
| swap_clothing | BOOLEAN | true | Replace 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_pronouns | BOOLEAN | true | Swap binary gendered pronouns. she/her/hers/herself <-> he/him/his/himself spaCy correctly disambiguates 'her' between possessive (-> his) and object (-> him). |
| rewrite_references | BOOLEAN | true | Swap 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_neopronouns | BOOLEAN | true | Map 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_negations | BOOLEAN | true | Protect 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_nlpopt | SPACY_NLP | Connect 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)
| Name | Type | Description |
|---|---|---|
| filtered_text | STRING | β |