code: private void initCapitalizationContextInfo(ULocale theLocale) {
          ICUResourceBundle rb = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, theLocale);
          try {
              ICUResourceBundle rdb = rb.getWithFallback("contextTransforms/number-spellout");
              int[] intVector = rdb.getIntVector();
              if (intVector.length >= 2) {
                  capitalizationForListOrMenu = (intVector[0] != 0);
                  capitalizationForStandAlone = (intVector[1] != 0);
              }
          } catch (MissingResourceException e) {
              // use default
          }
      }
docs: Set capitalizationForListOrMenu, capitalizationForStandAlone