Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

This stages stage identifies tokens that look like post postal codes and tag it flag them as "POSTCODE". The stage support codes up to 5 characters length, so this includes US, UK and Canada, as well as any other country with similar standards.

...

Include Page
Generic Configuration Parameters
Generic Configuration Parameters

Configuration Parameters

  • Parameter
    summaryList of country codes separated by white space
    defaultus uk ca
    namecountries
Saga_config_stage
boundaryFlagstext block split
requiredFlagstoken, semantic tag
titleDefault Config
skipFlagsskip
"countries" : "us uk ca"

Example Output

Description

Saga_graph
V---------------------[Send the package to 32830 near the amusement parks.]----------------------V 
^-------------------[Send the package to 32830 near the amusement parks]--------------------V-[]-^ 
^-[Send]-V-[the]-V-[package]-V-[to]-V----[32830]---V-[near]-V-[the]-V-[amusement]-V-[parks]-^      
^-[send]-^                          ^-[{postcode}]-^


V-----------------[301 Front St W, Toronto, ON M5V 2T6, Canada]-----------------V 
^-[301]-V-[Front]-V-[St]-V-[W,]-V-[Toronto,]-V-[ON]-V-[M5V]-V-[2T6,]-V-[Canada]-^ 
                         ^-[W]--^-[Toronto]--^              ^-[2T6]--^            
                                                    ^--[{postcode}]--^   

...

  • SEMANTIC_TAG - Identifies all lexical items which are semantic tags.
  • POSTCODE - Identifies the token as a postcode.

Vertex Flags:

Info

No vertices are created in this stage