Versions Compared

Key

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

...

Info

These are the supported formats:

  • 7-digits 555digit: 333-4444
  • Area Codes 333-222-1111 also
  • Area Codes with parenthesis (333)222-1111
  • Country Code 1-222-333-4444 and +1-222-333-4444
  • Country Code with parenthesis: +1(213)333-4444


Include Page
Generic Configuration Parameters
Generic Configuration Parameters

...

Saga_config_stage
boundaryFlagstext block split
oneFlagtoken, semantic tag
skipFlagsskip
"filterAreaCode": false
"filterPhoneLength": false
"phoneLength": 10
  • Parameter
    summaryFilter phone numbers by Area Code.
    defaultunchecked
    namefilterAreaCode
    typeboolean
  • Parameter
    summaryEnable length checking.
    defaultunchecked
    namefilterPhoneLength
    typeboolean
  • Parameter
    summaryLength number to check.
    default10
    namephoneLength
    typeinteger


Example Output

Saga_graph
V------------------------[please call 1-800-555-5555 thank you]------------------------V 
^-[please]-V-[call]-V----------------[1-800-555-5555]----------------V-[thank]-V-[you]-^ 
                    ^-[1]-V-[-]-V-[800]-V-[-]-V-[555]-V-[-]-V-[5555]-^                   
                    ^-------------------[{phone}]--------------------^

Output Flags

Lex-Item Flags:

  • NUMBER - Flagged on all tokens that are numbers.
  • SEMANTIC_TAG - Identifies all lexical items which are semantic tags.
  • PHONE - Identifies that token as a phone number. 

...