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.
Name | Type | Description |
---|---|---|
car | Dictionary | Car brands and models |
city | Dictionary | Cities |
color | Dictionary | Colors |
language | Dictionary | Languages |
music | Dictionary | Music genres |
name | Dictionary | Given 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
- Specify the path to the file in the necessary module after the
require
tag. - Set the
module
parameter tosys.zb-common
.