Versions Compared

Key

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

...

This seems unnatural though.  After every fork, we have a filter on both paths, with each filter the 'not' of the other filter.  Seems more natural to have a condition node:Image Removedconditions:

Image Added

 

Code Block
{
  "conditionsconnections": [
    { 
      "namefrom": "englishtwitter conditionsource",
      "scriptto": "function (input) { return input.language != None; }",
 language tagger"
    "engine": "javascript"
    }
  ],
  "connections":
[     { 
      "from": "twitter source",
      "to": "language tagger"
    },
    {       "fromto": "language taggercategorizer",
      "condition": {
        "script": "function (input) { return input.language !== None"en"; }",
        "engine": "javascript",
        "ifTrue": "categorizer",
        "ifFalse": "translator"
      }
    }
  ]
}

 

Realtime Stream source

...