Versions Compared

Key

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

Identifies latitude and longitude including the cardinal direction


Operates On:  Lexical Items with TOKEN and possibly other flags as specified below.

Saga_is_recognizer

Info

Supported Formats

  • Degrees: # ° N|S|E|W,
  • Degrees and minutes: # ° # ' N|S|E|W,
  • Degrees, minutes and seconds: # ° # ' # " N|S|E|W,
  • Decimal format: # , #

Include Page
Generic Configuration Parameters
Generic Configuration Parameters

Configuration Parameters

  • Parameter
    summaryNot used currently since the patterns are internally declared
    namepatterns


Saga_config_stagecode
boundaryFlagstext block split
stageLatLongRecognizer
languagejs
"patterns": "HANDLED INTERNALLY"

Example Output

saga_graph
Code Block
languagetext
V-------------------------------------------------------------------------------------------[ 85° N -20° E 37.7749° N , 122.4194° W 10° 28' 23.772" N , 85° 22' 21.54" W 26° 12.2' S , 28° 2.84' E]-------------------------------------------------------------------------------------------V 
^----[85°]-----V-[N]-V----[-20°]----V-[E]-V---[37.7749°]----V-[N]-V-[,]-V----[122.4194°]----V-[W]-V----[10°]-----V----[28']----V-V---[23.772"]----V-[N]-V-[,]-V----[85°]-----V----[22']-----V---[21.54"]----V-[W]-V----[26°]-----V---[12.2']----V-[S]-V-[,]-V----[28°]-----V---[2.84']----V-[E]-^ 
^--[85]--V-[°]-^-[n]-^-[-20]--V-[°]-^-[e]-^-[37.7749]-V-[°]-^-[n]-^     ^-[122.4194]-V-[°]-^-[w]-^--[10]--V-[°]-^--[28]--V-[']-^-[23.772]-V-["]-^-[n]-^     ^--[85]
^--V-[°]-^--[22]--V-[']-^-[21.54]-V-["]-^-[w]-^--[26]--V-[°]-^-[12.2]-V-[']-^-[s]-^-[{#°}]---^     ^--[28]--V-[°]-^-[2.84]-V-[']-^-[e]-^ 
^-[{#°}]-^           ^-[{#°}]-^      ----^     ^--[{#°}]---^                 ^---[{#°}]-----^           ^-[{#°}]-^     ^-[{#°}]-^     ^--[{#°}]--^                 ^-[{#°}]-^     ^-[{#°}]-^     ^-[{#°}]--^           ^-[{#°}]-^     ^-[{#°}]-^                 ^-[{#°}]-^     ^-[{#°}]-^ 
^----[{lat/lon}]---^--^----[{lat/lon}]-----^
^------[{lat/lon}]------^     ^------[{lat/lon}]-------^-----------^---------[{lat/lon}]---------------------^     ^--------------------[{lat/lon}]--------------^------^------------[{lat/lon}]------------^     ^------------[{lat/lon}]------------^ 

Output Flags

Lex-Item Flags:

  • SEMANTIC_TAG - Identifies all lexical items which are semantic tags.
  • GEO - Identifies a geographical location.

Vertex Flags:

Info

No vertices are created in this stage