Agree adjectives with agreeAdj
This is the documentation for 4.2.0 version, which is not the latest version. Consider upgrading to 4.3.0.
Most of the time, when you want to agree adjectives, it is better to generate a complete nominal group (determiner + noun + adjectives) using Value for Nominal Groups. |
Use agreeAdj(adjective, subject)
to agree an adjective
with a subject
.
List of adjectives
adjective
can be either a single adjective (string) or a list of adjectives (list of strings). When a list, a random synonym will be chosen in that list.
For instance:
-
#[+agreeAdj('muni', getAnonFP())]
will output munies -
#[+agreeAdj(['vieux', 'beau', 'intéressant'], getAnonFP())]
will output randomly belles, intéressantes, or vieilles
The element in the list will be chosen randomly. If you want more control over the synonyms (like choosing them in sequence), use the synz > syn structure and its parameters.
|