code wiki / (root) / nx_outfit_vocabulary.nx

nx_outfit_vocabulary.nx

buildroot/runtime/nx_outfit_vocabulary.nx

10929 B271 linesdepth 2pulls 2 transitivereach 3 importersview sourcekind librarytopic outfit
docsdependenciesstructsconstsfunctions

about

nx_outfit_vocabulary.nx -- typed outfit registry with multi-language phrase variants. Cardinal: certain outfit kinds (micro string thong, T-back, micro bikini, etc.) fail consistently when prompted in English because the underlying text encoder has weak English token associations for them. CJK languages — particularly Japanese fashion vocabulary — have PRECISE single-token concepts (ヒモパン / 紐パンティ / Tバック) that the model renders much more reliably. The substrate stores typed OutfitKind + per-kind language-tagged phrase variants. The scene composer emits ALL variants together so the text encoder has multiple language anchors for the same concept, and the empirical-value cardinal will eventually weight whichever language renders this kind best. Companion to feedback-natural-director-phrases cardinal and feedback-no-negative-prompts-no-weights cardinal: positive-only, no weight syntax, each language phrase is a natural-text fragment.

dependencies 1 imports · 3 importers

nx_syscalls.nx nx_outfit_vocabulary.nx nx_discarded_outfit.nx nx_discarded_outfit_test.nx nx_outfit_vocabulary_test.nx

imports: nx_syscalls.nx

imported by: nx_discarded_outfit.nxnx_discarded_outfit_test.nxnx_outfit_vocabulary_test.nx

structs

none

consts

29const NX_OUTFIT_UNKNOWN: i64 = 0
30const NX_OUTFIT_MICRO_STRING_THONG: i64 = 1
31const NX_OUTFIT_T_BACK_THONG: i64 = 2
32const NX_OUTFIT_G_STRING: i64 = 3
33const NX_OUTFIT_C_STRING: i64 = 4
34const NX_OUTFIT_BRAZILIAN_BIKINI: i64 = 5
35const NX_OUTFIT_MICRO_BIKINI: i64 = 6
36const NX_OUTFIT_STRING_BIKINI: i64 = 7
37const NX_OUTFIT_PANTYHOSE_SHEER: i64 = 8
38const NX_OUTFIT_FISHNET_BODYSTOCKING: i64 = 9
39const NX_OUTFIT_BODYCON_DRESS_TIGHT: i64 = 10
40const NX_OUTFIT_GYM_BOOTY_SHORTS: i64 = 11
41const NX_OUTFIT_SPORTS_BRA_TIGHT: i64 = 12
44const NX_LANG_UNKNOWN: i64 = 0
45const NX_LANG_EN: i64 = 1 // English
46const NX_LANG_JA: i64 = 2 // Japanese
47const NX_LANG_KO: i64 = 3 // Korean
48const NX_LANG_ZH_CN: i64 = 4 // Chinese (simplified)
49const NX_LANG_ZH_TW: i64 = 5 // Chinese (traditional)
50const NX_LANG_FR: i64 = 6 // French
51const NX_LANG_IT: i64 = 7 // Italian
52const NX_LANG_DE: i64 = 8 // German

functions

57func nx_outfit_phrase(kind: i64, language: i64, variant: i64) -> *u8 {
231func nx_outfit_compose_multilang(kind: i64, out: *u8, out_cap: i64) -> i64 {
called by 1: main calls 1: nx_outfit_phrase
266func nx_outfit_strlen(s: *u8) -> i64 {
called by 1: main