Skip to main content

zb-common

The cloud version of JAICP provides the zb-common system module. It contains a number of universal and frequently used script elements:

  • Named patterns.
  • Named entity dictionaries and converters.
  • JavaScript functions and libraries.
  • Ready-made script fragments.

Modules

The zb-common functionality is split into several isolated modules, so you can import only what you need for your projects.

NameTypeDescription
carDictionaryCar brands and models
cityDictionaryCities
colorDictionaryColors
languageDictionaryLanguages
musicDictionaryMusic genres
nameDictionaryGiven names

How to use

Use the require tag to import a file from a system module to your script:

require: city/cityEn.sc
module = sys.zb-common
  1. Specify the path to the file in the necessary module after the require tag.
  2. Set the module parameter to sys.zb-common.