Versions Compared

Key

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

Connects directly to the Saga Python Bridge, to send tokens without SEMANTIC_TAGs to be process by ML algorithms in Python


Operates On:  Lexical Items with TOKEN and not with SEMANTIC_TAG.

Saga_is_recognizer

Tip

The difference between this and the Python Model Stage is that this stage does requires to be associated to a tag

Include Page
Generic Configuration Parameters
Generic Configuration Parameters

Configuration Parameters

  • Parameter
    summaryModel name registered in the python bridge
    namemodelName
    requiredtrue
  • Parameter
    summaryModel version registered in the python wrapper to query
    defaultlatest
    namemodelVersion
  • Parameter
    summaryModel method to call for the model
    namemodelMethod
    requiredtrue
  • Parameter
    summaryPython server communication hostname
    defaultlocalhost
    namehostname
  • Parameter
    summaryPython server communication port
    default5000
    nameport


Saga_config_stage
boundaryFlagstext block split
"modelName": "lsi"
"modelVersion": "1"
"modelMethod": "predict"
"hostname": "localhost",
"port": 5000,

Example Output

Saga_graph
V----[THOMAS B. SEEKER]-----V-------[1234 Northern Star Circle]-------V-------[Baltimore, MD 12345]--------V
^---[THOMAS B]---V-[SEEKER]-^-[1234]-V-[Northern]-V-[Star]-V-[Circle]-^---[Baltimore,]----V-[MD]-V-[12345]-^
^-[THOMAS]-V-[B]-^                   ^-[northern]-^-[star]-^-[circle]-^-[Baltimore]-V-[,]-^-[md]-^         ^
^-[thomas]-^-[b]-^-[SEEKER]-^-----------------[{lsi}]-----------------^---[baltimore,]----^                ^
^----[{lsi}]-----^-[seeker]-^                                         ^-[baltimore]-^                      ^
                 ^-[{lsi}]--^                                         ^--------------[{lsi}]---------------^

Output Flags

Lex-Item Flags:

  • WEIGHT_VECTOR - Identifies the tag as a weight vector representation of a sentence
  • ML_PREDICT- Result from a machine learning algorithm for prediction
  • ML_CLASSIFY- Result from a machine learning algorithm for classification
  • ML_REGRESS- Result from a machine learning algorithm for regression

Info

No vertices are created in this stage