resolve place category
This block is part of the places group and was last modified in core v15.0.0.
resolve place category v15.0.0 Resolves free text such as kroeg, basisschool or supermarkt to a category group id. Regular plurals are handled, so kroegen and bars work without being listed. When a word spans several groups : school is the obvious case : the alternatives are returned rather than one being picked silently, because only you know which was meant.
- text required
v15.0.0valueThe category name to resolve.
- language
v15.0.0valuenl(default) oren. Both are recognised either way.
- group
v15.0.0valueThe resolved group id. Empty when nothing matched.
- label
v15.0.0valueThe Dutch label for that group.
- confidence
v15.0.0number1.0 for an exact synonym match, lower when only part of the text matched, 0 when nothing did.
- alternatives
v15.0.0arrayOther groups the text could mean. Show these when the word is ambiguous instead of guessing.
- success
v15.0.0conditionTrue when the query ran. An empty result is still a success.
- error
v15.0.0valueError code when the query could not run:
PLACES_NOT_AVAILABLE,TEXT_REQUIRED.
Core Releases
v15.0.0 This block was introduced inv15.0.0, click here to see the release notes. Back to
places Return to the main group to view all sub-groups Back to Places Return to the group to view all blocks within this group
