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.

In pins 2
  • text required v15.0.0
    value

    The category name to resolve.

  • language v15.0.0
    value

    nl (default) or en. Both are recognised either way.

Out pins 6
  • group v15.0.0
    value

    The resolved group id. Empty when nothing matched.

  • label v15.0.0
    value

    The Dutch label for that group.

  • confidence v15.0.0
    number

    1.0 for an exact synonym match, lower when only part of the text matched, 0 when nothing did.

  • alternatives v15.0.0
    array

    Other groups the text could mean. Show these when the word is ambiguous instead of guessing.

  • success v15.0.0
    condition

    True when the query ran. An empty result is still a success.

  • error v15.0.0
    value

    Error code when the query could not run: PLACES_NOT_AVAILABLE, TEXT_REQUIRED.

Core Releases

v15.0.0 This block was introduced in v15.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