@Word()
New in 2.0Generate words
Text InformationSince 2.0.0
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| dict | — | — | Custom value dictionary, multiple values separated by '|' | |
| locale | — | — | Internationalized languages, currently only supporting Chinese (zh_CN) and English (en), default zh_CN |
Usage
@Word(arg0)Generate word using specified dictionary
Example:
@Word(开开心心|快快乐乐|红红火火))
Output:
开开心心快快乐乐@Word(arg0)Generate word in specified locale
Example:
@Word(en)
Output:
alongdesigner@Word()Generate word (Chinese)
Example:
@Word()
Output:
弯弯曲曲千家万户