nx_outfit_vocabulary.nx
buildroot/runtime/nx_outfit_vocabulary.nx
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
imports: nx_syscalls.nx
imported by: nx_discarded_outfit.nxnx_discarded_outfit_test.nxnx_outfit_vocabulary_test.nx
structs
| none |
consts
| 29 | const NX_OUTFIT_UNKNOWN: i64 = 0 |
| 30 | const NX_OUTFIT_MICRO_STRING_THONG: i64 = 1 |
| 31 | const NX_OUTFIT_T_BACK_THONG: i64 = 2 |
| 32 | const NX_OUTFIT_G_STRING: i64 = 3 |
| 33 | const NX_OUTFIT_C_STRING: i64 = 4 |
| 34 | const NX_OUTFIT_BRAZILIAN_BIKINI: i64 = 5 |
| 35 | const NX_OUTFIT_MICRO_BIKINI: i64 = 6 |
| 36 | const NX_OUTFIT_STRING_BIKINI: i64 = 7 |
| 37 | const NX_OUTFIT_PANTYHOSE_SHEER: i64 = 8 |
| 38 | const NX_OUTFIT_FISHNET_BODYSTOCKING: i64 = 9 |
| 39 | const NX_OUTFIT_BODYCON_DRESS_TIGHT: i64 = 10 |
| 40 | const NX_OUTFIT_GYM_BOOTY_SHORTS: i64 = 11 |
| 41 | const NX_OUTFIT_SPORTS_BRA_TIGHT: i64 = 12 |
| 44 | const NX_LANG_UNKNOWN: i64 = 0 |
| 45 | const NX_LANG_EN: i64 = 1 // English |
| 46 | const NX_LANG_JA: i64 = 2 // Japanese |
| 47 | const NX_LANG_KO: i64 = 3 // Korean |
| 48 | const NX_LANG_ZH_CN: i64 = 4 // Chinese (simplified) |
| 49 | const NX_LANG_ZH_TW: i64 = 5 // Chinese (traditional) |
| 50 | const NX_LANG_FR: i64 = 6 // French |
| 51 | const NX_LANG_IT: i64 = 7 // Italian |
| 52 | const NX_LANG_DE: i64 = 8 // German |
functions
| 57 | func nx_outfit_phrase(kind: i64, language: i64, variant: i64) -> *u8 { |
| 231 | func nx_outfit_compose_multilang(kind: i64, out: *u8, out_cap: i64) -> i64 { |
| 266 | func nx_outfit_strlen(s: *u8) -> i64 {
called by 1: main |