diff --git a/mothra/settings.py b/mothra/settings.py index 362703573ea0be52bdceb2dde13eac423407cc18..08b7ad750a160042fdbb7e2e2ed6c143609e58ac 100755 --- a/mothra/settings.py +++ b/mothra/settings.py @@ -4,6 +4,7 @@ import os PROJECT_DIR = os.path.dirname(__file__) PUBLIC_DIR = os.path.join(PROJECT_DIR, 'public') +BACKUP_DIR = os.path.join(PROJECT_DIR, 'backup') DEBUG = False TEMPLATE_DEBUG = True diff --git a/workflows/base/settings.py b/workflows/base/settings.py new file mode 100644 index 0000000000000000000000000000000000000000..9745180faf827602884c7849987d83209070f121 --- /dev/null +++ b/workflows/base/settings.py @@ -0,0 +1,13 @@ +import os + +# === STANDARD PACKAGE SETTINGS === +PACKAGE_ROOT = os.path.dirname(__file__) + +# === AUTO IMPORT OPTIONS === +#If auto_import_package_data is true then given data file is automatically imported when ClowdFlows project is newly deployed or refreshed from git +AUTO_IMPORT_DB = True +#For auto_import_package_data_replace_option description see the 'replace' option in workflows/import_package command +AUTO_IMPORT_DB_REPLACE_OPTION = True +#If file(s) other than ./db/package_data.json should be imported, auto_import_package_data_files should be corrected +AUTO_IMPORT_DB_FILES = [os.path.join(PACKAGE_ROOT,'db/package_data.json')] + diff --git a/workflows/interaction_views.py b/workflows/interaction_views.py index 0527a1ed017d22a282c36f6815ca6c02e717fbbe..e1e9a13f9a249e3c25f5da8f28240269da3ac785 100755 --- a/workflows/interaction_views.py +++ b/workflows/interaction_views.py @@ -1,10 +1,10 @@ import sys from django.shortcuts import render -from workflows import packageLibImporter +from workflows import module_importer def setattr_local(name, value, package): setattr(sys.modules[__name__], name, value) -packageLibImporter.importAllPackagesLib("interaction_views",setattr_local) +module_importer.import_all_packages_libs("interaction_views",setattr_local) def test_interaction(request,input_dict,output_dict,widget): return render(request, 'interactions/test_interaction.html',{'widget':widget}) diff --git a/workflows/latino/bin/ClowdFlowsInterfaceUtils.dll b/workflows/latino/bin/ClowdFlowsInterfaceUtils.dll deleted file mode 100644 index 9650585406c85dbbe8d868a096b34a72d602c2b7..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/ClowdFlowsInterfaceUtils.dll and /dev/null differ diff --git a/workflows/latino/bin/ClowdFlowsInterfaceUtils.pdb b/workflows/latino/bin/ClowdFlowsInterfaceUtils.pdb deleted file mode 100644 index 210383b146816151fffd9707d066ff97b25088dc..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/ClowdFlowsInterfaceUtils.pdb and /dev/null differ diff --git a/workflows/latino/bin/Latino.dll b/workflows/latino/bin/Latino.dll index f6fb2518b22daee2a7fce553ab341bd37450a88e..49a075e38fa621f2affdf1cf23ce682d6d85840e 100644 Binary files a/workflows/latino/bin/Latino.dll and b/workflows/latino/bin/Latino.dll differ diff --git a/workflows/latino/bin/Latino.pdb b/workflows/latino/bin/Latino.pdb index ae627c22b02132d9b6e0abe9a397e9ab28f29bf7..51b4f73e95bfd65d81e160d75e63ff37b796931f 100644 Binary files a/workflows/latino/bin/Latino.pdb and b/workflows/latino/bin/Latino.pdb differ diff --git a/workflows/latino/bin/LatinoCloudFlows.dll b/workflows/latino/bin/LatinoCloudFlows.dll deleted file mode 100644 index 6850a617854de50e2d54ffa0d01b646460cd0fff..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/LatinoCloudFlows.dll and /dev/null differ diff --git a/workflows/latino/bin/LatinoCloudFlows.pdb b/workflows/latino/bin/LatinoCloudFlows.pdb deleted file mode 100644 index acdde7549e0324c60fc661f13a9056a0d601a676..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/LatinoCloudFlows.pdb and /dev/null differ diff --git a/workflows/latino/bin/LatinoClowdFlows.dll b/workflows/latino/bin/LatinoClowdFlows.dll new file mode 100644 index 0000000000000000000000000000000000000000..9d5c2f32c05c408fda887660ad5a3a4a70d7a947 Binary files /dev/null and b/workflows/latino/bin/LatinoClowdFlows.dll differ diff --git a/workflows/latino/bin/LatinoCloudFlows.dll.config b/workflows/latino/bin/LatinoClowdFlows.dll.config similarity index 100% rename from workflows/latino/bin/LatinoCloudFlows.dll.config rename to workflows/latino/bin/LatinoClowdFlows.dll.config diff --git a/workflows/latino/bin/LatinoClowdFlows.pdb b/workflows/latino/bin/LatinoClowdFlows.pdb new file mode 100644 index 0000000000000000000000000000000000000000..74778b02cb8bf87ab36fa3588a39e67ca8048c54 Binary files /dev/null and b/workflows/latino/bin/LatinoClowdFlows.pdb differ diff --git a/workflows/latino/bin/SmoothInterfaces.dll b/workflows/latino/bin/SmoothInterfaces.dll deleted file mode 100644 index 6835a9b709fd112a5cc72b30a74f11b33b828a22..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/SmoothInterfaces.dll and /dev/null differ diff --git a/workflows/latino/bin/SmoothInterfaces.exe b/workflows/latino/bin/SmoothInterfaces.exe new file mode 100644 index 0000000000000000000000000000000000000000..ff625dff0a6c271139c22d3ef93108d7a9476a8a Binary files /dev/null and b/workflows/latino/bin/SmoothInterfaces.exe differ diff --git a/workflows/latino/bin/SmoothInterfaces.pdb b/workflows/latino/bin/SmoothInterfaces.pdb index a8f0d73c6e4f5f3fde14615ca7bfb39bde95b46c..04dcf25728322d09394217d08ed80d8dacfaadb9 100644 Binary files a/workflows/latino/bin/SmoothInterfaces.pdb and b/workflows/latino/bin/SmoothInterfaces.pdb differ diff --git a/workflows/latino/bin/clrzmq.dll b/workflows/latino/bin/clrzmq.dll deleted file mode 100644 index 1a65b95780d5ea4176e89e004a3fe74f4afce61e..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/clrzmq.dll and /dev/null differ diff --git a/workflows/latino/bin/log4net.dll b/workflows/latino/bin/log4net.dll deleted file mode 100644 index ffc57e11254ad9530867b35d15aaf38eb4747d8d..0000000000000000000000000000000000000000 Binary files a/workflows/latino/bin/log4net.dll and /dev/null differ diff --git a/workflows/latino/db/package_data.json b/workflows/latino/db/package_data.json index f6d6137b676597fbb37ba4faa4ab1e9558f5cbcc..47b321898fab518e5ccb4390ed47ded2f1205234 100644 --- a/workflows/latino/db/package_data.json +++ b/workflows/latino/db/package_data.json @@ -1,7717 +1,7933 @@ -[ - { - "pk": 1, - "model": "workflows.category", - "fields": { - "uid": "3f7d449c-9222-458b-9c4e-412b01bcbc6b", - "parent": null, - "workflow": null, - "user": null, - "order": 1, - "name": "Latino" - } - }, - { - "pk": 2, - "model": "workflows.category", - "fields": { - "uid": "1eed1020-c423-4831-80ce-50f65ae276e1", - "parent": 1, - "workflow": null, - "user": null, - "order": 1, - "name": "Data In/Out" - } - }, - { - "pk": 3, - "model": "workflows.category", - "fields": { - "uid": "48fb3ce2-11ef-4afc-ab1e-aec6f1d6d055", - "parent": 1, - "workflow": null, - "user": null, - "order": 2, - "name": "Document Corpus" - } - }, - { - "pk": 4, - "model": "workflows.category", - "fields": { - "uid": "5a4286c8-d182-45a5-896b-cc3c6ed84f22", - "parent": 1, - "workflow": null, - "user": null, - "order": 3, - "name": "Tokenization" - } - }, - { - "pk": 5, - "model": "workflows.category", - "fields": { - "uid": "64780432-b114-4589-a24c-2331aed23502", - "parent": 4, - "workflow": null, - "user": null, - "order": 1, - "name": "Advanced" - } - }, - { - "pk": 6, - "model": "workflows.category", - "fields": { - "uid": "05c26564-86b5-4a73-aae9-f4dc14bc75d7", - "parent": 1, - "workflow": null, - "user": null, - "order": 4, - "name": "Tagging" - } - }, - { - "pk": 7, - "model": "workflows.category", - "fields": { - "uid": "94237b9c-8e88-460c-abc5-9c8108acb821", - "parent": 6, - "workflow": null, - "user": null, - "order": 1, - "name": "Advanced" - } - }, - { - "pk": 8, - "model": "workflows.category", - "fields": { - "uid": "b5964b0d-5acb-4dbf-a49d-4331a5a44f9c", - "parent": 1, - "workflow": null, - "user": null, - "order": 5, - "name": "Bag of Words" - } - }, - { - "pk": 9, - "model": "workflows.category", - "fields": { - "uid": "0378e3a8-b71e-47b5-96b0-84dca2680f4d", - "parent": 8, - "workflow": null, - "user": null, - "order": 1, - "name": "Advanced" - } - }, - { - "pk": 10, - "model": "workflows.category", - "fields": { - "uid": "a8348101-116c-4e04-b2a7-af1c991c3927", - "parent": 1, - "workflow": null, - "user": null, - "order": 6, - "name": "Dataset" - } - }, - { - "pk": 11, - "model": "workflows.category", - "fields": { - "uid": "c7a26cb0-65af-4c6e-887b-7c6a7a162327", - "parent": 1, - "workflow": null, - "user": null, - "order": 7, - "name": "Similarity Matrix" - } - }, - { - "pk": 12, - "model": "workflows.category", - "fields": { - "uid": "74457dca-9fba-4d66-98dd-633df385a22b", - "parent": 1, - "workflow": null, - "user": null, - "order": 8, - "name": "Clustering" - } - }, - { - "pk": 13, - "model": "workflows.category", - "fields": { - "uid": "c8fd491e-75ad-487d-b42f-b5ca07ec045a", - "parent": 1, - "workflow": null, - "user": null, - "order": 9, - "name": "Classification" - } - }, - { - "pk": 14, - "model": "workflows.category", - "fields": { - "uid": "438cb7e7-d0e5-4bb9-9cad-10f6907ec568", - "parent": 1, - "workflow": null, - "user": null, - "order": 10, - "name": "Helpers" - } - }, - { - "pk": 1, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "Flatten String Hierarchy", - "is_streaming": false, - "uid": "1d9f109e-8490-4c98-8957-4b0f698ce1bd", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "flatten_string_hierarchy_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_flatten_object_to_string_array", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function FlattenObjectToStringArray in package latino. The original function signature: FlattenObjectToStringArray." - } - }, - { - "pk": 1, - "model": "workflows.abstractinput", - "fields": { - "widget": 1, - "name": "data", - "short_name": "obj", - "uid": "26dc986a-e8c4-ee4b-ac32-5ce895f3383a", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "data", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 1, - "model": "workflows.abstractoutput", - "fields": { - "widget": 1, - "name": "flatData", - "short_name": "obj", - "variable": "flatData", - "uid": "a16d6a3b-e656-9b50-10c8-8359a5174193", - "order": 1, - "description": "" - } - }, - { - "pk": 2, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "Display Table", - "is_streaming": false, - "uid": "bb74ec59-dba8-461b-ae66-de35a5c3fdea", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "table_view_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "show_table", - "action": "show_table", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ShowTable_PYTHON in package latino. The original function signature: ShowTable_PYTHON." - } - }, - { - "pk": 2, - "model": "workflows.abstractinput", - "fields": { - "widget": 2, - "name": "Table", - "short_name": "tbl", - "uid": "5800c1e5-44ec-5843-e9cf-fde725c7b521", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tbl", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 3, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "Generate Integer Range", - "is_streaming": false, - "uid": "f7d78342-9aea-4e01-b46b-8d20631ee5bf", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "range_create_integers_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "create_range", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function GenerateIntegerRange_PYTHON in package latino. The original function signature: GenerateIntegerRange_PYTHON." - } - }, - { - "pk": 3, - "model": "workflows.abstractinput", - "fields": { - "widget": 3, - "name": "Start", - "short_name": "int", - "uid": "4c165f6b-7698-65d2-f8fb-2d2cf104ba47", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "start", - "parameter": true, - "order": 1, - "description": "System.Int32" - } - }, - { - "pk": 4, - "model": "workflows.abstractinput", - "fields": { - "widget": 3, - "name": "Stop", - "short_name": "int", - "uid": "c707764e-6ee4-8318-565e-3c4aab14cc45", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "stop", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 5, - "model": "workflows.abstractinput", - "fields": { - "widget": 3, - "name": "Step", - "short_name": "int", - "uid": "64dbf120-d027-0a31-a88d-e78bd15fb0c1", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "step", - "parameter": true, - "order": 3, - "description": "System.Int32" - } - }, - { - "pk": 2, - "model": "workflows.abstractoutput", - "fields": { - "widget": 3, - "name": "Range", - "short_name": "ary", - "variable": "range", - "uid": "8eb96f55-f038-e517-5e11-8dbda6295b0f", - "order": 1, - "description": "" - } - }, - { - "pk": 4, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "Python Snippet", - "is_streaming": false, - "uid": "b6164644-ff14-4f8f-bdee-ca55da77b57c", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "python_snippet_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "python_snippet", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 6, - "description": "Runs python snippet. You can use variable which is provided on the input by the name \"in1\" .. \"inN\". Whatever you want to otput needs to be asigned to the variable \"out1\" before the code is terminated" - } - }, - { - "pk": 6, - "model": "workflows.abstractinput", - "fields": { - "widget": 4, - "name": "in", - "short_name": "in", - "uid": "16ca773f-1d2d-823f-6e9c-1be0dd267369", - "default": "", - "required": false, - "multi": true, - "parameter_type": null, - "variable": "in", - "parameter": false, - "order": 1, - "description": "input can be accesed as variable \"in1\" .. \"inN\" inside the code" - } - }, - { - "pk": 7, - "model": "workflows.abstractinput", - "fields": { - "widget": 4, - "name": "Python Snippet Code", - "short_name": "py", - "uid": "1991f19a-463b-d851-aab6-72facc87a2f1", - "default": "# This is the Python Code Snippet where you can modify the data however is needed.\n# Varaible \"in1\" .. \"inN\" contains whatever you connected to the input port\n# Whatever is assigned to the variable \"out1\" will be transfered to the output port.\n\nout1 = in1", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "pycode", - "parameter": true, - "order": 2, - "description": "Input can be accesed as variable \"in1\" .. \"inN\" inside the code and output can be accesed/assigned as variable \"out1\" inside the code." - } - }, - { - "pk": 3, - "model": "workflows.abstractoutput", - "fields": { - "widget": 4, - "name": "out", - "short_name": "out", - "variable": "out", - "uid": "455b1583-c2d4-13c5-1036-435dfe160152", - "order": 1, - "description": "output can be accesed/assigned as variable \"out1\" inside the code" - } - }, - { - "pk": 5, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "Split Object", - "is_streaming": false, - "uid": "4ae60fcc-ae3a-4609-9ec1-a7724d5ac0c4", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "object_split_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "split_object", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 7, - "description": "Automatically generated widget from function SplitObject_PYTHON in package latino. The original function signature: SplitObject_PYTHON." - } - }, - { - "pk": 8, - "model": "workflows.abstractinput", - "fields": { - "widget": 5, - "name": "object", - "short_name": "obj", - "uid": "298ce522-7061-993e-a940-069d9c9b739d", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "object", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 9, - "model": "workflows.abstractinput", - "fields": { - "widget": 5, - "name": "Object Modifier", - "short_name": "atr", - "uid": "bf822d07-096d-1aeb-e6da-3670d6aa9c53", - "default": "", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "attribute", - "parameter": true, - "order": 2, - "description": "if one wants to extract object's attributes, leading dot should be used." - } - }, - { - "pk": 4, - "model": "workflows.abstractoutput", - "fields": { - "widget": 5, - "name": "object", - "short_name": "obj", - "variable": "object", - "uid": "6817c1ee-8e0f-8e63-f4d6-7c43522b7f10", - "order": 1, - "description": "" - } - }, - { - "pk": 6, - "model": "workflows.abstractwidget", - "fields": { - "category": 2, - "treeview_image": null, - "name": "Load Document Corpus From File", - "is_streaming": false, - "uid": "60e1a6ee-1d9f-4ae6-a5a9-fd06d30d4348", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "load_adc_from_file_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_load_adc", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "This widges processes raw text file and loads the texts into ADC (Annotated Document Corpus) structure. The input file contains one document per line - the whole line represents text from the body of a document. In case lines contain more document properties (i.e.: ids, titles, labels,...) than other widgets should be used to load ADC structure." - } - }, - { - "pk": 10, - "model": "workflows.abstractinput", - "fields": { - "widget": 6, - "name": "Raw Text File", - "short_name": "fil", - "uid": "d66b7ce4-8aa4-d26e-db69-762683ee0e3e", - "default": "", - "required": false, - "multi": false, - "parameter_type": null, - "variable": "file", - "parameter": false, - "order": 1, - "description": "Input Text File: Contains one document per line - the whole line represents text from the body of a document." - } - }, - { - "pk": 11, - "model": "workflows.abstractinput", - "fields": { - "widget": 6, - "name": "First words in line with preceding exclamation (!) present labels", - "short_name": "bol", - "uid": "cb7ddfe9-08ad-6b8a-d1fa-76cd91888d5e", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "leadingLabels", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 5, - "model": "workflows.abstractoutput", - "fields": { - "widget": 6, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "ec3c5eae-d5b8-16e9-deeb-ce175eaab9e0", - "order": 1, - "description": "" - } - }, - { - "pk": 7, - "model": "workflows.abstractwidget", - "fields": { - "category": 2, - "treeview_image": null, - "name": "Load Document Corpus From String", - "is_streaming": false, - "uid": "c35c429d-9d4b-40c4-b699-b7dee25f97a3", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "load_adc_from_file_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_load_adcfrom_string", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "This widges processes raw text file and loads the texts into ADC (Annotated Document Corpus) structure. The input file contains one document per line - the whole line represents text from the body of a document. In case lines contain more document properties (i.e.: ids, titles, labels,...) than other widgets should be used to load ADC structure." - } - }, - { - "pk": 12, - "model": "workflows.abstractinput", - "fields": { - "widget": 7, - "name": "String", - "short_name": "str", - "uid": "91e6fdd5-0969-dc3f-395e-3f2827a9c57c", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "plainString", - "parameter": false, - "order": 1, - "description": "Input Text String: Contains one document per line - the whole line represents text from the body of a document." - } - }, - { - "pk": 13, - "model": "workflows.abstractinput", - "fields": { - "widget": 7, - "name": "First words in line with preceding exclamation (!) present labels", - "short_name": "bol", - "uid": "18f37a99-5141-f7d2-108e-49ee6505c3da", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "leadingLabels", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 6, - "model": "workflows.abstractoutput", - "fields": { - "widget": 7, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "52165ac9-d42a-be5c-f24d-d6f02ab32e77", - "order": 1, - "description": "" - } - }, - { - "pk": 8, - "model": "workflows.abstractwidget", - "fields": { - "category": 2, - "treeview_image": null, - "name": "Convert Corpus to XML String", - "is_streaming": false, - "uid": "aa63a521-88c5-42c3-a85e-87c0be6288d5", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_to_xml_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_save_adcto_xml", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function SaveADCtoXml in package latino. The original function signature: SaveADCtoXml." - } - }, - { - "pk": 14, - "model": "workflows.abstractinput", - "fields": { - "widget": 8, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "bb23f353-d88a-ae54-fd44-1249badd8f28", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 7, - "model": "workflows.abstractoutput", - "fields": { - "widget": 8, - "name": "XML String", - "short_name": "xml", - "variable": "string", - "uid": "d8a5c93d-9a82-ff1a-7d5a-a6e287074ca5", - "order": 1, - "description": "" - } - }, - { - "pk": 9, - "model": "workflows.abstractwidget", - "fields": { - "category": 2, - "treeview_image": null, - "name": "Convert XML String to Corpus", - "is_streaming": false, - "uid": "136d957e-57e1-47da-a6f6-05423d5abb9e", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "xml_to_adc_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_load_adcfrom_xml", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function LoadADCfromXml in package latino. The original function signature: LoadADCfromXml." - } - }, - { - "pk": 15, - "model": "workflows.abstractinput", - "fields": { - "widget": 9, - "name": "XML String", - "short_name": "xml", - "uid": "7a3acca8-7b22-8d31-2dab-8dd606665cc1", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "xml", - "parameter": false, - "order": 1, - "description": "System.String" - } - }, - { - "pk": 8, - "model": "workflows.abstractoutput", - "fields": { - "widget": 9, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "2933b0e7-2639-9cf0-dc73-c22e77e3263c", - "order": 1, - "description": "" - } - }, - { - "pk": 10, - "model": "workflows.abstractwidget", - "fields": { - "category": 2, - "treeview_image": null, - "name": "Get Plain Texts", - "is_streaming": false, - "uid": "54f29d7e-a8a6-4cbb-a042-8cdf89328a2b", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_to_text_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_get_doc_strings", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function GetDocStrings in package latino. The original function signature: GetDocStrings." - } - }, - { - "pk": 16, - "model": "workflows.abstractinput", - "fields": { - "widget": 10, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "3367601a-8a96-20f1-7bdb-b2610fa4eb18", - "default": "", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 17, - "model": "workflows.abstractinput", - "fields": { - "widget": 10, - "name": "Token Annotation", - "short_name": "str", - "uid": "4d5f3e18-4eff-0fd7-5961-27e5aae71e74", - "default": "TextBlock", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "elementAnnotation", - "parameter": true, - "order": 2, - "description": "System.String" - } - }, - { - "pk": 18, - "model": "workflows.abstractinput", - "fields": { - "widget": 10, - "name": "Feature Condition", - "short_name": "str", - "uid": "a7486c8d-0b1c-3a32-999f-15107c13c3f4", - "default": "", - "required": false, - "multi": false, - "parameter_type": "text", - "variable": "elementFeatureConditions", - "parameter": true, - "order": 3, - "description": "Condition which tokens to include based on their features.\nFormat examples:\n-Feature1 (don't include tokens with Feature1 set ta any value)\n-Feature1=Value1 (don't include tokens with Feature1 set to the value Value1)\n-Feature1 +Feature2 (don't include tokens with Feature1 set unless it has also Feature2 set)\n-Feature1=Value1 +Feature2 (don't include tokens with Feature1 set to Value1 unless it has also Feature2 set to any value)..." - } - }, - { - "pk": 19, - "model": "workflows.abstractinput", - "fields": { - "widget": 10, - "name": "Delimiter for token concatenation", - "short_name": "str", - "uid": "5ebae072-0a90-6b4c-a7dc-47bb6bd71d51", - "default": "", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "delimiter", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 20, - "model": "workflows.abstractinput", - "fields": { - "widget": 10, - "name": "Include Document Identifier", - "short_name": "bol", - "uid": "507de999-1802-700d-27e5-ea5f972bc8e7", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "includeDocId", - "parameter": true, - "order": 5, - "description": "System.Boolean" - } - }, - { - "pk": 9, - "model": "workflows.abstractoutput", - "fields": { - "widget": 10, - "name": "Texts", - "short_name": "str", - "variable": "strings", - "uid": "bbcbbfc9-8a0f-bf3f-4b2d-7bf018ea4ff9", - "order": 1, - "description": "" - } - }, - { - "pk": 11, - "model": "workflows.abstractwidget", - "fields": { - "category": 3, - "treeview_image": null, - "name": "Extract Feature", - "is_streaming": false, - "uid": "ec9955a3-263b-49b4-a0ca-b62598962b76", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_extract_feature_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_extract_documents_features", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ExtractDocumentsFeatures in package latino. The original function signature: ExtractDocumentsFeatures." - } - }, - { - "pk": 21, - "model": "workflows.abstractinput", - "fields": { - "widget": 11, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "3f1837e3-2997-a696-2e4e-48d1166f314f", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 22, - "model": "workflows.abstractinput", - "fields": { - "widget": 11, - "name": "Extracted Feature Name", - "short_name": "str", - "uid": "6a42ceda-c81e-6257-1b95-4aa8ae605bef", - "default": "", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "featureName", - "parameter": true, - "order": 2, - "description": "System.String" - } - }, - { - "pk": 10, - "model": "workflows.abstractoutput", - "fields": { - "widget": 11, - "name": "List of Extracted Features", - "short_name": "str", - "variable": "strings", - "uid": "55c95429-7b4f-7c47-54da-a5273ff4d490", - "order": 1, - "description": "" - } - }, - { - "pk": 12, - "model": "workflows.abstractwidget", - "fields": { - "category": 3, - "treeview_image": null, - "name": "Add Feature", - "is_streaming": false, - "uid": "cbae1835-bbea-43f2-b698-dc02ba106462", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_add_feature_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_add_documents_features", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function AddDocumentsFeatures in package latino. The original function signature: AddDocumentsFeatures." - } - }, - { - "pk": 23, - "model": "workflows.abstractinput", - "fields": { - "widget": 12, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "a3c0bde8-766f-5e30-2b2e-1fdcbaa8d913", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 24, - "model": "workflows.abstractinput", - "fields": { - "widget": 12, - "name": "Feature Values (Array of Labels)", - "short_name": "str", - "uid": "1219e584-0660-0d7b-4d31-288f5e99df89", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "featureValues", - "parameter": false, - "order": 2, - "description": "System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 25, - "model": "workflows.abstractinput", - "fields": { - "widget": 12, - "name": "New Feature Name", - "short_name": "str", - "uid": "a69d8966-d9a4-8557-c845-12740520163d", - "default": "feature", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "featureName", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 26, - "model": "workflows.abstractinput", - "fields": { - "widget": 12, - "name": "New Feature Value Prefix", - "short_name": "str", - "uid": "d04dc113-88d8-2ee0-2982-90cb37d30aba", - "default": "", - "required": false, - "multi": false, - "parameter_type": "text", - "variable": "featureValuePrefix", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 11, - "model": "workflows.abstractoutput", - "fields": { - "widget": 12, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "3e2dbc87-3259-7eb6-80e9-858e680feed0", - "order": 1, - "description": "" - } - }, - { - "pk": 13, - "model": "workflows.abstractwidget", - "fields": { - "category": 3, - "treeview_image": null, - "name": "Split", - "is_streaming": false, - "uid": "a708874c-9ad2-45d6-9657-5fb3dd095688", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_split_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_split_documents_by_feature_value", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function SplitDocumentsByFeatureValue in package latino. The original function signature: SplitDocumentsByFeatureValue." - } - }, - { - "pk": 27, - "model": "workflows.abstractinput", - "fields": { - "widget": 13, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "6aab324d-c86e-d859-f4bc-b3720f6e7941", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 28, - "model": "workflows.abstractinput", - "fields": { - "widget": 13, - "name": "Feature Condition", - "short_name": "str", - "uid": "e69daa5d-7665-7c5d-5493-5747210a5b9a", - "default": "", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "featureCondition", - "parameter": true, - "order": 2, - "description": "System.String" - } - }, - { - "pk": 12, - "model": "workflows.abstractoutput", - "fields": { - "widget": 13, - "name": "Filtered Annotated Document Corpus", - "short_name": "adc", - "variable": "adcFiltered", - "uid": "9f147ab3-11c8-6114-3331-38ac1ee2324f", - "order": 1, - "description": "" - } - }, - { - "pk": 13, - "model": "workflows.abstractoutput", - "fields": { - "widget": 13, - "name": "The Rest of Annotated Document Corpus", - "short_name": "adc", - "variable": "adcRest", - "uid": "199d7c70-c431-9b85-1d61-d69ca2a455a7", - "order": 2, - "description": "" - } - }, - { - "pk": 14, - "model": "workflows.abstractwidget", - "fields": { - "category": 3, - "treeview_image": null, - "name": "Generate Set Feature", - "is_streaming": false, - "uid": "f19b2894-d9b0-4133-912a-b9aaf1e7982b", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_add_set_feature_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_mark_documents_with_set_feature", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function MarkDocumentsWithSetFeature in package latino. The original function signature: MarkDocumentsWithSetFeature." - } - }, - { - "pk": 29, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "c066e26b-af81-f1ac-251f-248483c79f8d", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 30, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Feature Name", - "short_name": "str", - "uid": "276fe964-c5aa-1081-0be9-13aad301c661", - "default": "set", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "featureName", - "parameter": true, - "order": 2, - "description": "System.String" - } - }, - { - "pk": 31, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Feature Value Prefix", - "short_name": "str", - "uid": "d67ecbbb-e185-d9bf-43dd-52e2906a7f1f", - "default": "", - "required": false, - "multi": false, - "parameter_type": "text", - "variable": "featureValuePrefix", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 32, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Num of Sets", - "short_name": "int", - "uid": "96533d85-f52d-69a7-c4d9-4ab99f38fcb0", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "numOfSets", - "parameter": true, - "order": 4, - "description": "System.Int32" - } - }, - { - "pk": 33, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Assign Sets Randomly", - "short_name": "bol", - "uid": "28f1a06d-bb8b-fb4f-aa05-c8953a9a56ca", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "random", - "parameter": true, - "order": 5, - "description": "System.Boolean" - } - }, - { - "pk": 34, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Use Seed for Random", - "short_name": "bol", - "uid": "48804f65-9306-be3d-70d4-ad81252d0a38", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "useSeed", - "parameter": true, - "order": 6, - "description": "System.Boolean" - } - }, - { - "pk": 35, - "model": "workflows.abstractinput", - "fields": { - "widget": 14, - "name": "Random Seed", - "short_name": "int", - "uid": "36dc97df-1c37-9f7a-337d-a11eedcd894d", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "randomSeed", - "parameter": true, - "order": 7, - "description": "System.Int32" - } - }, - { - "pk": 14, - "model": "workflows.abstractoutput", - "fields": { - "widget": 14, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "41a6e37c-03d4-7088-8cdd-c1df37a62121", - "order": 1, - "description": "" - } - }, - { - "pk": 15, - "model": "workflows.abstractwidget", - "fields": { - "category": 3, - "treeview_image": null, - "name": "Statistics", - "is_streaming": false, - "uid": "5fd9822b-fcd7-4f83-a61d-478501b658f5", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "adc_info_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_corpus_statistics", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 6, - "description": "Automatically generated widget from function CorpusStatistics in package latino. The original function signature: CorpusStatistics." - } - }, - { - "pk": 36, - "model": "workflows.abstractinput", - "fields": { - "widget": 15, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "49ac398c-6c02-3a9e-9d41-06afbf34a384", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 15, - "model": "workflows.abstractoutput", - "fields": { - "widget": 15, - "name": "Number of Documents", - "short_name": "int", - "variable": "docCount", - "uid": "52b4b4ac-1637-7deb-ec6a-593c215dadc2", - "order": 1, - "description": "" - } - }, - { - "pk": 16, - "model": "workflows.abstractoutput", - "fields": { - "widget": 15, - "name": "Number of Features", - "short_name": "int", - "variable": "featureCount", - "uid": "03ba3ed7-b815-7090-af39-3cb1ced48a80", - "order": 2, - "description": "" - } - }, - { - "pk": 17, - "model": "workflows.abstractoutput", - "fields": { - "widget": 15, - "name": "Statistics", - "short_name": "str", - "variable": "description", - "uid": "37f67dc5-1349-01dc-037a-3da9e156c871", - "order": 3, - "description": "" - } - }, - { - "pk": 16, - "model": "workflows.abstractwidget", - "fields": { - "category": 3, - "treeview_image": null, - "name": "Display Document Corpus", - "is_streaming": false, - "uid": "cc2b8d7e-454b-4eb2-8154-e0f9decc21c0", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "view_adc_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "show_adc", - "action": "show_adc", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function DisplayDocumentCorpus_PYTHON in package latino. The original function signature: DisplayDocumentCorpus_PYTHON." - } - }, - { - "pk": 37, - "model": "workflows.abstractinput", - "fields": { - "widget": 16, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "12db5057-2d6d-875c-2141-da0b10fecca0", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 17, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Max Entropy Sentence Splitter", - "is_streaming": false, - "uid": "4ed7014d-dea2-41b1-b8ed-a90f633e7424", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_sentence_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_english_maximum_entropy_sentence_detector", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructEnglishMaximumEntropySentenceDetector in package latino. The original function signature: ConstructEnglishMaximumEntropySentenceDetector." - } - }, - { - "pk": 18, - "model": "workflows.abstractoutput", - "fields": { - "widget": 17, - "name": "Sentence Tokenizer", - "short_name": "tkn", - "variable": "tokenizer", - "uid": "be54c295-d6c7-020b-1c64-ecae17b171e8", - "order": 1, - "description": "" - } - }, - { - "pk": 18, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Max Entorpy Tokenizer", - "is_streaming": false, - "uid": "bf5d200a-de24-4e0e-a5b0-b93f1c9e4468", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_word_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_english_maximum_entropy_tokenizer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ConstructEnglishMaximumEntropyTokenizer in package latino. The original function signature: ConstructEnglishMaximumEntropyTokenizer." - } - }, - { - "pk": 38, - "model": "workflows.abstractinput", - "fields": { - "widget": 18, - "name": "Alpha Numeric Optimization", - "short_name": "ano", - "uid": "f49e114d-c12e-a3e6-1bde-b53999b0b759", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "alphaNumericOptimization", - "parameter": true, - "order": 1, - "description": "System.Boolean" - } - }, - { - "pk": 19, - "model": "workflows.abstractoutput", - "fields": { - "widget": 18, - "name": "Tokenizer", - "short_name": "tkn", - "variable": "tokenizer", - "uid": "1834f658-5fca-2ab5-1a75-dfdc56e738f8", - "order": 1, - "description": "" - } - }, - { - "pk": 19, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Unicode Tokenizer", - "is_streaming": false, - "uid": "83016e0d-d774-49cc-ae55-9418e666f869", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_word_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_unicode_tokenizer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function ConstructUnicodeTokenizer in package latino. The original function signature: ConstructUnicodeTokenizer." - } - }, - { - "pk": 39, - "model": "workflows.abstractinput", - "fields": { - "widget": 19, - "name": "Filter", - "short_name": "flt", - "uid": "a8b4b017-ffd3-da3f-9092-9f9dccc0377c", - "default": "None", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "filter", - "parameter": true, - "order": 1, - "description": "Latino.TextMining.TokenizerFilter" - } - }, - { - "pk": 1, - "model": "workflows.abstractoption", - "fields": { - "uid": "974d33bf-987b-82f6-fcc4-cd95ca65e5db", - "abstract_input": 39, - "value": "AlphaLoose", - "name": "AlphaLoose: accept tokens that contain at least one alphabetic character" - } - }, - { - "pk": 2, - "model": "workflows.abstractoption", - "fields": { - "uid": "2b71a17a-2a16-4d35-288f-937ca3091dc9", - "abstract_input": 39, - "value": "AlphaStrict", - "name": "AlphaStrict: accept tokens that contain alphabetic characters only" - } - }, - { - "pk": 3, - "model": "workflows.abstractoption", - "fields": { - "uid": "5f5f556a-e3a2-a278-6e0a-fafebd3481ff", - "abstract_input": 39, - "value": "AlphanumLoose", - "name": "AlphanumLoose: accept tokens that contain at least one alphanumeric character" - } - }, - { - "pk": 4, - "model": "workflows.abstractoption", - "fields": { - "uid": "8af9dd9b-fc70-9745-7872-ae443896c2a8", - "abstract_input": 39, - "value": "AlphanumStrict", - "name": "AlphanumStrict: accept tokens that contain alphanumeric characters only" - } - }, - { - "pk": 5, - "model": "workflows.abstractoption", - "fields": { - "uid": "e0d910d0-3c99-24bc-a3c2-dc67fea4c8ee", - "abstract_input": 39, - "value": "None", - "name": "None: accept all tokens" - } - }, - { - "pk": 40, - "model": "workflows.abstractinput", - "fields": { - "widget": 19, - "name": "Minimal Token Length", - "short_name": "int", - "uid": "811f5465-88c6-a8db-7e7d-1663d248a0e5", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "minTokenLen", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 20, - "model": "workflows.abstractoutput", - "fields": { - "widget": 19, - "name": "Tokenizer", - "short_name": "tkn", - "variable": "tokenizer", - "uid": "512e0add-0214-bf5b-e52d-e0e608110684", - "order": 1, - "description": "" - } - }, - { - "pk": 20, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Simple Tokenizer", - "is_streaming": false, - "uid": "1a9e6641-1b7a-4347-9fd9-f571f91a359a", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_word_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_simple_tokenizer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 6, - "description": "Automatically generated widget from function ConstructSimpleTokenizer in package latino. The original function signature: ConstructSimpleTokenizer." - } - }, - { - "pk": 41, - "model": "workflows.abstractinput", - "fields": { - "widget": 20, - "name": "Type", - "short_name": "typ", - "uid": "59c6fc11-0932-4b8c-6fba-7fb4108d312b", - "default": "AllChars", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "type", - "parameter": true, - "order": 1, - "description": "Latino.TextMining.TokenizerType" - } - }, - { - "pk": 6, - "model": "workflows.abstractoption", - "fields": { - "uid": "cf95fed8-1237-9797-4dea-4d83520fcdd3", - "abstract_input": 41, - "value": "AllChars", - "name": "AllChars: equivalent to [^\\s]+" - } - }, - { - "pk": 7, - "model": "workflows.abstractoption", - "fields": { - "uid": "36a7266e-fc89-ffb9-488d-5d7cfe797e98", - "abstract_input": 41, - "value": "AlphaOnly", - "name": "AlphaOnly: equivalent to \\p{L}+" - } - }, - { - "pk": 8, - "model": "workflows.abstractoption", - "fields": { - "uid": "9f8214a1-8ae8-051f-c708-6ebcfd949e01", - "abstract_input": 41, - "value": "AlphanumOnly", - "name": "AlphanumOnly: equivalent to [\\p{L}\\d]+" - } - }, - { - "pk": 42, - "model": "workflows.abstractinput", - "fields": { - "widget": 20, - "name": "Minimal Token Length", - "short_name": "int", - "uid": "dcc2c809-f060-d931-3751-34694bceec2e", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "minTokenLen", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 21, - "model": "workflows.abstractoutput", - "fields": { - "widget": 20, - "name": "Tokenizer", - "short_name": "tkn", - "variable": "tokenizer", - "uid": "490faf80-54e0-e36d-e73a-544533984301", - "order": 1, - "description": "" - } - }, - { - "pk": 21, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Regex Tokenizer", - "is_streaming": false, - "uid": "ce52aeec-6f94-4456-b0b6-011ab9e77760", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_word_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_regex_tokenizer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function ConstructRegexTokenizer in package latino. The original function signature: ConstructRegexTokenizer." - } - }, - { - "pk": 43, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Regular Expression", - "short_name": "rgx", - "uid": "9f31b30f-a480-da88-f8aa-275e938a1484", - "default": "\\p{L}+(-\\p{L}+)*", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "tokenRegex", - "parameter": true, - "order": 1, - "description": "System.String" - } - }, - { - "pk": 44, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Ignore Unknown Tokens", - "short_name": "bol", - "uid": "eddffd40-c816-c446-a2e3-606c0aaf0429", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "ignoreUnknownTokens", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 45, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Ignore Case", - "short_name": "bol", - "uid": "89faa019-8d68-c318-7d5f-2a7c1720adbf", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsIgnoreCase", - "parameter": true, - "order": 3, - "description": "System.Boolean" - } - }, - { - "pk": 46, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Multiline", - "short_name": "bol", - "uid": "ce522d23-7d8d-ec98-4d04-0d7abf0cd476", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsMultiline", - "parameter": true, - "order": 4, - "description": "System.Boolean" - } - }, - { - "pk": 47, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Explicit Capture", - "short_name": "bol", - "uid": "906e3a77-3d5c-9ba0-5135-066a28bbae4b", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsExplicitCapture", - "parameter": true, - "order": 5, - "description": "System.Boolean" - } - }, - { - "pk": 48, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Compiled", - "short_name": "bol", - "uid": "94702d0a-a6aa-a9ea-baf4-6d3bddd7afe2", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsCompiled", - "parameter": true, - "order": 6, - "description": "System.Boolean" - } - }, - { - "pk": 49, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Singleline", - "short_name": "bol", - "uid": "da23b6c7-f4e2-cd81-b95c-f47fc8897da1", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsSingleline", - "parameter": true, - "order": 7, - "description": "System.Boolean" - } - }, - { - "pk": 50, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Ignore Pattern Whitespace", - "short_name": "bol", - "uid": "0688894c-aea7-bfe4-6d38-ca14f2ff0337", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsIgnorePatternWhitespace", - "parameter": true, - "order": 8, - "description": "System.Boolean" - } - }, - { - "pk": 51, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Right To Left", - "short_name": "bol", - "uid": "9d1dfbe2-5019-0896-e2f1-f4f44b228435", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsRightToLeft", - "parameter": true, - "order": 9, - "description": "System.Boolean" - } - }, - { - "pk": 52, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "ECMA Script", - "short_name": "bol", - "uid": "3283613d-19d2-4d84-cef9-ef8f168bcd24", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsECMAScript", - "parameter": true, - "order": 10, - "description": "System.Boolean" - } - }, - { - "pk": 53, - "model": "workflows.abstractinput", - "fields": { - "widget": 21, - "name": "Culture Invariant", - "short_name": "bol", - "uid": "cc5c2449-77dd-fd50-690d-6686bdf49153", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "regexOptionsCultureInvariant", - "parameter": true, - "order": 11, - "description": "System.Boolean" - } - }, - { - "pk": 22, - "model": "workflows.abstractoutput", - "fields": { - "widget": 21, - "name": "Tokenizer", - "short_name": "tkn", - "variable": "tokenizer", - "uid": "9ec188ce-b56a-df72-2dfa-1d0e262e24de", - "order": 1, - "description": "" - } - }, - { - "pk": 22, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Split Sentences Hub", - "is_streaming": false, - "uid": "aa30cd38-4a1c-4c6a-ba47-ff00252fc5a9", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_sentence_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tokenize_sentences", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function TokenizeSentences in package latino. The original function signature: TokenizeSentences." - } - }, - { - "pk": 54, - "model": "workflows.abstractinput", - "fields": { - "widget": 22, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "d992649a-16a0-4482-96e0-f4c45db6134c", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 55, - "model": "workflows.abstractinput", - "fields": { - "widget": 22, - "name": "Tokenizer", - "short_name": "tkn", - "uid": "04e625eb-87ca-5e2d-5af7-1e4a4ea21eb3", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tokenizer", - "parameter": false, - "order": 2, - "description": "Latino.TextMining.ITokenizer" - } - }, - { - "pk": 56, - "model": "workflows.abstractinput", - "fields": { - "widget": 22, - "name": "Annotation to be tokenized", - "short_name": "ann", - "uid": "8276d0ab-b714-38dd-2971-ed603c831bbc", - "default": "TextBlock", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "inputAnnotation", - "parameter": true, - "order": 3, - "description": "Which annotated part of document to be splited" - } - }, - { - "pk": 57, - "model": "workflows.abstractinput", - "fields": { - "widget": 22, - "name": "Annotation to be produced", - "short_name": "ann", - "uid": "07ba8fe5-2a71-600f-b57a-9903c73e1d65", - "default": "Sentence", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputAnnotation", - "parameter": true, - "order": 4, - "description": "How to annotate found sentences" - } - }, - { - "pk": 23, - "model": "workflows.abstractoutput", - "fields": { - "widget": 22, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "f11297c2-02bf-ec83-336e-74b2ebbd5673", - "order": 1, - "description": "" - } - }, - { - "pk": 23, - "model": "workflows.abstractwidget", - "fields": { - "category": 4, - "treeview_image": null, - "name": "Tokenizer Hub", - "is_streaming": false, - "uid": "c747f62a-9ca6-4bab-86be-f4d3e8849efb", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_word_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tokenize_words", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 7, - "description": "Automatically generated widget from function TokenizeWords in package latino. The original function signature: TokenizeWords." - } - }, - { - "pk": 58, - "model": "workflows.abstractinput", - "fields": { - "widget": 23, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "8114ab48-987a-8570-27c8-1544be7bbaae", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 59, - "model": "workflows.abstractinput", - "fields": { - "widget": 23, - "name": "Tokenizer", - "short_name": "tkn", - "uid": "a03ee323-a151-3931-8d36-c86b63e7ee1f", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tokenizer", - "parameter": false, - "order": 2, - "description": "Latino.TextMining.ITokenizer" - } - }, - { - "pk": 60, - "model": "workflows.abstractinput", - "fields": { - "widget": 23, - "name": "Annotation to be tokenized", - "short_name": "ann", - "uid": "006cccbd-ee39-44b5-35fb-760a30422630", - "default": "TextBlock", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "inputAnnotation", - "parameter": true, - "order": 3, - "description": "Which annotated part of document to be splited" - } - }, - { - "pk": 61, - "model": "workflows.abstractinput", - "fields": { - "widget": 23, - "name": "Annotation to be produced", - "short_name": "ann", - "uid": "cd426790-640d-a1a9-18ec-a8f611780b4a", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputAnnotation", - "parameter": true, - "order": 4, - "description": "How to annotate found sentences" - } - }, - { - "pk": 24, - "model": "workflows.abstractoutput", - "fields": { - "widget": 23, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "e8c8a6d2-1d5b-579a-8e1d-7a45c7f22ba6", - "order": 1, - "description": "" - } - }, - { - "pk": 24, - "model": "workflows.abstractwidget", - "fields": { - "category": 5, - "treeview_image": null, - "name": "Universal Multiple Tokenizer Hub", - "is_streaming": false, - "uid": "77ce37e0-7cbd-4f6b-8877-b743b8ebd448", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_multi_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tokenize_multiple", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function TokenizeMultiple in package latino. The original function signature: TokenizeMultiple." - } - }, - { - "pk": 62, - "model": "workflows.abstractinput", - "fields": { - "widget": 24, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "6d3002e0-b3da-86fe-d3fd-7b3ed0817c9c", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 63, - "model": "workflows.abstractinput", - "fields": { - "widget": 24, - "name": "Tokenizer", - "short_name": "tkn", - "uid": "b2de28ca-9ab9-990f-43d0-5711ff877ee9", - "default": "", - "required": true, - "multi": true, - "parameter_type": null, - "variable": "tokenizer", - "parameter": false, - "order": 2, - "description": "Latino.TextMining.ITokenizer" - } - }, - { - "pk": 64, - "model": "workflows.abstractinput", - "fields": { - "widget": 24, - "name": "Annotation to be tokenized", - "short_name": "ann", - "uid": "ecb3bf15-fa48-6a10-aa11-dfc62fb0ee46", - "default": "TextBlock", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "inputAnnotation", - "parameter": true, - "order": 3, - "description": "Which annotated part of document to be splited" - } - }, - { - "pk": 65, - "model": "workflows.abstractinput", - "fields": { - "widget": 24, - "name": "Annotation to be produced", - "short_name": "ann", - "uid": "8c781452-1924-dc90-e405-787c3c6d3124", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "outputAnnotation", - "parameter": true, - "order": 4, - "description": "How to annotate found sentences" - } - }, - { - "pk": 25, - "model": "workflows.abstractoutput", - "fields": { - "widget": 24, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "ecfea29e-844d-1918-f691-404f7ef61212", - "order": 1, - "description": "" - } - }, - { - "pk": 25, - "model": "workflows.abstractwidget", - "fields": { - "category": 5, - "treeview_image": null, - "name": "Split Sentences Hub (Text)", - "is_streaming": false, - "uid": "ff6b3afa-e162-4f94-aa75-5fe73b5b1709", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_sentence_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tokenize_string_string", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function TokenizeStringString in package latino. The original function signature: TokenizeStringString." - } - }, - { - "pk": 66, - "model": "workflows.abstractinput", - "fields": { - "widget": 25, - "name": "Text", - "short_name": "str", - "uid": "386df033-ec3f-649c-5c30-5231f776d16b", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "text", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 67, - "model": "workflows.abstractinput", - "fields": { - "widget": 25, - "name": "Tokenizer", - "short_name": "tkn", - "uid": "2d2360e0-2bd5-355e-5be8-851d24c13a51", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tokenizer", - "parameter": false, - "order": 2, - "description": "Latino.TextMining.ITokenizer" - } - }, - { - "pk": 26, - "model": "workflows.abstractoutput", - "fields": { - "widget": 25, - "name": "Text", - "short_name": "str", - "variable": "string", - "uid": "683cae8b-fc16-5ff6-a461-3e949325605a", - "order": 1, - "description": "" - } - }, - { - "pk": 26, - "model": "workflows.abstractwidget", - "fields": { - "category": 5, - "treeview_image": null, - "name": "Tokenizer Hub (Text)", - "is_streaming": false, - "uid": "fd800f19-0344-4ab0-a010-b2ddb5dfbcc2", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "token_word_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tokenize_string_words", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function TokenizeStringWords in package latino. The original function signature: TokenizeStringWords." - } - }, - { - "pk": 68, - "model": "workflows.abstractinput", - "fields": { - "widget": 26, - "name": "Text", - "short_name": "str", - "uid": "8864e6fe-0d06-4c65-d8e3-a6a71f9b7d8d", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "text", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 69, - "model": "workflows.abstractinput", - "fields": { - "widget": 26, - "name": "Tokenizer", - "short_name": "tkn", - "uid": "ccbc71bb-ad82-985c-e2de-d807fd01af59", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tokenizer", - "parameter": false, - "order": 2, - "description": "Latino.TextMining.ITokenizer" - } - }, - { - "pk": 27, - "model": "workflows.abstractoutput", - "fields": { - "widget": 26, - "name": "String", - "short_name": "str", - "variable": "string", - "uid": "b48d7f0b-89b8-f554-ba37-a179e3d2df69", - "order": 1, - "description": "" - } - }, - { - "pk": 27, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Max Entropy POS Tagger", - "is_streaming": false, - "uid": "3860ae51-48ca-485d-b170-9064dd51e0ab", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_pos_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_english_maximum_entropy_pos_tagger", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructEnglishMaximumEntropyPosTagger in package latino. The original function signature: ConstructEnglishMaximumEntropyPosTagger." - } - }, - { - "pk": 70, - "model": "workflows.abstractinput", - "fields": { - "widget": 27, - "name": "Beam Size", - "short_name": "int", - "uid": "f85d9aa7-bb95-4d17-cd09-c55785705bad", - "default": "3", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "beamSize", - "parameter": true, - "order": 1, - "description": "System.Int32" - } - }, - { - "pk": 28, - "model": "workflows.abstractoutput", - "fields": { - "widget": 27, - "name": "POS Tagger", - "short_name": "pst", - "variable": "posTagger", - "uid": "3c4807f0-9a29-56b6-9b2e-3e038f1737b9", - "order": 1, - "description": "" - } - }, - { - "pk": 28, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "POS Tagger Hub", - "is_streaming": false, - "uid": "fca388cc-884a-4a37-bbd1-d05112962a12", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_pos_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_pos_tag", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function PosTag in package latino. The original function signature: PosTag." - } - }, - { - "pk": 71, - "model": "workflows.abstractinput", - "fields": { - "widget": 28, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "367dea85-fea7-1eb1-4e69-29de6cbca466", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 72, - "model": "workflows.abstractinput", - "fields": { - "widget": 28, - "name": "POS Tagger", - "short_name": "pst", - "uid": "59990e29-5dc9-de5f-21c7-76d8d310fecd", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "posTagger", - "parameter": false, - "order": 2, - "description": "OpenNLP.Tools.PosTagger.EnglishMaximumEntropyPosTagger" - } - }, - { - "pk": 73, - "model": "workflows.abstractinput", - "fields": { - "widget": 28, - "name": "Sentence's Annotation", - "short_name": "str", - "uid": "12a9df55-64c4-4398-c210-fd7d74117ec1", - "default": "Sentence", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "groupAnnotation", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 74, - "model": "workflows.abstractinput", - "fields": { - "widget": 28, - "name": "Element's Annotation", - "short_name": "str", - "uid": "ec62f621-6061-a275-f03b-69d8bef311fe", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "elementAnnotation", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 75, - "model": "workflows.abstractinput", - "fields": { - "widget": 28, - "name": "Output Feature Name", - "short_name": "str", - "uid": "a81b24b7-8b2c-c491-8e43-a46cb87a838b", - "default": "posTag", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeature", - "parameter": true, - "order": 5, - "description": "System.String" - } - }, - { - "pk": 29, - "model": "workflows.abstractoutput", - "fields": { - "widget": 28, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "7a252b1a-25ae-33cd-a13b-baa7320bfad5", - "order": 1, - "description": "" - } - }, - { - "pk": 29, - "model": "workflows.abstractwidget", - "fields": { - "category": 7, - "treeview_image": null, - "name": "POS Tagger Hub (Text)", - "is_streaming": false, - "uid": "33307dbf-08b5-4768-ba21-ebe1aa68c69b", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_pos_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_pos_tag_string", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function PosTagString in package latino. The original function signature: PosTagString." - } - }, - { - "pk": 76, - "model": "workflows.abstractinput", - "fields": { - "widget": 29, - "name": "Text", - "short_name": "str", - "uid": "ed41747a-dc93-d818-291c-62d791613083", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "text", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 77, - "model": "workflows.abstractinput", - "fields": { - "widget": 29, - "name": "POS Tagger", - "short_name": "pst", - "uid": "981e7201-35ab-7b25-ae8f-29e5b03cb407", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "posTagger", - "parameter": false, - "order": 2, - "description": "OpenNLP.Tools.PosTagger.EnglishMaximumEntropyPosTagger" - } - }, - { - "pk": 78, - "model": "workflows.abstractinput", - "fields": { - "widget": 29, - "name": "Output Feature Name", - "short_name": "str", - "uid": "02d347c6-12c9-9892-5d69-38548474b35a", - "default": "posTag", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeature", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 30, - "model": "workflows.abstractoutput", - "fields": { - "widget": 29, - "name": "String", - "short_name": "str", - "variable": "string", - "uid": "b773304e-55a1-d06f-363c-e10850b7bd56", - "order": 1, - "description": "" - } - }, - { - "pk": 30, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Get Stopword Set", - "is_streaming": false, - "uid": "773960d9-ccca-41bc-8b13-0c0f62c62f0e", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "get_stop_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_get_stop_words", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 6, - "description": "Automatically generated widget from function GetStopWords in package latino. The original function signature: GetStopWords." - } - }, - { - "pk": 79, - "model": "workflows.abstractinput", - "fields": { - "widget": 30, - "name": "Language", - "short_name": "lng", - "uid": "6a6806de-1cbc-b670-82cc-498784c2d7f4", - "default": "English", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "language", - "parameter": true, - "order": 1, - "description": "Latino.TextMining.Language" - } - }, - { - "pk": 9, - "model": "workflows.abstractoption", - "fields": { - "uid": "2c472b88-5377-c473-bb7c-74612d9e8752", - "abstract_input": 79, - "value": "Bulgarian", - "name": "Bulgarian" - } - }, - { - "pk": 10, - "model": "workflows.abstractoption", - "fields": { - "uid": "8c8245e9-ddc7-ddb7-48e8-83a1df62511a", - "abstract_input": 79, - "value": "Czech", - "name": "Czech" - } - }, - { - "pk": 11, - "model": "workflows.abstractoption", - "fields": { - "uid": "5449a6c7-e8fd-8355-6447-70d41e87cfb9", - "abstract_input": 79, - "value": "Danish", - "name": "Danish" - } - }, - { - "pk": 12, - "model": "workflows.abstractoption", - "fields": { - "uid": "3d04e639-6b74-5bdd-ef00-3211be836630", - "abstract_input": 79, - "value": "Dutch", - "name": "Dutch" - } - }, - { - "pk": 13, - "model": "workflows.abstractoption", - "fields": { - "uid": "5713ce63-336f-316a-6319-30263ea86f35", - "abstract_input": 79, - "value": "English", - "name": "English" - } - }, - { - "pk": 14, - "model": "workflows.abstractoption", - "fields": { - "uid": "8f7a8ad5-c65b-b3ed-931e-4376d5699f5c", - "abstract_input": 79, - "value": "Finnish", - "name": "Finnish" - } - }, - { - "pk": 15, - "model": "workflows.abstractoption", - "fields": { - "uid": "f6d4c7e3-1514-6427-f155-9b14cab0d38c", - "abstract_input": 79, - "value": "French", - "name": "French" - } - }, - { - "pk": 16, - "model": "workflows.abstractoption", - "fields": { - "uid": "091f177e-767f-3361-10af-bd2f6e85d994", - "abstract_input": 79, - "value": "German", - "name": "German" - } - }, - { - "pk": 17, - "model": "workflows.abstractoption", - "fields": { - "uid": "39218bba-61fe-40a9-b34d-699b9f58c12e", - "abstract_input": 79, - "value": "Hungarian", - "name": "Hungarian" - } - }, - { - "pk": 18, - "model": "workflows.abstractoption", - "fields": { - "uid": "08c09945-f0f1-d216-354d-e963dd9f19b8", - "abstract_input": 79, - "value": "Italian", - "name": "Italian" - } - }, - { - "pk": 19, - "model": "workflows.abstractoption", - "fields": { - "uid": "49138042-2c55-3b9f-a703-89745bf7ba86", - "abstract_input": 79, - "value": "Norwegian", - "name": "Norwegian" - } - }, - { - "pk": 20, - "model": "workflows.abstractoption", - "fields": { - "uid": "cfeae8fc-9cee-e702-96b4-a59d7cdd598f", - "abstract_input": 79, - "value": "Portuguese", - "name": "Portuguese" - } - }, - { - "pk": 21, - "model": "workflows.abstractoption", - "fields": { - "uid": "9ad4c287-f426-299d-17e0-b079df66d04c", - "abstract_input": 79, - "value": "Romanian", - "name": "Romanian" - } - }, - { - "pk": 22, - "model": "workflows.abstractoption", - "fields": { - "uid": "81b661f7-cf4a-fdc2-7519-268ad17e3b61", - "abstract_input": 79, - "value": "Russian", - "name": "Russian" - } - }, - { - "pk": 23, - "model": "workflows.abstractoption", - "fields": { - "uid": "ecc8309f-87c2-de3f-757f-eebbbfeade29", - "abstract_input": 79, - "value": "Serbian", - "name": "Serbian" - } - }, - { - "pk": 24, - "model": "workflows.abstractoption", - "fields": { - "uid": "d328b41f-7770-2db1-9bd3-0fa7e1682751", - "abstract_input": 79, - "value": "Slovene", - "name": "Slovene" - } - }, - { - "pk": 25, - "model": "workflows.abstractoption", - "fields": { - "uid": "c038a6e7-e788-e0d5-7f89-cabf84920123", - "abstract_input": 79, - "value": "Spanish", - "name": "Spanish" - } - }, - { - "pk": 26, - "model": "workflows.abstractoption", - "fields": { - "uid": "bad16fe3-7af6-2e35-8728-61563526d77b", - "abstract_input": 79, - "value": "Swedish", - "name": "Swedish" - } - }, - { - "pk": 31, - "model": "workflows.abstractoutput", - "fields": { - "widget": 30, - "name": "StopWords", - "short_name": "str", - "variable": "strings", - "uid": "d601ddbb-a068-cda8-8963-4dc61c890a37", - "order": 1, - "description": "" - } - }, - { - "pk": 31, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Lemma Tagger LemmaGen", - "is_streaming": false, - "uid": "d7cf3f71-3efd-4568-b2ff-fb9520106d9a", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stem_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_lemma_sharp_lemmatizer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ConstructLemmaSharpLemmatizer in package latino. The original function signature: ConstructLemmaSharpLemmatizer." - } - }, - { - "pk": 80, - "model": "workflows.abstractinput", - "fields": { - "widget": 31, - "name": "Language", - "short_name": "lng", - "uid": "97933b25-f871-cb19-0fc6-64b0ffc2c49b", - "default": "English", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "language", - "parameter": true, - "order": 1, - "description": "Latino.TextMining.Language" - } - }, - { - "pk": 27, - "model": "workflows.abstractoption", - "fields": { - "uid": "d31cca41-7ee0-6eb6-a3bb-cccbbf4490ca", - "abstract_input": 80, - "value": "Bulgarian", - "name": "Bulgarian" - } - }, - { - "pk": 28, - "model": "workflows.abstractoption", - "fields": { - "uid": "18ddfc3a-1255-b6ea-01fc-7c5742401cfa", - "abstract_input": 80, - "value": "Czech", - "name": "Czech" - } - }, - { - "pk": 29, - "model": "workflows.abstractoption", - "fields": { - "uid": "0e4a2ccf-0fd4-69e3-e630-d60d8b8f658e", - "abstract_input": 80, - "value": "English", - "name": "English" - } - }, - { - "pk": 30, - "model": "workflows.abstractoption", - "fields": { - "uid": "7a3e3672-48fb-5929-bc0a-d58253ea5a4b", - "abstract_input": 80, - "value": "Estonian", - "name": "Estonian" - } - }, - { - "pk": 31, - "model": "workflows.abstractoption", - "fields": { - "uid": "9b381bf5-3eab-bcdc-3ce4-491f99291ac9", - "abstract_input": 80, - "value": "French", - "name": "French" - } - }, - { - "pk": 32, - "model": "workflows.abstractoption", - "fields": { - "uid": "46c55bf1-aea8-bc38-2c32-f8ce64bdb3c4", - "abstract_input": 80, - "value": "German", - "name": "German" - } - }, - { - "pk": 33, - "model": "workflows.abstractoption", - "fields": { - "uid": "fc7c31e4-95d8-2801-efee-b4157d29f3f2", - "abstract_input": 80, - "value": "Hungarian", - "name": "Hungarian" - } - }, - { - "pk": 34, - "model": "workflows.abstractoption", - "fields": { - "uid": "3364645a-3a08-6dd5-8a1f-64e3c33a0685", - "abstract_input": 80, - "value": "Italian", - "name": "Italian" - } - }, - { - "pk": 35, - "model": "workflows.abstractoption", - "fields": { - "uid": "e7a9adf6-d6b2-5999-6cd8-2d894a7c31b4", - "abstract_input": 80, - "value": "Romanian", - "name": "Romanian" - } - }, - { - "pk": 36, - "model": "workflows.abstractoption", - "fields": { - "uid": "1c164e45-6ac6-c26b-1147-da7a53412c3d", - "abstract_input": 80, - "value": "Serbian", - "name": "Serbian" - } - }, - { - "pk": 37, - "model": "workflows.abstractoption", - "fields": { - "uid": "705cc251-de0f-8b0b-36e7-2a34a01f7c63", - "abstract_input": 80, - "value": "Slovene", - "name": "Slovene" - } - }, - { - "pk": 38, - "model": "workflows.abstractoption", - "fields": { - "uid": "4a2fbfde-ad2c-721d-c563-8f7aa4860d6d", - "abstract_input": 80, - "value": "Spanish", - "name": "Spanish" - } - }, - { - "pk": 32, - "model": "workflows.abstractoutput", - "fields": { - "widget": 31, - "name": "Lemmatizer (Tagger)", - "short_name": "tgr", - "variable": "tagger", - "uid": "7e9e5cb0-cc51-7ffb-d85c-f78309363f49", - "order": 1, - "description": "" - } - }, - { - "pk": 32, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Stem Tagger Snowball", - "is_streaming": false, - "uid": "bfd10a14-60ea-424d-bc54-eb34173fe7df", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stem_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_snowball_stemmer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function ConstructSnowballStemmer in package latino. The original function signature: ConstructSnowballStemmer." - } - }, - { - "pk": 81, - "model": "workflows.abstractinput", - "fields": { - "widget": 32, - "name": "Language", - "short_name": "lng", - "uid": "38622b5c-1d5f-4e61-ea6e-8dbdfe8768ee", - "default": "English", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "language", - "parameter": true, - "order": 1, - "description": "Latino.TextMining.Language" - } - }, - { - "pk": 39, - "model": "workflows.abstractoption", - "fields": { - "uid": "2a6956b4-d25c-c5cf-9680-37f358c44443", - "abstract_input": 81, - "value": "Danish", - "name": "Danish" - } - }, - { - "pk": 40, - "model": "workflows.abstractoption", - "fields": { - "uid": "44bf6b31-0384-c6f4-a32a-ea0f63dc7a64", - "abstract_input": 81, - "value": "Dutch", - "name": "Dutch" - } - }, - { - "pk": 41, - "model": "workflows.abstractoption", - "fields": { - "uid": "15d69a6e-35a2-e99a-339d-916620898d3e", - "abstract_input": 81, - "value": "English", - "name": "English" - } - }, - { - "pk": 42, - "model": "workflows.abstractoption", - "fields": { - "uid": "717fae43-e56c-75e8-873e-7d39ab06cb4b", - "abstract_input": 81, - "value": "Finnish", - "name": "Finnish" - } - }, - { - "pk": 43, - "model": "workflows.abstractoption", - "fields": { - "uid": "89bc5e03-96fe-4419-8d35-9dde624bdc01", - "abstract_input": 81, - "value": "French", - "name": "French" - } - }, - { - "pk": 44, - "model": "workflows.abstractoption", - "fields": { - "uid": "9c008d61-1052-d597-2ec3-f450a9db3ad9", - "abstract_input": 81, - "value": "German", - "name": "German" - } - }, - { - "pk": 45, - "model": "workflows.abstractoption", - "fields": { - "uid": "52cd8332-9770-2775-e1b2-c927225c3cdb", - "abstract_input": 81, - "value": "Italian", - "name": "Italian" - } - }, - { - "pk": 46, - "model": "workflows.abstractoption", - "fields": { - "uid": "7907ce4b-9e29-c093-35c1-442545a5d555", - "abstract_input": 81, - "value": "Norwegian", - "name": "Norwegian" - } - }, - { - "pk": 47, - "model": "workflows.abstractoption", - "fields": { - "uid": "8a771e14-51c7-ff9a-6d1b-f6b12af42e0f", - "abstract_input": 81, - "value": "Portuguese", - "name": "Portuguese" - } - }, - { - "pk": 48, - "model": "workflows.abstractoption", - "fields": { - "uid": "d8d8ac95-caf7-f385-9fe1-80965496dec5", - "abstract_input": 81, - "value": "Russian", - "name": "Russian" - } - }, - { - "pk": 49, - "model": "workflows.abstractoption", - "fields": { - "uid": "1c32684a-8c3c-6478-1ec0-9a9758a8357c", - "abstract_input": 81, - "value": "Spanish", - "name": "Spanish" - } - }, - { - "pk": 50, - "model": "workflows.abstractoption", - "fields": { - "uid": "80d2656e-901f-7116-7e4d-41a0ee672536", - "abstract_input": 81, - "value": "Swedish", - "name": "Swedish" - } - }, - { - "pk": 33, - "model": "workflows.abstractoutput", - "fields": { - "widget": 32, - "name": "Stemmer (Tagger)", - "short_name": "tgr", - "variable": "tagger", - "uid": "19aaae25-ca47-25d1-c801-a4e72d012841", - "order": 1, - "description": "" - } - }, - { - "pk": 33, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Stopwords Tagger", - "is_streaming": false, - "uid": "e019026d-f751-430f-85c5-bdc983adc194", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stop_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_stop_words_tagger", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 7, - "description": "Automatically generated widget from function ConstructStopWordsTagger in package latino. The original function signature: ConstructStopWordsTagger." - } - }, - { - "pk": 82, - "model": "workflows.abstractinput", - "fields": { - "widget": 33, - "name": "Stopwords", - "short_name": "str", - "uid": "e48be590-bbd9-0604-2542-a58ac6d43eac", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "stopWords", - "parameter": false, - "order": 1, - "description": "List of stopwords - either as list or in a single string (one stopword per line)" - } - }, - { - "pk": 83, - "model": "workflows.abstractinput", - "fields": { - "widget": 33, - "name": "Ignore Case", - "short_name": "bol", - "uid": "05ce0842-1fbf-a438-deac-3b84f792d62f", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "ignoreCase", - "parameter": true, - "order": 2, - "description": "If true than words are marked stopword regardless of their casing." - } - }, - { - "pk": 34, - "model": "workflows.abstractoutput", - "fields": { - "widget": 33, - "name": "StopWords Tagger", - "short_name": "tgr", - "variable": "tagger", - "uid": "d49a2af5-3c00-19a3-acf5-4e19ad314452", - "order": 1, - "description": "" - } - }, - { - "pk": 34, - "model": "workflows.abstractwidget", - "fields": { - "category": 7, - "treeview_image": null, - "name": "Condition Tagger", - "is_streaming": false, - "uid": "9de84740-c4dc-464f-9388-fd736598829c", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_condition_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_condition_tagger", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructConditionTagger in package latino. The original function signature: ConstructConditionTagger." - } - }, - { - "pk": 84, - "model": "workflows.abstractinput", - "fields": { - "widget": 34, - "name": "Feature Condition", - "short_name": "str", - "uid": "93ce61ae-f7af-ee3a-26d0-1b0af81bcc03", - "default": "", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "featureCondition", - "parameter": true, - "order": 1, - "description": "Condition which tokens to include based on their features.\nFormat examples:\n-Feature1 (don't include tokens with Feature1 set ta any value)\n-Feature1=Value1 (don't include tokens with Feature1 set to the value Value1)\n-Feature1 +Feature2 (don't include tokens with Feature1 set unless it has also Feature2 set)\n-Feature1=Value1 +Feature2 (don't include tokens with Feature1 set to Value1 unless it has also Feature2 set to any value)..." - } - }, - { - "pk": 85, - "model": "workflows.abstractinput", - "fields": { - "widget": 34, - "name": "output Feature Value", - "short_name": "str", - "uid": "96c4c439-c645-d2b4-cd7d-8524f3c3b2bf", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeatureValue", - "parameter": true, - "order": 2, - "description": "System.String" - } - }, - { - "pk": 86, - "model": "workflows.abstractinput", - "fields": { - "widget": 34, - "name": "Put token/feature text as the output feature value", - "short_name": "bol", - "uid": "b2e17caf-f2d7-b587-b76e-83bdf12109ae", - "default": "", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "elementsTextToFeatureValue", - "parameter": true, - "order": 3, - "description": "If set to true than token or token's feature text is asigned as output feature value" - } - }, - { - "pk": 35, - "model": "workflows.abstractoutput", - "fields": { - "widget": 34, - "name": "Tagger", - "short_name": "tgr", - "variable": "tagger", - "uid": "f1d9b4f2-62a1-add4-3f66-cb599081a33c", - "order": 1, - "description": "" - } - }, - { - "pk": 35, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Stem/Lemma Tagger Hub", - "is_streaming": false, - "uid": "3f8d1230-4aa3-4d0a-b1b7-440b4be85617", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stem_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tag_adcstem_lemma", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Taggs the given annotated document corpus with the given tagger." - } - }, - { - "pk": 87, - "model": "workflows.abstractinput", - "fields": { - "widget": 35, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "39f94180-1a05-b54c-a2ed-aca515adfdf5", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 88, - "model": "workflows.abstractinput", - "fields": { - "widget": 35, - "name": "Token Tagger", - "short_name": "tgr", - "uid": "4b53bed0-7e83-30a8-6bc7-00c61010082a", - "default": "Output feature name specifies how the token will be tagged (assigend the feature to)\nIf multiple taggers are used then one line per tagger must be specified.", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tagger", - "parameter": false, - "order": 2, - "description": "Token Annotation of the token to be tagged. If also the feature name is used than the feature value of selected token will be tagged.\nUsage: \n1. TokenName\n2. TokenName/FeatureName\nIf multiple taggers are used then one line per tagger must be specified." - } - }, - { - "pk": 89, - "model": "workflows.abstractinput", - "fields": { - "widget": 35, - "name": "Token Annotation", - "short_name": "str", - "uid": "568a8c0e-5e96-3315-ba84-4a1c2158050c", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "elementAnnotation", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 90, - "model": "workflows.abstractinput", - "fields": { - "widget": 35, - "name": "Output Feature Name", - "short_name": "str", - "uid": "ce347962-18cf-ca95-cd26-37e29fef1fd8", - "default": "stem", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeature", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 36, - "model": "workflows.abstractoutput", - "fields": { - "widget": 35, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "a54b5f27-df00-1cd7-3318-9e90d518d876", - "order": 1, - "description": "" - } - }, - { - "pk": 36, - "model": "workflows.abstractwidget", - "fields": { - "category": 6, - "treeview_image": null, - "name": "Stopword Tagger Hub", - "is_streaming": false, - "uid": "6176ee13-e03c-46ee-92b4-8ba06574f9d3", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stop_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tag_adcstopwords", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 8, - "description": "Automatically generated widget from function TagADCStopwords in package latino. The original function signature: TagADCStopwords." - } - }, - { - "pk": 91, - "model": "workflows.abstractinput", - "fields": { - "widget": 36, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "506918e6-a155-19db-a92d-a49020cb739e", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 92, - "model": "workflows.abstractinput", - "fields": { - "widget": 36, - "name": "Token Tagger", - "short_name": "tgr", - "uid": "ab4aca52-bba4-ce58-fdb2-5f8e12117236", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tagger", - "parameter": false, - "order": 2, - "description": "System.Object" - } - }, - { - "pk": 93, - "model": "workflows.abstractinput", - "fields": { - "widget": 36, - "name": "Token Annotation", - "short_name": "str", - "uid": "cc2ca8d9-f024-0b55-8876-dbd2f604dc1b", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "elementAnnotation", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 94, - "model": "workflows.abstractinput", - "fields": { - "widget": 36, - "name": "Output Feature Name", - "short_name": "str", - "uid": "4059e050-41d9-28bf-312b-245be978eb90", - "default": "stopword", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeature", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 37, - "model": "workflows.abstractoutput", - "fields": { - "widget": 36, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "3a8fcb8a-bf7e-38d1-1f9c-dd0f8ad2fd35", - "order": 1, - "description": "" - } - }, - { - "pk": 37, - "model": "workflows.abstractwidget", - "fields": { - "category": 7, - "treeview_image": null, - "name": "Universal Multiple Tagger Hub", - "is_streaming": false, - "uid": "5bb5799b-00d3-449a-b79a-42e31a36ec8c", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_multiple_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tag_adcmultiple", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function TagADCMultiple in package latino. The original function signature: TagADCMultiple." - } - }, - { - "pk": 95, - "model": "workflows.abstractinput", - "fields": { - "widget": 37, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "da1abf2d-4055-a35e-be5f-51113e7af728", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 96, - "model": "workflows.abstractinput", - "fields": { - "widget": 37, - "name": "Token Tagger", - "short_name": "tgr", - "uid": "07a9308b-9a84-28db-7d6d-d7ba80587882", - "default": "", - "required": true, - "multi": true, - "parameter_type": null, - "variable": "tagger", - "parameter": false, - "order": 2, - "description": "System.Object" - } - }, - { - "pk": 97, - "model": "workflows.abstractinput", - "fields": { - "widget": 37, - "name": "Token Annotation [ / Feature Name ] (one line per each tagger)", - "short_name": "str", - "uid": "8081e46e-e87f-d112-5008-c99825c5ff12", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "elementAnnotation", - "parameter": true, - "order": 3, - "description": "Token Annotation of the token to be tagged. If also the feature name is used than the feature value of selected token will be tagged.\nUsage: \n1. TokenName\n2. TokenName/FatureName\nIf multiple taggers are used then one line per tagger must be specified." - } - }, - { - "pk": 98, - "model": "workflows.abstractinput", - "fields": { - "widget": 37, - "name": "Output Feature Name (one line per each tagger)", - "short_name": "str", - "uid": "6e0f0289-cd76-2935-5153-a581b0bc8f89", - "default": "tag", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "outputFeature", - "parameter": true, - "order": 4, - "description": "Output feature name specifies how the token will be tagged (assigend the feature to)\nIf multiple taggers are used then one line per tagger must be specified." - } - }, - { - "pk": 38, - "model": "workflows.abstractoutput", - "fields": { - "widget": 37, - "name": "Annotated Document Corpus", - "short_name": "adc", - "variable": "adc", - "uid": "d53da19f-9902-08f8-a857-a2b553cb17d7", - "order": 1, - "description": "" - } - }, - { - "pk": 38, - "model": "workflows.abstractwidget", - "fields": { - "category": 7, - "treeview_image": null, - "name": "Stem/Lemma Tagger Hub (Text)", - "is_streaming": false, - "uid": "f2be2fc3-5a17-47c1-9353-3cfc454bfe59", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stem_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tag_string_stem_lemma", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function TagStringStemLemma in package latino. The original function signature: TagStringStemLemma." - } - }, - { - "pk": 99, - "model": "workflows.abstractinput", - "fields": { - "widget": 38, - "name": "Text", - "short_name": "str", - "uid": "24f1fd60-dd51-d6cb-4855-d1e4b9dc780c", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "text", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 100, - "model": "workflows.abstractinput", - "fields": { - "widget": 38, - "name": "Token Tagger", - "short_name": "tgr", - "uid": "c7161458-dd14-d64c-55b2-aeea24aa08b2", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tagger", - "parameter": false, - "order": 2, - "description": "System.Object" - } - }, - { - "pk": 101, - "model": "workflows.abstractinput", - "fields": { - "widget": 38, - "name": "Output Feature Name", - "short_name": "str", - "uid": "c8240d9c-bddf-fb62-f7b6-666f8dba9895", - "default": "stem", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeature", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 39, - "model": "workflows.abstractoutput", - "fields": { - "widget": 38, - "name": "String", - "short_name": "str", - "variable": "string", - "uid": "2430a1d2-25a4-c887-cb71-3df05bd2696f", - "order": 1, - "description": "string or array of strings (based on the input)" - } - }, - { - "pk": 39, - "model": "workflows.abstractwidget", - "fields": { - "category": 7, - "treeview_image": null, - "name": "Stopword Tagger Hub (Text)", - "is_streaming": false, - "uid": "b1282be2-08f1-441e-9276-a05c0e6ab3ba", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "tag_stop_do_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_tag_string_stopwords", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function TagStringStopwords in package latino. The original function signature: TagStringStopwords." - } - }, - { - "pk": 102, - "model": "workflows.abstractinput", - "fields": { - "widget": 39, - "name": "Text", - "short_name": "str", - "uid": "45d86c20-4d28-d6f5-0eb7-aaf9b3aaff54", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "text", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 103, - "model": "workflows.abstractinput", - "fields": { - "widget": 39, - "name": "Token Tagger", - "short_name": "tgr", - "uid": "04643077-85b4-3f70-c52c-04515ab8c662", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tagger", - "parameter": false, - "order": 2, - "description": "string or array of strings" - } - }, - { - "pk": 104, - "model": "workflows.abstractinput", - "fields": { - "widget": 39, - "name": "Output Feature Name", - "short_name": "str", - "uid": "362bc947-acec-8ccd-8cc9-2545d8a672db", - "default": "stopword", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "outputFeature", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 40, - "model": "workflows.abstractoutput", - "fields": { - "widget": 39, - "name": "String", - "short_name": "str", - "variable": "string", - "uid": "a123a330-58a9-5fd4-a3ae-9f231da3e5ad", - "order": 1, - "description": "string or array of strings (based on the input)" - } - }, - { - "pk": 40, - "model": "workflows.abstractwidget", - "fields": { - "category": 9, - "treeview_image": null, - "name": "BOW Space (Text)", - "is_streaming": false, - "uid": "471eb047-8d39-4eac-8cc1-6c768c42d897", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "bow_space_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_bow_space", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructBowSpace in package latino. The original function signature: ConstructBowSpace." - } - }, - { - "pk": 105, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Textual Documents (Array of strings)", - "short_name": "str", - "uid": "e6029afb-4598-b3fb-d0a1-2cfd5ea0178b", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "documents", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 106, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Tokenizer", - "short_name": "tkn", - "uid": "df8d5b1f-200e-86dd-76ea-cdc3a65e2b02", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "tokenizer", - "parameter": false, - "order": 2, - "description": "Latino.TextMining.ITokenizer" - } - }, - { - "pk": 107, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Stemmer or Lemmatizer (Tagger)", - "short_name": "tgr", - "uid": "4cfdfa8f-e335-791d-72f0-f4f51666450d", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "stemmer", - "parameter": false, - "order": 3, - "description": "Latino.TextMining.IStemmer" - } - }, - { - "pk": 108, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Stopwords (Array of Stopwords)", - "short_name": "str", - "uid": "b183ddfb-9854-a13d-58e5-4943bb461192", - "default": "", - "required": false, - "multi": false, - "parameter_type": "textarea", - "variable": "stopwords", - "parameter": false, - "order": 4, - "description": "System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 109, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Maximum N-Gram Length", - "short_name": "int", - "uid": "9f7a8787-5d03-122a-97a3-540ef7e2ce9d", - "default": "2", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "maxNGramLen", - "parameter": true, - "order": 5, - "description": "System.Int32" - } - }, - { - "pk": 110, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Minimum Word Freqency", - "short_name": "dbl", - "uid": "10e4ef28-62b4-c59e-2f6c-7188bfac4a17", - "default": "5", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "minWordFreq", - "parameter": true, - "order": 6, - "description": "System.Int32" - } - }, - { - "pk": 111, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Word Weighting Type", - "short_name": "wwt", - "uid": "76121091-e83a-ec17-bdf2-cd239e7c8b5d", - "default": "TfIdf", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "wordWeightType", - "parameter": true, - "order": 7, - "description": "Latino.TextMining.WordWeightType" - } - }, - { - "pk": 51, - "model": "workflows.abstractoption", - "fields": { - "uid": "25f63cf8-7cdf-fae2-f661-c69cfb7ec932", - "abstract_input": 111, - "value": "TermFreq", - "name": "Term Freq" - } - }, - { - "pk": 52, - "model": "workflows.abstractoption", - "fields": { - "uid": "699fb42d-3593-80ad-0116-b4401750e866", - "abstract_input": 111, - "value": "TfIdf", - "name": "Tf Idf" - } - }, - { - "pk": 53, - "model": "workflows.abstractoption", - "fields": { - "uid": "6e6fc78e-809b-3f9a-39ec-ae31d1db030f", - "abstract_input": 111, - "value": "LogDfTfIdf", - "name": "Log Df Tf Idf" - } - }, - { - "pk": 54, - "model": "workflows.abstractoption", - "fields": { - "uid": "718c39f4-26d5-b154-0b62-e1a5247f22ca", - "abstract_input": 111, - "value": "Dyakonov", - "name": "Dyakonov" - } - }, - { - "pk": 112, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Cut Low Weights Percentage", - "short_name": "dbl", - "uid": "0160cac5-a82c-a2ea-d8ec-66e3a76b2a02", - "default": "0.2", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "cutLowWeightsPerc", - "parameter": true, - "order": 8, - "description": "System.Double" - } - }, - { - "pk": 113, - "model": "workflows.abstractinput", - "fields": { - "widget": 40, - "name": "Normalize Vectors", - "short_name": "bol", - "uid": "58e02ee9-6308-6ad8-49aa-dce004c8175f", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "normalizeVectors", - "parameter": true, - "order": 9, - "description": "System.Boolean" - } - }, - { - "pk": 41, - "model": "workflows.abstractoutput", - "fields": { - "widget": 40, - "name": "Bag of Words Space", - "short_name": "bow", - "variable": "bow", - "uid": "6353aa61-77fd-189f-a260-14a8a4195839", - "order": 1, - "description": "" - } - }, - { - "pk": 42, - "model": "workflows.abstractoutput", - "fields": { - "widget": 40, - "name": "Dataset", - "short_name": "ds", - "variable": "ds", - "uid": "03e3ee38-d0a6-a503-1bf1-67dc3b950de4", - "order": 2, - "description": "" - } - }, - { - "pk": 41, - "model": "workflows.abstractwidget", - "fields": { - "category": 8, - "treeview_image": null, - "name": "BOW Space", - "is_streaming": false, - "uid": "070a465b-ea02-4238-b16c-9df74fbcbba8", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "bow_space_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_bow_space", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructBowSpace in package latino. The original function signature: ConstructBowSpace." - } - }, - { - "pk": 114, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "0abb5f7e-8690-60c4-b5c7-85c1d1731d8e", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "adc", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 115, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Token Annotation", - "short_name": "str", - "uid": "03cb77fe-4b71-3f3b-b52c-7ce359cd671a", - "default": "Token", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "tokenId", - "parameter": true, - "order": 2, - "description": "System.String" - } - }, - { - "pk": 116, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Stem Feature Name", - "short_name": "str", - "uid": "e22eb888-c070-e863-0abf-c8b448917d5f", - "default": "stem", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "stemId", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 117, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Stopword Feature Name", - "short_name": "str", - "uid": "7f18f58a-52b5-2422-9e66-d48cea082d82", - "default": "stopword", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "stopwordId", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 118, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Label Document Feature Name", - "short_name": "str", - "uid": "4eae4c2d-4cb3-f204-6de5-4864b2e45224", - "default": "label", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "labelId", - "parameter": true, - "order": 5, - "description": "System.String" - } - }, - { - "pk": 119, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Maximum N-Gram Length", - "short_name": "int", - "uid": "04f5a54b-df46-1b8f-fd33-2ef08e95a170", - "default": "2", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "maxNGramLen", - "parameter": true, - "order": 6, - "description": "System.Int32" - } - }, - { - "pk": 120, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Minimum Word Freqency", - "short_name": "dbl", - "uid": "0ee9ea90-c79d-60a6-acdb-550f3e83fc9f", - "default": "5", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "minWordFreq", - "parameter": true, - "order": 7, - "description": "System.Int32" - } - }, - { - "pk": 121, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Word Weighting Type", - "short_name": "wwt", - "uid": "2d8b45c0-58db-00a7-3bce-d11bfb35cbe8", - "default": "TfIdf", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "wordWeightType", - "parameter": true, - "order": 8, - "description": "Latino.TextMining.WordWeightType" - } - }, - { - "pk": 55, - "model": "workflows.abstractoption", - "fields": { - "uid": "354d457d-d086-66e5-6392-b9adf0dc74ed", - "abstract_input": 121, - "value": "TermFreq", - "name": "Term Freq" - } - }, - { - "pk": 56, - "model": "workflows.abstractoption", - "fields": { - "uid": "3448d5ae-e75e-b126-29ac-4085bd1a10cf", - "abstract_input": 121, - "value": "TfIdf", - "name": "Tf Idf" - } - }, - { - "pk": 57, - "model": "workflows.abstractoption", - "fields": { - "uid": "e707140f-980f-f092-75cc-811878137320", - "abstract_input": 121, - "value": "LogDfTfIdf", - "name": "Log Df Tf Idf" - } - }, - { - "pk": 58, - "model": "workflows.abstractoption", - "fields": { - "uid": "3d220d77-3233-6508-4420-1999a16f86ee", - "abstract_input": 121, - "value": "Dyakonov", - "name": "Dyakonov" - } - }, - { - "pk": 122, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Cut Low Weights Percentage", - "short_name": "dbl", - "uid": "d7f036e9-9634-d94d-a489-656760b8776d", - "default": "0.2", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "cutLowWeightsPerc", - "parameter": true, - "order": 9, - "description": "System.Double" - } - }, - { - "pk": 123, - "model": "workflows.abstractinput", - "fields": { - "widget": 41, - "name": "Normalize Vectors", - "short_name": "bol", - "uid": "e2ca4b98-3636-ff76-3e61-b25daed57739", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "normalizeVectors", - "parameter": true, - "order": 10, - "description": "System.Boolean" - } - }, - { - "pk": 43, - "model": "workflows.abstractoutput", - "fields": { - "widget": 41, - "name": "Bag of Words Space", - "short_name": "bow", - "variable": "bow", - "uid": "f86ef891-0d04-495a-322c-062767248dd6", - "order": 1, - "description": "" - } - }, - { - "pk": 44, - "model": "workflows.abstractoutput", - "fields": { - "widget": 41, - "name": "Dataset", - "short_name": "ds", - "variable": "ds", - "uid": "4b0b8791-ab58-61a2-580d-820e9d700367", - "order": 2, - "description": "" - } - }, - { - "pk": 42, - "model": "workflows.abstractwidget", - "fields": { - "category": 8, - "treeview_image": null, - "name": "Get Vocabulary", - "is_streaming": false, - "uid": "427e4a62-54dc-4eff-ba86-e0758f5792f1", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "get_vocabulary_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_get_vocabulary", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function GetVocabulary in package latino. The original function signature: GetVocabulary." - } - }, - { - "pk": 124, - "model": "workflows.abstractinput", - "fields": { - "widget": 42, - "name": "Bag of Words Space", - "short_name": "bow", - "uid": "42ef0943-14de-5f26-7563-a94b0a683355", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "bow", - "parameter": false, - "order": 1, - "description": "Latino.TextMining.BowSpace" - } - }, - { - "pk": 125, - "model": "workflows.abstractinput", - "fields": { - "widget": 42, - "name": "Index of First Retrieved Word", - "short_name": "int", - "uid": "b565efc9-bf78-a2da-b0bf-0c8c93ae0212", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "startIndex", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 126, - "model": "workflows.abstractinput", - "fields": { - "widget": 42, - "name": "Maximum Words Retrieved", - "short_name": "int", - "uid": "acdd5fac-b3e3-ad60-59b2-34861952383b", - "default": "500", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "maxWords", - "parameter": true, - "order": 3, - "description": "System.Int32" - } - }, - { - "pk": 45, - "model": "workflows.abstractoutput", - "fields": { - "widget": 42, - "name": "Vocabulary Table", - "short_name": "tbl", - "variable": "vocabulary", - "uid": "ca939886-de45-32e4-6aa3-253a89fd3857", - "order": 1, - "description": "" - } - }, - { - "pk": 43, - "model": "workflows.abstractwidget", - "fields": { - "category": 8, - "treeview_image": null, - "name": "Process New Documents", - "is_streaming": false, - "uid": "7dfc02d9-3396-4387-abd4-95e48cf4576a", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "process_new_adc_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_process_new_documents_from_adc", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ProcessNewDocumentsFromADC in package latino. The original function signature: ProcessNewDocumentsFromADC." - } - }, - { - "pk": 127, - "model": "workflows.abstractinput", - "fields": { - "widget": 43, - "name": "Bag of Words Space", - "short_name": "bow", - "uid": "929065a7-9eda-4166-a21d-42a01cf45876", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "bow", - "parameter": false, - "order": 1, - "description": "Latino.TextMining.BowSpace" - } - }, - { - "pk": 128, - "model": "workflows.abstractinput", - "fields": { - "widget": 43, - "name": "Annotated Document Corpus", - "short_name": "adc", - "uid": "a909e63a-7921-2be9-8553-7ead130aa4d7", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "adc", - "parameter": false, - "order": 2, - "description": "LatinoCloudFlows.DocumentCorpus" - } - }, - { - "pk": 46, - "model": "workflows.abstractoutput", - "fields": { - "widget": 43, - "name": "Dataset", - "short_name": "ds", - "variable": "ds", - "uid": "a1ff8aad-6c91-ad5e-e208-3b08e321c7ab", - "order": 1, - "description": "" - } - }, - { - "pk": 44, - "model": "workflows.abstractwidget", - "fields": { - "category": 9, - "treeview_image": null, - "name": "Process New Documents (Text)", - "is_streaming": false, - "uid": "f9e2ef30-ec02-49af-8616-94d4cb13404c", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "process_new_txt_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_process_new_documents_from_string", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function ProcessNewDocumentsFromString in package latino. The original function signature: ProcessNewDocumentsFromString." - } - }, - { - "pk": 129, - "model": "workflows.abstractinput", - "fields": { - "widget": 44, - "name": "Bag of Words Space", - "short_name": "bow", - "uid": "ca27a6d1-192b-6bee-d8e9-fc3a8376dcb3", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "bow", - "parameter": false, - "order": 1, - "description": "Latino.TextMining.BowSpace" - } - }, - { - "pk": 130, - "model": "workflows.abstractinput", - "fields": { - "widget": 44, - "name": "Documents = (Nested) List of Strings", - "short_name": "lst", - "uid": "e953a3ff-187c-ed0d-06af-481ea0db2b76", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "lst", - "parameter": false, - "order": 2, - "description": "System.Object" - } - }, - { - "pk": 47, - "model": "workflows.abstractoutput", - "fields": { - "widget": 44, - "name": "Dataset", - "short_name": "ds", - "variable": "ds", - "uid": "78dc5be9-fc09-b07b-8800-3dbfe4e6674c", - "order": 1, - "description": "" - } - }, - { - "pk": 45, - "model": "workflows.abstractwidget", - "fields": { - "category": 10, - "treeview_image": null, - "name": "Add Labels", - "is_streaming": false, - "uid": "d8d62fa4-1432-47f5-9dcf-35dbfb7123a0", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "dataset_add_labels_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_add_labels_to_document_vectors", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function AddLabelsToDocumentVectors in package latino. The original function signature: AddLabelsToDocumentVectors." - } - }, - { - "pk": 131, - "model": "workflows.abstractinput", - "fields": { - "widget": 45, - "name": "Dataset", - "short_name": "ds", - "uid": "a1c9bdca-053d-bbff-e9d4-81d90b897185", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 1, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 132, - "model": "workflows.abstractinput", - "fields": { - "widget": 45, - "name": "Labeles (Array of Strings)", - "short_name": "str", - "uid": "3045f3db-9ed9-5240-b2e9-4dab7d56fea0", - "default": "", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "labels", - "parameter": false, - "order": 2, - "description": "System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 48, - "model": "workflows.abstractoutput", - "fields": { - "widget": 45, - "name": "Dataset", - "short_name": "ds", - "variable": "ds", - "uid": "8e481127-8895-cd48-0c21-17caf8080ccc", - "order": 1, - "description": "" - } - }, - { - "pk": 46, - "model": "workflows.abstractwidget", - "fields": { - "category": 10, - "treeview_image": null, - "name": "Remove Labels", - "is_streaming": false, - "uid": "f603d9fe-1351-4809-8860-0b32dc6c360b", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "dataset_remove_labels_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_remove_document_vectors_labels", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function RemoveDocumentVectorsLabels in package latino. The original function signature: RemoveDocumentVectorsLabels." - } - }, - { - "pk": 133, - "model": "workflows.abstractinput", - "fields": { - "widget": 46, - "name": "Dataset", - "short_name": "ds", - "uid": "3e183a1e-d762-b3ba-d2a1-2a5c1c908567", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 1, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 49, - "model": "workflows.abstractoutput", - "fields": { - "widget": 46, - "name": "Dataset", - "short_name": "ds", - "variable": "ds", - "uid": "8b55d39b-3c25-299c-5d7a-217e25ada547", - "order": 1, - "description": "" - } - }, - { - "pk": 47, - "model": "workflows.abstractwidget", - "fields": { - "category": 10, - "treeview_image": null, - "name": "Extract Labels", - "is_streaming": false, - "uid": "9dc769b6-6bc8-4c7c-af33-1dd90390ac98", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "dataset_extract_labels_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_extract_dataset_labels", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function ExtractDatasetLabels in package latino. The original function signature: ExtractDatasetLabels." - } - }, - { - "pk": 134, - "model": "workflows.abstractinput", - "fields": { - "widget": 47, - "name": "Dataset", - "short_name": "ds", - "uid": "e9b8094a-fe83-c07e-0193-ce63532e117f", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 1, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 50, - "model": "workflows.abstractoutput", - "fields": { - "widget": 47, - "name": "Labels (Array of Strings)", - "short_name": "str", - "variable": "labels", - "uid": "2c0db5ea-b077-4ba5-cf8e-6ee99999c0ba", - "order": 1, - "description": "" - } - }, - { - "pk": 48, - "model": "workflows.abstractwidget", - "fields": { - "category": 10, - "treeview_image": null, - "name": "Split", - "is_streaming": false, - "uid": "cecbd2b3-864b-4048-8601-0ed5a2bd2be2", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "dataset_split_simple_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_dataset_split_simple", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function DatasetSplitSimple in package latino. The original function signature: DatasetSplitSimple." - } - }, - { - "pk": 135, - "model": "workflows.abstractinput", - "fields": { - "widget": 48, - "name": "Dataset", - "short_name": "ds", - "uid": "f911747a-cd2e-5d02-1858-3a9ac4073a0b", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 1, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 136, - "model": "workflows.abstractinput", - "fields": { - "widget": 48, - "name": "Percentage", - "short_name": "dbl", - "uid": "4b831641-e6c8-e45f-6944-c785c93de20e", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "percentage", - "parameter": true, - "order": 2, - "description": "System.Double" - } - }, - { - "pk": 137, - "model": "workflows.abstractinput", - "fields": { - "widget": 48, - "name": "Random Seed", - "short_name": "int", - "uid": "2226b21b-7e55-07b6-69ba-b66d5173bef9", - "default": "-1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "randomSeed", - "parameter": true, - "order": 3, - "description": "-1 for random (time dependet) random seed" - } - }, - { - "pk": 51, - "model": "workflows.abstractoutput", - "fields": { - "widget": 48, - "name": "Dataset with Extracted Set", - "short_name": "ds", - "variable": "ds1", - "uid": "b8a21241-700e-2ebb-add1-2e4aef240beb", - "order": 1, - "description": "" - } - }, - { - "pk": 52, - "model": "workflows.abstractoutput", - "fields": { - "widget": 48, - "name": "Dataset of Remaining Sets", - "short_name": "ds", - "variable": "ds2", - "uid": "adf873dc-2372-d278-c45d-ee93cc35aa68", - "order": 2, - "description": "" - } - }, - { - "pk": 49, - "model": "workflows.abstractwidget", - "fields": { - "category": 10, - "treeview_image": null, - "name": "Split to Predefined Sets", - "is_streaming": false, - "uid": "ac1d12c6-2166-442f-94dd-3ad9411c210e", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "dataset_split_predef_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_dataset_split_predefined", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function DatasetSplitPredefined in package latino. The original function signature: DatasetSplitPredefined." - } - }, - { - "pk": 138, - "model": "workflows.abstractinput", - "fields": { - "widget": 49, - "name": "Dataset", - "short_name": "ds", - "uid": "3162e392-5481-6022-3b1a-8dd8965a2871", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 1, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 139, - "model": "workflows.abstractinput", - "fields": { - "widget": 49, - "name": "Sets (List with predefined set numbers)", - "short_name": "lst", - "uid": "52c930c3-8b1f-6f55-b5ee-ad516c1e29f8", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "sets", - "parameter": false, - "order": 2, - "description": "System.Int32[]" - } - }, - { - "pk": 140, - "model": "workflows.abstractinput", - "fields": { - "widget": 49, - "name": "SetId", - "short_name": "int", - "uid": "d7455c5e-004f-74a1-b522-8c2a551860d3", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "setId", - "parameter": false, - "order": 3, - "description": "System.Int32" - } - }, - { - "pk": 53, - "model": "workflows.abstractoutput", - "fields": { - "widget": 49, - "name": "Dataset with Extracted Set", - "short_name": "ds", - "variable": "ds1", - "uid": "06c03be5-0b76-40a0-2b40-9c477fe2266b", - "order": 1, - "description": "" - } - }, - { - "pk": 54, - "model": "workflows.abstractoutput", - "fields": { - "widget": 49, - "name": "Dataset of Remaining Sets", - "short_name": "ds", - "variable": "ds2", - "uid": "dcb66a8b-d31a-9ef3-1c72-91e9aa58a440", - "order": 2, - "description": "" - } - }, - { - "pk": 50, - "model": "workflows.abstractwidget", - "fields": { - "category": 11, - "treeview_image": null, - "name": "Calculate Similarity Matrix", - "is_streaming": false, - "uid": "4eab681f-7c8f-44d0-8104-0d76a2ad1ba4", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "calc_sim_matrix_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_calculate_similarity_matrix", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function CalculateSimilarityMatrix in package latino. The original function signature: CalculateSimilarityMatrix." - } - }, - { - "pk": 141, - "model": "workflows.abstractinput", - "fields": { - "widget": 50, - "name": "Dataset", - "short_name": "ds", - "uid": "f587c4db-10ac-db98-2aff-f600d1f4853d", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds1", - "parameter": false, - "order": 1, - "description": "Latino.Model.IUnlabeledExampleCollection`1[[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 142, - "model": "workflows.abstractinput", - "fields": { - "widget": 50, - "name": "Dataset", - "short_name": "ds", - "uid": "de21ede8-46ab-4b3c-91e2-14224bee9098", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds2", - "parameter": false, - "order": 2, - "description": "Latino.Model.IUnlabeledExampleCollection`1[[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 143, - "model": "workflows.abstractinput", - "fields": { - "widget": 50, - "name": "Similarity Threshold", - "short_name": "dbl", - "uid": "69b4f459-2c0a-7b68-4cc0-1affffd7531f", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "thresh", - "parameter": true, - "order": 3, - "description": "System.Double" - } - }, - { - "pk": 144, - "model": "workflows.abstractinput", - "fields": { - "widget": 50, - "name": "Full Matrix (not only Lower Triangular)", - "short_name": "bol", - "uid": "f9775db0-0a33-b226-5f26-db727695324d", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "fullMatrix", - "parameter": true, - "order": 4, - "description": "System.Boolean" - } - }, - { - "pk": 55, - "model": "workflows.abstractoutput", - "fields": { - "widget": 50, - "name": "Similarity Matrix", - "short_name": "smx", - "variable": "smx", - "uid": "5e69186c-823b-3125-bedc-2c0e7412f0a5", - "order": 1, - "description": "" - } - }, - { - "pk": 51, - "model": "workflows.abstractwidget", - "fields": { - "category": 11, - "treeview_image": null, - "name": "Convert Matrix to Table", - "is_streaming": false, - "uid": "c3065bfb-ada5-45d3-833c-d1c527399edb", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "sim_matrix_to_table_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_sparse_matrix_to_table", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function SparseMatrixToTable in package latino. The original function signature: SparseMatrixToTable." - } - }, - { - "pk": 145, - "model": "workflows.abstractinput", - "fields": { - "widget": 51, - "name": "Sparse Matrix", - "short_name": "smx", - "uid": "a6b405ee-579b-ac7f-d5ec-8f095e4fb284", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "smx", - "parameter": false, - "order": 1, - "description": "Latino.SparseMatrix`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 56, - "model": "workflows.abstractoutput", - "fields": { - "widget": 51, - "name": "Matrix Table", - "short_name": "tbl", - "variable": "tbl", - "uid": "53fe424c-f738-5ac4-69b5-7b2124fa82d6", - "order": 1, - "description": "" - } - }, - { - "pk": 52, - "model": "workflows.abstractwidget", - "fields": { - "category": 12, - "treeview_image": null, - "name": "KMeans Clusterer", - "is_streaming": false, - "uid": "21a9a085-4eca-4e2f-b9f6-af721a78f692", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "clusterer_kmeans_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_kmeans_clusterer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructKMeansClusterer in package latino. The original function signature: ConstructKMeansClusterer." - } - }, - { - "pk": 146, - "model": "workflows.abstractinput", - "fields": { - "widget": 52, - "name": "K (Number of Clusteres)", - "short_name": "int", - "uid": "de12d18b-684b-ea51-0bc9-4ff969ea494c", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "k", - "parameter": true, - "order": 1, - "description": "System.Int32" - } - }, - { - "pk": 147, - "model": "workflows.abstractinput", - "fields": { - "widget": 52, - "name": "Centroid Type", - "short_name": "typ", - "uid": "0806279f-9562-89a0-a1d0-cade15c962e8", - "default": "NrmL2", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "centroidType", - "parameter": true, - "order": 2, - "description": "Latino.Model.CentroidType" - } - }, - { - "pk": 59, - "model": "workflows.abstractoption", - "fields": { - "uid": "947c0190-6f41-28ba-9201-f7241cb70c81", - "abstract_input": 147, - "value": "Sum", - "name": "Sum" - } - }, - { - "pk": 60, - "model": "workflows.abstractoption", - "fields": { - "uid": "3beb3f40-ed4d-d744-b7db-8f2f60812c3d", - "abstract_input": 147, - "value": "Avg", - "name": "Avg" - } - }, - { - "pk": 61, - "model": "workflows.abstractoption", - "fields": { - "uid": "0294df92-e048-bb36-eb41-16cdad8fc0b4", - "abstract_input": 147, - "value": "NrmL2", - "name": "Nrm L2" - } - }, - { - "pk": 148, - "model": "workflows.abstractinput", - "fields": { - "widget": 52, - "name": "Similarity Measure", - "short_name": "typ", - "uid": "ef384f86-a53a-0eef-1d95-2b0a0058cf33", - "default": "Cosine", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "similarityModel", - "parameter": true, - "order": 3, - "description": "LatinoCloudFlows.SimilarityModel" - } - }, - { - "pk": 62, - "model": "workflows.abstractoption", - "fields": { - "uid": "515ac573-1c2f-a1eb-c2c7-6ed90cf50612", - "abstract_input": 148, - "value": "Cosine", - "name": "Cosine" - } - }, - { - "pk": 63, - "model": "workflows.abstractoption", - "fields": { - "uid": "bfbf01d8-0c41-646e-da71-3d493788ff04", - "abstract_input": 148, - "value": "DotProduct", - "name": "Dot Product" - } - }, - { - "pk": 149, - "model": "workflows.abstractinput", - "fields": { - "widget": 52, - "name": "Random Seed (-1: Use Always Different)", - "short_name": "int", - "uid": "fdd2526b-8927-0b15-c98e-b9f6a156d23f", - "default": "-1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "randomSeed", - "parameter": true, - "order": 4, - "description": "System.Int32" - } - }, - { - "pk": 150, - "model": "workflows.abstractinput", - "fields": { - "widget": 52, - "name": "Eps", - "short_name": "dbl", - "uid": "6f033ef3-4c89-be34-5ce7-0dba9b9440f9", - "default": "0.0005", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "eps", - "parameter": true, - "order": 5, - "description": "System.Double" - } - }, - { - "pk": 151, - "model": "workflows.abstractinput", - "fields": { - "widget": 52, - "name": "Trials (Num of Initializations)", - "short_name": "int", - "uid": "f51990f9-63d1-e0b6-fd8e-b3d15ac265c3", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "trials", - "parameter": true, - "order": 6, - "description": "System.Int32" - } - }, - { - "pk": 57, - "model": "workflows.abstractoutput", - "fields": { - "widget": 52, - "name": "Clusterer", - "short_name": "cls", - "variable": "clusterer", - "uid": "05ade0db-187f-22de-dee5-a10b9b730718", - "order": 1, - "description": "" - } - }, - { - "pk": 53, - "model": "workflows.abstractwidget", - "fields": { - "category": 12, - "treeview_image": null, - "name": "KMeans Fast Clusterer", - "is_streaming": false, - "uid": "d8fc724a-3025-4d2c-8942-bc0d1e49036e", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "clusterer_kmenas_fast_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_kmeans_fast_clusterer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function ConstructKMeansFastClusterer in package latino. The original function signature: ConstructKMeansFastClusterer." - } - }, - { - "pk": 152, - "model": "workflows.abstractinput", - "fields": { - "widget": 53, - "name": "K (Number of Clusteres)", - "short_name": "int", - "uid": "26e666b5-47c1-db2b-8ae4-97e4d384496a", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "k", - "parameter": true, - "order": 1, - "description": "System.Int32" - } - }, - { - "pk": 153, - "model": "workflows.abstractinput", - "fields": { - "widget": 53, - "name": "Random Seed (-1: Use Always Different)", - "short_name": "int", - "uid": "31ecfb03-fbcf-677a-8580-d4419528df02", - "default": "-1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "randomSeed", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 154, - "model": "workflows.abstractinput", - "fields": { - "widget": 53, - "name": "Eps", - "short_name": "dbl", - "uid": "62781010-c8f7-da9a-50e8-92339f9ac8ec", - "default": "0.0005", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "eps", - "parameter": true, - "order": 3, - "description": "System.Double" - } - }, - { - "pk": 155, - "model": "workflows.abstractinput", - "fields": { - "widget": 53, - "name": "Trials (Num of Initializations)", - "short_name": "int", - "uid": "e7859e72-e2cc-54eb-d4f7-e14133d2a60a", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "trials", - "parameter": true, - "order": 4, - "description": "System.Int32" - } - }, - { - "pk": 58, - "model": "workflows.abstractoutput", - "fields": { - "widget": 53, - "name": "Clusterer", - "short_name": "cls", - "variable": "clusterer", - "uid": "becc5786-2226-c510-fc13-4789747f12af", - "order": 1, - "description": "" - } - }, - { - "pk": 54, - "model": "workflows.abstractwidget", - "fields": { - "category": 12, - "treeview_image": null, - "name": "Hierarchical Bisecting Clusterer", - "is_streaming": false, - "uid": "a096d16d-ed0b-4e24-90be-d8e2fb44cc64", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "clusterer_hierarchial_bisec_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_hierarchical_bisecting_clusterer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ConstructHierarchicalBisectingClusterer in package latino. The original function signature: ConstructHierarchicalBisectingClusterer." - } - }, - { - "pk": 156, - "model": "workflows.abstractinput", - "fields": { - "widget": 54, - "name": "Min Quality", - "short_name": "dbl", - "uid": "c7e679d0-ff8c-afcf-0d8b-011b65f862ed", - "default": "0.2", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "minQuality", - "parameter": true, - "order": 1, - "description": "System.Double" - } - }, - { - "pk": 59, - "model": "workflows.abstractoutput", - "fields": { - "widget": 54, - "name": "Clusterer", - "short_name": "cls", - "variable": "clusterer", - "uid": "e4ddd462-8964-be15-5b4b-e65516c4b925", - "order": 1, - "description": "" - } - }, - { - "pk": 55, - "model": "workflows.abstractwidget", - "fields": { - "category": 12, - "treeview_image": null, - "name": "Clustering Hub", - "is_streaming": false, - "uid": "71f13f6f-37c0-4b42-bbaa-fac6e57cb9aa", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "clustering_hub_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_cluster_document_vectors", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function ClusterDocumentVectors in package latino. The original function signature: ClusterDocumentVectors." - } - }, - { - "pk": 157, - "model": "workflows.abstractinput", - "fields": { - "widget": 55, - "name": "Clusterer", - "short_name": "cls", - "uid": "2b67a699-e1be-2ba8-f3ef-d7aca6aa7999", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "clusterer", - "parameter": false, - "order": 1, - "description": "LatinoCloudFlows.IClusterer" - } - }, - { - "pk": 158, - "model": "workflows.abstractinput", - "fields": { - "widget": 55, - "name": "Dataset", - "short_name": "ds", - "uid": "9d3b1094-54ab-55d2-53e5-56b840e924d1", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "dataset", - "parameter": false, - "order": 2, - "description": "Latino.Model.IUnlabeledExampleCollection`1[[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 60, - "model": "workflows.abstractoutput", - "fields": { - "widget": 55, - "name": "Clustering Results", - "short_name": "cr", - "variable": "clustRes", - "uid": "1c2b8946-b303-5a95-410c-19d069a2be4e", - "order": 1, - "description": "" - } - }, - { - "pk": 56, - "model": "workflows.abstractwidget", - "fields": { - "category": 12, - "treeview_image": null, - "name": "Clustering Results Info", - "is_streaming": false, - "uid": "e48223a3-03b4-4530-8e40-ce725c33e4ea", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "clustering_result_info_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_clustering_results_info", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function ClusteringResultsInfo in package latino. The original function signature: ClusteringResultsInfo." - } - }, - { - "pk": 159, - "model": "workflows.abstractinput", - "fields": { - "widget": 56, - "name": "Clustering Results", - "short_name": "cr", - "uid": "8ad4dfeb-cf27-9013-826d-046edc418b25", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "clustRes", - "parameter": false, - "order": 1, - "description": "Latino.Model.ClusteringResult" - } - }, - { - "pk": 61, - "model": "workflows.abstractoutput", - "fields": { - "widget": 56, - "name": "Document Labels (Array of Clusteres Ids)", - "short_name": "str", - "variable": "docLabels", - "uid": "611c7d9f-a46c-8051-30dc-3c5559411937", - "order": 1, - "description": "" - } - }, - { - "pk": 62, - "model": "workflows.abstractoutput", - "fields": { - "widget": 56, - "name": "Clusters Tree", - "short_name": "obj", - "variable": "clustTree", - "uid": "a5aeaa0f-527d-7706-37c1-e3c75bec5250", - "order": 2, - "description": "" - } - }, - { - "pk": 57, - "model": "workflows.abstractwidget", - "fields": { - "category": 12, - "treeview_image": null, - "name": "View Clusters", - "is_streaming": false, - "uid": "ace23118-d1f5-475d-b0e0-a4c0f9b05d82", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "cluster_viewer_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "show_clusters", - "action": "show_clusters", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 6, - "description": "Automatically generated widget from function ViewClusters_PYTHON in package latino. The original function signature: ViewClusters_PYTHON." - } - }, - { - "pk": 160, - "model": "workflows.abstractinput", - "fields": { - "widget": 57, - "name": "Clustering Results", - "short_name": "cr", - "uid": "8dbe38d0-3b33-3d44-efe6-b21f26c17b5d", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "clustRes", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 58, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Centroid Classifier", - "is_streaming": false, - "uid": "093a5005-0368-4b46-9720-5a9b2b365c2f", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_centroid_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_centroid_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Automatically generated widget from function ConstructCentroidClassifier in package latino. The original function signature: ConstructCentroidClassifier." - } - }, - { - "pk": 161, - "model": "workflows.abstractinput", - "fields": { - "widget": 58, - "name": "Similarity Model", - "short_name": "typ", - "uid": "8c1b49cb-78f8-a7d2-2d8a-8710b5f25a03", - "default": "Cosine", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "similarityModel", - "parameter": true, - "order": 1, - "description": "LatinoCloudFlows.SimilarityModel" - } - }, - { - "pk": 64, - "model": "workflows.abstractoption", - "fields": { - "uid": "8484d913-23ba-43ba-508e-12a012b52f39", - "abstract_input": 161, - "value": "Cosine", - "name": "Cosine" - } - }, - { - "pk": 65, - "model": "workflows.abstractoption", - "fields": { - "uid": "acab5c6c-60e6-81c3-820a-c3158948cf31", - "abstract_input": 161, - "value": "DotProduct", - "name": "Dot Product" - } - }, - { - "pk": 162, - "model": "workflows.abstractinput", - "fields": { - "widget": 58, - "name": "Normalize Centorids", - "short_name": "bol", - "uid": "c3a78c28-2c45-7233-7f40-c424577eb01b", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "normalizeCentorids", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 63, - "model": "workflows.abstractoutput", - "fields": { - "widget": 58, - "name": "Centroid Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "59f16675-9d37-9120-3445-7637121fc316", - "order": 1, - "description": "" - } - }, - { - "pk": 59, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Naive Bayes Classifier", - "is_streaming": false, - "uid": "8cdafccb-d925-4ed1-b90c-726efa2260b5", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_naive_bayes_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_naive_bayes_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Automatically generated widget from function ConstructNaiveBayesClassifier in package latino. The original function signature: ConstructNaiveBayesClassifier." - } - }, - { - "pk": 163, - "model": "workflows.abstractinput", - "fields": { - "widget": 59, - "name": "Normalize", - "short_name": "bol", - "uid": "20a4318d-7bae-6986-5036-ad156a89582b", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "normalize", - "parameter": true, - "order": 1, - "description": "System.Boolean" - } - }, - { - "pk": 164, - "model": "workflows.abstractinput", - "fields": { - "widget": 59, - "name": "Log Sum Exp Trick", - "short_name": "bol", - "uid": "c87a9f5d-59a8-83d9-b0e9-24ed978e0359", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "logSumExpTrick", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 64, - "model": "workflows.abstractoutput", - "fields": { - "widget": 59, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "145e8ccb-3cf5-1edc-a5f1-9373d8045669", - "order": 1, - "description": "" - } - }, - { - "pk": 60, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Svm Binary Classifier", - "is_streaming": false, - "uid": "e101b293-b26d-4484-8f9f-30bda3dfe344", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_svm_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_svm_binary_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 3, - "description": "Automatically generated widget from function ConstructSvmBinaryClassifier in package latino. The original function signature: ConstructSvmBinaryClassifier." - } - }, - { - "pk": 165, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "C", - "short_name": "dbl", - "uid": "ed9be48d-dc9f-5496-b414-1abf8c077652", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "c", - "parameter": true, - "order": 1, - "description": "zero implies default value ([avg. x*x]^-1)" - } - }, - { - "pk": 166, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Biased Hyperplane", - "short_name": "bol", - "uid": "7892b4b0-9f15-4ab2-2ed3-88a37abd987c", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "biasedHyperplane", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 167, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Kernel Type", - "short_name": "typ", - "uid": "f63be5e5-9f93-fbba-c06e-d80de1d65191", - "default": "Linear", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "kernelType", - "parameter": true, - "order": 3, - "description": "Latino.Model.SvmLightKernelType" - } - }, - { - "pk": 66, - "model": "workflows.abstractoption", - "fields": { - "uid": "82b349e8-5939-7427-8680-3b1fff526dc6", - "abstract_input": 167, - "value": "Linear", - "name": "Linear" - } - }, - { - "pk": 67, - "model": "workflows.abstractoption", - "fields": { - "uid": "2abcf4cd-6d46-f77f-532c-68f2d80b63d3", - "abstract_input": 167, - "value": "Polynomial", - "name": "Polynomial" - } - }, - { - "pk": 68, - "model": "workflows.abstractoption", - "fields": { - "uid": "f44c4e6e-7c0d-2af0-5f90-a810bb49beaf", - "abstract_input": 167, - "value": "RadialBasisFunction", - "name": "Radial Basis Function" - } - }, - { - "pk": 69, - "model": "workflows.abstractoption", - "fields": { - "uid": "82d22a12-33de-af87-88c6-ed0eb99c084b", - "abstract_input": 167, - "value": "Sigmoid", - "name": "Sigmoid" - } - }, - { - "pk": 168, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Kernel Parameter Gamma", - "short_name": "dbl", - "uid": "9febc0b2-4792-9a75-d078-06cba1fec00b", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "kernelParamGamma", - "parameter": true, - "order": 4, - "description": "System.Double" - } - }, - { - "pk": 169, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Kernel Parameter D", - "short_name": "dbl", - "uid": "32512a7e-6e2c-76de-94ba-61b70f9c6ac5", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "kernelParamD", - "parameter": true, - "order": 5, - "description": "System.Double" - } - }, - { - "pk": 170, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Kernel Parameter S", - "short_name": "dbl", - "uid": "84a0f438-e258-bb86-0a47-95aab9b37912", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "kernelParamS", - "parameter": true, - "order": 6, - "description": "System.Double" - } - }, - { - "pk": 171, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Kernel Parameter C", - "short_name": "dbl", - "uid": "42583600-9253-fa64-557b-7e435aea5d73", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "kernelParamC", - "parameter": true, - "order": 7, - "description": "System.Double" - } - }, - { - "pk": 172, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Eps", - "short_name": "dbl", - "uid": "f67237da-15fe-930d-4c54-f3da246953ac", - "default": "0.001", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "eps", - "parameter": true, - "order": 8, - "description": "System.Double" - } - }, - { - "pk": 173, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Max Iterations", - "short_name": "int", - "uid": "189b1989-a282-605a-16dc-894a1f4561cf", - "default": "100000", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "maxIter", - "parameter": true, - "order": 9, - "description": "System.Int32" - } - }, - { - "pk": 174, - "model": "workflows.abstractinput", - "fields": { - "widget": 60, - "name": "Custom Parameter String", - "short_name": "str", - "uid": "fdbde52d-2257-24a8-fec4-6b0b8aa0a414", - "default": "", - "required": false, - "multi": false, - "parameter_type": "text", - "variable": "customParams", - "parameter": true, - "order": 10, - "description": "System.String" - } - }, - { - "pk": 65, - "model": "workflows.abstractoutput", - "fields": { - "widget": 60, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "38ac61da-16cd-e318-28f7-bb8ec457bdf2", - "order": 1, - "description": "" - } - }, - { - "pk": 61, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Svm Multiclass Fast Classifier", - "is_streaming": false, - "uid": "48540dc6-233b-4155-ba8a-ab3a6a867361", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_svm_fast_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_svm_multiclass_fast", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 4, - "description": "Automatically generated widget from function ConstructSvmMulticlassFast in package latino. The original function signature: ConstructSvmMulticlassFast." - } - }, - { - "pk": 175, - "model": "workflows.abstractinput", - "fields": { - "widget": 61, - "name": "C", - "short_name": "dbl", - "uid": "aa4af239-bf2b-9396-9382-1d3e62dbba60", - "default": "5000", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "c", - "parameter": true, - "order": 1, - "description": "System.Double" - } - }, - { - "pk": 176, - "model": "workflows.abstractinput", - "fields": { - "widget": 61, - "name": "Eps", - "short_name": "dbl", - "uid": "02ad47bb-6058-37d1-85cb-140ddcfec097", - "default": "0.1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "eps", - "parameter": true, - "order": 2, - "description": "System.Double" - } - }, - { - "pk": 66, - "model": "workflows.abstractoutput", - "fields": { - "widget": 61, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "f7d904f1-2fe0-d6f7-42bf-0ac4837c88ef", - "order": 1, - "description": "" - } - }, - { - "pk": 62, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Majority Classifier", - "is_streaming": false, - "uid": "8020e048-8c7c-4b92-a2b8-d775c273ee45", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_majority_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_majority_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 5, - "description": "Automatically generated widget from function ConstructMajorityClassifier in package latino. The original function signature: ConstructMajorityClassifier." - } - }, - { - "pk": 67, - "model": "workflows.abstractoutput", - "fields": { - "widget": 62, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "75aa6b8b-55eb-bf29-d7b6-b98b0107a55a", - "order": 1, - "description": "" - } - }, - { - "pk": 63, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Maximum Entropy Classifier", - "is_streaming": false, - "uid": "896c5864-5485-416b-8d89-5da2afb7be05", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_max_entropy_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_maximum_entropy_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 6, - "description": "Automatically generated widget from function ConstructMaximumEntropyClassifier in package latino. The original function signature: ConstructMaximumEntropyClassifier." - } - }, - { - "pk": 177, - "model": "workflows.abstractinput", - "fields": { - "widget": 63, - "name": "Move Data", - "short_name": "bol", - "uid": "5388af0b-ce34-92a3-0f7c-514191196514", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "moveData", - "parameter": true, - "order": 1, - "description": "System.Boolean" - } - }, - { - "pk": 178, - "model": "workflows.abstractinput", - "fields": { - "widget": 63, - "name": "Num of Iterations", - "short_name": "int", - "uid": "c31bbe9d-0354-503d-b9b3-807e7844a237", - "default": "100", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "numIter", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 179, - "model": "workflows.abstractinput", - "fields": { - "widget": 63, - "name": "CutOff", - "short_name": "int", - "uid": "8a227607-600a-8909-0216-25ea11d5a839", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "cutOff", - "parameter": true, - "order": 3, - "description": "System.Int32" - } - }, - { - "pk": 180, - "model": "workflows.abstractinput", - "fields": { - "widget": 63, - "name": "Num of Threads", - "short_name": "int", - "uid": "279fff3f-5f66-58f1-5a03-3c51d5648c95", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "numThreads", - "parameter": true, - "order": 4, - "description": "System.Int32" - } - }, - { - "pk": 181, - "model": "workflows.abstractinput", - "fields": { - "widget": 63, - "name": "Normalize", - "short_name": "bol", - "uid": "61c3861b-b61c-01a3-ae0e-62ac34a292f8", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "normalize", - "parameter": true, - "order": 5, - "description": "System.Boolean" - } - }, - { - "pk": 68, - "model": "workflows.abstractoutput", - "fields": { - "widget": 63, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "8bc8651b-875c-04c9-91f4-e8af0c3d45f0", - "order": 1, - "description": "" - } - }, - { - "pk": 64, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Maximum Entropy Fast Classifier", - "is_streaming": false, - "uid": "8ae37e83-fd65-4dbf-b526-c9c21628d5ed", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_max_entropy_fast_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_maximum_entropy_classifier_fast", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 7, - "description": "Automatically generated widget from function ConstructMaximumEntropyClassifierFast in package latino. The original function signature: ConstructMaximumEntropyClassifierFast." - } - }, - { - "pk": 182, - "model": "workflows.abstractinput", - "fields": { - "widget": 64, - "name": "Move Data", - "short_name": "bol", - "uid": "526be33e-ac76-f04e-0b71-15f6ecb82a15", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "moveData", - "parameter": true, - "order": 1, - "description": "System.Boolean" - } - }, - { - "pk": 183, - "model": "workflows.abstractinput", - "fields": { - "widget": 64, - "name": "Num of Iterations", - "short_name": "int", - "uid": "bed915e1-fab9-728b-0d3c-dcb61afa34fd", - "default": "100", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "numIter", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 184, - "model": "workflows.abstractinput", - "fields": { - "widget": 64, - "name": "CutOff", - "short_name": "int", - "uid": "3e2ac4a9-3e2a-d81b-a272-6122dd6e3e2e", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "cutOff", - "parameter": true, - "order": 3, - "description": "System.Int32" - } - }, - { - "pk": 185, - "model": "workflows.abstractinput", - "fields": { - "widget": 64, - "name": "Num of Threads", - "short_name": "int", - "uid": "c3d4d8f6-da2b-8380-3f8f-4891d16163fb", - "default": "1", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "numThreads", - "parameter": true, - "order": 4, - "description": "System.Int32" - } - }, - { - "pk": 186, - "model": "workflows.abstractinput", - "fields": { - "widget": 64, - "name": "Normalize", - "short_name": "bol", - "uid": "d9850b7d-ca56-df40-d886-41f6675bbbf6", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "normalize", - "parameter": true, - "order": 5, - "description": "System.Boolean" - } - }, - { - "pk": 69, - "model": "workflows.abstractoutput", - "fields": { - "widget": 64, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "2e7e8c44-26de-56f1-18d7-4c1ba44ad1b5", - "order": 1, - "description": "" - } - }, - { - "pk": 65, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Knn Classifier", - "is_streaming": false, - "uid": "e2bb591c-f685-4b5e-868e-36f94eeffa46", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_knn_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_knn_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 8, - "description": "Automatically generated widget from function ConstructKnnClassifier in package latino. The original function signature: ConstructKnnClassifier." - } - }, - { - "pk": 187, - "model": "workflows.abstractinput", - "fields": { - "widget": 65, - "name": "Similarity Model", - "short_name": "typ", - "uid": "96168cbb-3359-2286-2754-6d322af7f38c", - "default": "Cosine", - "required": true, - "multi": false, - "parameter_type": "select", - "variable": "similarityModel", - "parameter": true, - "order": 1, - "description": "LatinoCloudFlows.SimilarityModel" - } - }, - { - "pk": 70, - "model": "workflows.abstractoption", - "fields": { - "uid": "1a36620b-a316-77aa-e786-43ae1ddb521f", - "abstract_input": 187, - "value": "Cosine", - "name": "Cosine" - } - }, - { - "pk": 71, - "model": "workflows.abstractoption", - "fields": { - "uid": "03ff898e-93fc-8d55-b69b-1106693a7917", - "abstract_input": 187, - "value": "DotProduct", - "name": "Dot Product" - } - }, - { - "pk": 188, - "model": "workflows.abstractinput", - "fields": { - "widget": 65, - "name": "K (Neighbourhood)", - "short_name": "int", - "uid": "94782d0e-43be-f9b9-bfc5-a00132ff1237", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "k", - "parameter": true, - "order": 2, - "description": "System.Int32" - } - }, - { - "pk": 189, - "model": "workflows.abstractinput", - "fields": { - "widget": 65, - "name": "Soft Voting", - "short_name": "bol", - "uid": "9614283a-4628-4fa5-a62e-7aaee386c143", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "softVoting", - "parameter": true, - "order": 3, - "description": "System.Boolean" - } - }, - { - "pk": 70, - "model": "workflows.abstractoutput", - "fields": { - "widget": 65, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "5d3ae75f-7fc8-ab56-8eab-3a4b1fa0a20c", - "order": 1, - "description": "" - } - }, - { - "pk": 66, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Knn Fast Classifier", - "is_streaming": false, - "uid": "78f39d45-04bd-4b6a-9fd9-bf22f2a78223", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_knn_fast_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_construct_knn_classifier_fast", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 9, - "description": "Automatically generated widget from function ConstructKnnClassifierFast in package latino. The original function signature: ConstructKnnClassifierFast." - } - }, - { - "pk": 190, - "model": "workflows.abstractinput", - "fields": { - "widget": 66, - "name": "K (Neighbourhood)", - "short_name": "int", - "uid": "50732a27-8321-b266-db28-85cba65c7f21", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "k", - "parameter": true, - "order": 1, - "description": "System.Int32" - } - }, - { - "pk": 191, - "model": "workflows.abstractinput", - "fields": { - "widget": 66, - "name": "Soft Voting", - "short_name": "bol", - "uid": "70286a7a-bb2c-f5d7-9ffc-e838a3c880c1", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "softVoting", - "parameter": true, - "order": 2, - "description": "System.Boolean" - } - }, - { - "pk": 71, - "model": "workflows.abstractoutput", - "fields": { - "widget": 66, - "name": "Classifier", - "short_name": "csf", - "variable": "classifier", - "uid": "efcbe2f3-a6c4-032f-8c21-513b5470bd20", - "order": 1, - "description": "" - } - }, - { - "pk": 67, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Train Classifier Hub", - "is_streaming": false, - "uid": "99eb79a4-348c-411a-9bba-a42caf048636", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classifier_train_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_train_classifier", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 15, - "description": "Automatically generated widget from function TrainClassifier in package latino. The original function signature: TrainClassifier." - } - }, - { - "pk": 192, - "model": "workflows.abstractinput", - "fields": { - "widget": 67, - "name": "Classifier", - "short_name": "csf", - "uid": "e9bac05e-f82f-09cd-497d-4407fcecd056", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "csf", - "parameter": false, - "order": 1, - "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 193, - "model": "workflows.abstractinput", - "fields": { - "widget": 67, - "name": "Dataset", - "short_name": "ds", - "uid": "4df20aa1-64f1-11c1-bd8c-b9c64e5c0437", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 2, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 72, - "model": "workflows.abstractoutput", - "fields": { - "widget": 67, - "name": "Classifier", - "short_name": "csf", - "variable": "csf", - "uid": "fcf15ec3-2176-5d23-4c0a-ebe19faf2a92", - "order": 1, - "description": "" - } - }, - { - "pk": 68, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Predict Classification", - "is_streaming": false, - "uid": "a92685c6-aeca-42bd-af49-c815ebafb573", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classification_predict_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_predict_classification", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 13, - "description": "Automatically generated widget from function PredictClassification in package latino. The original function signature: PredictClassification." - } - }, - { - "pk": 194, - "model": "workflows.abstractinput", - "fields": { - "widget": 68, - "name": "Classifier", - "short_name": "csf", - "uid": "d48016c2-edb0-265e-c40a-858745ab012b", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "csf", - "parameter": false, - "order": 1, - "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 195, - "model": "workflows.abstractinput", - "fields": { - "widget": 68, - "name": "Dataset", - "short_name": "ds", - "uid": "6bfd0b18-b660-feb8-8894-492da5fb7ac9", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 2, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 73, - "model": "workflows.abstractoutput", - "fields": { - "widget": 68, - "name": "Prediction(s)", - "short_name": "prd", - "variable": "predictions", - "uid": "efaba4b6-3b66-e7b9-f361-866c6104c3ed", - "order": 1, - "description": "" - } - }, - { - "pk": 74, - "model": "workflows.abstractoutput", - "fields": { - "widget": 68, - "name": "Labeled dataset", - "short_name": "ds", - "variable": "ds", - "uid": "3a72cfc4-179d-8db9-8086-6017f697e3b8", - "order": 2, - "description": "" - } - }, - { - "pk": 69, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Prediction Info", - "is_streaming": false, - "uid": "04813a15-93d0-48ca-9c64-0bb6a7bc92b4", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "clasification_info_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_prediction_info", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 14, - "description": "Automatically generated widget from function PredictionInfo in package latino. The original function signature: PredictionInfo." - } - }, - { - "pk": 196, - "model": "workflows.abstractinput", - "fields": { - "widget": 69, - "name": "Prediction(s)", - "short_name": "prd", - "uid": "4196036a-5c53-8452-8ccc-325f1ac734d6", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "predictions", - "parameter": false, - "order": 1, - "description": "System.Collections.Generic.List`1[[Latino.Model.Prediction`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 75, - "model": "workflows.abstractoutput", - "fields": { - "widget": 69, - "name": "Lable(s) (Array of Strings)", - "short_name": "str", - "variable": "labels", - "uid": "776fb044-5dfc-18a2-cf20-4e817796f204", - "order": 1, - "description": "" - } - }, - { - "pk": 76, - "model": "workflows.abstractoutput", - "fields": { - "widget": 69, - "name": "Prediction Info(s)", - "short_name": "obj", - "variable": "predictInfos", - "uid": "8653f42a-e09b-5eaf-795f-587cc48bfc21", - "order": 2, - "description": "" - } - }, - { - "pk": 70, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Cross Validation", - "is_streaming": false, - "uid": "c42c757c-245e-4eb2-a657-e77fcc4f4802", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classif_cross_valid_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_cross_validation", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 11, - "description": "Automatically generated widget from function CrossValidation in package latino. The original function signature: CrossValidation." - } - }, - { - "pk": 197, - "model": "workflows.abstractinput", - "fields": { - "widget": 70, - "name": "Classifier", - "short_name": "csf", - "uid": "06a3b7c8-681f-ab02-f171-75362b9ea5a0", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "csf", - "parameter": false, - "order": 1, - "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 198, - "model": "workflows.abstractinput", - "fields": { - "widget": 70, - "name": "Dataset", - "short_name": "ds", - "uid": "eeab1227-dfa8-31df-b27b-2a27efeda6b0", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 2, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 199, - "model": "workflows.abstractinput", - "fields": { - "widget": 70, - "name": "Num of Sets", - "short_name": "int", - "uid": "21ea2877-e44d-c8db-0612-b9bce6e62f36", - "default": "10", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "numOfSets", - "parameter": true, - "order": 3, - "description": "System.Int32" - } - }, - { - "pk": 200, - "model": "workflows.abstractinput", - "fields": { - "widget": 70, - "name": "Assign Sets Randomly", - "short_name": "bol", - "uid": "f7bb77e7-327e-5794-f330-186d669d6b1b", - "default": "true", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "random", - "parameter": true, - "order": 4, - "description": "System.Boolean" - } - }, - { - "pk": 201, - "model": "workflows.abstractinput", - "fields": { - "widget": 70, - "name": "Use Seed for Random", - "short_name": "bol", - "uid": "bdc7e5b8-00f1-d7bd-6927-fc91856a280a", - "default": "false", - "required": true, - "multi": false, - "parameter_type": "checkbox", - "variable": "useSeed", - "parameter": true, - "order": 5, - "description": "System.Boolean" - } - }, - { - "pk": 202, - "model": "workflows.abstractinput", - "fields": { - "widget": 70, - "name": "Random Seed", - "short_name": "int", - "uid": "15d0d98c-b25b-e7fc-19f1-d547a0dddd14", - "default": "0", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "randomSeed", - "parameter": true, - "order": 6, - "description": "System.Int32" - } - }, - { - "pk": 77, - "model": "workflows.abstractoutput", - "fields": { - "widget": 70, - "name": "Data Object with results", - "short_name": "obj", - "variable": "obj", - "uid": "43d23d99-8ac4-5b3e-c89c-43d63db3920e", - "order": 1, - "description": "" - } - }, - { - "pk": 71, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Cross Validation (Predefined Splits)", - "is_streaming": false, - "uid": "72b20813-e1a8-4c2d-a448-b7337ecc2a08", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classif_cross_valid_predef_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_cross_validation_predef_splits", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 12, - "description": "Automatically generated widget from function CrossValidationPredefSplits in package latino. The original function signature: CrossValidationPredefSplits." - } - }, - { - "pk": 203, - "model": "workflows.abstractinput", - "fields": { - "widget": 71, - "name": "Classifier", - "short_name": "csf", - "uid": "4178be10-5a31-bbfd-dafc-51470e1458bb", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "csf", - "parameter": false, - "order": 1, - "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 204, - "model": "workflows.abstractinput", - "fields": { - "widget": 71, - "name": "Dataset", - "short_name": "ds", - "uid": "657a8f1f-7958-d479-a062-428ea6250620", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "ds", - "parameter": false, - "order": 2, - "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" - } - }, - { - "pk": 205, - "model": "workflows.abstractinput", - "fields": { - "widget": 71, - "name": "Sets (List with predefined set numbers)", - "short_name": "lst", - "uid": "f51e4a03-3fc8-f5b2-2555-5f07920a4ddb", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "sets", - "parameter": false, - "order": 3, - "description": "System.Collections.Generic.List`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" - } - }, - { - "pk": 78, - "model": "workflows.abstractoutput", - "fields": { - "widget": 71, - "name": "Data Object with results", - "short_name": "obj", - "variable": "obj", - "uid": "70558c82-fa96-7f12-c8e4-f5c1297e2cfe", - "order": 1, - "description": "" - } - }, - { - "pk": 72, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "View Classifications", - "is_streaming": false, - "uid": "9899c08b-df30-429a-83ab-fc83ecf0d26a", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "classif_result_view_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "show_classifications", - "action": "show_classifications", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 16, - "description": "Automatically generated widget from function ViewClasssifications_PYTHON in package latino. The original function signature: ViewClasssifications_PYTHON." - } - }, - { - "pk": 206, - "model": "workflows.abstractinput", - "fields": { - "widget": 72, - "name": "Prediction(s)", - "short_name": "prd", - "uid": "1f322a3d-2653-00f7-557e-f13bd0f9a118", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "predictions", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 73, - "model": "workflows.abstractwidget", - "fields": { - "category": 13, - "treeview_image": null, - "name": "Accuracy Claculation", - "is_streaming": false, - "uid": "990b6a22-0d62-431a-aea8-03d3a934f4f2", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "accuracy_calc_from_labels_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "compare_lists", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 10, - "description": "Automatically generated widget from function AccuracyClaculation_PYTHON in package latino. The original function signature: AccuracyClaculation_PYTHON." - } - }, - { - "pk": 207, - "model": "workflows.abstractinput", - "fields": { - "widget": 73, - "name": "List 1", - "short_name": "lst", - "uid": "4337f7d3-5113-be91-9dcd-7f23d955ca3e", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "list1", - "parameter": false, - "order": 1, - "description": "System.Object" - } - }, - { - "pk": 208, - "model": "workflows.abstractinput", - "fields": { - "widget": 73, - "name": "List 2", - "short_name": "lst", - "uid": "3865d2f0-cf4f-cacc-78dc-77a6b0071e45", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "list2", - "parameter": false, - "order": 2, - "description": "System.Object" - } - }, - { - "pk": 79, - "model": "workflows.abstractoutput", - "fields": { - "widget": 73, - "name": "Accuracy", - "short_name": "dbl", - "variable": "accuracy", - "uid": "0d48ff94-0a42-3bfd-5b92-14c8d96a96e8", - "order": 1, - "description": "" - } - }, - { - "pk": 80, - "model": "workflows.abstractoutput", - "fields": { - "widget": 73, - "name": "Statistics", - "short_name": "obj", - "variable": "statistics", - "uid": "4b9c7c60-639b-3ca5-682b-43b367f67cc3", - "order": 2, - "description": "" - } - }, - { - "pk": 74, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "C#.NET Snippet", - "is_streaming": false, - "uid": "12ccbbde-99fe-4c8e-9886-b971ad5d20de", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "csharp_snippet_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "", - "action": "latino_run_csharp_snippet", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 2, - "description": "Runs c#.NET snippet. You can use variable which is provided on the input by the name \"in1\" .. \"inN\". Whatever you want to otput needs to be asigned to the variable \"out1\" before the code is terminated" - } - }, - { - "pk": 209, - "model": "workflows.abstractinput", - "fields": { - "widget": 74, - "name": "Snippet Input Parameter(s)", - "short_name": "in", - "uid": "2b2c9753-afa0-8b31-e0ff-c9d3d50e80c7", - "default": "", - "required": false, - "multi": true, - "parameter_type": null, - "variable": "snippetParams", - "parameter": false, - "order": 1, - "description": "input can be accesed as variable \"in1\" .. \"inN\" inside the code" - } - }, - { - "pk": 210, - "model": "workflows.abstractinput", - "fields": { - "widget": 74, - "name": "C# Snippet Code", - "short_name": "cs", - "uid": "2ec1a3c4-e2aa-bf52-c253-ba4473c26938", - "default": "// This is the C#.NET Code Snippet where you can modify the data.\n// Varaible \"in1\" .. \"inN\" contains whatever you connected to the input port\n// Input variables are correctly typed.\n// Whatever is assigned to the variable \"out1\" will be transfered to the output port.\nout1 = in1;", - "required": true, - "multi": false, - "parameter_type": "textarea", - "variable": "snippetCode", - "parameter": true, - "order": 2, - "description": "Input can be accesed as variable \"in1\" .. \"inN\" inside the code and output can be accesed/assigned as variable \"out1\" inside the code." - } - }, - { - "pk": 211, - "model": "workflows.abstractinput", - "fields": { - "widget": 74, - "name": "Additional References (imports)", - "short_name": "str", - "uid": "5ae25dd8-d110-b97b-615b-6a5810dd7ef0", - "default": "System.dll\nSystem.Xml.dll\nworkflows\\latino\\Latino.dll\nworkflows\\latino\\LatinoWorkflows.dll\nworkflows\\latino\\LatinoCloudFlows.dll", - "required": false, - "multi": false, - "parameter_type": "textarea", - "variable": "aditionalReferences", - "parameter": true, - "order": 4, - "description": "System.String" - } - }, - { - "pk": 212, - "model": "workflows.abstractinput", - "fields": { - "widget": 74, - "name": "Namespace Section (using directives)", - "short_name": "str", - "uid": "6cb80407-d2c4-f810-c9cd-34527394644c", - "default": "using System;\nusing System.Collections.Generic;\nusing Latino;\nusing Latino.TextMining;\nusing LatinoCloudFlows;", - "required": false, - "multi": false, - "parameter_type": "textarea", - "variable": "usings", - "parameter": true, - "order": 3, - "description": "System.String" - } - }, - { - "pk": 81, - "model": "workflows.abstractoutput", - "fields": { - "widget": 74, - "name": "out", - "short_name": "out", - "variable": "out", - "uid": "8668b4da-ef51-b439-2c3e-10bba389cd5c", - "order": 1, - "description": "output can be accesed/assigned as variable \"_out\" inside the code" - } - }, - { - "pk": 82, - "model": "workflows.abstractoutput", - "fields": { - "widget": 74, - "name": "Console Output", - "short_name": "str", - "variable": "consoleOut", - "uid": "679b380e-fb6a-1580-7e3e-a0c1df24c6ca", - "order": 2, - "description": "" - } - }, - { - "pk": 83, - "model": "workflows.abstractoutput", - "fields": { - "widget": 74, - "name": "Possible compile/runtime errors", - "short_name": "str", - "variable": "error", - "uid": "1f5de938-8af5-1635-cd4a-3d973a440c29", - "order": 3, - "description": "" - } - }, - { - "pk": 84, - "model": "workflows.abstractoutput", - "fields": { - "widget": 74, - "name": "Generated Code", - "short_name": "str", - "variable": "code", - "uid": "4aa43f4d-78f5-2609-1539-1ac9bced051f", - "order": 4, - "description": "" - } - }, - { - "pk": 75, - "model": "workflows.abstractwidget", - "fields": { - "category": 14, - "treeview_image": null, - "name": "Advanced object viewer", - "is_streaming": false, - "uid": "f03856df-f050-40d3-b0ea-105dd946a73f", - "interaction_view": "", - "image": null, - "package": "latino", - "static_image": "object_advanced_view_image.png", - "post_interact_action": "", - "user": null, - "visualization_view": "advanced_object_viewer", - "action": "advanced_object_viewer", - "wsdl_method": "", - "wsdl": "", - "interactive": false, - "has_progress_bar": false, - "order": 1, - "description": "Displays any input." - } - }, - { - "pk": 213, - "model": "workflows.abstractinput", - "fields": { - "widget": 75, - "name": "Object", - "short_name": "obj", - "uid": "6482823f-f2e5-01b4-4f05-4d235f5ee2eb", - "default": "", - "required": true, - "multi": false, - "parameter_type": null, - "variable": "obj", - "parameter": false, - "order": 1, - "description": "Any type of object." - } - }, - { - "pk": 214, - "model": "workflows.abstractinput", - "fields": { - "widget": 75, - "name": "Attribute", - "short_name": "int", - "uid": "84be4d9b-6210-39f1-a4c3-324a37d5b1a6", - "default": "", - "required": false, - "multi": false, - "parameter_type": "text", - "variable": "attribute", - "parameter": true, - "order": 2, - "description": "The depth of the object display" - } - }, - { - "pk": 215, - "model": "workflows.abstractinput", - "fields": { - "widget": 75, - "name": "Maximum Output Length", - "short_name": "int", - "uid": "d0a89d3b-705e-46ef-eaf7-266c48d4432b", - "default": "5000", - "required": true, - "multi": false, - "parameter_type": "text", - "variable": "maxStringLen", - "parameter": true, - "order": 3, - "description": "System.Int32" - } - } +[ + { + "pk": 1, + "model": "workflows.category", + "fields": { + "uid": "3f7d449c-9222-458b-9c4e-412b01bcbc6b", + "parent": null, + "workflow": null, + "user": null, + "order": 1, + "name": "Latino" + } + }, + { + "pk": 2, + "model": "workflows.category", + "fields": { + "uid": "22c96990-2fd9-11e2-81c1-0800200c9a66", + "parent": 1, + "workflow": null, + "user": null, + "order": 0, + "name": "Sentiment Analysis" + } + }, + { + "pk": 3, + "model": "workflows.category", + "fields": { + "uid": "1eed1020-c423-4831-80ce-50f65ae276e1", + "parent": 1, + "workflow": null, + "user": null, + "order": 1, + "name": "Data In/Out" + } + }, + { + "pk": 4, + "model": "workflows.category", + "fields": { + "uid": "48fb3ce2-11ef-4afc-ab1e-aec6f1d6d055", + "parent": 1, + "workflow": null, + "user": null, + "order": 2, + "name": "Document Corpus" + } + }, + { + "pk": 5, + "model": "workflows.category", + "fields": { + "uid": "5a4286c8-d182-45a5-896b-cc3c6ed84f22", + "parent": 1, + "workflow": null, + "user": null, + "order": 3, + "name": "Tokenization" + } + }, + { + "pk": 6, + "model": "workflows.category", + "fields": { + "uid": "64780432-b114-4589-a24c-2331aed23502", + "parent": 5, + "workflow": null, + "user": null, + "order": 1, + "name": "Advanced" + } + }, + { + "pk": 7, + "model": "workflows.category", + "fields": { + "uid": "05c26564-86b5-4a73-aae9-f4dc14bc75d7", + "parent": 1, + "workflow": null, + "user": null, + "order": 4, + "name": "Tagging" + } + }, + { + "pk": 8, + "model": "workflows.category", + "fields": { + "uid": "94237b9c-8e88-460c-abc5-9c8108acb821", + "parent": 7, + "workflow": null, + "user": null, + "order": 1, + "name": "Advanced" + } + }, + { + "pk": 9, + "model": "workflows.category", + "fields": { + "uid": "b5964b0d-5acb-4dbf-a49d-4331a5a44f9c", + "parent": 1, + "workflow": null, + "user": null, + "order": 5, + "name": "Bag of Words" + } + }, + { + "pk": 10, + "model": "workflows.category", + "fields": { + "uid": "0378e3a8-b71e-47b5-96b0-84dca2680f4d", + "parent": 9, + "workflow": null, + "user": null, + "order": 1, + "name": "Advanced" + } + }, + { + "pk": 11, + "model": "workflows.category", + "fields": { + "uid": "a8348101-116c-4e04-b2a7-af1c991c3927", + "parent": 1, + "workflow": null, + "user": null, + "order": 6, + "name": "Dataset" + } + }, + { + "pk": 12, + "model": "workflows.category", + "fields": { + "uid": "c7a26cb0-65af-4c6e-887b-7c6a7a162327", + "parent": 1, + "workflow": null, + "user": null, + "order": 7, + "name": "Similarity Matrix" + } + }, + { + "pk": 13, + "model": "workflows.category", + "fields": { + "uid": "74457dca-9fba-4d66-98dd-633df385a22b", + "parent": 1, + "workflow": null, + "user": null, + "order": 8, + "name": "Clustering" + } + }, + { + "pk": 14, + "model": "workflows.category", + "fields": { + "uid": "c8fd491e-75ad-487d-b42f-b5ca07ec045a", + "parent": 1, + "workflow": null, + "user": null, + "order": 9, + "name": "Classification" + } + }, + { + "pk": 15, + "model": "workflows.category", + "fields": { + "uid": "438cb7e7-d0e5-4bb9-9cad-10f6907ec568", + "parent": 1, + "workflow": null, + "user": null, + "order": 10, + "name": "Helpers" + } + }, + { + "pk": 1, + "model": "workflows.abstractwidget", + "fields": { + "category": 2, + "treeview_image": null, + "name": "String Concatenation", + "is_streaming": false, + "uid": "temporary_uid:784a3645-3e05-3203-d53d-e5fa48da915e", + "interaction_view": "", + "image": null, + "package": "sentiment_analysis", + "static_image": "", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "sentiment_analysis_con_cat", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConCat in package sentiment_analysis. The original function signature: ConCat." + } + }, + { + "pk": 1, + "model": "workflows.abstractinput", + "fields": { + "widget": 1, + "name": "Str1", + "short_name": "str", + "uid": "temporary_uid:910e97d1-3f9a-a511-2eed-b1a8f188dc3b", + "default": "", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "str1", + "parameter": false, + "order": 1, + "description": "System.String" + } + }, + { + "pk": 2, + "model": "workflows.abstractinput", + "fields": { + "widget": 1, + "name": "Str2", + "short_name": "str", + "uid": "temporary_uid:11137eba-ac31-a8de-08c5-0a2d9d2ed384", + "default": "", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "str2", + "parameter": false, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 1, + "model": "workflows.abstractoutput", + "fields": { + "widget": 1, + "name": "String", + "short_name": "str", + "variable": "out", + "uid": "temporary_uid:524e1eac-1669-8081-77ab-455f4f0ff391", + "order": 1, + "description": "System.String" + } + }, + { + "pk": 2, + "model": "workflows.abstractwidget", + "fields": { + "category": 2, + "treeview_image": null, + "name": "Kr1 NOVA Funkcija", + "is_streaming": false, + "uid": "temporary_uid:68e5b5ed-bcdb-e27e-61bb-efc9ba337d07", + "interaction_view": "", + "image": null, + "package": "sentiment_analysis", + "static_image": "", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "sentiment_analysis_ena_cudna_funk", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function EnaCudnaFunk in package sentiment_analysis. The original function signature: EnaCudnaFunk." + } + }, + { + "pk": 3, + "model": "workflows.abstractinput", + "fields": { + "widget": 2, + "name": "Str1", + "short_name": "str", + "uid": "temporary_uid:891aafb2-2bf0-ed75-1eae-b01222e86c90", + "default": "", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "str1", + "parameter": false, + "order": 1, + "description": "System.String" + } + }, + { + "pk": 4, + "model": "workflows.abstractinput", + "fields": { + "widget": 2, + "name": "Str2", + "short_name": "str", + "uid": "temporary_uid:dec4f3ef-f5a1-dbd8-0ba9-445eabc5f767", + "default": "", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "str2", + "parameter": false, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 5, + "model": "workflows.abstractinput", + "fields": { + "widget": 2, + "name": "Str3", + "short_name": "str", + "uid": "temporary_uid:34087750-7654-a658-cfc1-bdee54ceee08", + "default": "", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "str3", + "parameter": false, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 6, + "model": "workflows.abstractinput", + "fields": { + "widget": 2, + "name": "Str4", + "short_name": "str", + "uid": "temporary_uid:9e5d3129-f515-81a5-818d-13b71cf7a253", + "default": "", + "required": false, + "multi": false, + "parameter_type": "select", + "variable": "str4", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 1, + "model": "workflows.abstractoption", + "fields": { + "uid": "b34327d0-58a0-1d7d-ee11-e6a24dfdc0b0", + "abstract_input": 6, + "value": "To je prva opcija", + "name": "To je prva opcija" + } + }, + { + "pk": 2, + "model": "workflows.abstractoption", + "fields": { + "uid": "f7d93e04-9485-b121-4957-ff332b82cedd", + "abstract_input": 6, + "value": "To je druga opcija", + "name": "To je druga opcija" + } + }, + { + "pk": 2, + "model": "workflows.abstractoutput", + "fields": { + "widget": 2, + "name": "String", + "short_name": "str", + "variable": "out", + "uid": "temporary_uid:9e9a29f3-1fc2-fcfd-6dd6-eb1bb2486b27", + "order": 1, + "description": "System.String" + } + }, + { + "pk": 3, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "Flatten String Hierarchy", + "is_streaming": false, + "uid": "1d9f109e-8490-4c98-8957-4b0f698ce1bd", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "flatten_string_hierarchy_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_flatten_object_to_string_array", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function FlattenObjectToStringArray in package latino. The original function signature: FlattenObjectToStringArray." + } + }, + { + "pk": 7, + "model": "workflows.abstractinput", + "fields": { + "widget": 3, + "name": "data", + "short_name": "obj", + "uid": "26dc986a-e8c4-ee4b-ac32-5ce895f3383a", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "data", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 3, + "model": "workflows.abstractoutput", + "fields": { + "widget": 3, + "name": "flatData", + "short_name": "obj", + "variable": "flatData", + "uid": "a16d6a3b-e656-9b50-10c8-8359a5174193", + "order": 1, + "description": "" + } + }, + { + "pk": 4, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "Display Table", + "is_streaming": false, + "uid": "bb74ec59-dba8-461b-ae66-de35a5c3fdea", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "table_view_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "show_table", + "action": "show_table", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ShowTable_PYTHON in package latino. The original function signature: ShowTable_PYTHON." + } + }, + { + "pk": 8, + "model": "workflows.abstractinput", + "fields": { + "widget": 4, + "name": "Table", + "short_name": "tbl", + "uid": "5800c1e5-44ec-5843-e9cf-fde725c7b521", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tbl", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 5, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "Generate Integer Range", + "is_streaming": false, + "uid": "f7d78342-9aea-4e01-b46b-8d20631ee5bf", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "range_create_integers_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "create_range", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function GenerateIntegerRange_PYTHON in package latino. The original function signature: GenerateIntegerRange_PYTHON." + } + }, + { + "pk": 9, + "model": "workflows.abstractinput", + "fields": { + "widget": 5, + "name": "Start", + "short_name": "int", + "uid": "4c165f6b-7698-65d2-f8fb-2d2cf104ba47", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "start", + "parameter": true, + "order": 1, + "description": "System.Int32" + } + }, + { + "pk": 10, + "model": "workflows.abstractinput", + "fields": { + "widget": 5, + "name": "Stop", + "short_name": "int", + "uid": "c707764e-6ee4-8318-565e-3c4aab14cc45", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "stop", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 11, + "model": "workflows.abstractinput", + "fields": { + "widget": 5, + "name": "Step", + "short_name": "int", + "uid": "64dbf120-d027-0a31-a88d-e78bd15fb0c1", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "step", + "parameter": true, + "order": 3, + "description": "System.Int32" + } + }, + { + "pk": 4, + "model": "workflows.abstractoutput", + "fields": { + "widget": 5, + "name": "Range", + "short_name": "ary", + "variable": "range", + "uid": "8eb96f55-f038-e517-5e11-8dbda6295b0f", + "order": 1, + "description": "" + } + }, + { + "pk": 6, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "Python Snippet", + "is_streaming": false, + "uid": "b6164644-ff14-4f8f-bdee-ca55da77b57c", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "python_snippet_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "python_snippet", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 6, + "description": "Runs python snippet. You can use variable which is provided on the input by the name \"in1\" .. \"inN\". Whatever you want to otput needs to be asigned to the variable \"out1\" before the code is terminated" + } + }, + { + "pk": 12, + "model": "workflows.abstractinput", + "fields": { + "widget": 6, + "name": "in", + "short_name": "in", + "uid": "16ca773f-1d2d-823f-6e9c-1be0dd267369", + "default": "", + "required": false, + "multi": true, + "parameter_type": null, + "variable": "in", + "parameter": false, + "order": 1, + "description": "input can be accesed as variable \"in1\" .. \"inN\" inside the code" + } + }, + { + "pk": 13, + "model": "workflows.abstractinput", + "fields": { + "widget": 6, + "name": "Python Snippet Code", + "short_name": "py", + "uid": "1991f19a-463b-d851-aab6-72facc87a2f1", + "default": "# This is the Python Code Snippet where you can modify the data however is needed.\n# Varaible \"in1\" .. \"inN\" contains whatever you connected to the input port\n# Whatever is assigned to the variable \"out1\" will be transfered to the output port.\n\nout1 = in1", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "pycode", + "parameter": true, + "order": 2, + "description": "Input can be accesed as variable \"in1\" .. \"inN\" inside the code and output can be accesed/assigned as variable \"out1\" inside the code." + } + }, + { + "pk": 5, + "model": "workflows.abstractoutput", + "fields": { + "widget": 6, + "name": "out", + "short_name": "out", + "variable": "out", + "uid": "455b1583-c2d4-13c5-1036-435dfe160152", + "order": 1, + "description": "output can be accesed/assigned as variable \"out1\" inside the code" + } + }, + { + "pk": 7, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "Split Object", + "is_streaming": false, + "uid": "4ae60fcc-ae3a-4609-9ec1-a7724d5ac0c4", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "object_split_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "split_object", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 7, + "description": "Automatically generated widget from function SplitObject_PYTHON in package latino. The original function signature: SplitObject_PYTHON." + } + }, + { + "pk": 14, + "model": "workflows.abstractinput", + "fields": { + "widget": 7, + "name": "object", + "short_name": "obj", + "uid": "298ce522-7061-993e-a940-069d9c9b739d", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "object", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 15, + "model": "workflows.abstractinput", + "fields": { + "widget": 7, + "name": "Object Modifier", + "short_name": "atr", + "uid": "bf822d07-096d-1aeb-e6da-3670d6aa9c53", + "default": "", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "attribute", + "parameter": true, + "order": 2, + "description": "if one wants to extract object's attributes, leading dot should be used." + } + }, + { + "pk": 6, + "model": "workflows.abstractoutput", + "fields": { + "widget": 7, + "name": "object", + "short_name": "obj", + "variable": "object", + "uid": "6817c1ee-8e0f-8e63-f4d6-7c43522b7f10", + "order": 1, + "description": "" + } + }, + { + "pk": 8, + "model": "workflows.abstractwidget", + "fields": { + "category": 3, + "treeview_image": null, + "name": "Load Document Corpus From File", + "is_streaming": false, + "uid": "60e1a6ee-1d9f-4ae6-a5a9-fd06d30d4348", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "load_adc_from_file_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_load_adc", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "This widges processes raw text file and loads the texts into ADC (Annotated Document Corpus) structure. The input file contains one document per line - the whole line represents text from the body of a document. In case lines contain more document properties (i.e.: ids, titles, labels,...) than other widgets should be used to load ADC structure." + } + }, + { + "pk": 16, + "model": "workflows.abstractinput", + "fields": { + "widget": 8, + "name": "Raw Text File", + "short_name": "fil", + "uid": "d66b7ce4-8aa4-d26e-db69-762683ee0e3e", + "default": "", + "required": false, + "multi": false, + "parameter_type": null, + "variable": "file", + "parameter": false, + "order": 1, + "description": "Input Text File: Contains one document per line - the whole line represents text from the body of a document." + } + }, + { + "pk": 17, + "model": "workflows.abstractinput", + "fields": { + "widget": 8, + "name": "First words in line with preceding exclamation (!) present labels", + "short_name": "bol", + "uid": "cb7ddfe9-08ad-6b8a-d1fa-76cd91888d5e", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "leadingLabels", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 7, + "model": "workflows.abstractoutput", + "fields": { + "widget": 8, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "ec3c5eae-d5b8-16e9-deeb-ce175eaab9e0", + "order": 1, + "description": "" + } + }, + { + "pk": 9, + "model": "workflows.abstractwidget", + "fields": { + "category": 3, + "treeview_image": null, + "name": "Load Document Corpus From String", + "is_streaming": false, + "uid": "c35c429d-9d4b-40c4-b699-b7dee25f97a3", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "load_adc_from_file_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_load_adcfrom_string", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "This widges processes raw text file and loads the texts into ADC (Annotated Document Corpus) structure. The input file contains one document per line - the whole line represents text from the body of a document. In case lines contain more document properties (i.e.: ids, titles, labels,...) than other widgets should be used to load ADC structure." + } + }, + { + "pk": 18, + "model": "workflows.abstractinput", + "fields": { + "widget": 9, + "name": "String", + "short_name": "str", + "uid": "91e6fdd5-0969-dc3f-395e-3f2827a9c57c", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "plainString", + "parameter": false, + "order": 1, + "description": "Input Text String: Contains one document per line - the whole line represents text from the body of a document." + } + }, + { + "pk": 19, + "model": "workflows.abstractinput", + "fields": { + "widget": 9, + "name": "First words in line with preceding exclamation (!) present labels", + "short_name": "bol", + "uid": "18f37a99-5141-f7d2-108e-49ee6505c3da", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "leadingLabels", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 8, + "model": "workflows.abstractoutput", + "fields": { + "widget": 9, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "52165ac9-d42a-be5c-f24d-d6f02ab32e77", + "order": 1, + "description": "" + } + }, + { + "pk": 10, + "model": "workflows.abstractwidget", + "fields": { + "category": 3, + "treeview_image": null, + "name": "Convert Corpus to XML String", + "is_streaming": false, + "uid": "aa63a521-88c5-42c3-a85e-87c0be6288d5", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_to_xml_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_save_adcto_xml", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function SaveADCtoXml in package latino. The original function signature: SaveADCtoXml." + } + }, + { + "pk": 20, + "model": "workflows.abstractinput", + "fields": { + "widget": 10, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "bb23f353-d88a-ae54-fd44-1249badd8f28", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 9, + "model": "workflows.abstractoutput", + "fields": { + "widget": 10, + "name": "XML String", + "short_name": "xml", + "variable": "string", + "uid": "d8a5c93d-9a82-ff1a-7d5a-a6e287074ca5", + "order": 1, + "description": "" + } + }, + { + "pk": 11, + "model": "workflows.abstractwidget", + "fields": { + "category": 3, + "treeview_image": null, + "name": "Convert XML String to Corpus", + "is_streaming": false, + "uid": "136d957e-57e1-47da-a6f6-05423d5abb9e", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "xml_to_adc_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_load_adcfrom_xml", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function LoadADCfromXml in package latino. The original function signature: LoadADCfromXml." + } + }, + { + "pk": 21, + "model": "workflows.abstractinput", + "fields": { + "widget": 11, + "name": "XML String", + "short_name": "xml", + "uid": "7a3acca8-7b22-8d31-2dab-8dd606665cc1", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "xml", + "parameter": false, + "order": 1, + "description": "System.String" + } + }, + { + "pk": 10, + "model": "workflows.abstractoutput", + "fields": { + "widget": 11, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "2933b0e7-2639-9cf0-dc73-c22e77e3263c", + "order": 1, + "description": "" + } + }, + { + "pk": 12, + "model": "workflows.abstractwidget", + "fields": { + "category": 3, + "treeview_image": null, + "name": "Get Plain Texts", + "is_streaming": false, + "uid": "54f29d7e-a8a6-4cbb-a042-8cdf89328a2b", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_to_text_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_get_doc_strings", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function GetDocStrings in package latino. The original function signature: GetDocStrings." + } + }, + { + "pk": 22, + "model": "workflows.abstractinput", + "fields": { + "widget": 12, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "3367601a-8a96-20f1-7bdb-b2610fa4eb18", + "default": "", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 23, + "model": "workflows.abstractinput", + "fields": { + "widget": 12, + "name": "Token Annotation", + "short_name": "str", + "uid": "4d5f3e18-4eff-0fd7-5961-27e5aae71e74", + "default": "TextBlock", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "elementAnnotation", + "parameter": true, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 24, + "model": "workflows.abstractinput", + "fields": { + "widget": 12, + "name": "Feature Condition", + "short_name": "str", + "uid": "a7486c8d-0b1c-3a32-999f-15107c13c3f4", + "default": "", + "required": false, + "multi": false, + "parameter_type": "text", + "variable": "elementFeatureConditions", + "parameter": true, + "order": 3, + "description": "Condition which tokens to include based on their features.\nFormat examples:\n-Feature1 (don't include tokens with Feature1 set ta any value)\n-Feature1=Value1 (don't include tokens with Feature1 set to the value Value1)\n-Feature1 +Feature2 (don't include tokens with Feature1 set unless it has also Feature2 set)\n-Feature1=Value1 +Feature2 (don't include tokens with Feature1 set to Value1 unless it has also Feature2 set to any value)..." + } + }, + { + "pk": 25, + "model": "workflows.abstractinput", + "fields": { + "widget": 12, + "name": "Delimiter for token concatenation", + "short_name": "str", + "uid": "5ebae072-0a90-6b4c-a7dc-47bb6bd71d51", + "default": "", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "delimiter", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 26, + "model": "workflows.abstractinput", + "fields": { + "widget": 12, + "name": "Include Document Identifier", + "short_name": "bol", + "uid": "507de999-1802-700d-27e5-ea5f972bc8e7", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "includeDocId", + "parameter": true, + "order": 5, + "description": "System.Boolean" + } + }, + { + "pk": 11, + "model": "workflows.abstractoutput", + "fields": { + "widget": 12, + "name": "Texts", + "short_name": "str", + "variable": "strings", + "uid": "bbcbbfc9-8a0f-bf3f-4b2d-7bf018ea4ff9", + "order": 1, + "description": "" + } + }, + { + "pk": 13, + "model": "workflows.abstractwidget", + "fields": { + "category": 4, + "treeview_image": null, + "name": "Extract Feature", + "is_streaming": false, + "uid": "ec9955a3-263b-49b4-a0ca-b62598962b76", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_extract_feature_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_extract_documents_features", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ExtractDocumentsFeatures in package latino. The original function signature: ExtractDocumentsFeatures." + } + }, + { + "pk": 27, + "model": "workflows.abstractinput", + "fields": { + "widget": 13, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "3f1837e3-2997-a696-2e4e-48d1166f314f", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 28, + "model": "workflows.abstractinput", + "fields": { + "widget": 13, + "name": "Extracted Feature Name", + "short_name": "str", + "uid": "6a42ceda-c81e-6257-1b95-4aa8ae605bef", + "default": "", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "featureName", + "parameter": true, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 12, + "model": "workflows.abstractoutput", + "fields": { + "widget": 13, + "name": "List of Extracted Features", + "short_name": "str", + "variable": "strings", + "uid": "55c95429-7b4f-7c47-54da-a5273ff4d490", + "order": 1, + "description": "" + } + }, + { + "pk": 14, + "model": "workflows.abstractwidget", + "fields": { + "category": 4, + "treeview_image": null, + "name": "Add Feature", + "is_streaming": false, + "uid": "cbae1835-bbea-43f2-b698-dc02ba106462", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_add_feature_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_add_documents_features", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function AddDocumentsFeatures in package latino. The original function signature: AddDocumentsFeatures." + } + }, + { + "pk": 29, + "model": "workflows.abstractinput", + "fields": { + "widget": 14, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "a3c0bde8-766f-5e30-2b2e-1fdcbaa8d913", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 30, + "model": "workflows.abstractinput", + "fields": { + "widget": 14, + "name": "Feature Values (Array of Labels)", + "short_name": "str", + "uid": "1219e584-0660-0d7b-4d31-288f5e99df89", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "featureValues", + "parameter": false, + "order": 2, + "description": "System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 31, + "model": "workflows.abstractinput", + "fields": { + "widget": 14, + "name": "New Feature Name", + "short_name": "str", + "uid": "a69d8966-d9a4-8557-c845-12740520163d", + "default": "feature", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "featureName", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 32, + "model": "workflows.abstractinput", + "fields": { + "widget": 14, + "name": "New Feature Value Prefix", + "short_name": "str", + "uid": "d04dc113-88d8-2ee0-2982-90cb37d30aba", + "default": "", + "required": false, + "multi": false, + "parameter_type": "text", + "variable": "featureValuePrefix", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 13, + "model": "workflows.abstractoutput", + "fields": { + "widget": 14, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "3e2dbc87-3259-7eb6-80e9-858e680feed0", + "order": 1, + "description": "" + } + }, + { + "pk": 15, + "model": "workflows.abstractwidget", + "fields": { + "category": 4, + "treeview_image": null, + "name": "Split", + "is_streaming": false, + "uid": "a708874c-9ad2-45d6-9657-5fb3dd095688", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_split_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_split_documents_by_feature_value", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function SplitDocumentsByFeatureValue in package latino. The original function signature: SplitDocumentsByFeatureValue." + } + }, + { + "pk": 33, + "model": "workflows.abstractinput", + "fields": { + "widget": 15, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "6aab324d-c86e-d859-f4bc-b3720f6e7941", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 34, + "model": "workflows.abstractinput", + "fields": { + "widget": 15, + "name": "Feature Condition", + "short_name": "str", + "uid": "e69daa5d-7665-7c5d-5493-5747210a5b9a", + "default": "", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "featureCondition", + "parameter": true, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 14, + "model": "workflows.abstractoutput", + "fields": { + "widget": 15, + "name": "Filtered Annotated Document Corpus", + "short_name": "adc", + "variable": "adcFiltered", + "uid": "9f147ab3-11c8-6114-3331-38ac1ee2324f", + "order": 1, + "description": "" + } + }, + { + "pk": 15, + "model": "workflows.abstractoutput", + "fields": { + "widget": 15, + "name": "The Rest of Annotated Document Corpus", + "short_name": "adc", + "variable": "adcRest", + "uid": "199d7c70-c431-9b85-1d61-d69ca2a455a7", + "order": 2, + "description": "" + } + }, + { + "pk": 16, + "model": "workflows.abstractwidget", + "fields": { + "category": 4, + "treeview_image": null, + "name": "Generate Set Feature", + "is_streaming": false, + "uid": "f19b2894-d9b0-4133-912a-b9aaf1e7982b", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_add_set_feature_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_mark_documents_with_set_feature", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function MarkDocumentsWithSetFeature in package latino. The original function signature: MarkDocumentsWithSetFeature." + } + }, + { + "pk": 35, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "c066e26b-af81-f1ac-251f-248483c79f8d", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 36, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Feature Name", + "short_name": "str", + "uid": "276fe964-c5aa-1081-0be9-13aad301c661", + "default": "set", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "featureName", + "parameter": true, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 37, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Feature Value Prefix", + "short_name": "str", + "uid": "d67ecbbb-e185-d9bf-43dd-52e2906a7f1f", + "default": "", + "required": false, + "multi": false, + "parameter_type": "text", + "variable": "featureValuePrefix", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 38, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Num of Sets", + "short_name": "int", + "uid": "96533d85-f52d-69a7-c4d9-4ab99f38fcb0", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "numOfSets", + "parameter": true, + "order": 4, + "description": "System.Int32" + } + }, + { + "pk": 39, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Assign Sets Randomly", + "short_name": "bol", + "uid": "28f1a06d-bb8b-fb4f-aa05-c8953a9a56ca", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "random", + "parameter": true, + "order": 5, + "description": "System.Boolean" + } + }, + { + "pk": 40, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Use Seed for Random", + "short_name": "bol", + "uid": "48804f65-9306-be3d-70d4-ad81252d0a38", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "useSeed", + "parameter": true, + "order": 6, + "description": "System.Boolean" + } + }, + { + "pk": 41, + "model": "workflows.abstractinput", + "fields": { + "widget": 16, + "name": "Random Seed", + "short_name": "int", + "uid": "36dc97df-1c37-9f7a-337d-a11eedcd894d", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "randomSeed", + "parameter": true, + "order": 7, + "description": "System.Int32" + } + }, + { + "pk": 16, + "model": "workflows.abstractoutput", + "fields": { + "widget": 16, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "41a6e37c-03d4-7088-8cdd-c1df37a62121", + "order": 1, + "description": "" + } + }, + { + "pk": 17, + "model": "workflows.abstractwidget", + "fields": { + "category": 4, + "treeview_image": null, + "name": "Statistics", + "is_streaming": false, + "uid": "5fd9822b-fcd7-4f83-a61d-478501b658f5", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "adc_info_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_corpus_statistics", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 6, + "description": "Automatically generated widget from function CorpusStatistics in package latino. The original function signature: CorpusStatistics." + } + }, + { + "pk": 42, + "model": "workflows.abstractinput", + "fields": { + "widget": 17, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "49ac398c-6c02-3a9e-9d41-06afbf34a384", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 17, + "model": "workflows.abstractoutput", + "fields": { + "widget": 17, + "name": "Number of Documents", + "short_name": "int", + "variable": "docCount", + "uid": "52b4b4ac-1637-7deb-ec6a-593c215dadc2", + "order": 1, + "description": "" + } + }, + { + "pk": 18, + "model": "workflows.abstractoutput", + "fields": { + "widget": 17, + "name": "Number of Features", + "short_name": "int", + "variable": "featureCount", + "uid": "03ba3ed7-b815-7090-af39-3cb1ced48a80", + "order": 2, + "description": "" + } + }, + { + "pk": 19, + "model": "workflows.abstractoutput", + "fields": { + "widget": 17, + "name": "Statistics", + "short_name": "str", + "variable": "description", + "uid": "37f67dc5-1349-01dc-037a-3da9e156c871", + "order": 3, + "description": "" + } + }, + { + "pk": 18, + "model": "workflows.abstractwidget", + "fields": { + "category": 4, + "treeview_image": null, + "name": "Display Document Corpus", + "is_streaming": false, + "uid": "cc2b8d7e-454b-4eb2-8154-e0f9decc21c0", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "view_adc_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "show_adc", + "action": "show_adc", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function DisplayDocumentCorpus_PYTHON in package latino. The original function signature: DisplayDocumentCorpus_PYTHON." + } + }, + { + "pk": 43, + "model": "workflows.abstractinput", + "fields": { + "widget": 18, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "12db5057-2d6d-875c-2141-da0b10fecca0", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 19, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Max Entropy Sentence Splitter", + "is_streaming": false, + "uid": "4ed7014d-dea2-41b1-b8ed-a90f633e7424", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_sentence_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_english_maximum_entropy_sentence_detector", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructEnglishMaximumEntropySentenceDetector in package latino. The original function signature: ConstructEnglishMaximumEntropySentenceDetector." + } + }, + { + "pk": 20, + "model": "workflows.abstractoutput", + "fields": { + "widget": 19, + "name": "Sentence Tokenizer", + "short_name": "tkn", + "variable": "tokenizer", + "uid": "be54c295-d6c7-020b-1c64-ecae17b171e8", + "order": 1, + "description": "" + } + }, + { + "pk": 20, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Max Entorpy Tokenizer", + "is_streaming": false, + "uid": "bf5d200a-de24-4e0e-a5b0-b93f1c9e4468", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_word_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_english_maximum_entropy_tokenizer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ConstructEnglishMaximumEntropyTokenizer in package latino. The original function signature: ConstructEnglishMaximumEntropyTokenizer." + } + }, + { + "pk": 44, + "model": "workflows.abstractinput", + "fields": { + "widget": 20, + "name": "Alpha Numeric Optimization", + "short_name": "ano", + "uid": "f49e114d-c12e-a3e6-1bde-b53999b0b759", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "alphaNumericOptimization", + "parameter": true, + "order": 1, + "description": "System.Boolean" + } + }, + { + "pk": 21, + "model": "workflows.abstractoutput", + "fields": { + "widget": 20, + "name": "Tokenizer", + "short_name": "tkn", + "variable": "tokenizer", + "uid": "1834f658-5fca-2ab5-1a75-dfdc56e738f8", + "order": 1, + "description": "" + } + }, + { + "pk": 21, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Unicode Tokenizer", + "is_streaming": false, + "uid": "83016e0d-d774-49cc-ae55-9418e666f869", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_word_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_unicode_tokenizer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function ConstructUnicodeTokenizer in package latino. The original function signature: ConstructUnicodeTokenizer." + } + }, + { + "pk": 45, + "model": "workflows.abstractinput", + "fields": { + "widget": 21, + "name": "Filter", + "short_name": "flt", + "uid": "a8b4b017-ffd3-da3f-9092-9f9dccc0377c", + "default": "None", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "filter", + "parameter": true, + "order": 1, + "description": "Latino.TextMining.TokenizerFilter" + } + }, + { + "pk": 3, + "model": "workflows.abstractoption", + "fields": { + "uid": "974d33bf-987b-82f6-fcc4-cd95ca65e5db", + "abstract_input": 45, + "value": "AlphaLoose", + "name": "AlphaLoose: accept tokens that contain at least one alphabetic character" + } + }, + { + "pk": 4, + "model": "workflows.abstractoption", + "fields": { + "uid": "2b71a17a-2a16-4d35-288f-937ca3091dc9", + "abstract_input": 45, + "value": "AlphaStrict", + "name": "AlphaStrict: accept tokens that contain alphabetic characters only" + } + }, + { + "pk": 5, + "model": "workflows.abstractoption", + "fields": { + "uid": "5f5f556a-e3a2-a278-6e0a-fafebd3481ff", + "abstract_input": 45, + "value": "AlphanumLoose", + "name": "AlphanumLoose: accept tokens that contain at least one alphanumeric character" + } + }, + { + "pk": 6, + "model": "workflows.abstractoption", + "fields": { + "uid": "8af9dd9b-fc70-9745-7872-ae443896c2a8", + "abstract_input": 45, + "value": "AlphanumStrict", + "name": "AlphanumStrict: accept tokens that contain alphanumeric characters only" + } + }, + { + "pk": 7, + "model": "workflows.abstractoption", + "fields": { + "uid": "e0d910d0-3c99-24bc-a3c2-dc67fea4c8ee", + "abstract_input": 45, + "value": "None", + "name": "None: accept all tokens" + } + }, + { + "pk": 46, + "model": "workflows.abstractinput", + "fields": { + "widget": 21, + "name": "Minimal Token Length", + "short_name": "int", + "uid": "811f5465-88c6-a8db-7e7d-1663d248a0e5", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "minTokenLen", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 22, + "model": "workflows.abstractoutput", + "fields": { + "widget": 21, + "name": "Tokenizer", + "short_name": "tkn", + "variable": "tokenizer", + "uid": "512e0add-0214-bf5b-e52d-e0e608110684", + "order": 1, + "description": "" + } + }, + { + "pk": 22, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Simple Tokenizer", + "is_streaming": false, + "uid": "1a9e6641-1b7a-4347-9fd9-f571f91a359a", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_word_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_simple_tokenizer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 6, + "description": "Automatically generated widget from function ConstructSimpleTokenizer in package latino. The original function signature: ConstructSimpleTokenizer." + } + }, + { + "pk": 47, + "model": "workflows.abstractinput", + "fields": { + "widget": 22, + "name": "Type", + "short_name": "typ", + "uid": "59c6fc11-0932-4b8c-6fba-7fb4108d312b", + "default": "AllChars", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "type", + "parameter": true, + "order": 1, + "description": "Latino.TextMining.TokenizerType" + } + }, + { + "pk": 8, + "model": "workflows.abstractoption", + "fields": { + "uid": "cf95fed8-1237-9797-4dea-4d83520fcdd3", + "abstract_input": 47, + "value": "AllChars", + "name": "AllChars: equivalent to [^\\s]+" + } + }, + { + "pk": 9, + "model": "workflows.abstractoption", + "fields": { + "uid": "36a7266e-fc89-ffb9-488d-5d7cfe797e98", + "abstract_input": 47, + "value": "AlphaOnly", + "name": "AlphaOnly: equivalent to \\p{L}+" + } + }, + { + "pk": 10, + "model": "workflows.abstractoption", + "fields": { + "uid": "9f8214a1-8ae8-051f-c708-6ebcfd949e01", + "abstract_input": 47, + "value": "AlphanumOnly", + "name": "AlphanumOnly: equivalent to [\\p{L}\\d]+" + } + }, + { + "pk": 48, + "model": "workflows.abstractinput", + "fields": { + "widget": 22, + "name": "Minimal Token Length", + "short_name": "int", + "uid": "dcc2c809-f060-d931-3751-34694bceec2e", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "minTokenLen", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 23, + "model": "workflows.abstractoutput", + "fields": { + "widget": 22, + "name": "Tokenizer", + "short_name": "tkn", + "variable": "tokenizer", + "uid": "490faf80-54e0-e36d-e73a-544533984301", + "order": 1, + "description": "" + } + }, + { + "pk": 23, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Regex Tokenizer", + "is_streaming": false, + "uid": "ce52aeec-6f94-4456-b0b6-011ab9e77760", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_word_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_regex_tokenizer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function ConstructRegexTokenizer in package latino. The original function signature: ConstructRegexTokenizer." + } + }, + { + "pk": 49, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Regular Expression", + "short_name": "rgx", + "uid": "9f31b30f-a480-da88-f8aa-275e938a1484", + "default": "\\p{L}+(-\\p{L}+)*", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "tokenRegex", + "parameter": true, + "order": 1, + "description": "System.String" + } + }, + { + "pk": 50, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Ignore Unknown Tokens", + "short_name": "bol", + "uid": "eddffd40-c816-c446-a2e3-606c0aaf0429", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "ignoreUnknownTokens", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 51, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Ignore Case", + "short_name": "bol", + "uid": "89faa019-8d68-c318-7d5f-2a7c1720adbf", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsIgnoreCase", + "parameter": true, + "order": 3, + "description": "System.Boolean" + } + }, + { + "pk": 52, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Multiline", + "short_name": "bol", + "uid": "ce522d23-7d8d-ec98-4d04-0d7abf0cd476", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsMultiline", + "parameter": true, + "order": 4, + "description": "System.Boolean" + } + }, + { + "pk": 53, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Explicit Capture", + "short_name": "bol", + "uid": "906e3a77-3d5c-9ba0-5135-066a28bbae4b", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsExplicitCapture", + "parameter": true, + "order": 5, + "description": "System.Boolean" + } + }, + { + "pk": 54, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Compiled", + "short_name": "bol", + "uid": "94702d0a-a6aa-a9ea-baf4-6d3bddd7afe2", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsCompiled", + "parameter": true, + "order": 6, + "description": "System.Boolean" + } + }, + { + "pk": 55, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Singleline", + "short_name": "bol", + "uid": "da23b6c7-f4e2-cd81-b95c-f47fc8897da1", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsSingleline", + "parameter": true, + "order": 7, + "description": "System.Boolean" + } + }, + { + "pk": 56, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Ignore Pattern Whitespace", + "short_name": "bol", + "uid": "0688894c-aea7-bfe4-6d38-ca14f2ff0337", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsIgnorePatternWhitespace", + "parameter": true, + "order": 8, + "description": "System.Boolean" + } + }, + { + "pk": 57, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Right To Left", + "short_name": "bol", + "uid": "9d1dfbe2-5019-0896-e2f1-f4f44b228435", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsRightToLeft", + "parameter": true, + "order": 9, + "description": "System.Boolean" + } + }, + { + "pk": 58, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "ECMA Script", + "short_name": "bol", + "uid": "3283613d-19d2-4d84-cef9-ef8f168bcd24", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsECMAScript", + "parameter": true, + "order": 10, + "description": "System.Boolean" + } + }, + { + "pk": 59, + "model": "workflows.abstractinput", + "fields": { + "widget": 23, + "name": "Culture Invariant", + "short_name": "bol", + "uid": "cc5c2449-77dd-fd50-690d-6686bdf49153", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "regexOptionsCultureInvariant", + "parameter": true, + "order": 11, + "description": "System.Boolean" + } + }, + { + "pk": 24, + "model": "workflows.abstractoutput", + "fields": { + "widget": 23, + "name": "Tokenizer", + "short_name": "tkn", + "variable": "tokenizer", + "uid": "9ec188ce-b56a-df72-2dfa-1d0e262e24de", + "order": 1, + "description": "" + } + }, + { + "pk": 24, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Split Sentences Hub", + "is_streaming": false, + "uid": "aa30cd38-4a1c-4c6a-ba47-ff00252fc5a9", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_sentence_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tokenize_sentences", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function TokenizeSentences in package latino. The original function signature: TokenizeSentences." + } + }, + { + "pk": 60, + "model": "workflows.abstractinput", + "fields": { + "widget": 24, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "d992649a-16a0-4482-96e0-f4c45db6134c", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 61, + "model": "workflows.abstractinput", + "fields": { + "widget": 24, + "name": "Tokenizer", + "short_name": "tkn", + "uid": "04e625eb-87ca-5e2d-5af7-1e4a4ea21eb3", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tokenizer", + "parameter": false, + "order": 2, + "description": "Latino.TextMining.ITokenizer" + } + }, + { + "pk": 62, + "model": "workflows.abstractinput", + "fields": { + "widget": 24, + "name": "Annotation to be tokenized", + "short_name": "ann", + "uid": "8276d0ab-b714-38dd-2971-ed603c831bbc", + "default": "TextBlock", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "inputAnnotation", + "parameter": true, + "order": 3, + "description": "Which annotated part of document to be splited" + } + }, + { + "pk": 63, + "model": "workflows.abstractinput", + "fields": { + "widget": 24, + "name": "Annotation to be produced", + "short_name": "ann", + "uid": "07ba8fe5-2a71-600f-b57a-9903c73e1d65", + "default": "Sentence", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputAnnotation", + "parameter": true, + "order": 4, + "description": "How to annotate found sentences" + } + }, + { + "pk": 25, + "model": "workflows.abstractoutput", + "fields": { + "widget": 24, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "f11297c2-02bf-ec83-336e-74b2ebbd5673", + "order": 1, + "description": "" + } + }, + { + "pk": 25, + "model": "workflows.abstractwidget", + "fields": { + "category": 5, + "treeview_image": null, + "name": "Tokenizer Hub", + "is_streaming": false, + "uid": "c747f62a-9ca6-4bab-86be-f4d3e8849efb", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_word_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tokenize_words", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 7, + "description": "Automatically generated widget from function TokenizeWords in package latino. The original function signature: TokenizeWords." + } + }, + { + "pk": 64, + "model": "workflows.abstractinput", + "fields": { + "widget": 25, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "8114ab48-987a-8570-27c8-1544be7bbaae", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 65, + "model": "workflows.abstractinput", + "fields": { + "widget": 25, + "name": "Tokenizer", + "short_name": "tkn", + "uid": "a03ee323-a151-3931-8d36-c86b63e7ee1f", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tokenizer", + "parameter": false, + "order": 2, + "description": "Latino.TextMining.ITokenizer" + } + }, + { + "pk": 66, + "model": "workflows.abstractinput", + "fields": { + "widget": 25, + "name": "Annotation to be tokenized", + "short_name": "ann", + "uid": "006cccbd-ee39-44b5-35fb-760a30422630", + "default": "TextBlock", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "inputAnnotation", + "parameter": true, + "order": 3, + "description": "Which annotated part of document to be splited" + } + }, + { + "pk": 67, + "model": "workflows.abstractinput", + "fields": { + "widget": 25, + "name": "Annotation to be produced", + "short_name": "ann", + "uid": "cd426790-640d-a1a9-18ec-a8f611780b4a", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputAnnotation", + "parameter": true, + "order": 4, + "description": "How to annotate found sentences" + } + }, + { + "pk": 26, + "model": "workflows.abstractoutput", + "fields": { + "widget": 25, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "e8c8a6d2-1d5b-579a-8e1d-7a45c7f22ba6", + "order": 1, + "description": "" + } + }, + { + "pk": 26, + "model": "workflows.abstractwidget", + "fields": { + "category": 6, + "treeview_image": null, + "name": "Universal Multiple Tokenizer Hub", + "is_streaming": false, + "uid": "77ce37e0-7cbd-4f6b-8877-b743b8ebd448", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_multi_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tokenize_multiple", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function TokenizeMultiple in package latino. The original function signature: TokenizeMultiple." + } + }, + { + "pk": 68, + "model": "workflows.abstractinput", + "fields": { + "widget": 26, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "6d3002e0-b3da-86fe-d3fd-7b3ed0817c9c", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 69, + "model": "workflows.abstractinput", + "fields": { + "widget": 26, + "name": "Tokenizer", + "short_name": "tkn", + "uid": "b2de28ca-9ab9-990f-43d0-5711ff877ee9", + "default": "", + "required": true, + "multi": true, + "parameter_type": null, + "variable": "tokenizer", + "parameter": false, + "order": 2, + "description": "Latino.TextMining.ITokenizer" + } + }, + { + "pk": 70, + "model": "workflows.abstractinput", + "fields": { + "widget": 26, + "name": "Annotation to be tokenized", + "short_name": "ann", + "uid": "ecb3bf15-fa48-6a10-aa11-dfc62fb0ee46", + "default": "TextBlock", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "inputAnnotation", + "parameter": true, + "order": 3, + "description": "Which annotated part of document to be splited" + } + }, + { + "pk": 71, + "model": "workflows.abstractinput", + "fields": { + "widget": 26, + "name": "Annotation to be produced", + "short_name": "ann", + "uid": "8c781452-1924-dc90-e405-787c3c6d3124", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "outputAnnotation", + "parameter": true, + "order": 4, + "description": "How to annotate found sentences" + } + }, + { + "pk": 27, + "model": "workflows.abstractoutput", + "fields": { + "widget": 26, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "ecfea29e-844d-1918-f691-404f7ef61212", + "order": 1, + "description": "" + } + }, + { + "pk": 27, + "model": "workflows.abstractwidget", + "fields": { + "category": 6, + "treeview_image": null, + "name": "Split Sentences Hub (Text)", + "is_streaming": false, + "uid": "ff6b3afa-e162-4f94-aa75-5fe73b5b1709", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_sentence_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tokenize_string_string", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function TokenizeStringString in package latino. The original function signature: TokenizeStringString." + } + }, + { + "pk": 72, + "model": "workflows.abstractinput", + "fields": { + "widget": 27, + "name": "Text", + "short_name": "str", + "uid": "386df033-ec3f-649c-5c30-5231f776d16b", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "text", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 73, + "model": "workflows.abstractinput", + "fields": { + "widget": 27, + "name": "Tokenizer", + "short_name": "tkn", + "uid": "2d2360e0-2bd5-355e-5be8-851d24c13a51", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tokenizer", + "parameter": false, + "order": 2, + "description": "Latino.TextMining.ITokenizer" + } + }, + { + "pk": 28, + "model": "workflows.abstractoutput", + "fields": { + "widget": 27, + "name": "Text", + "short_name": "str", + "variable": "string", + "uid": "683cae8b-fc16-5ff6-a461-3e949325605a", + "order": 1, + "description": "" + } + }, + { + "pk": 28, + "model": "workflows.abstractwidget", + "fields": { + "category": 6, + "treeview_image": null, + "name": "Tokenizer Hub (Text)", + "is_streaming": false, + "uid": "fd800f19-0344-4ab0-a010-b2ddb5dfbcc2", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "token_word_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tokenize_string_words", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function TokenizeStringWords in package latino. The original function signature: TokenizeStringWords." + } + }, + { + "pk": 74, + "model": "workflows.abstractinput", + "fields": { + "widget": 28, + "name": "Text", + "short_name": "str", + "uid": "8864e6fe-0d06-4c65-d8e3-a6a71f9b7d8d", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "text", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 75, + "model": "workflows.abstractinput", + "fields": { + "widget": 28, + "name": "Tokenizer", + "short_name": "tkn", + "uid": "ccbc71bb-ad82-985c-e2de-d807fd01af59", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tokenizer", + "parameter": false, + "order": 2, + "description": "Latino.TextMining.ITokenizer" + } + }, + { + "pk": 29, + "model": "workflows.abstractoutput", + "fields": { + "widget": 28, + "name": "String", + "short_name": "str", + "variable": "string", + "uid": "b48d7f0b-89b8-f554-ba37-a179e3d2df69", + "order": 1, + "description": "" + } + }, + { + "pk": 29, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Max Entropy POS Tagger", + "is_streaming": false, + "uid": "3860ae51-48ca-485d-b170-9064dd51e0ab", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_pos_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_english_maximum_entropy_pos_tagger", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructEnglishMaximumEntropyPosTagger in package latino. The original function signature: ConstructEnglishMaximumEntropyPosTagger." + } + }, + { + "pk": 76, + "model": "workflows.abstractinput", + "fields": { + "widget": 29, + "name": "Beam Size", + "short_name": "int", + "uid": "f85d9aa7-bb95-4d17-cd09-c55785705bad", + "default": "3", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "beamSize", + "parameter": true, + "order": 1, + "description": "System.Int32" + } + }, + { + "pk": 30, + "model": "workflows.abstractoutput", + "fields": { + "widget": 29, + "name": "POS Tagger", + "short_name": "pst", + "variable": "posTagger", + "uid": "3c4807f0-9a29-56b6-9b2e-3e038f1737b9", + "order": 1, + "description": "" + } + }, + { + "pk": 30, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "POS Tagger Hub", + "is_streaming": false, + "uid": "fca388cc-884a-4a37-bbd1-d05112962a12", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_pos_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_pos_tag", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function PosTag in package latino. The original function signature: PosTag." + } + }, + { + "pk": 77, + "model": "workflows.abstractinput", + "fields": { + "widget": 30, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "367dea85-fea7-1eb1-4e69-29de6cbca466", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 78, + "model": "workflows.abstractinput", + "fields": { + "widget": 30, + "name": "POS Tagger", + "short_name": "pst", + "uid": "59990e29-5dc9-de5f-21c7-76d8d310fecd", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "posTagger", + "parameter": false, + "order": 2, + "description": "OpenNLP.Tools.PosTagger.EnglishMaximumEntropyPosTagger" + } + }, + { + "pk": 79, + "model": "workflows.abstractinput", + "fields": { + "widget": 30, + "name": "Sentence's Annotation", + "short_name": "str", + "uid": "12a9df55-64c4-4398-c210-fd7d74117ec1", + "default": "Sentence", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "groupAnnotation", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 80, + "model": "workflows.abstractinput", + "fields": { + "widget": 30, + "name": "Element's Annotation", + "short_name": "str", + "uid": "ec62f621-6061-a275-f03b-69d8bef311fe", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "elementAnnotation", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 81, + "model": "workflows.abstractinput", + "fields": { + "widget": 30, + "name": "Output Feature Name", + "short_name": "str", + "uid": "a81b24b7-8b2c-c491-8e43-a46cb87a838b", + "default": "posTag", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeature", + "parameter": true, + "order": 5, + "description": "System.String" + } + }, + { + "pk": 31, + "model": "workflows.abstractoutput", + "fields": { + "widget": 30, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "7a252b1a-25ae-33cd-a13b-baa7320bfad5", + "order": 1, + "description": "" + } + }, + { + "pk": 31, + "model": "workflows.abstractwidget", + "fields": { + "category": 8, + "treeview_image": null, + "name": "POS Tagger Hub (Text)", + "is_streaming": false, + "uid": "33307dbf-08b5-4768-ba21-ebe1aa68c69b", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_pos_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_pos_tag_string", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function PosTagString in package latino. The original function signature: PosTagString." + } + }, + { + "pk": 82, + "model": "workflows.abstractinput", + "fields": { + "widget": 31, + "name": "Text", + "short_name": "str", + "uid": "ed41747a-dc93-d818-291c-62d791613083", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "text", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 83, + "model": "workflows.abstractinput", + "fields": { + "widget": 31, + "name": "POS Tagger", + "short_name": "pst", + "uid": "981e7201-35ab-7b25-ae8f-29e5b03cb407", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "posTagger", + "parameter": false, + "order": 2, + "description": "OpenNLP.Tools.PosTagger.EnglishMaximumEntropyPosTagger" + } + }, + { + "pk": 84, + "model": "workflows.abstractinput", + "fields": { + "widget": 31, + "name": "Output Feature Name", + "short_name": "str", + "uid": "02d347c6-12c9-9892-5d69-38548474b35a", + "default": "posTag", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeature", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 32, + "model": "workflows.abstractoutput", + "fields": { + "widget": 31, + "name": "String", + "short_name": "str", + "variable": "string", + "uid": "b773304e-55a1-d06f-363c-e10850b7bd56", + "order": 1, + "description": "" + } + }, + { + "pk": 32, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Get Stopword Set", + "is_streaming": false, + "uid": "773960d9-ccca-41bc-8b13-0c0f62c62f0e", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "get_stop_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_get_stop_words", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 6, + "description": "Automatically generated widget from function GetStopWords in package latino. The original function signature: GetStopWords." + } + }, + { + "pk": 85, + "model": "workflows.abstractinput", + "fields": { + "widget": 32, + "name": "Language", + "short_name": "lng", + "uid": "6a6806de-1cbc-b670-82cc-498784c2d7f4", + "default": "English", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "language", + "parameter": true, + "order": 1, + "description": "Latino.TextMining.Language" + } + }, + { + "pk": 11, + "model": "workflows.abstractoption", + "fields": { + "uid": "2c472b88-5377-c473-bb7c-74612d9e8752", + "abstract_input": 85, + "value": "Bulgarian", + "name": "Bulgarian" + } + }, + { + "pk": 12, + "model": "workflows.abstractoption", + "fields": { + "uid": "8c8245e9-ddc7-ddb7-48e8-83a1df62511a", + "abstract_input": 85, + "value": "Czech", + "name": "Czech" + } + }, + { + "pk": 13, + "model": "workflows.abstractoption", + "fields": { + "uid": "5449a6c7-e8fd-8355-6447-70d41e87cfb9", + "abstract_input": 85, + "value": "Danish", + "name": "Danish" + } + }, + { + "pk": 14, + "model": "workflows.abstractoption", + "fields": { + "uid": "3d04e639-6b74-5bdd-ef00-3211be836630", + "abstract_input": 85, + "value": "Dutch", + "name": "Dutch" + } + }, + { + "pk": 15, + "model": "workflows.abstractoption", + "fields": { + "uid": "5713ce63-336f-316a-6319-30263ea86f35", + "abstract_input": 85, + "value": "English", + "name": "English" + } + }, + { + "pk": 16, + "model": "workflows.abstractoption", + "fields": { + "uid": "8f7a8ad5-c65b-b3ed-931e-4376d5699f5c", + "abstract_input": 85, + "value": "Finnish", + "name": "Finnish" + } + }, + { + "pk": 17, + "model": "workflows.abstractoption", + "fields": { + "uid": "f6d4c7e3-1514-6427-f155-9b14cab0d38c", + "abstract_input": 85, + "value": "French", + "name": "French" + } + }, + { + "pk": 18, + "model": "workflows.abstractoption", + "fields": { + "uid": "091f177e-767f-3361-10af-bd2f6e85d994", + "abstract_input": 85, + "value": "German", + "name": "German" + } + }, + { + "pk": 19, + "model": "workflows.abstractoption", + "fields": { + "uid": "39218bba-61fe-40a9-b34d-699b9f58c12e", + "abstract_input": 85, + "value": "Hungarian", + "name": "Hungarian" + } + }, + { + "pk": 20, + "model": "workflows.abstractoption", + "fields": { + "uid": "08c09945-f0f1-d216-354d-e963dd9f19b8", + "abstract_input": 85, + "value": "Italian", + "name": "Italian" + } + }, + { + "pk": 21, + "model": "workflows.abstractoption", + "fields": { + "uid": "49138042-2c55-3b9f-a703-89745bf7ba86", + "abstract_input": 85, + "value": "Norwegian", + "name": "Norwegian" + } + }, + { + "pk": 22, + "model": "workflows.abstractoption", + "fields": { + "uid": "cfeae8fc-9cee-e702-96b4-a59d7cdd598f", + "abstract_input": 85, + "value": "Portuguese", + "name": "Portuguese" + } + }, + { + "pk": 23, + "model": "workflows.abstractoption", + "fields": { + "uid": "9ad4c287-f426-299d-17e0-b079df66d04c", + "abstract_input": 85, + "value": "Romanian", + "name": "Romanian" + } + }, + { + "pk": 24, + "model": "workflows.abstractoption", + "fields": { + "uid": "81b661f7-cf4a-fdc2-7519-268ad17e3b61", + "abstract_input": 85, + "value": "Russian", + "name": "Russian" + } + }, + { + "pk": 25, + "model": "workflows.abstractoption", + "fields": { + "uid": "ecc8309f-87c2-de3f-757f-eebbbfeade29", + "abstract_input": 85, + "value": "Serbian", + "name": "Serbian" + } + }, + { + "pk": 26, + "model": "workflows.abstractoption", + "fields": { + "uid": "d328b41f-7770-2db1-9bd3-0fa7e1682751", + "abstract_input": 85, + "value": "Slovene", + "name": "Slovene" + } + }, + { + "pk": 27, + "model": "workflows.abstractoption", + "fields": { + "uid": "c038a6e7-e788-e0d5-7f89-cabf84920123", + "abstract_input": 85, + "value": "Spanish", + "name": "Spanish" + } + }, + { + "pk": 28, + "model": "workflows.abstractoption", + "fields": { + "uid": "bad16fe3-7af6-2e35-8728-61563526d77b", + "abstract_input": 85, + "value": "Swedish", + "name": "Swedish" + } + }, + { + "pk": 33, + "model": "workflows.abstractoutput", + "fields": { + "widget": 32, + "name": "StopWords", + "short_name": "str", + "variable": "strings", + "uid": "d601ddbb-a068-cda8-8963-4dc61c890a37", + "order": 1, + "description": "" + } + }, + { + "pk": 33, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Lemma Tagger LemmaGen", + "is_streaming": false, + "uid": "d7cf3f71-3efd-4568-b2ff-fb9520106d9a", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stem_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_lemma_sharp_lemmatizer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ConstructLemmaSharpLemmatizer in package latino. The original function signature: ConstructLemmaSharpLemmatizer." + } + }, + { + "pk": 86, + "model": "workflows.abstractinput", + "fields": { + "widget": 33, + "name": "Language", + "short_name": "lng", + "uid": "97933b25-f871-cb19-0fc6-64b0ffc2c49b", + "default": "English", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "language", + "parameter": true, + "order": 1, + "description": "Latino.TextMining.Language" + } + }, + { + "pk": 29, + "model": "workflows.abstractoption", + "fields": { + "uid": "d31cca41-7ee0-6eb6-a3bb-cccbbf4490ca", + "abstract_input": 86, + "value": "Bulgarian", + "name": "Bulgarian" + } + }, + { + "pk": 30, + "model": "workflows.abstractoption", + "fields": { + "uid": "18ddfc3a-1255-b6ea-01fc-7c5742401cfa", + "abstract_input": 86, + "value": "Czech", + "name": "Czech" + } + }, + { + "pk": 31, + "model": "workflows.abstractoption", + "fields": { + "uid": "0e4a2ccf-0fd4-69e3-e630-d60d8b8f658e", + "abstract_input": 86, + "value": "English", + "name": "English" + } + }, + { + "pk": 32, + "model": "workflows.abstractoption", + "fields": { + "uid": "7a3e3672-48fb-5929-bc0a-d58253ea5a4b", + "abstract_input": 86, + "value": "Estonian", + "name": "Estonian" + } + }, + { + "pk": 33, + "model": "workflows.abstractoption", + "fields": { + "uid": "9b381bf5-3eab-bcdc-3ce4-491f99291ac9", + "abstract_input": 86, + "value": "French", + "name": "French" + } + }, + { + "pk": 34, + "model": "workflows.abstractoption", + "fields": { + "uid": "46c55bf1-aea8-bc38-2c32-f8ce64bdb3c4", + "abstract_input": 86, + "value": "German", + "name": "German" + } + }, + { + "pk": 35, + "model": "workflows.abstractoption", + "fields": { + "uid": "fc7c31e4-95d8-2801-efee-b4157d29f3f2", + "abstract_input": 86, + "value": "Hungarian", + "name": "Hungarian" + } + }, + { + "pk": 36, + "model": "workflows.abstractoption", + "fields": { + "uid": "3364645a-3a08-6dd5-8a1f-64e3c33a0685", + "abstract_input": 86, + "value": "Italian", + "name": "Italian" + } + }, + { + "pk": 37, + "model": "workflows.abstractoption", + "fields": { + "uid": "e7a9adf6-d6b2-5999-6cd8-2d894a7c31b4", + "abstract_input": 86, + "value": "Romanian", + "name": "Romanian" + } + }, + { + "pk": 38, + "model": "workflows.abstractoption", + "fields": { + "uid": "1c164e45-6ac6-c26b-1147-da7a53412c3d", + "abstract_input": 86, + "value": "Serbian", + "name": "Serbian" + } + }, + { + "pk": 39, + "model": "workflows.abstractoption", + "fields": { + "uid": "705cc251-de0f-8b0b-36e7-2a34a01f7c63", + "abstract_input": 86, + "value": "Slovene", + "name": "Slovene" + } + }, + { + "pk": 40, + "model": "workflows.abstractoption", + "fields": { + "uid": "4a2fbfde-ad2c-721d-c563-8f7aa4860d6d", + "abstract_input": 86, + "value": "Spanish", + "name": "Spanish" + } + }, + { + "pk": 34, + "model": "workflows.abstractoutput", + "fields": { + "widget": 33, + "name": "Lemmatizer (Tagger)", + "short_name": "tgr", + "variable": "tagger", + "uid": "7e9e5cb0-cc51-7ffb-d85c-f78309363f49", + "order": 1, + "description": "" + } + }, + { + "pk": 34, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Stem Tagger Snowball", + "is_streaming": false, + "uid": "bfd10a14-60ea-424d-bc54-eb34173fe7df", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stem_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_snowball_stemmer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function ConstructSnowballStemmer in package latino. The original function signature: ConstructSnowballStemmer." + } + }, + { + "pk": 87, + "model": "workflows.abstractinput", + "fields": { + "widget": 34, + "name": "Language", + "short_name": "lng", + "uid": "38622b5c-1d5f-4e61-ea6e-8dbdfe8768ee", + "default": "English", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "language", + "parameter": true, + "order": 1, + "description": "Latino.TextMining.Language" + } + }, + { + "pk": 41, + "model": "workflows.abstractoption", + "fields": { + "uid": "2a6956b4-d25c-c5cf-9680-37f358c44443", + "abstract_input": 87, + "value": "Danish", + "name": "Danish" + } + }, + { + "pk": 42, + "model": "workflows.abstractoption", + "fields": { + "uid": "44bf6b31-0384-c6f4-a32a-ea0f63dc7a64", + "abstract_input": 87, + "value": "Dutch", + "name": "Dutch" + } + }, + { + "pk": 43, + "model": "workflows.abstractoption", + "fields": { + "uid": "15d69a6e-35a2-e99a-339d-916620898d3e", + "abstract_input": 87, + "value": "English", + "name": "English" + } + }, + { + "pk": 44, + "model": "workflows.abstractoption", + "fields": { + "uid": "717fae43-e56c-75e8-873e-7d39ab06cb4b", + "abstract_input": 87, + "value": "Finnish", + "name": "Finnish" + } + }, + { + "pk": 45, + "model": "workflows.abstractoption", + "fields": { + "uid": "89bc5e03-96fe-4419-8d35-9dde624bdc01", + "abstract_input": 87, + "value": "French", + "name": "French" + } + }, + { + "pk": 46, + "model": "workflows.abstractoption", + "fields": { + "uid": "9c008d61-1052-d597-2ec3-f450a9db3ad9", + "abstract_input": 87, + "value": "German", + "name": "German" + } + }, + { + "pk": 47, + "model": "workflows.abstractoption", + "fields": { + "uid": "52cd8332-9770-2775-e1b2-c927225c3cdb", + "abstract_input": 87, + "value": "Italian", + "name": "Italian" + } + }, + { + "pk": 48, + "model": "workflows.abstractoption", + "fields": { + "uid": "7907ce4b-9e29-c093-35c1-442545a5d555", + "abstract_input": 87, + "value": "Norwegian", + "name": "Norwegian" + } + }, + { + "pk": 49, + "model": "workflows.abstractoption", + "fields": { + "uid": "8a771e14-51c7-ff9a-6d1b-f6b12af42e0f", + "abstract_input": 87, + "value": "Portuguese", + "name": "Portuguese" + } + }, + { + "pk": 50, + "model": "workflows.abstractoption", + "fields": { + "uid": "d8d8ac95-caf7-f385-9fe1-80965496dec5", + "abstract_input": 87, + "value": "Russian", + "name": "Russian" + } + }, + { + "pk": 51, + "model": "workflows.abstractoption", + "fields": { + "uid": "1c32684a-8c3c-6478-1ec0-9a9758a8357c", + "abstract_input": 87, + "value": "Spanish", + "name": "Spanish" + } + }, + { + "pk": 52, + "model": "workflows.abstractoption", + "fields": { + "uid": "80d2656e-901f-7116-7e4d-41a0ee672536", + "abstract_input": 87, + "value": "Swedish", + "name": "Swedish" + } + }, + { + "pk": 35, + "model": "workflows.abstractoutput", + "fields": { + "widget": 34, + "name": "Stemmer (Tagger)", + "short_name": "tgr", + "variable": "tagger", + "uid": "19aaae25-ca47-25d1-c801-a4e72d012841", + "order": 1, + "description": "" + } + }, + { + "pk": 35, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Stopwords Tagger", + "is_streaming": false, + "uid": "e019026d-f751-430f-85c5-bdc983adc194", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stop_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_stop_words_tagger", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 7, + "description": "Automatically generated widget from function ConstructStopWordsTagger in package latino. The original function signature: ConstructStopWordsTagger." + } + }, + { + "pk": 88, + "model": "workflows.abstractinput", + "fields": { + "widget": 35, + "name": "Stopwords", + "short_name": "str", + "uid": "e48be590-bbd9-0604-2542-a58ac6d43eac", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "stopWords", + "parameter": false, + "order": 1, + "description": "List of stopwords" + } + }, + { + "pk": 89, + "model": "workflows.abstractinput", + "fields": { + "widget": 35, + "name": "Ignore Case", + "short_name": "bol", + "uid": "05ce0842-1fbf-a438-deac-3b84f792d62f", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "ignoreCase", + "parameter": true, + "order": 2, + "description": "If true than words are marked stopword regardless of their casing." + } + }, + { + "pk": 36, + "model": "workflows.abstractoutput", + "fields": { + "widget": 35, + "name": "StopWords Tagger", + "short_name": "tgr", + "variable": "tagger", + "uid": "d49a2af5-3c00-19a3-acf5-4e19ad314452", + "order": 1, + "description": "" + } + }, + { + "pk": 36, + "model": "workflows.abstractwidget", + "fields": { + "category": 8, + "treeview_image": null, + "name": "Condition Tagger", + "is_streaming": false, + "uid": "9de84740-c4dc-464f-9388-fd736598829c", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_condition_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_condition_tagger", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructConditionTagger in package latino. The original function signature: ConstructConditionTagger." + } + }, + { + "pk": 90, + "model": "workflows.abstractinput", + "fields": { + "widget": 36, + "name": "Feature Condition", + "short_name": "str", + "uid": "93ce61ae-f7af-ee3a-26d0-1b0af81bcc03", + "default": "", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "featureCondition", + "parameter": true, + "order": 1, + "description": "Condition which tokens to include based on their features.\nFormat examples:\n-Feature1 (don't include tokens with Feature1 set ta any value)\n-Feature1=Value1 (don't include tokens with Feature1 set to the value Value1)\n-Feature1 +Feature2 (don't include tokens with Feature1 set unless it has also Feature2 set)\n-Feature1=Value1 +Feature2 (don't include tokens with Feature1 set to Value1 unless it has also Feature2 set to any value)..." + } + }, + { + "pk": 91, + "model": "workflows.abstractinput", + "fields": { + "widget": 36, + "name": "output Feature Value", + "short_name": "str", + "uid": "96c4c439-c645-d2b4-cd7d-8524f3c3b2bf", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeatureValue", + "parameter": true, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 92, + "model": "workflows.abstractinput", + "fields": { + "widget": 36, + "name": "Put token/feature text as the output feature value", + "short_name": "bol", + "uid": "b2e17caf-f2d7-b587-b76e-83bdf12109ae", + "default": "", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "elementsTextToFeatureValue", + "parameter": true, + "order": 3, + "description": "If set to true than token or token's feature text is asigned as output feature value" + } + }, + { + "pk": 37, + "model": "workflows.abstractoutput", + "fields": { + "widget": 36, + "name": "Tagger", + "short_name": "tgr", + "variable": "tagger", + "uid": "f1d9b4f2-62a1-add4-3f66-cb599081a33c", + "order": 1, + "description": "" + } + }, + { + "pk": 37, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Stem/Lemma Tagger Hub", + "is_streaming": false, + "uid": "3f8d1230-4aa3-4d0a-b1b7-440b4be85617", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stem_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tag_adcstem_lemma", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Taggs the given annotated document corpus with the given tagger." + } + }, + { + "pk": 93, + "model": "workflows.abstractinput", + "fields": { + "widget": 37, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "39f94180-1a05-b54c-a2ed-aca515adfdf5", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 94, + "model": "workflows.abstractinput", + "fields": { + "widget": 37, + "name": "Token Tagger", + "short_name": "tgr", + "uid": "4b53bed0-7e83-30a8-6bc7-00c61010082a", + "default": "Output feature name specifies how the token will be tagged (assigend the feature to)\nIf multiple taggers are used then one line per tagger must be specified.", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tagger", + "parameter": false, + "order": 2, + "description": "Token Annotation of the token to be tagged. If also the feature name is used than the feature value of selected token will be tagged.\nUsage: \n1. TokenName\n2. TokenName/FeatureName\nIf multiple taggers are used then one line per tagger must be specified." + } + }, + { + "pk": 95, + "model": "workflows.abstractinput", + "fields": { + "widget": 37, + "name": "Token Annotation", + "short_name": "str", + "uid": "568a8c0e-5e96-3315-ba84-4a1c2158050c", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "elementAnnotation", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 96, + "model": "workflows.abstractinput", + "fields": { + "widget": 37, + "name": "Output Feature Name", + "short_name": "str", + "uid": "ce347962-18cf-ca95-cd26-37e29fef1fd8", + "default": "stem", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeature", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 38, + "model": "workflows.abstractoutput", + "fields": { + "widget": 37, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "a54b5f27-df00-1cd7-3318-9e90d518d876", + "order": 1, + "description": "" + } + }, + { + "pk": 38, + "model": "workflows.abstractwidget", + "fields": { + "category": 7, + "treeview_image": null, + "name": "Stopword Tagger Hub", + "is_streaming": false, + "uid": "6176ee13-e03c-46ee-92b4-8ba06574f9d3", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stop_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tag_adcstopwords", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 8, + "description": "Automatically generated widget from function TagADCStopwords in package latino. The original function signature: TagADCStopwords." + } + }, + { + "pk": 97, + "model": "workflows.abstractinput", + "fields": { + "widget": 38, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "506918e6-a155-19db-a92d-a49020cb739e", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 98, + "model": "workflows.abstractinput", + "fields": { + "widget": 38, + "name": "Token Tagger", + "short_name": "tgr", + "uid": "ab4aca52-bba4-ce58-fdb2-5f8e12117236", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tagger", + "parameter": false, + "order": 2, + "description": "System.Object" + } + }, + { + "pk": 99, + "model": "workflows.abstractinput", + "fields": { + "widget": 38, + "name": "Token Annotation", + "short_name": "str", + "uid": "cc2ca8d9-f024-0b55-8876-dbd2f604dc1b", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "elementAnnotation", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 100, + "model": "workflows.abstractinput", + "fields": { + "widget": 38, + "name": "Output Feature Name", + "short_name": "str", + "uid": "4059e050-41d9-28bf-312b-245be978eb90", + "default": "stopword", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeature", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 39, + "model": "workflows.abstractoutput", + "fields": { + "widget": 38, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "3a8fcb8a-bf7e-38d1-1f9c-dd0f8ad2fd35", + "order": 1, + "description": "" + } + }, + { + "pk": 39, + "model": "workflows.abstractwidget", + "fields": { + "category": 8, + "treeview_image": null, + "name": "Universal Multiple Tagger Hub", + "is_streaming": false, + "uid": "5bb5799b-00d3-449a-b79a-42e31a36ec8c", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_multiple_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tag_adcmultiple", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function TagADCMultiple in package latino. The original function signature: TagADCMultiple." + } + }, + { + "pk": 101, + "model": "workflows.abstractinput", + "fields": { + "widget": 39, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "da1abf2d-4055-a35e-be5f-51113e7af728", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 102, + "model": "workflows.abstractinput", + "fields": { + "widget": 39, + "name": "Token Tagger", + "short_name": "tgr", + "uid": "07a9308b-9a84-28db-7d6d-d7ba80587882", + "default": "", + "required": true, + "multi": true, + "parameter_type": null, + "variable": "tagger", + "parameter": false, + "order": 2, + "description": "System.Object" + } + }, + { + "pk": 103, + "model": "workflows.abstractinput", + "fields": { + "widget": 39, + "name": "Token Annotation [ / Feature Name ] (one line per each tagger)", + "short_name": "str", + "uid": "8081e46e-e87f-d112-5008-c99825c5ff12", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "elementAnnotation", + "parameter": true, + "order": 3, + "description": "Token Annotation of the token to be tagged. If also the feature name is used than the feature value of selected token will be tagged.\nUsage: \n1. TokenName\n2. TokenName/FatureName\nIf multiple taggers are used then one line per tagger must be specified." + } + }, + { + "pk": 104, + "model": "workflows.abstractinput", + "fields": { + "widget": 39, + "name": "Output Feature Name (one line per each tagger)", + "short_name": "str", + "uid": "6e0f0289-cd76-2935-5153-a581b0bc8f89", + "default": "tag", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "outputFeature", + "parameter": true, + "order": 4, + "description": "Output feature name specifies how the token will be tagged (assigend the feature to)\nIf multiple taggers are used then one line per tagger must be specified." + } + }, + { + "pk": 40, + "model": "workflows.abstractoutput", + "fields": { + "widget": 39, + "name": "Annotated Document Corpus", + "short_name": "adc", + "variable": "adc", + "uid": "d53da19f-9902-08f8-a857-a2b553cb17d7", + "order": 1, + "description": "" + } + }, + { + "pk": 40, + "model": "workflows.abstractwidget", + "fields": { + "category": 8, + "treeview_image": null, + "name": "Stem/Lemma Tagger Hub (Text)", + "is_streaming": false, + "uid": "f2be2fc3-5a17-47c1-9353-3cfc454bfe59", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stem_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tag_string_stem_lemma", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function TagStringStemLemma in package latino. The original function signature: TagStringStemLemma." + } + }, + { + "pk": 105, + "model": "workflows.abstractinput", + "fields": { + "widget": 40, + "name": "Text", + "short_name": "str", + "uid": "24f1fd60-dd51-d6cb-4855-d1e4b9dc780c", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "text", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 106, + "model": "workflows.abstractinput", + "fields": { + "widget": 40, + "name": "Token Tagger", + "short_name": "tgr", + "uid": "c7161458-dd14-d64c-55b2-aeea24aa08b2", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tagger", + "parameter": false, + "order": 2, + "description": "System.Object" + } + }, + { + "pk": 107, + "model": "workflows.abstractinput", + "fields": { + "widget": 40, + "name": "Output Feature Name", + "short_name": "str", + "uid": "c8240d9c-bddf-fb62-f7b6-666f8dba9895", + "default": "stem", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeature", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 41, + "model": "workflows.abstractoutput", + "fields": { + "widget": 40, + "name": "String", + "short_name": "str", + "variable": "string", + "uid": "2430a1d2-25a4-c887-cb71-3df05bd2696f", + "order": 1, + "description": "string or array of strings (based on the input)" + } + }, + { + "pk": 41, + "model": "workflows.abstractwidget", + "fields": { + "category": 8, + "treeview_image": null, + "name": "Stopword Tagger Hub (Text)", + "is_streaming": false, + "uid": "b1282be2-08f1-441e-9276-a05c0e6ab3ba", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "tag_stop_do_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_tag_string_stopwords", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function TagStringStopwords in package latino. The original function signature: TagStringStopwords." + } + }, + { + "pk": 108, + "model": "workflows.abstractinput", + "fields": { + "widget": 41, + "name": "Text", + "short_name": "str", + "uid": "45d86c20-4d28-d6f5-0eb7-aaf9b3aaff54", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "text", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 109, + "model": "workflows.abstractinput", + "fields": { + "widget": 41, + "name": "Token Tagger", + "short_name": "tgr", + "uid": "04643077-85b4-3f70-c52c-04515ab8c662", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tagger", + "parameter": false, + "order": 2, + "description": "string or array of strings" + } + }, + { + "pk": 110, + "model": "workflows.abstractinput", + "fields": { + "widget": 41, + "name": "Output Feature Name", + "short_name": "str", + "uid": "362bc947-acec-8ccd-8cc9-2545d8a672db", + "default": "stopword", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "outputFeature", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 42, + "model": "workflows.abstractoutput", + "fields": { + "widget": 41, + "name": "String", + "short_name": "str", + "variable": "string", + "uid": "a123a330-58a9-5fd4-a3ae-9f231da3e5ad", + "order": 1, + "description": "string or array of strings (based on the input)" + } + }, + { + "pk": 42, + "model": "workflows.abstractwidget", + "fields": { + "category": 10, + "treeview_image": null, + "name": "BOW Space (Text)", + "is_streaming": false, + "uid": "471eb047-8d39-4eac-8cc1-6c768c42d897", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "bow_space_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_bow_space_1", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructBowSpace in package latino. The original function signature: ConstructBowSpace." + } + }, + { + "pk": 111, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Textual Documents (Array of strings)", + "short_name": "str", + "uid": "e6029afb-4598-b3fb-d0a1-2cfd5ea0178b", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "documents", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 112, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Tokenizer", + "short_name": "tkn", + "uid": "df8d5b1f-200e-86dd-76ea-cdc3a65e2b02", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "tokenizer", + "parameter": false, + "order": 2, + "description": "Latino.TextMining.ITokenizer" + } + }, + { + "pk": 113, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Stemmer or Lemmatizer (Tagger)", + "short_name": "tgr", + "uid": "4cfdfa8f-e335-791d-72f0-f4f51666450d", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "stemmer", + "parameter": false, + "order": 3, + "description": "Latino.TextMining.IStemmer" + } + }, + { + "pk": 114, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Stopwords (Array of Stopwords)", + "short_name": "str", + "uid": "b183ddfb-9854-a13d-58e5-4943bb461192", + "default": "", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "stopwords", + "parameter": false, + "order": 4, + "description": "System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 115, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Maximum N-Gram Length", + "short_name": "int", + "uid": "9f7a8787-5d03-122a-97a3-540ef7e2ce9d", + "default": "2", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "maxNGramLen", + "parameter": true, + "order": 5, + "description": "System.Int32" + } + }, + { + "pk": 116, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Minimum Word Freqency", + "short_name": "dbl", + "uid": "10e4ef28-62b4-c59e-2f6c-7188bfac4a17", + "default": "5", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "minWordFreq", + "parameter": true, + "order": 6, + "description": "System.Int32" + } + }, + { + "pk": 117, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Word Weighting Type", + "short_name": "wwt", + "uid": "76121091-e83a-ec17-bdf2-cd239e7c8b5d", + "default": "TfIdf", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "wordWeightType", + "parameter": true, + "order": 7, + "description": "Latino.TextMining.WordWeightType" + } + }, + { + "pk": 53, + "model": "workflows.abstractoption", + "fields": { + "uid": "25f63cf8-7cdf-fae2-f661-c69cfb7ec932", + "abstract_input": 117, + "value": "TermFreq", + "name": "Term Freq" + } + }, + { + "pk": 54, + "model": "workflows.abstractoption", + "fields": { + "uid": "699fb42d-3593-80ad-0116-b4401750e866", + "abstract_input": 117, + "value": "TfIdf", + "name": "Tf Idf" + } + }, + { + "pk": 55, + "model": "workflows.abstractoption", + "fields": { + "uid": "6e6fc78e-809b-3f9a-39ec-ae31d1db030f", + "abstract_input": 117, + "value": "LogDfTfIdf", + "name": "Log Df Tf Idf" + } + }, + { + "pk": 56, + "model": "workflows.abstractoption", + "fields": { + "uid": "718c39f4-26d5-b154-0b62-e1a5247f22ca", + "abstract_input": 117, + "value": "Dyakonov", + "name": "Dyakonov" + } + }, + { + "pk": 118, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Cut Low Weights Percentage", + "short_name": "dbl", + "uid": "0160cac5-a82c-a2ea-d8ec-66e3a76b2a02", + "default": "0.2", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "cutLowWeightsPerc", + "parameter": true, + "order": 8, + "description": "System.Double" + } + }, + { + "pk": 119, + "model": "workflows.abstractinput", + "fields": { + "widget": 42, + "name": "Normalize Vectors", + "short_name": "bol", + "uid": "58e02ee9-6308-6ad8-49aa-dce004c8175f", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "normalizeVectors", + "parameter": true, + "order": 9, + "description": "System.Boolean" + } + }, + { + "pk": 43, + "model": "workflows.abstractoutput", + "fields": { + "widget": 42, + "name": "Bag of Words Space", + "short_name": "bow", + "variable": "bow", + "uid": "6353aa61-77fd-189f-a260-14a8a4195839", + "order": 1, + "description": "" + } + }, + { + "pk": 44, + "model": "workflows.abstractoutput", + "fields": { + "widget": 42, + "name": "Dataset", + "short_name": "ds", + "variable": "ds", + "uid": "03e3ee38-d0a6-a503-1bf1-67dc3b950de4", + "order": 2, + "description": "" + } + }, + { + "pk": 43, + "model": "workflows.abstractwidget", + "fields": { + "category": 9, + "treeview_image": null, + "name": "BOW Space", + "is_streaming": false, + "uid": "070a465b-ea02-4238-b16c-9df74fbcbba8", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "bow_space_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_bow_space_2", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructBowSpace in package latino. The original function signature: ConstructBowSpace." + } + }, + { + "pk": 120, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "0abb5f7e-8690-60c4-b5c7-85c1d1731d8e", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "adc", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 121, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Token Annotation", + "short_name": "str", + "uid": "03cb77fe-4b71-3f3b-b52c-7ce359cd671a", + "default": "Token", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "tokenId", + "parameter": true, + "order": 2, + "description": "System.String" + } + }, + { + "pk": 122, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Stem Feature Name", + "short_name": "str", + "uid": "e22eb888-c070-e863-0abf-c8b448917d5f", + "default": "stem", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "stemId", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 123, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Stopword Feature Name", + "short_name": "str", + "uid": "7f18f58a-52b5-2422-9e66-d48cea082d82", + "default": "stopword", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "stopwordId", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 124, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Label Document Feature Name", + "short_name": "str", + "uid": "4eae4c2d-4cb3-f204-6de5-4864b2e45224", + "default": "label", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "labelId", + "parameter": true, + "order": 5, + "description": "System.String" + } + }, + { + "pk": 125, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Maximum N-Gram Length", + "short_name": "int", + "uid": "04f5a54b-df46-1b8f-fd33-2ef08e95a170", + "default": "2", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "maxNGramLen", + "parameter": true, + "order": 6, + "description": "System.Int32" + } + }, + { + "pk": 126, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Minimum Word Freqency", + "short_name": "dbl", + "uid": "0ee9ea90-c79d-60a6-acdb-550f3e83fc9f", + "default": "5", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "minWordFreq", + "parameter": true, + "order": 7, + "description": "System.Int32" + } + }, + { + "pk": 127, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Word Weighting Type", + "short_name": "wwt", + "uid": "2d8b45c0-58db-00a7-3bce-d11bfb35cbe8", + "default": "TfIdf", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "wordWeightType", + "parameter": true, + "order": 8, + "description": "Latino.TextMining.WordWeightType" + } + }, + { + "pk": 57, + "model": "workflows.abstractoption", + "fields": { + "uid": "354d457d-d086-66e5-6392-b9adf0dc74ed", + "abstract_input": 127, + "value": "TermFreq", + "name": "Term Freq" + } + }, + { + "pk": 58, + "model": "workflows.abstractoption", + "fields": { + "uid": "3448d5ae-e75e-b126-29ac-4085bd1a10cf", + "abstract_input": 127, + "value": "TfIdf", + "name": "Tf Idf" + } + }, + { + "pk": 59, + "model": "workflows.abstractoption", + "fields": { + "uid": "e707140f-980f-f092-75cc-811878137320", + "abstract_input": 127, + "value": "LogDfTfIdf", + "name": "Log Df Tf Idf" + } + }, + { + "pk": 60, + "model": "workflows.abstractoption", + "fields": { + "uid": "3d220d77-3233-6508-4420-1999a16f86ee", + "abstract_input": 127, + "value": "Dyakonov", + "name": "Dyakonov" + } + }, + { + "pk": 128, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Cut Low Weights Percentage", + "short_name": "dbl", + "uid": "d7f036e9-9634-d94d-a489-656760b8776d", + "default": "0.2", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "cutLowWeightsPerc", + "parameter": true, + "order": 9, + "description": "System.Double" + } + }, + { + "pk": 129, + "model": "workflows.abstractinput", + "fields": { + "widget": 43, + "name": "Normalize Vectors", + "short_name": "bol", + "uid": "e2ca4b98-3636-ff76-3e61-b25daed57739", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "normalizeVectors", + "parameter": true, + "order": 10, + "description": "System.Boolean" + } + }, + { + "pk": 45, + "model": "workflows.abstractoutput", + "fields": { + "widget": 43, + "name": "Bag of Words Space", + "short_name": "bow", + "variable": "bow", + "uid": "f86ef891-0d04-495a-322c-062767248dd6", + "order": 1, + "description": "" + } + }, + { + "pk": 46, + "model": "workflows.abstractoutput", + "fields": { + "widget": 43, + "name": "Dataset", + "short_name": "ds", + "variable": "ds", + "uid": "4b0b8791-ab58-61a2-580d-820e9d700367", + "order": 2, + "description": "" + } + }, + { + "pk": 44, + "model": "workflows.abstractwidget", + "fields": { + "category": 9, + "treeview_image": null, + "name": "Get Vocabulary", + "is_streaming": false, + "uid": "427e4a62-54dc-4eff-ba86-e0758f5792f1", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "get_vocabulary_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_get_vocabulary", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function GetVocabulary in package latino. The original function signature: GetVocabulary." + } + }, + { + "pk": 130, + "model": "workflows.abstractinput", + "fields": { + "widget": 44, + "name": "Bag of Words Space", + "short_name": "bow", + "uid": "42ef0943-14de-5f26-7563-a94b0a683355", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "bow", + "parameter": false, + "order": 1, + "description": "Latino.TextMining.BowSpace" + } + }, + { + "pk": 131, + "model": "workflows.abstractinput", + "fields": { + "widget": 44, + "name": "Index of First Retrieved Word", + "short_name": "int", + "uid": "b565efc9-bf78-a2da-b0bf-0c8c93ae0212", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "startIndex", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 132, + "model": "workflows.abstractinput", + "fields": { + "widget": 44, + "name": "Maximum Words Retrieved", + "short_name": "int", + "uid": "acdd5fac-b3e3-ad60-59b2-34861952383b", + "default": "500", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "maxWords", + "parameter": true, + "order": 3, + "description": "System.Int32" + } + }, + { + "pk": 47, + "model": "workflows.abstractoutput", + "fields": { + "widget": 44, + "name": "Vocabulary Table", + "short_name": "tbl", + "variable": "vocabulary", + "uid": "ca939886-de45-32e4-6aa3-253a89fd3857", + "order": 1, + "description": "" + } + }, + { + "pk": 45, + "model": "workflows.abstractwidget", + "fields": { + "category": 9, + "treeview_image": null, + "name": "Process New Documents", + "is_streaming": false, + "uid": "7dfc02d9-3396-4387-abd4-95e48cf4576a", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "process_new_adc_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_process_new_documents_from_adc", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ProcessNewDocumentsFromADC in package latino. The original function signature: ProcessNewDocumentsFromADC." + } + }, + { + "pk": 133, + "model": "workflows.abstractinput", + "fields": { + "widget": 45, + "name": "Bag of Words Space", + "short_name": "bow", + "uid": "929065a7-9eda-4166-a21d-42a01cf45876", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "bow", + "parameter": false, + "order": 1, + "description": "Latino.TextMining.BowSpace" + } + }, + { + "pk": 134, + "model": "workflows.abstractinput", + "fields": { + "widget": 45, + "name": "Annotated Document Corpus", + "short_name": "adc", + "uid": "a909e63a-7921-2be9-8553-7ead130aa4d7", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "adc", + "parameter": false, + "order": 2, + "description": "LatinoClowdFlows.DocumentCorpus" + } + }, + { + "pk": 48, + "model": "workflows.abstractoutput", + "fields": { + "widget": 45, + "name": "Dataset", + "short_name": "ds", + "variable": "ds", + "uid": "a1ff8aad-6c91-ad5e-e208-3b08e321c7ab", + "order": 1, + "description": "" + } + }, + { + "pk": 46, + "model": "workflows.abstractwidget", + "fields": { + "category": 10, + "treeview_image": null, + "name": "Process New Documents (Text)", + "is_streaming": false, + "uid": "f9e2ef30-ec02-49af-8616-94d4cb13404c", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "process_new_txt_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_process_new_documents_from_string", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function ProcessNewDocumentsFromString in package latino. The original function signature: ProcessNewDocumentsFromString." + } + }, + { + "pk": 135, + "model": "workflows.abstractinput", + "fields": { + "widget": 46, + "name": "Bag of Words Space", + "short_name": "bow", + "uid": "ca27a6d1-192b-6bee-d8e9-fc3a8376dcb3", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "bow", + "parameter": false, + "order": 1, + "description": "Latino.TextMining.BowSpace" + } + }, + { + "pk": 136, + "model": "workflows.abstractinput", + "fields": { + "widget": 46, + "name": "Documents = (Nested) List of Strings", + "short_name": "lst", + "uid": "e953a3ff-187c-ed0d-06af-481ea0db2b76", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "lst", + "parameter": false, + "order": 2, + "description": "System.Object" + } + }, + { + "pk": 49, + "model": "workflows.abstractoutput", + "fields": { + "widget": 46, + "name": "Dataset", + "short_name": "ds", + "variable": "ds", + "uid": "78dc5be9-fc09-b07b-8800-3dbfe4e6674c", + "order": 1, + "description": "" + } + }, + { + "pk": 47, + "model": "workflows.abstractwidget", + "fields": { + "category": 11, + "treeview_image": null, + "name": "Add Labels", + "is_streaming": false, + "uid": "d8d62fa4-1432-47f5-9dcf-35dbfb7123a0", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "dataset_add_labels_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_add_labels_to_document_vectors", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function AddLabelsToDocumentVectors in package latino. The original function signature: AddLabelsToDocumentVectors." + } + }, + { + "pk": 137, + "model": "workflows.abstractinput", + "fields": { + "widget": 47, + "name": "Dataset", + "short_name": "ds", + "uid": "a1c9bdca-053d-bbff-e9d4-81d90b897185", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 1, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 138, + "model": "workflows.abstractinput", + "fields": { + "widget": 47, + "name": "Labeles (Array of Strings)", + "short_name": "str", + "uid": "3045f3db-9ed9-5240-b2e9-4dab7d56fea0", + "default": "", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "labels", + "parameter": false, + "order": 2, + "description": "System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 50, + "model": "workflows.abstractoutput", + "fields": { + "widget": 47, + "name": "Dataset", + "short_name": "ds", + "variable": "ds", + "uid": "8e481127-8895-cd48-0c21-17caf8080ccc", + "order": 1, + "description": "" + } + }, + { + "pk": 48, + "model": "workflows.abstractwidget", + "fields": { + "category": 11, + "treeview_image": null, + "name": "Remove Labels", + "is_streaming": false, + "uid": "f603d9fe-1351-4809-8860-0b32dc6c360b", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "dataset_remove_labels_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_remove_document_vectors_labels", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function RemoveDocumentVectorsLabels in package latino. The original function signature: RemoveDocumentVectorsLabels." + } + }, + { + "pk": 139, + "model": "workflows.abstractinput", + "fields": { + "widget": 48, + "name": "Dataset", + "short_name": "ds", + "uid": "3e183a1e-d762-b3ba-d2a1-2a5c1c908567", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 1, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 51, + "model": "workflows.abstractoutput", + "fields": { + "widget": 48, + "name": "Dataset", + "short_name": "ds", + "variable": "ds", + "uid": "8b55d39b-3c25-299c-5d7a-217e25ada547", + "order": 1, + "description": "" + } + }, + { + "pk": 49, + "model": "workflows.abstractwidget", + "fields": { + "category": 11, + "treeview_image": null, + "name": "Extract Labels", + "is_streaming": false, + "uid": "9dc769b6-6bc8-4c7c-af33-1dd90390ac98", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "dataset_extract_labels_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_extract_dataset_labels", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function ExtractDatasetLabels in package latino. The original function signature: ExtractDatasetLabels." + } + }, + { + "pk": 140, + "model": "workflows.abstractinput", + "fields": { + "widget": 49, + "name": "Dataset", + "short_name": "ds", + "uid": "e9b8094a-fe83-c07e-0193-ce63532e117f", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 1, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 52, + "model": "workflows.abstractoutput", + "fields": { + "widget": 49, + "name": "Labels (Array of Strings)", + "short_name": "str", + "variable": "labels", + "uid": "2c0db5ea-b077-4ba5-cf8e-6ee99999c0ba", + "order": 1, + "description": "" + } + }, + { + "pk": 50, + "model": "workflows.abstractwidget", + "fields": { + "category": 11, + "treeview_image": null, + "name": "Split", + "is_streaming": false, + "uid": "cecbd2b3-864b-4048-8601-0ed5a2bd2be2", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "dataset_split_simple_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_dataset_split_simple", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function DatasetSplitSimple in package latino. The original function signature: DatasetSplitSimple." + } + }, + { + "pk": 141, + "model": "workflows.abstractinput", + "fields": { + "widget": 50, + "name": "Dataset", + "short_name": "ds", + "uid": "f911747a-cd2e-5d02-1858-3a9ac4073a0b", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 1, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 142, + "model": "workflows.abstractinput", + "fields": { + "widget": 50, + "name": "Percentage", + "short_name": "dbl", + "uid": "4b831641-e6c8-e45f-6944-c785c93de20e", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "percentage", + "parameter": true, + "order": 2, + "description": "System.Double" + } + }, + { + "pk": 143, + "model": "workflows.abstractinput", + "fields": { + "widget": 50, + "name": "Random Seed", + "short_name": "int", + "uid": "2226b21b-7e55-07b6-69ba-b66d5173bef9", + "default": "-1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "randomSeed", + "parameter": true, + "order": 3, + "description": "-1 for random (time dependet) random seed" + } + }, + { + "pk": 53, + "model": "workflows.abstractoutput", + "fields": { + "widget": 50, + "name": "Dataset with Extracted Set", + "short_name": "ds", + "variable": "ds1", + "uid": "b8a21241-700e-2ebb-add1-2e4aef240beb", + "order": 1, + "description": "" + } + }, + { + "pk": 54, + "model": "workflows.abstractoutput", + "fields": { + "widget": 50, + "name": "Dataset of Remaining Sets", + "short_name": "ds", + "variable": "ds2", + "uid": "adf873dc-2372-d278-c45d-ee93cc35aa68", + "order": 2, + "description": "" + } + }, + { + "pk": 51, + "model": "workflows.abstractwidget", + "fields": { + "category": 11, + "treeview_image": null, + "name": "Split to Predefined Sets", + "is_streaming": false, + "uid": "ac1d12c6-2166-442f-94dd-3ad9411c210e", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "dataset_split_predef_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_dataset_split_predefined", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function DatasetSplitPredefined in package latino. The original function signature: DatasetSplitPredefined." + } + }, + { + "pk": 144, + "model": "workflows.abstractinput", + "fields": { + "widget": 51, + "name": "Dataset", + "short_name": "ds", + "uid": "3162e392-5481-6022-3b1a-8dd8965a2871", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 1, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 145, + "model": "workflows.abstractinput", + "fields": { + "widget": 51, + "name": "Sets (List with predefined set numbers)", + "short_name": "lst", + "uid": "52c930c3-8b1f-6f55-b5ee-ad516c1e29f8", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "sets", + "parameter": false, + "order": 2, + "description": "System.Int32[]" + } + }, + { + "pk": 146, + "model": "workflows.abstractinput", + "fields": { + "widget": 51, + "name": "SetId", + "short_name": "int", + "uid": "d7455c5e-004f-74a1-b522-8c2a551860d3", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "setId", + "parameter": false, + "order": 3, + "description": "System.Int32" + } + }, + { + "pk": 55, + "model": "workflows.abstractoutput", + "fields": { + "widget": 51, + "name": "Dataset with Extracted Set", + "short_name": "ds", + "variable": "ds1", + "uid": "06c03be5-0b76-40a0-2b40-9c477fe2266b", + "order": 1, + "description": "" + } + }, + { + "pk": 56, + "model": "workflows.abstractoutput", + "fields": { + "widget": 51, + "name": "Dataset of Remaining Sets", + "short_name": "ds", + "variable": "ds2", + "uid": "dcb66a8b-d31a-9ef3-1c72-91e9aa58a440", + "order": 2, + "description": "" + } + }, + { + "pk": 52, + "model": "workflows.abstractwidget", + "fields": { + "category": 12, + "treeview_image": null, + "name": "Calculate Similarity Matrix", + "is_streaming": false, + "uid": "4eab681f-7c8f-44d0-8104-0d76a2ad1ba4", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "calc_sim_matrix_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_calculate_similarity_matrix", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function CalculateSimilarityMatrix in package latino. The original function signature: CalculateSimilarityMatrix." + } + }, + { + "pk": 147, + "model": "workflows.abstractinput", + "fields": { + "widget": 52, + "name": "Dataset", + "short_name": "ds", + "uid": "f587c4db-10ac-db98-2aff-f600d1f4853d", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds1", + "parameter": false, + "order": 1, + "description": "Latino.Model.IUnlabeledExampleCollection`1[[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 148, + "model": "workflows.abstractinput", + "fields": { + "widget": 52, + "name": "Dataset", + "short_name": "ds", + "uid": "de21ede8-46ab-4b3c-91e2-14224bee9098", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds2", + "parameter": false, + "order": 2, + "description": "Latino.Model.IUnlabeledExampleCollection`1[[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 149, + "model": "workflows.abstractinput", + "fields": { + "widget": 52, + "name": "Similarity Threshold", + "short_name": "dbl", + "uid": "69b4f459-2c0a-7b68-4cc0-1affffd7531f", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "thresh", + "parameter": true, + "order": 3, + "description": "System.Double" + } + }, + { + "pk": 150, + "model": "workflows.abstractinput", + "fields": { + "widget": 52, + "name": "Full Matrix (not only Lower Triangular)", + "short_name": "bol", + "uid": "f9775db0-0a33-b226-5f26-db727695324d", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "fullMatrix", + "parameter": true, + "order": 4, + "description": "System.Boolean" + } + }, + { + "pk": 57, + "model": "workflows.abstractoutput", + "fields": { + "widget": 52, + "name": "Similarity Matrix", + "short_name": "smx", + "variable": "smx", + "uid": "5e69186c-823b-3125-bedc-2c0e7412f0a5", + "order": 1, + "description": "" + } + }, + { + "pk": 53, + "model": "workflows.abstractwidget", + "fields": { + "category": 12, + "treeview_image": null, + "name": "Convert Matrix to Table", + "is_streaming": false, + "uid": "c3065bfb-ada5-45d3-833c-d1c527399edb", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "sim_matrix_to_table_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_sparse_matrix_to_table", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function SparseMatrixToTable in package latino. The original function signature: SparseMatrixToTable." + } + }, + { + "pk": 151, + "model": "workflows.abstractinput", + "fields": { + "widget": 53, + "name": "Sparse Matrix", + "short_name": "smx", + "uid": "a6b405ee-579b-ac7f-d5ec-8f095e4fb284", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "smx", + "parameter": false, + "order": 1, + "description": "Latino.SparseMatrix`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 58, + "model": "workflows.abstractoutput", + "fields": { + "widget": 53, + "name": "Matrix Table", + "short_name": "tbl", + "variable": "tbl", + "uid": "53fe424c-f738-5ac4-69b5-7b2124fa82d6", + "order": 1, + "description": "" + } + }, + { + "pk": 54, + "model": "workflows.abstractwidget", + "fields": { + "category": 13, + "treeview_image": null, + "name": "KMeans Clusterer", + "is_streaming": false, + "uid": "21a9a085-4eca-4e2f-b9f6-af721a78f692", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "clusterer_kmeans_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_kmeans_clusterer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructKMeansClusterer in package latino. The original function signature: ConstructKMeansClusterer." + } + }, + { + "pk": 152, + "model": "workflows.abstractinput", + "fields": { + "widget": 54, + "name": "K (Number of Clusteres)", + "short_name": "int", + "uid": "de12d18b-684b-ea51-0bc9-4ff969ea494c", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "k", + "parameter": true, + "order": 1, + "description": "System.Int32" + } + }, + { + "pk": 153, + "model": "workflows.abstractinput", + "fields": { + "widget": 54, + "name": "Centroid Type", + "short_name": "typ", + "uid": "0806279f-9562-89a0-a1d0-cade15c962e8", + "default": "NrmL2", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "centroidType", + "parameter": true, + "order": 2, + "description": "Latino.Model.CentroidType" + } + }, + { + "pk": 61, + "model": "workflows.abstractoption", + "fields": { + "uid": "947c0190-6f41-28ba-9201-f7241cb70c81", + "abstract_input": 153, + "value": "Sum", + "name": "Sum" + } + }, + { + "pk": 62, + "model": "workflows.abstractoption", + "fields": { + "uid": "3beb3f40-ed4d-d744-b7db-8f2f60812c3d", + "abstract_input": 153, + "value": "Avg", + "name": "Avg" + } + }, + { + "pk": 63, + "model": "workflows.abstractoption", + "fields": { + "uid": "0294df92-e048-bb36-eb41-16cdad8fc0b4", + "abstract_input": 153, + "value": "NrmL2", + "name": "Nrm L2" + } + }, + { + "pk": 154, + "model": "workflows.abstractinput", + "fields": { + "widget": 54, + "name": "Similarity Measure", + "short_name": "typ", + "uid": "ef384f86-a53a-0eef-1d95-2b0a0058cf33", + "default": "Cosine", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "similarityModel", + "parameter": true, + "order": 3, + "description": "LatinoClowdFlows.SimilarityModel" + } + }, + { + "pk": 64, + "model": "workflows.abstractoption", + "fields": { + "uid": "515ac573-1c2f-a1eb-c2c7-6ed90cf50612", + "abstract_input": 154, + "value": "Cosine", + "name": "Cosine" + } + }, + { + "pk": 65, + "model": "workflows.abstractoption", + "fields": { + "uid": "bfbf01d8-0c41-646e-da71-3d493788ff04", + "abstract_input": 154, + "value": "DotProduct", + "name": "Dot Product" + } + }, + { + "pk": 155, + "model": "workflows.abstractinput", + "fields": { + "widget": 54, + "name": "Random Seed (-1: Use Always Different)", + "short_name": "int", + "uid": "fdd2526b-8927-0b15-c98e-b9f6a156d23f", + "default": "-1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "randomSeed", + "parameter": true, + "order": 4, + "description": "System.Int32" + } + }, + { + "pk": 156, + "model": "workflows.abstractinput", + "fields": { + "widget": 54, + "name": "Eps", + "short_name": "dbl", + "uid": "6f033ef3-4c89-be34-5ce7-0dba9b9440f9", + "default": "0.0005", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "eps", + "parameter": true, + "order": 5, + "description": "System.Double" + } + }, + { + "pk": 157, + "model": "workflows.abstractinput", + "fields": { + "widget": 54, + "name": "Trials (Num of Initializations)", + "short_name": "int", + "uid": "f51990f9-63d1-e0b6-fd8e-b3d15ac265c3", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "trials", + "parameter": true, + "order": 6, + "description": "System.Int32" + } + }, + { + "pk": 59, + "model": "workflows.abstractoutput", + "fields": { + "widget": 54, + "name": "Clusterer", + "short_name": "cls", + "variable": "clusterer", + "uid": "05ade0db-187f-22de-dee5-a10b9b730718", + "order": 1, + "description": "" + } + }, + { + "pk": 55, + "model": "workflows.abstractwidget", + "fields": { + "category": 13, + "treeview_image": null, + "name": "KMeans Fast Clusterer", + "is_streaming": false, + "uid": "d8fc724a-3025-4d2c-8942-bc0d1e49036e", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "clusterer_kmenas_fast_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_kmeans_fast_clusterer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function ConstructKMeansFastClusterer in package latino. The original function signature: ConstructKMeansFastClusterer." + } + }, + { + "pk": 158, + "model": "workflows.abstractinput", + "fields": { + "widget": 55, + "name": "K (Number of Clusteres)", + "short_name": "int", + "uid": "26e666b5-47c1-db2b-8ae4-97e4d384496a", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "k", + "parameter": true, + "order": 1, + "description": "System.Int32" + } + }, + { + "pk": 159, + "model": "workflows.abstractinput", + "fields": { + "widget": 55, + "name": "Random Seed (-1: Use Always Different)", + "short_name": "int", + "uid": "31ecfb03-fbcf-677a-8580-d4419528df02", + "default": "-1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "randomSeed", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 160, + "model": "workflows.abstractinput", + "fields": { + "widget": 55, + "name": "Eps", + "short_name": "dbl", + "uid": "62781010-c8f7-da9a-50e8-92339f9ac8ec", + "default": "0.0005", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "eps", + "parameter": true, + "order": 3, + "description": "System.Double" + } + }, + { + "pk": 161, + "model": "workflows.abstractinput", + "fields": { + "widget": 55, + "name": "Trials (Num of Initializations)", + "short_name": "int", + "uid": "e7859e72-e2cc-54eb-d4f7-e14133d2a60a", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "trials", + "parameter": true, + "order": 4, + "description": "System.Int32" + } + }, + { + "pk": 60, + "model": "workflows.abstractoutput", + "fields": { + "widget": 55, + "name": "Clusterer", + "short_name": "cls", + "variable": "clusterer", + "uid": "becc5786-2226-c510-fc13-4789747f12af", + "order": 1, + "description": "" + } + }, + { + "pk": 56, + "model": "workflows.abstractwidget", + "fields": { + "category": 13, + "treeview_image": null, + "name": "Hierarchical Bisecting Clusterer", + "is_streaming": false, + "uid": "a096d16d-ed0b-4e24-90be-d8e2fb44cc64", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "clusterer_hierarchial_bisec_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_hierarchical_bisecting_clusterer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ConstructHierarchicalBisectingClusterer in package latino. The original function signature: ConstructHierarchicalBisectingClusterer." + } + }, + { + "pk": 162, + "model": "workflows.abstractinput", + "fields": { + "widget": 56, + "name": "Min Quality", + "short_name": "dbl", + "uid": "c7e679d0-ff8c-afcf-0d8b-011b65f862ed", + "default": "0.2", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "minQuality", + "parameter": true, + "order": 1, + "description": "System.Double" + } + }, + { + "pk": 61, + "model": "workflows.abstractoutput", + "fields": { + "widget": 56, + "name": "Clusterer", + "short_name": "cls", + "variable": "clusterer", + "uid": "e4ddd462-8964-be15-5b4b-e65516c4b925", + "order": 1, + "description": "" + } + }, + { + "pk": 57, + "model": "workflows.abstractwidget", + "fields": { + "category": 13, + "treeview_image": null, + "name": "Clustering Hub", + "is_streaming": false, + "uid": "71f13f6f-37c0-4b42-bbaa-fac6e57cb9aa", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "clustering_hub_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_cluster_document_vectors", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function ClusterDocumentVectors in package latino. The original function signature: ClusterDocumentVectors." + } + }, + { + "pk": 163, + "model": "workflows.abstractinput", + "fields": { + "widget": 57, + "name": "Clusterer", + "short_name": "cls", + "uid": "2b67a699-e1be-2ba8-f3ef-d7aca6aa7999", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "clusterer", + "parameter": false, + "order": 1, + "description": "LatinoClowdFlows.IClusterer" + } + }, + { + "pk": 164, + "model": "workflows.abstractinput", + "fields": { + "widget": 57, + "name": "Dataset", + "short_name": "ds", + "uid": "9d3b1094-54ab-55d2-53e5-56b840e924d1", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "dataset", + "parameter": false, + "order": 2, + "description": "Latino.Model.IUnlabeledExampleCollection`1[[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 62, + "model": "workflows.abstractoutput", + "fields": { + "widget": 57, + "name": "Clustering Results", + "short_name": "cr", + "variable": "clustRes", + "uid": "1c2b8946-b303-5a95-410c-19d069a2be4e", + "order": 1, + "description": "" + } + }, + { + "pk": 58, + "model": "workflows.abstractwidget", + "fields": { + "category": 13, + "treeview_image": null, + "name": "Clustering Results Info", + "is_streaming": false, + "uid": "e48223a3-03b4-4530-8e40-ce725c33e4ea", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "clustering_result_info_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_clustering_results_info", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function ClusteringResultsInfo in package latino. The original function signature: ClusteringResultsInfo." + } + }, + { + "pk": 165, + "model": "workflows.abstractinput", + "fields": { + "widget": 58, + "name": "Clustering Results", + "short_name": "cr", + "uid": "8ad4dfeb-cf27-9013-826d-046edc418b25", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "clustRes", + "parameter": false, + "order": 1, + "description": "Latino.Model.ClusteringResult" + } + }, + { + "pk": 63, + "model": "workflows.abstractoutput", + "fields": { + "widget": 58, + "name": "Document Labels (Array of Clusteres Ids)", + "short_name": "str", + "variable": "docLabels", + "uid": "611c7d9f-a46c-8051-30dc-3c5559411937", + "order": 1, + "description": "" + } + }, + { + "pk": 64, + "model": "workflows.abstractoutput", + "fields": { + "widget": 58, + "name": "Clusters Tree", + "short_name": "obj", + "variable": "clustTree", + "uid": "a5aeaa0f-527d-7706-37c1-e3c75bec5250", + "order": 2, + "description": "" + } + }, + { + "pk": 59, + "model": "workflows.abstractwidget", + "fields": { + "category": 13, + "treeview_image": null, + "name": "View Clusters", + "is_streaming": false, + "uid": "ace23118-d1f5-475d-b0e0-a4c0f9b05d82", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "cluster_viewer_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "show_clusters", + "action": "show_clusters", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 6, + "description": "Automatically generated widget from function ViewClusters_PYTHON in package latino. The original function signature: ViewClusters_PYTHON." + } + }, + { + "pk": 166, + "model": "workflows.abstractinput", + "fields": { + "widget": 59, + "name": "Clustering Results", + "short_name": "cr", + "uid": "8dbe38d0-3b33-3d44-efe6-b21f26c17b5d", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "clustRes", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 60, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Centroid Classifier", + "is_streaming": false, + "uid": "093a5005-0368-4b46-9720-5a9b2b365c2f", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_centroid_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_centroid_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Automatically generated widget from function ConstructCentroidClassifier in package latino. The original function signature: ConstructCentroidClassifier." + } + }, + { + "pk": 167, + "model": "workflows.abstractinput", + "fields": { + "widget": 60, + "name": "Similarity Model", + "short_name": "typ", + "uid": "8c1b49cb-78f8-a7d2-2d8a-8710b5f25a03", + "default": "Cosine", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "similarityModel", + "parameter": true, + "order": 1, + "description": "LatinoClowdFlows.SimilarityModel" + } + }, + { + "pk": 66, + "model": "workflows.abstractoption", + "fields": { + "uid": "8484d913-23ba-43ba-508e-12a012b52f39", + "abstract_input": 167, + "value": "Cosine", + "name": "Cosine" + } + }, + { + "pk": 67, + "model": "workflows.abstractoption", + "fields": { + "uid": "acab5c6c-60e6-81c3-820a-c3158948cf31", + "abstract_input": 167, + "value": "DotProduct", + "name": "Dot Product" + } + }, + { + "pk": 168, + "model": "workflows.abstractinput", + "fields": { + "widget": 60, + "name": "Normalize Centorids", + "short_name": "bol", + "uid": "c3a78c28-2c45-7233-7f40-c424577eb01b", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "normalizeCentorids", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 65, + "model": "workflows.abstractoutput", + "fields": { + "widget": 60, + "name": "Centroid Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "59f16675-9d37-9120-3445-7637121fc316", + "order": 1, + "description": "" + } + }, + { + "pk": 61, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Naive Bayes Classifier", + "is_streaming": false, + "uid": "8cdafccb-d925-4ed1-b90c-726efa2260b5", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_naive_bayes_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_naive_bayes_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Automatically generated widget from function ConstructNaiveBayesClassifier in package latino. The original function signature: ConstructNaiveBayesClassifier." + } + }, + { + "pk": 169, + "model": "workflows.abstractinput", + "fields": { + "widget": 61, + "name": "Normalize", + "short_name": "bol", + "uid": "20a4318d-7bae-6986-5036-ad156a89582b", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "normalize", + "parameter": true, + "order": 1, + "description": "System.Boolean" + } + }, + { + "pk": 170, + "model": "workflows.abstractinput", + "fields": { + "widget": 61, + "name": "Log Sum Exp Trick", + "short_name": "bol", + "uid": "c87a9f5d-59a8-83d9-b0e9-24ed978e0359", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "logSumExpTrick", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 66, + "model": "workflows.abstractoutput", + "fields": { + "widget": 61, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "145e8ccb-3cf5-1edc-a5f1-9373d8045669", + "order": 1, + "description": "" + } + }, + { + "pk": 62, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Svm Binary Classifier", + "is_streaming": false, + "uid": "e101b293-b26d-4484-8f9f-30bda3dfe344", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_svm_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_svm_binary_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 3, + "description": "Automatically generated widget from function ConstructSvmBinaryClassifier in package latino. The original function signature: ConstructSvmBinaryClassifier." + } + }, + { + "pk": 171, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "C", + "short_name": "dbl", + "uid": "ed9be48d-dc9f-5496-b414-1abf8c077652", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "c", + "parameter": true, + "order": 1, + "description": "zero implies default value ([avg. x*x]^-1)" + } + }, + { + "pk": 172, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Biased Hyperplane", + "short_name": "bol", + "uid": "7892b4b0-9f15-4ab2-2ed3-88a37abd987c", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "biasedHyperplane", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 173, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Kernel Type", + "short_name": "typ", + "uid": "f63be5e5-9f93-fbba-c06e-d80de1d65191", + "default": "Linear", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "kernelType", + "parameter": true, + "order": 3, + "description": "Latino.Model.SvmLightKernelType" + } + }, + { + "pk": 68, + "model": "workflows.abstractoption", + "fields": { + "uid": "82b349e8-5939-7427-8680-3b1fff526dc6", + "abstract_input": 173, + "value": "Linear", + "name": "Linear" + } + }, + { + "pk": 69, + "model": "workflows.abstractoption", + "fields": { + "uid": "2abcf4cd-6d46-f77f-532c-68f2d80b63d3", + "abstract_input": 173, + "value": "Polynomial", + "name": "Polynomial" + } + }, + { + "pk": 70, + "model": "workflows.abstractoption", + "fields": { + "uid": "f44c4e6e-7c0d-2af0-5f90-a810bb49beaf", + "abstract_input": 173, + "value": "RadialBasisFunction", + "name": "Radial Basis Function" + } + }, + { + "pk": 71, + "model": "workflows.abstractoption", + "fields": { + "uid": "82d22a12-33de-af87-88c6-ed0eb99c084b", + "abstract_input": 173, + "value": "Sigmoid", + "name": "Sigmoid" + } + }, + { + "pk": 174, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Kernel Parameter Gamma", + "short_name": "dbl", + "uid": "9febc0b2-4792-9a75-d078-06cba1fec00b", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "kernelParamGamma", + "parameter": true, + "order": 4, + "description": "System.Double" + } + }, + { + "pk": 175, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Kernel Parameter D", + "short_name": "dbl", + "uid": "32512a7e-6e2c-76de-94ba-61b70f9c6ac5", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "kernelParamD", + "parameter": true, + "order": 5, + "description": "System.Double" + } + }, + { + "pk": 176, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Kernel Parameter S", + "short_name": "dbl", + "uid": "84a0f438-e258-bb86-0a47-95aab9b37912", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "kernelParamS", + "parameter": true, + "order": 6, + "description": "System.Double" + } + }, + { + "pk": 177, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Kernel Parameter C", + "short_name": "dbl", + "uid": "42583600-9253-fa64-557b-7e435aea5d73", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "kernelParamC", + "parameter": true, + "order": 7, + "description": "System.Double" + } + }, + { + "pk": 178, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Eps", + "short_name": "dbl", + "uid": "f67237da-15fe-930d-4c54-f3da246953ac", + "default": "0.001", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "eps", + "parameter": true, + "order": 8, + "description": "System.Double" + } + }, + { + "pk": 179, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Max Iterations", + "short_name": "int", + "uid": "189b1989-a282-605a-16dc-894a1f4561cf", + "default": "100000", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "maxIter", + "parameter": true, + "order": 9, + "description": "System.Int32" + } + }, + { + "pk": 180, + "model": "workflows.abstractinput", + "fields": { + "widget": 62, + "name": "Custom Parameter String", + "short_name": "str", + "uid": "fdbde52d-2257-24a8-fec4-6b0b8aa0a414", + "default": "", + "required": false, + "multi": false, + "parameter_type": "text", + "variable": "customParams", + "parameter": true, + "order": 10, + "description": "System.String" + } + }, + { + "pk": 67, + "model": "workflows.abstractoutput", + "fields": { + "widget": 62, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "38ac61da-16cd-e318-28f7-bb8ec457bdf2", + "order": 1, + "description": "" + } + }, + { + "pk": 63, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Svm Multiclass Fast Classifier", + "is_streaming": false, + "uid": "48540dc6-233b-4155-ba8a-ab3a6a867361", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_svm_fast_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_svm_multiclass_fast", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 4, + "description": "Automatically generated widget from function ConstructSvmMulticlassFast in package latino. The original function signature: ConstructSvmMulticlassFast." + } + }, + { + "pk": 181, + "model": "workflows.abstractinput", + "fields": { + "widget": 63, + "name": "C", + "short_name": "dbl", + "uid": "aa4af239-bf2b-9396-9382-1d3e62dbba60", + "default": "5000", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "c", + "parameter": true, + "order": 1, + "description": "System.Double" + } + }, + { + "pk": 182, + "model": "workflows.abstractinput", + "fields": { + "widget": 63, + "name": "Eps", + "short_name": "dbl", + "uid": "02ad47bb-6058-37d1-85cb-140ddcfec097", + "default": "0.1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "eps", + "parameter": true, + "order": 2, + "description": "System.Double" + } + }, + { + "pk": 68, + "model": "workflows.abstractoutput", + "fields": { + "widget": 63, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "f7d904f1-2fe0-d6f7-42bf-0ac4837c88ef", + "order": 1, + "description": "" + } + }, + { + "pk": 64, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Majority Classifier", + "is_streaming": false, + "uid": "8020e048-8c7c-4b92-a2b8-d775c273ee45", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_majority_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_majority_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 5, + "description": "Automatically generated widget from function ConstructMajorityClassifier in package latino. The original function signature: ConstructMajorityClassifier." + } + }, + { + "pk": 69, + "model": "workflows.abstractoutput", + "fields": { + "widget": 64, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "75aa6b8b-55eb-bf29-d7b6-b98b0107a55a", + "order": 1, + "description": "" + } + }, + { + "pk": 65, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Maximum Entropy Classifier", + "is_streaming": false, + "uid": "896c5864-5485-416b-8d89-5da2afb7be05", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_max_entropy_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_maximum_entropy_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 6, + "description": "Automatically generated widget from function ConstructMaximumEntropyClassifier in package latino. The original function signature: ConstructMaximumEntropyClassifier." + } + }, + { + "pk": 183, + "model": "workflows.abstractinput", + "fields": { + "widget": 65, + "name": "Move Data", + "short_name": "bol", + "uid": "5388af0b-ce34-92a3-0f7c-514191196514", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "moveData", + "parameter": true, + "order": 1, + "description": "System.Boolean" + } + }, + { + "pk": 184, + "model": "workflows.abstractinput", + "fields": { + "widget": 65, + "name": "Num of Iterations", + "short_name": "int", + "uid": "c31bbe9d-0354-503d-b9b3-807e7844a237", + "default": "100", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "numIter", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 185, + "model": "workflows.abstractinput", + "fields": { + "widget": 65, + "name": "CutOff", + "short_name": "int", + "uid": "8a227607-600a-8909-0216-25ea11d5a839", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "cutOff", + "parameter": true, + "order": 3, + "description": "System.Int32" + } + }, + { + "pk": 186, + "model": "workflows.abstractinput", + "fields": { + "widget": 65, + "name": "Num of Threads", + "short_name": "int", + "uid": "279fff3f-5f66-58f1-5a03-3c51d5648c95", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "numThreads", + "parameter": true, + "order": 4, + "description": "System.Int32" + } + }, + { + "pk": 187, + "model": "workflows.abstractinput", + "fields": { + "widget": 65, + "name": "Normalize", + "short_name": "bol", + "uid": "61c3861b-b61c-01a3-ae0e-62ac34a292f8", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "normalize", + "parameter": true, + "order": 5, + "description": "System.Boolean" + } + }, + { + "pk": 70, + "model": "workflows.abstractoutput", + "fields": { + "widget": 65, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "8bc8651b-875c-04c9-91f4-e8af0c3d45f0", + "order": 1, + "description": "" + } + }, + { + "pk": 66, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Maximum Entropy Fast Classifier", + "is_streaming": false, + "uid": "8ae37e83-fd65-4dbf-b526-c9c21628d5ed", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_max_entropy_fast_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_maximum_entropy_classifier_fast", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 7, + "description": "Automatically generated widget from function ConstructMaximumEntropyClassifierFast in package latino. The original function signature: ConstructMaximumEntropyClassifierFast." + } + }, + { + "pk": 188, + "model": "workflows.abstractinput", + "fields": { + "widget": 66, + "name": "Move Data", + "short_name": "bol", + "uid": "526be33e-ac76-f04e-0b71-15f6ecb82a15", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "moveData", + "parameter": true, + "order": 1, + "description": "System.Boolean" + } + }, + { + "pk": 189, + "model": "workflows.abstractinput", + "fields": { + "widget": 66, + "name": "Num of Iterations", + "short_name": "int", + "uid": "bed915e1-fab9-728b-0d3c-dcb61afa34fd", + "default": "100", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "numIter", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 190, + "model": "workflows.abstractinput", + "fields": { + "widget": 66, + "name": "CutOff", + "short_name": "int", + "uid": "3e2ac4a9-3e2a-d81b-a272-6122dd6e3e2e", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "cutOff", + "parameter": true, + "order": 3, + "description": "System.Int32" + } + }, + { + "pk": 191, + "model": "workflows.abstractinput", + "fields": { + "widget": 66, + "name": "Num of Threads", + "short_name": "int", + "uid": "c3d4d8f6-da2b-8380-3f8f-4891d16163fb", + "default": "1", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "numThreads", + "parameter": true, + "order": 4, + "description": "System.Int32" + } + }, + { + "pk": 192, + "model": "workflows.abstractinput", + "fields": { + "widget": 66, + "name": "Normalize", + "short_name": "bol", + "uid": "d9850b7d-ca56-df40-d886-41f6675bbbf6", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "normalize", + "parameter": true, + "order": 5, + "description": "System.Boolean" + } + }, + { + "pk": 71, + "model": "workflows.abstractoutput", + "fields": { + "widget": 66, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "2e7e8c44-26de-56f1-18d7-4c1ba44ad1b5", + "order": 1, + "description": "" + } + }, + { + "pk": 67, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Knn Classifier", + "is_streaming": false, + "uid": "e2bb591c-f685-4b5e-868e-36f94eeffa46", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_knn_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_knn_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 8, + "description": "Automatically generated widget from function ConstructKnnClassifier in package latino. The original function signature: ConstructKnnClassifier." + } + }, + { + "pk": 193, + "model": "workflows.abstractinput", + "fields": { + "widget": 67, + "name": "Similarity Model", + "short_name": "typ", + "uid": "96168cbb-3359-2286-2754-6d322af7f38c", + "default": "Cosine", + "required": true, + "multi": false, + "parameter_type": "select", + "variable": "similarityModel", + "parameter": true, + "order": 1, + "description": "LatinoClowdFlows.SimilarityModel" + } + }, + { + "pk": 72, + "model": "workflows.abstractoption", + "fields": { + "uid": "1a36620b-a316-77aa-e786-43ae1ddb521f", + "abstract_input": 193, + "value": "Cosine", + "name": "Cosine" + } + }, + { + "pk": 73, + "model": "workflows.abstractoption", + "fields": { + "uid": "03ff898e-93fc-8d55-b69b-1106693a7917", + "abstract_input": 193, + "value": "DotProduct", + "name": "Dot Product" + } + }, + { + "pk": 194, + "model": "workflows.abstractinput", + "fields": { + "widget": 67, + "name": "K (Neighbourhood)", + "short_name": "int", + "uid": "94782d0e-43be-f9b9-bfc5-a00132ff1237", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "k", + "parameter": true, + "order": 2, + "description": "System.Int32" + } + }, + { + "pk": 195, + "model": "workflows.abstractinput", + "fields": { + "widget": 67, + "name": "Soft Voting", + "short_name": "bol", + "uid": "9614283a-4628-4fa5-a62e-7aaee386c143", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "softVoting", + "parameter": true, + "order": 3, + "description": "System.Boolean" + } + }, + { + "pk": 72, + "model": "workflows.abstractoutput", + "fields": { + "widget": 67, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "5d3ae75f-7fc8-ab56-8eab-3a4b1fa0a20c", + "order": 1, + "description": "" + } + }, + { + "pk": 68, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Knn Fast Classifier", + "is_streaming": false, + "uid": "78f39d45-04bd-4b6a-9fd9-bf22f2a78223", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_knn_fast_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_construct_knn_classifier_fast", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 9, + "description": "Automatically generated widget from function ConstructKnnClassifierFast in package latino. The original function signature: ConstructKnnClassifierFast." + } + }, + { + "pk": 196, + "model": "workflows.abstractinput", + "fields": { + "widget": 68, + "name": "K (Neighbourhood)", + "short_name": "int", + "uid": "50732a27-8321-b266-db28-85cba65c7f21", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "k", + "parameter": true, + "order": 1, + "description": "System.Int32" + } + }, + { + "pk": 197, + "model": "workflows.abstractinput", + "fields": { + "widget": 68, + "name": "Soft Voting", + "short_name": "bol", + "uid": "70286a7a-bb2c-f5d7-9ffc-e838a3c880c1", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "softVoting", + "parameter": true, + "order": 2, + "description": "System.Boolean" + } + }, + { + "pk": 73, + "model": "workflows.abstractoutput", + "fields": { + "widget": 68, + "name": "Classifier", + "short_name": "csf", + "variable": "classifier", + "uid": "efcbe2f3-a6c4-032f-8c21-513b5470bd20", + "order": 1, + "description": "" + } + }, + { + "pk": 69, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Train Classifier Hub", + "is_streaming": false, + "uid": "99eb79a4-348c-411a-9bba-a42caf048636", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classifier_train_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_train_classifier", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 15, + "description": "Automatically generated widget from function TrainClassifier in package latino. The original function signature: TrainClassifier." + } + }, + { + "pk": 198, + "model": "workflows.abstractinput", + "fields": { + "widget": 69, + "name": "Classifier", + "short_name": "csf", + "uid": "e9bac05e-f82f-09cd-497d-4407fcecd056", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "csf", + "parameter": false, + "order": 1, + "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 199, + "model": "workflows.abstractinput", + "fields": { + "widget": 69, + "name": "Dataset", + "short_name": "ds", + "uid": "4df20aa1-64f1-11c1-bd8c-b9c64e5c0437", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 2, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 74, + "model": "workflows.abstractoutput", + "fields": { + "widget": 69, + "name": "Classifier", + "short_name": "csf", + "variable": "csf", + "uid": "fcf15ec3-2176-5d23-4c0a-ebe19faf2a92", + "order": 1, + "description": "" + } + }, + { + "pk": 70, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Predict Classification", + "is_streaming": false, + "uid": "a92685c6-aeca-42bd-af49-c815ebafb573", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classification_predict_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_predict_classification", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 13, + "description": "Automatically generated widget from function PredictClassification in package latino. The original function signature: PredictClassification." + } + }, + { + "pk": 200, + "model": "workflows.abstractinput", + "fields": { + "widget": 70, + "name": "Classifier", + "short_name": "csf", + "uid": "d48016c2-edb0-265e-c40a-858745ab012b", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "csf", + "parameter": false, + "order": 1, + "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 201, + "model": "workflows.abstractinput", + "fields": { + "widget": 70, + "name": "Dataset", + "short_name": "ds", + "uid": "6bfd0b18-b660-feb8-8894-492da5fb7ac9", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 2, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 75, + "model": "workflows.abstractoutput", + "fields": { + "widget": 70, + "name": "Prediction(s)", + "short_name": "prd", + "variable": "predictions", + "uid": "efaba4b6-3b66-e7b9-f361-866c6104c3ed", + "order": 1, + "description": "" + } + }, + { + "pk": 76, + "model": "workflows.abstractoutput", + "fields": { + "widget": 70, + "name": "Labeled dataset", + "short_name": "ds", + "variable": "ds", + "uid": "3a72cfc4-179d-8db9-8086-6017f697e3b8", + "order": 2, + "description": "" + } + }, + { + "pk": 71, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Prediction Info", + "is_streaming": false, + "uid": "04813a15-93d0-48ca-9c64-0bb6a7bc92b4", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "clasification_info_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_prediction_info", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 14, + "description": "Automatically generated widget from function PredictionInfo in package latino. The original function signature: PredictionInfo." + } + }, + { + "pk": 202, + "model": "workflows.abstractinput", + "fields": { + "widget": 71, + "name": "Prediction(s)", + "short_name": "prd", + "uid": "4196036a-5c53-8452-8ccc-325f1ac734d6", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "predictions", + "parameter": false, + "order": 1, + "description": "System.Collections.Generic.List`1[[Latino.Model.Prediction`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 77, + "model": "workflows.abstractoutput", + "fields": { + "widget": 71, + "name": "Lable(s) (Array of Strings)", + "short_name": "str", + "variable": "labels", + "uid": "776fb044-5dfc-18a2-cf20-4e817796f204", + "order": 1, + "description": "" + } + }, + { + "pk": 78, + "model": "workflows.abstractoutput", + "fields": { + "widget": 71, + "name": "Prediction Info(s)", + "short_name": "obj", + "variable": "predictInfos", + "uid": "8653f42a-e09b-5eaf-795f-587cc48bfc21", + "order": 2, + "description": "" + } + }, + { + "pk": 72, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Cross Validation", + "is_streaming": false, + "uid": "c42c757c-245e-4eb2-a657-e77fcc4f4802", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classif_cross_valid_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_cross_validation", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 11, + "description": "Automatically generated widget from function CrossValidation in package latino. The original function signature: CrossValidation." + } + }, + { + "pk": 203, + "model": "workflows.abstractinput", + "fields": { + "widget": 72, + "name": "Classifier", + "short_name": "csf", + "uid": "06a3b7c8-681f-ab02-f171-75362b9ea5a0", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "csf", + "parameter": false, + "order": 1, + "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 204, + "model": "workflows.abstractinput", + "fields": { + "widget": 72, + "name": "Dataset", + "short_name": "ds", + "uid": "eeab1227-dfa8-31df-b27b-2a27efeda6b0", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 2, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 205, + "model": "workflows.abstractinput", + "fields": { + "widget": 72, + "name": "Num of Sets", + "short_name": "int", + "uid": "21ea2877-e44d-c8db-0612-b9bce6e62f36", + "default": "10", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "numOfSets", + "parameter": true, + "order": 3, + "description": "System.Int32" + } + }, + { + "pk": 206, + "model": "workflows.abstractinput", + "fields": { + "widget": 72, + "name": "Assign Sets Randomly", + "short_name": "bol", + "uid": "f7bb77e7-327e-5794-f330-186d669d6b1b", + "default": "true", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "random", + "parameter": true, + "order": 4, + "description": "System.Boolean" + } + }, + { + "pk": 207, + "model": "workflows.abstractinput", + "fields": { + "widget": 72, + "name": "Use Seed for Random", + "short_name": "bol", + "uid": "bdc7e5b8-00f1-d7bd-6927-fc91856a280a", + "default": "false", + "required": true, + "multi": false, + "parameter_type": "checkbox", + "variable": "useSeed", + "parameter": true, + "order": 5, + "description": "System.Boolean" + } + }, + { + "pk": 208, + "model": "workflows.abstractinput", + "fields": { + "widget": 72, + "name": "Random Seed", + "short_name": "int", + "uid": "15d0d98c-b25b-e7fc-19f1-d547a0dddd14", + "default": "0", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "randomSeed", + "parameter": true, + "order": 6, + "description": "System.Int32" + } + }, + { + "pk": 79, + "model": "workflows.abstractoutput", + "fields": { + "widget": 72, + "name": "Data Object with results", + "short_name": "obj", + "variable": "obj", + "uid": "43d23d99-8ac4-5b3e-c89c-43d63db3920e", + "order": 1, + "description": "" + } + }, + { + "pk": 73, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Cross Validation (Predefined Splits)", + "is_streaming": false, + "uid": "72b20813-e1a8-4c2d-a448-b7337ecc2a08", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classif_cross_valid_predef_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_cross_validation_predef_splits", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 12, + "description": "Automatically generated widget from function CrossValidationPredefSplits in package latino. The original function signature: CrossValidationPredefSplits." + } + }, + { + "pk": 209, + "model": "workflows.abstractinput", + "fields": { + "widget": 73, + "name": "Classifier", + "short_name": "csf", + "uid": "4178be10-5a31-bbfd-dafc-51470e1458bb", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "csf", + "parameter": false, + "order": 1, + "description": "Latino.Model.IModel`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 210, + "model": "workflows.abstractinput", + "fields": { + "widget": 73, + "name": "Dataset", + "short_name": "ds", + "uid": "657a8f1f-7958-d479-a062-428ea6250620", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "ds", + "parameter": false, + "order": 2, + "description": "Latino.Model.LabeledDataset`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Latino.SparseVector`1[[System.Double, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], Latino, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" + } + }, + { + "pk": 211, + "model": "workflows.abstractinput", + "fields": { + "widget": 73, + "name": "Sets (List with predefined set numbers)", + "short_name": "lst", + "uid": "f51e4a03-3fc8-f5b2-2555-5f07920a4ddb", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "sets", + "parameter": false, + "order": 3, + "description": "System.Collections.Generic.List`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" + } + }, + { + "pk": 80, + "model": "workflows.abstractoutput", + "fields": { + "widget": 73, + "name": "Data Object with results", + "short_name": "obj", + "variable": "obj", + "uid": "70558c82-fa96-7f12-c8e4-f5c1297e2cfe", + "order": 1, + "description": "" + } + }, + { + "pk": 74, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "View Classifications", + "is_streaming": false, + "uid": "9899c08b-df30-429a-83ab-fc83ecf0d26a", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "classif_result_view_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "show_classifications", + "action": "show_classifications", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 16, + "description": "Automatically generated widget from function ViewClasssifications_PYTHON in package latino. The original function signature: ViewClasssifications_PYTHON." + } + }, + { + "pk": 212, + "model": "workflows.abstractinput", + "fields": { + "widget": 74, + "name": "Prediction(s)", + "short_name": "prd", + "uid": "1f322a3d-2653-00f7-557e-f13bd0f9a118", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "predictions", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 75, + "model": "workflows.abstractwidget", + "fields": { + "category": 14, + "treeview_image": null, + "name": "Accuracy Claculation", + "is_streaming": false, + "uid": "990b6a22-0d62-431a-aea8-03d3a934f4f2", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "accuracy_calc_from_labels_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "compare_lists", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 10, + "description": "Automatically generated widget from function AccuracyClaculation_PYTHON in package latino. The original function signature: AccuracyClaculation_PYTHON." + } + }, + { + "pk": 213, + "model": "workflows.abstractinput", + "fields": { + "widget": 75, + "name": "List 1", + "short_name": "lst", + "uid": "4337f7d3-5113-be91-9dcd-7f23d955ca3e", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "list1", + "parameter": false, + "order": 1, + "description": "System.Object" + } + }, + { + "pk": 214, + "model": "workflows.abstractinput", + "fields": { + "widget": 75, + "name": "List 2", + "short_name": "lst", + "uid": "3865d2f0-cf4f-cacc-78dc-77a6b0071e45", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "list2", + "parameter": false, + "order": 2, + "description": "System.Object" + } + }, + { + "pk": 81, + "model": "workflows.abstractoutput", + "fields": { + "widget": 75, + "name": "Accuracy", + "short_name": "dbl", + "variable": "accuracy", + "uid": "0d48ff94-0a42-3bfd-5b92-14c8d96a96e8", + "order": 1, + "description": "" + } + }, + { + "pk": 82, + "model": "workflows.abstractoutput", + "fields": { + "widget": 75, + "name": "Statistics", + "short_name": "obj", + "variable": "statistics", + "uid": "4b9c7c60-639b-3ca5-682b-43b367f67cc3", + "order": 2, + "description": "" + } + }, + { + "pk": 76, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "C#.NET Snippet", + "is_streaming": false, + "uid": "12ccbbde-99fe-4c8e-9886-b971ad5d20de", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "csharp_snippet_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "", + "action": "latino_run_csharp_snippet", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 2, + "description": "Runs c#.NET snippet. You can use variable which is provided on the input by the name \"in1\" .. \"inN\". Whatever you want to otput needs to be asigned to the variable \"out1\" before the code is terminated" + } + }, + { + "pk": 215, + "model": "workflows.abstractinput", + "fields": { + "widget": 76, + "name": "Snippet Input Parameter(s)", + "short_name": "in", + "uid": "2b2c9753-afa0-8b31-e0ff-c9d3d50e80c7", + "default": "", + "required": false, + "multi": true, + "parameter_type": null, + "variable": "snippetParams", + "parameter": false, + "order": 1, + "description": "input can be accesed as variable \"in1\" .. \"inN\" inside the code" + } + }, + { + "pk": 216, + "model": "workflows.abstractinput", + "fields": { + "widget": 76, + "name": "C# Snippet Code", + "short_name": "cs", + "uid": "2ec1a3c4-e2aa-bf52-c253-ba4473c26938", + "default": "// This is the C#.NET Code Snippet where you can modify the data.\n// Varaible \"in1\" .. \"inN\" contains whatever you connected to the input port\n// Input variables are correctly typed.\n// Whatever is assigned to the variable \"out1\" will be transfered to the output port.\nout1 = in1;", + "required": true, + "multi": false, + "parameter_type": "textarea", + "variable": "snippetCode", + "parameter": true, + "order": 2, + "description": "Input can be accesed as variable \"in1\" .. \"inN\" inside the code and output can be accesed/assigned as variable \"out1\" inside the code." + } + }, + { + "pk": 217, + "model": "workflows.abstractinput", + "fields": { + "widget": 76, + "name": "Additional References (imports)", + "short_name": "str", + "uid": "5ae25dd8-d110-b97b-615b-6a5810dd7ef0", + "default": "System.dll\nSystem.Xml.dll\nworkflows\\latino\\Latino.dll\nworkflows\\latino\\LatinoWorkflows.dll\nworkflows\\latino\\LatinoCloudFlows.dll", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "aditionalReferences", + "parameter": true, + "order": 4, + "description": "System.String" + } + }, + { + "pk": 218, + "model": "workflows.abstractinput", + "fields": { + "widget": 76, + "name": "Namespace Section (using directives)", + "short_name": "str", + "uid": "6cb80407-d2c4-f810-c9cd-34527394644c", + "default": "using System;\nusing System.Collections.Generic;\nusing Latino;\nusing Latino.TextMining;\nusing LatinoCloudFlows;", + "required": false, + "multi": false, + "parameter_type": "textarea", + "variable": "usings", + "parameter": true, + "order": 3, + "description": "System.String" + } + }, + { + "pk": 83, + "model": "workflows.abstractoutput", + "fields": { + "widget": 76, + "name": "out", + "short_name": "out", + "variable": "out", + "uid": "8668b4da-ef51-b439-2c3e-10bba389cd5c", + "order": 1, + "description": "output can be accesed/assigned as variable \"_out\" inside the code" + } + }, + { + "pk": 84, + "model": "workflows.abstractoutput", + "fields": { + "widget": 76, + "name": "Console Output", + "short_name": "str", + "variable": "consoleOut", + "uid": "679b380e-fb6a-1580-7e3e-a0c1df24c6ca", + "order": 2, + "description": "" + } + }, + { + "pk": 85, + "model": "workflows.abstractoutput", + "fields": { + "widget": 76, + "name": "Possible compile/runtime errors", + "short_name": "str", + "variable": "error", + "uid": "1f5de938-8af5-1635-cd4a-3d973a440c29", + "order": 3, + "description": "" + } + }, + { + "pk": 86, + "model": "workflows.abstractoutput", + "fields": { + "widget": 76, + "name": "Generated Code", + "short_name": "str", + "variable": "code", + "uid": "4aa43f4d-78f5-2609-1539-1ac9bced051f", + "order": 4, + "description": "" + } + }, + { + "pk": 77, + "model": "workflows.abstractwidget", + "fields": { + "category": 15, + "treeview_image": null, + "name": "Advanced object viewer", + "is_streaming": false, + "uid": "f03856df-f050-40d3-b0ea-105dd946a73f", + "interaction_view": "", + "image": null, + "package": "latino", + "static_image": "object_advanced_view_image.png", + "post_interact_action": "", + "user": null, + "visualization_view": "advanced_object_viewer", + "action": "advanced_object_viewer", + "wsdl_method": "", + "wsdl": "", + "interactive": false, + "has_progress_bar": false, + "order": 1, + "description": "Displays any input." + } + }, + { + "pk": 219, + "model": "workflows.abstractinput", + "fields": { + "widget": 77, + "name": "Object", + "short_name": "obj", + "uid": "6482823f-f2e5-01b4-4f05-4d235f5ee2eb", + "default": "", + "required": true, + "multi": false, + "parameter_type": null, + "variable": "obj", + "parameter": false, + "order": 1, + "description": "Any type of object." + } + }, + { + "pk": 220, + "model": "workflows.abstractinput", + "fields": { + "widget": 77, + "name": "Attribute", + "short_name": "int", + "uid": "84be4d9b-6210-39f1-a4c3-324a37d5b1a6", + "default": "", + "required": false, + "multi": false, + "parameter_type": "text", + "variable": "attribute", + "parameter": true, + "order": 2, + "description": "The depth of the object display" + } + }, + { + "pk": 221, + "model": "workflows.abstractinput", + "fields": { + "widget": 77, + "name": "Maximum Output Length", + "short_name": "int", + "uid": "d0a89d3b-705e-46ef-eaf7-266c48d4432b", + "default": "5000", + "required": true, + "multi": false, + "parameter_type": "text", + "variable": "maxStringLen", + "parameter": true, + "order": 3, + "description": "System.Int32" + } + } ] \ No newline at end of file diff --git a/workflows/latino/import_dotnet.py b/workflows/latino/import_dotnet.py index b2ce2a7ced9dba77387ff80c704dab8a869de526..8b0e67562342cbdcc9ee8b9320e34b07a34e23a8 100644 --- a/workflows/latino/import_dotnet.py +++ b/workflows/latino/import_dotnet.py @@ -1,22 +1,21 @@ import logging +import os import sys -from settings import * +from settings import PACKAGE_ROOT #------------------------------------------------------------------------------ # prepare environment for loading latino (Python.net interpreter should be used) # see: http://pythonnet.sourceforge.net/ #------------------------------------------------------------------------------ -sys.path.append(package_bin) +sys.path.append(os.path.join(PACKAGE_ROOT, 'bin')) try: - from LatinoCloudFlows import * import System import Latino + from LatinoClowdFlows import * except Exception: - logging.warning("LatinoClowdFlows could not be imported! Either there are no Latino dll available or a "\ - "wrong interpreter is used. See 'http://pythonnet.sourceforge.net' for interpreter details. "\ - "Other functionality (besides latino) will work as .") + logging.warning("DotNet assemblies could not be loaded! Probable reasons: missing dlls or wrong interpreter (see http://pythonnet.sourceforge.net). " + "Other functionality of ClowdFlows (besides .Net assemblies) should be OK!") pass -logging.basicConfig(format='%(asctime)s %(message)s', level=logging.INFO) \ No newline at end of file diff --git a/workflows/latino/library_gen.py b/workflows/latino/library_gen.py index 001c43a4b1883fec3960f9fed7ed39827e5f6d29..c890082756e13b94e764d826aada64c8642e4231 100644 --- a/workflows/latino/library_gen.py +++ b/workflows/latino/library_gen.py @@ -1,682 +1,701 @@ -# ----------------------------------------------------------------------------------------------------- -# WARNING: THIS IS AUTOMATICALLY GENERATED FILE, DO NOT EDIT IT MANUALLY AS YOU MAY LOOSE YOUR CHANGES! -# ----------------------------------------------------------------------------------------------------- - -from serialization_utils import * -from import_dotnet import * - - -def latino_flatten_object_to_string_array(inputDict): - _data = ToNetObj(inputDict['data']) - execResult = LatinoCF.FlattenObjectToStringArray(_data) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['flatData'] = execResultPy - return outputDict - -def latino_load_adc(inputDict): - _file = ToString(inputDict['file']) - _leadingLabels = ToBool(inputDict['leadingLabels']) - execResult = LatinoCF.LoadADC(_file, _leadingLabels) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_load_adcfrom_string(inputDict): - _plainString = ToString(inputDict['plainString']) - _leadingLabels = ToBool(inputDict['leadingLabels']) - execResult = LatinoCF.LoadADCFromString(_plainString, _leadingLabels) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_save_adcto_xml(inputDict): - _adc = ToNetObj(inputDict['adc']) - execResult = LatinoCF.SaveADCtoXml(_adc) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['string'] = execResultPy - return outputDict - -def latino_load_adcfrom_xml(inputDict): - _xml = ToString(inputDict['xml']) - execResult = LatinoCF.LoadADCfromXml(_xml) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_get_doc_strings(inputDict): - _adc = ToNetObj(inputDict['adc']) - _elementAnnotation = ToString(inputDict['elementAnnotation']) - _elementFeatureConditions = ToString(inputDict['elementFeatureConditions']) - _delimiter = ToString(inputDict['delimiter']) - _includeDocId = ToBool(inputDict['includeDocId']) - execResult = LatinoCF.GetDocStrings(_adc, _elementAnnotation, _elementFeatureConditions, _delimiter, _includeDocId) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['strings'] = execResultPy - return outputDict - -def latino_extract_documents_features(inputDict): - _adc = ToNetObj(inputDict['adc']) - _featureName = ToString(inputDict['featureName']) - execResult = LatinoCF.ExtractDocumentsFeatures(_adc, _featureName) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['strings'] = execResultPy - return outputDict - -def latino_add_documents_features(inputDict): - _adc = ToNetObj(inputDict['adc']) - _featureValues = ToNetObj(inputDict['featureValues']) - _featureName = ToString(inputDict['featureName']) - _featureValuePrefix = ToString(inputDict['featureValuePrefix']) - execResult = LatinoCF.AddDocumentsFeatures(_adc, _featureValues, _featureName, _featureValuePrefix) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_split_documents_by_feature_value(inputDict): - _adc = ToNetObj(inputDict['adc']) - _featureCondition = ToString(inputDict['featureCondition']) - execResult = LatinoCF.SplitDocumentsByFeatureValue(_adc, _featureCondition) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adcFiltered'] = execResultPy['adcFiltered'] - outputDict['adcRest'] = execResultPy['adcRest'] - return outputDict - -def latino_mark_documents_with_set_feature(inputDict): - _adc = ToNetObj(inputDict['adc']) - _featureName = ToString(inputDict['featureName']) - _featureValuePrefix = ToString(inputDict['featureValuePrefix']) - _numOfSets = ToInt(inputDict['numOfSets']) - _random = ToBool(inputDict['random']) - _useSeed = ToBool(inputDict['useSeed']) - _randomSeed = ToInt(inputDict['randomSeed']) - execResult = LatinoCF.MarkDocumentsWithSetFeature(_adc, _featureName, _featureValuePrefix, _numOfSets, _random, _useSeed, _randomSeed) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_corpus_statistics(inputDict): - _adc = ToNetObj(inputDict['adc']) - execResult = LatinoCF.CorpusStatistics(_adc) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['docCount'] = execResultPy['docCount'] - outputDict['featureCount'] = execResultPy['featureCount'] - outputDict['description'] = execResultPy['description'] - return outputDict - -def latino_construct_english_maximum_entropy_sentence_detector(inputDict): - execResult = LatinoCF.ConstructEnglishMaximumEntropySentenceDetector() - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tokenizer'] = execResultPy - return outputDict - -def latino_construct_english_maximum_entropy_tokenizer(inputDict): - _alphaNumericOptimization = ToBool(inputDict['alphaNumericOptimization']) - execResult = LatinoCF.ConstructEnglishMaximumEntropyTokenizer(_alphaNumericOptimization) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tokenizer'] = execResultPy - return outputDict - -def latino_construct_unicode_tokenizer(inputDict): - _filter = ToEnum(Latino.TextMining.TokenizerFilter, inputDict['filter'], Latino.TextMining.TokenizerFilter.None) - _minTokenLen = ToInt(inputDict['minTokenLen']) - execResult = LatinoCF.ConstructUnicodeTokenizer(_filter, _minTokenLen) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tokenizer'] = execResultPy - return outputDict - -def latino_construct_simple_tokenizer(inputDict): - _type = ToEnum(Latino.TextMining.TokenizerType, inputDict['type'], Latino.TextMining.TokenizerType.AllChars) - _minTokenLen = ToInt(inputDict['minTokenLen']) - execResult = LatinoCF.ConstructSimpleTokenizer(_type, _minTokenLen) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tokenizer'] = execResultPy - return outputDict - -def latino_construct_regex_tokenizer(inputDict): - _tokenRegex = ToString(inputDict['tokenRegex']) - _ignoreUnknownTokens = ToBool(inputDict['ignoreUnknownTokens']) - _regexOptionsIgnoreCase = ToBool(inputDict['regexOptionsIgnoreCase']) - _regexOptionsMultiline = ToBool(inputDict['regexOptionsMultiline']) - _regexOptionsExplicitCapture = ToBool(inputDict['regexOptionsExplicitCapture']) - _regexOptionsCompiled = ToBool(inputDict['regexOptionsCompiled']) - _regexOptionsSingleline = ToBool(inputDict['regexOptionsSingleline']) - _regexOptionsIgnorePatternWhitespace = ToBool(inputDict['regexOptionsIgnorePatternWhitespace']) - _regexOptionsRightToLeft = ToBool(inputDict['regexOptionsRightToLeft']) - _regexOptionsECMAScript = ToBool(inputDict['regexOptionsECMAScript']) - _regexOptionsCultureInvariant = ToBool(inputDict['regexOptionsCultureInvariant']) - execResult = LatinoCF.ConstructRegexTokenizer(_tokenRegex, _ignoreUnknownTokens, _regexOptionsIgnoreCase, _regexOptionsMultiline, _regexOptionsExplicitCapture, _regexOptionsCompiled, _regexOptionsSingleline, _regexOptionsIgnorePatternWhitespace, _regexOptionsRightToLeft, _regexOptionsECMAScript, _regexOptionsCultureInvariant) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tokenizer'] = execResultPy - return outputDict - -def latino_tokenize_sentences(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tokenizer = ToNetObj(inputDict['tokenizer']) - _inputAnnotation = ToString(inputDict['inputAnnotation']) - _outputAnnotation = ToString(inputDict['outputAnnotation']) - execResult = LatinoCF.TokenizeSentences(_adc, _tokenizer, _inputAnnotation, _outputAnnotation) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_tokenize_words(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tokenizer = ToNetObj(inputDict['tokenizer']) - _inputAnnotation = ToString(inputDict['inputAnnotation']) - _outputAnnotation = ToString(inputDict['outputAnnotation']) - execResult = LatinoCF.TokenizeWords(_adc, _tokenizer, _inputAnnotation, _outputAnnotation) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_tokenize_multiple(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tokenizer = ToNetObj(inputDict['tokenizer']) - _inputAnnotation = ToString(inputDict['inputAnnotation']) - _outputAnnotation = ToString(inputDict['outputAnnotation']) - execResult = LatinoCF.TokenizeMultiple(_adc, _tokenizer, _inputAnnotation, _outputAnnotation) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_tokenize_string_string(inputDict): - _text = ToNetObj(inputDict['text']) - _tokenizer = ToNetObj(inputDict['tokenizer']) - execResult = LatinoCF.TokenizeStringString(_text, _tokenizer) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['string'] = execResultPy - return outputDict - -def latino_tokenize_string_words(inputDict): - _text = ToNetObj(inputDict['text']) - _tokenizer = ToNetObj(inputDict['tokenizer']) - execResult = LatinoCF.TokenizeStringWords(_text, _tokenizer) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['string'] = execResultPy - return outputDict - -def latino_construct_english_maximum_entropy_pos_tagger(inputDict): - _beamSize = ToInt(inputDict['beamSize']) - execResult = LatinoCF.ConstructEnglishMaximumEntropyPosTagger(_beamSize) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['posTagger'] = execResultPy - return outputDict - -def latino_pos_tag(inputDict): - _adc = ToNetObj(inputDict['adc']) - _posTagger = ToNetObj(inputDict['posTagger']) - _groupAnnotation = ToString(inputDict['groupAnnotation']) - _elementAnnotation = ToString(inputDict['elementAnnotation']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.PosTag(_adc, _posTagger, _groupAnnotation, _elementAnnotation, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_pos_tag_string(inputDict): - _text = ToNetObj(inputDict['text']) - _posTagger = ToNetObj(inputDict['posTagger']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.PosTagString(_text, _posTagger, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['string'] = execResultPy - return outputDict - -def latino_get_stop_words(inputDict): - _language = ToEnum(Latino.TextMining.Language, inputDict['language'], Latino.TextMining.Language.English) - execResult = LatinoCF.GetStopWords(_language) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['strings'] = execResultPy - return outputDict - -def latino_construct_lemma_sharp_lemmatizer(inputDict): - _language = ToEnum(Latino.TextMining.Language, inputDict['language'], Latino.TextMining.Language.English) - execResult = LatinoCF.ConstructLemmaSharpLemmatizer(_language) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tagger'] = execResultPy - return outputDict - -def latino_construct_snowball_stemmer(inputDict): - _language = ToEnum(Latino.TextMining.Language, inputDict['language'], Latino.TextMining.Language.English) - execResult = LatinoCF.ConstructSnowballStemmer(_language) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tagger'] = execResultPy - return outputDict - -def latino_construct_stop_words_tagger(inputDict): - _stopWords = ToString(inputDict['stopWords']) - _ignoreCase = ToBool(inputDict['ignoreCase']) - execResult = LatinoCF.ConstructStopWordsTagger(_stopWords, _ignoreCase) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tagger'] = execResultPy - return outputDict - -def latino_construct_condition_tagger(inputDict): - _featureCondition = ToString(inputDict['featureCondition']) - _outputFeatureValue = ToString(inputDict['outputFeatureValue']) - _elementsTextToFeatureValue = ToBool(inputDict['elementsTextToFeatureValue']) - execResult = LatinoCF.ConstructConditionTagger(_featureCondition, _outputFeatureValue, _elementsTextToFeatureValue) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tagger'] = execResultPy - return outputDict - -def latino_tag_adcstem_lemma(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tagger = ToNetObj(inputDict['tagger']) - _elementAnnotation = ToString(inputDict['elementAnnotation']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.TagADCStemLemma(_adc, _tagger, _elementAnnotation, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_tag_adcstopwords(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tagger = ToNetObj(inputDict['tagger']) - _elementAnnotation = ToString(inputDict['elementAnnotation']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.TagADCStopwords(_adc, _tagger, _elementAnnotation, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_tag_adcmultiple(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tagger = ToNetObj(inputDict['tagger']) - _elementAnnotation = ToString(inputDict['elementAnnotation']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.TagADCMultiple(_adc, _tagger, _elementAnnotation, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['adc'] = execResultPy - return outputDict - -def latino_tag_string_stem_lemma(inputDict): - _text = ToNetObj(inputDict['text']) - _tagger = ToNetObj(inputDict['tagger']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.TagStringStemLemma(_text, _tagger, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['string'] = execResultPy - return outputDict - -def latino_tag_string_stopwords(inputDict): - _text = ToNetObj(inputDict['text']) - _tagger = ToNetObj(inputDict['tagger']) - _outputFeature = ToString(inputDict['outputFeature']) - execResult = LatinoCF.TagStringStopwords(_text, _tagger, _outputFeature) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['string'] = execResultPy - return outputDict - -def latino_construct_bow_space(inputDict): - _documents = ToNetObj(inputDict['documents']) - _tokenizer = ToNetObj(inputDict['tokenizer']) - _stemmer = ToNetObj(inputDict['stemmer']) - _stopwords = ToNetObj(inputDict['stopwords']) - _maxNGramLen = ToInt(inputDict['maxNGramLen']) - _minWordFreq = ToInt(inputDict['minWordFreq']) - _wordWeightType = ToEnum(Latino.TextMining.WordWeightType, inputDict['wordWeightType'], Latino.TextMining.WordWeightType.TfIdf) - _cutLowWeightsPerc = ToFloat(inputDict['cutLowWeightsPerc']) - _normalizeVectors = ToBool(inputDict['normalizeVectors']) - execResult = LatinoCF.ConstructBowSpace(_documents, _tokenizer, _stemmer, _stopwords, _maxNGramLen, _minWordFreq, _wordWeightType, _cutLowWeightsPerc, _normalizeVectors) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['bow'] = execResultPy['bow'] - outputDict['ds'] = execResultPy['ds'] - return outputDict - -def latino_construct_bow_space(inputDict): - _adc = ToNetObj(inputDict['adc']) - _tokenId = ToString(inputDict['tokenId']) - _stemId = ToString(inputDict['stemId']) - _stopwordId = ToString(inputDict['stopwordId']) - _labelId = ToString(inputDict['labelId']) - _maxNGramLen = ToInt(inputDict['maxNGramLen']) - _minWordFreq = ToInt(inputDict['minWordFreq']) - _wordWeightType = ToEnum(Latino.TextMining.WordWeightType, inputDict['wordWeightType'], Latino.TextMining.WordWeightType.TfIdf) - _cutLowWeightsPerc = ToFloat(inputDict['cutLowWeightsPerc']) - _normalizeVectors = ToBool(inputDict['normalizeVectors']) - execResult = LatinoCF.ConstructBowSpace(_adc, _tokenId, _stemId, _stopwordId, _labelId, _maxNGramLen, _minWordFreq, _wordWeightType, _cutLowWeightsPerc, _normalizeVectors) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['bow'] = execResultPy['bow'] - outputDict['ds'] = execResultPy['ds'] - return outputDict - -def latino_get_vocabulary(inputDict): - _bow = ToNetObj(inputDict['bow']) - _startIndex = ToInt(inputDict['startIndex']) - _maxWords = ToInt(inputDict['maxWords']) - execResult = LatinoCF.GetVocabulary(_bow, _startIndex, _maxWords) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['vocabulary'] = execResultPy - return outputDict - -def latino_process_new_documents_from_adc(inputDict): - _bow = ToNetObj(inputDict['bow']) - _adc = ToNetObj(inputDict['adc']) - execResult = LatinoCF.ProcessNewDocumentsFromADC(_bow, _adc) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['ds'] = execResultPy - return outputDict - -def latino_process_new_documents_from_string(inputDict): - _bow = ToNetObj(inputDict['bow']) - _lst = ToNetObj(inputDict['lst']) - execResult = LatinoCF.ProcessNewDocumentsFromString(_bow, _lst) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['ds'] = execResultPy - return outputDict - -def latino_add_labels_to_document_vectors(inputDict): - _ds = ToNetObj(inputDict['ds']) - _labels = ToNetObj(inputDict['labels']) - execResult = LatinoCF.AddLabelsToDocumentVectors(_ds, _labels) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['ds'] = execResultPy - return outputDict - -def latino_remove_document_vectors_labels(inputDict): - _ds = ToNetObj(inputDict['ds']) - execResult = LatinoCF.RemoveDocumentVectorsLabels(_ds) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['ds'] = execResultPy - return outputDict - -def latino_extract_dataset_labels(inputDict): - _ds = ToNetObj(inputDict['ds']) - execResult = LatinoCF.ExtractDatasetLabels(_ds) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['labels'] = execResultPy - return outputDict - -def latino_dataset_split_simple(inputDict): - _ds = ToNetObj(inputDict['ds']) - _percentage = ToFloat(inputDict['percentage']) - _randomSeed = ToInt(inputDict['randomSeed']) - execResult = LatinoCF.DatasetSplitSimple(_ds, _percentage, _randomSeed) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['ds1'] = execResultPy['ds1'] - outputDict['ds2'] = execResultPy['ds2'] - return outputDict - -def latino_dataset_split_predefined(inputDict): - _ds = ToNetObj(inputDict['ds']) - _sets = ToNetObj(inputDict['sets']) - _setId = ToInt(inputDict['setId']) - execResult = LatinoCF.DatasetSplitPredefined(_ds, _sets, _setId) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['ds1'] = execResultPy['ds1'] - outputDict['ds2'] = execResultPy['ds2'] - return outputDict - -def latino_calculate_similarity_matrix(inputDict): - _ds1 = ToNetObj(inputDict['ds1']) - _ds2 = ToNetObj(inputDict['ds2']) - _thresh = ToFloat(inputDict['thresh']) - _fullMatrix = ToBool(inputDict['fullMatrix']) - execResult = LatinoCF.CalculateSimilarityMatrix(_ds1, _ds2, _thresh, _fullMatrix) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['smx'] = execResultPy - return outputDict - -def latino_sparse_matrix_to_table(inputDict): - _smx = ToNetObj(inputDict['smx']) - execResult = LatinoCF.SparseMatrixToTable(_smx) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['tbl'] = execResultPy - return outputDict - -def latino_construct_kmeans_clusterer(inputDict): - _k = ToInt(inputDict['k']) - _centroidType = ToEnum(Latino.Model.CentroidType, inputDict['centroidType'], Latino.Model.CentroidType.NrmL2) - _similarityModel = ToEnum(LatinoCloudFlows.SimilarityModel, inputDict['similarityModel'], LatinoCloudFlows.SimilarityModel.Cosine) - _randomSeed = ToInt(inputDict['randomSeed']) - _eps = ToFloat(inputDict['eps']) - _trials = ToInt(inputDict['trials']) - execResult = LatinoCF.ConstructKMeansClusterer(_k, _centroidType, _similarityModel, _randomSeed, _eps, _trials) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['clusterer'] = execResultPy - return outputDict - -def latino_construct_kmeans_fast_clusterer(inputDict): - _k = ToInt(inputDict['k']) - _randomSeed = ToInt(inputDict['randomSeed']) - _eps = ToFloat(inputDict['eps']) - _trials = ToInt(inputDict['trials']) - execResult = LatinoCF.ConstructKMeansFastClusterer(_k, _randomSeed, _eps, _trials) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['clusterer'] = execResultPy - return outputDict - -def latino_construct_hierarchical_bisecting_clusterer(inputDict): - _minQuality = ToFloat(inputDict['minQuality']) - execResult = LatinoCF.ConstructHierarchicalBisectingClusterer(_minQuality) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['clusterer'] = execResultPy - return outputDict - -def latino_cluster_document_vectors(inputDict): - _clusterer = ToNetObj(inputDict['clusterer']) - _dataset = ToNetObj(inputDict['dataset']) - execResult = LatinoCF.ClusterDocumentVectors(_clusterer, _dataset) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['clustRes'] = execResultPy - return outputDict - -def latino_clustering_results_info(inputDict): - _clustRes = ToNetObj(inputDict['clustRes']) - execResult = LatinoCF.ClusteringResultsInfo(_clustRes) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['docLabels'] = execResultPy['docLabels'] - outputDict['clustTree'] = execResultPy['clustTree'] - return outputDict - -def latino_construct_centroid_classifier(inputDict): - _similarityModel = ToEnum(LatinoCloudFlows.SimilarityModel, inputDict['similarityModel'], LatinoCloudFlows.SimilarityModel.Cosine) - _normalizeCentorids = ToBool(inputDict['normalizeCentorids']) - execResult = LatinoCF.ConstructCentroidClassifier(_similarityModel, _normalizeCentorids) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_naive_bayes_classifier(inputDict): - _normalize = ToBool(inputDict['normalize']) - _logSumExpTrick = ToBool(inputDict['logSumExpTrick']) - execResult = LatinoCF.ConstructNaiveBayesClassifier(_normalize, _logSumExpTrick) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_svm_binary_classifier(inputDict): - _c = ToFloat(inputDict['c']) - _biasedHyperplane = ToBool(inputDict['biasedHyperplane']) - _kernelType = ToEnum(Latino.Model.SvmLightKernelType, inputDict['kernelType'], Latino.Model.SvmLightKernelType.Linear) - _kernelParamGamma = ToFloat(inputDict['kernelParamGamma']) - _kernelParamD = ToFloat(inputDict['kernelParamD']) - _kernelParamS = ToFloat(inputDict['kernelParamS']) - _kernelParamC = ToFloat(inputDict['kernelParamC']) - _eps = ToFloat(inputDict['eps']) - _maxIter = ToInt(inputDict['maxIter']) - _customParams = ToString(inputDict['customParams']) - execResult = LatinoCF.ConstructSvmBinaryClassifier(_c, _biasedHyperplane, _kernelType, _kernelParamGamma, _kernelParamD, _kernelParamS, _kernelParamC, _eps, _maxIter, _customParams) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_svm_multiclass_fast(inputDict): - _c = ToFloat(inputDict['c']) - _eps = ToFloat(inputDict['eps']) - execResult = LatinoCF.ConstructSvmMulticlassFast(_c, _eps) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_majority_classifier(inputDict): - execResult = LatinoCF.ConstructMajorityClassifier() - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_maximum_entropy_classifier(inputDict): - _moveData = ToBool(inputDict['moveData']) - _numIter = ToInt(inputDict['numIter']) - _cutOff = ToInt(inputDict['cutOff']) - _numThreads = ToInt(inputDict['numThreads']) - _normalize = ToBool(inputDict['normalize']) - execResult = LatinoCF.ConstructMaximumEntropyClassifier(_moveData, _numIter, _cutOff, _numThreads, _normalize) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_maximum_entropy_classifier_fast(inputDict): - _moveData = ToBool(inputDict['moveData']) - _numIter = ToInt(inputDict['numIter']) - _cutOff = ToInt(inputDict['cutOff']) - _numThreads = ToInt(inputDict['numThreads']) - _normalize = ToBool(inputDict['normalize']) - execResult = LatinoCF.ConstructMaximumEntropyClassifierFast(_moveData, _numIter, _cutOff, _numThreads, _normalize) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_knn_classifier(inputDict): - _similarityModel = ToEnum(LatinoCloudFlows.SimilarityModel, inputDict['similarityModel'], LatinoCloudFlows.SimilarityModel.Cosine) - _k = ToInt(inputDict['k']) - _softVoting = ToBool(inputDict['softVoting']) - execResult = LatinoCF.ConstructKnnClassifier(_similarityModel, _k, _softVoting) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_construct_knn_classifier_fast(inputDict): - _k = ToInt(inputDict['k']) - _softVoting = ToBool(inputDict['softVoting']) - execResult = LatinoCF.ConstructKnnClassifierFast(_k, _softVoting) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['classifier'] = execResultPy - return outputDict - -def latino_train_classifier(inputDict): - _csf = ToNetObj(inputDict['csf']) - _ds = ToNetObj(inputDict['ds']) - execResult = LatinoCF.TrainClassifier(_csf, _ds) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['csf'] = execResultPy - return outputDict - -def latino_predict_classification(inputDict): - _csf = ToNetObj(inputDict['csf']) - _ds = ToNetObj(inputDict['ds']) - execResult = LatinoCF.PredictClassification(_csf, _ds) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['predictions'] = execResultPy['predictions'] - outputDict['ds'] = execResultPy['ds'] - return outputDict - -def latino_prediction_info(inputDict): - _predictions = ToNetObj(inputDict['predictions']) - execResult = LatinoCF.PredictionInfo(_predictions) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['labels'] = execResultPy['labels'] - outputDict['predictInfos'] = execResultPy['predictInfos'] - return outputDict - -def latino_cross_validation(inputDict): - _csf = ToNetObj(inputDict['csf']) - _ds = ToNetObj(inputDict['ds']) - _numOfSets = ToInt(inputDict['numOfSets']) - _random = ToBool(inputDict['random']) - _useSeed = ToBool(inputDict['useSeed']) - _randomSeed = ToInt(inputDict['randomSeed']) - execResult = LatinoCF.CrossValidation(_csf, _ds, _numOfSets, _random, _useSeed, _randomSeed) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['obj'] = execResultPy - return outputDict - -def latino_cross_validation_predef_splits(inputDict): - _csf = ToNetObj(inputDict['csf']) - _ds = ToNetObj(inputDict['ds']) - _sets = ToNetObj(inputDict['sets']) - execResult = LatinoCF.CrossValidationPredefSplits(_csf, _ds, _sets) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['obj'] = execResultPy - return outputDict - -def latino_run_csharp_snippet(inputDict): - _snippetParams = ToNetObj(inputDict['snippetParams']) - _snippetCode = ToString(inputDict['snippetCode']) - _aditionalReferences = ToString(inputDict['aditionalReferences']) - _usings = ToString(inputDict['usings']) - execResult = LatinoCF.RunCSharpSnippet(_snippetParams, _snippetCode, _aditionalReferences, _usings) - execResultPy = ToPyObj(execResult) - outputDict = {} - outputDict['out'] = execResultPy['out'] - outputDict['consoleOut'] = execResultPy['consoleOut'] - outputDict['error'] = execResultPy['error'] - outputDict['code'] = execResultPy['code'] - return outputDict - +# ----------------------------------------------------------------------------------------------------- +# WARNING: THIS IS AUTOMATICALLY GENERATED FILE, DO NOT EDIT IT MANUALLY AS YOU MAY LOOSE YOUR CHANGES! +# ----------------------------------------------------------------------------------------------------- + +from serialization_utils import * +from import_dotnet import * + +def sentiment_analysis_con_cat(inputDict): + _str1 = ToString(inputDict['str1']) + _str2 = ToString(inputDict['str2']) + execResult = SentimentAnalysisCF.ConCat(_str1, _str2) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['out'] = execResultPy + return outputDict + +def sentiment_analysis_ena_cudna_funk(inputDict): + _str1 = ToString(inputDict['str1']) + _str2 = ToString(inputDict['str2']) + _str3 = ToString(inputDict['str3']) + _str4 = ToString(inputDict['str4']) + execResult = SentimentAnalysisCF.EnaCudnaFunk(_str1, _str2, _str3, _str4) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['out'] = execResultPy + return outputDict + +def latino_flatten_object_to_string_array(inputDict): + _data = ToNetObj(inputDict['data']) + execResult = LatinoCF.FlattenObjectToStringArray(_data) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['flatData'] = execResultPy + return outputDict + +def latino_load_adc(inputDict): + _file = ToString(inputDict['file']) + _leadingLabels = ToBool(inputDict['leadingLabels']) + execResult = LatinoCF.LoadADC(_file, _leadingLabels) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_load_adcfrom_string(inputDict): + _plainString = ToString(inputDict['plainString']) + _leadingLabels = ToBool(inputDict['leadingLabels']) + execResult = LatinoCF.LoadADCFromString(_plainString, _leadingLabels) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_save_adcto_xml(inputDict): + _adc = ToNetObj(inputDict['adc']) + execResult = LatinoCF.SaveADCtoXml(_adc) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['string'] = execResultPy + return outputDict + +def latino_load_adcfrom_xml(inputDict): + _xml = ToString(inputDict['xml']) + execResult = LatinoCF.LoadADCfromXml(_xml) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_get_doc_strings(inputDict): + _adc = ToNetObj(inputDict['adc']) + _elementAnnotation = ToString(inputDict['elementAnnotation']) + _elementFeatureConditions = ToString(inputDict['elementFeatureConditions']) + _delimiter = ToString(inputDict['delimiter']) + _includeDocId = ToBool(inputDict['includeDocId']) + execResult = LatinoCF.GetDocStrings(_adc, _elementAnnotation, _elementFeatureConditions, _delimiter, _includeDocId) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['strings'] = execResultPy + return outputDict + +def latino_extract_documents_features(inputDict): + _adc = ToNetObj(inputDict['adc']) + _featureName = ToString(inputDict['featureName']) + execResult = LatinoCF.ExtractDocumentsFeatures(_adc, _featureName) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['strings'] = execResultPy + return outputDict + +def latino_add_documents_features(inputDict): + _adc = ToNetObj(inputDict['adc']) + _featureValues = ToNetObj(inputDict['featureValues']) + _featureName = ToString(inputDict['featureName']) + _featureValuePrefix = ToString(inputDict['featureValuePrefix']) + execResult = LatinoCF.AddDocumentsFeatures(_adc, _featureValues, _featureName, _featureValuePrefix) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_split_documents_by_feature_value(inputDict): + _adc = ToNetObj(inputDict['adc']) + _featureCondition = ToString(inputDict['featureCondition']) + execResult = LatinoCF.SplitDocumentsByFeatureValue(_adc, _featureCondition) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adcFiltered'] = execResultPy['adcFiltered'] + outputDict['adcRest'] = execResultPy['adcRest'] + return outputDict + +def latino_mark_documents_with_set_feature(inputDict): + _adc = ToNetObj(inputDict['adc']) + _featureName = ToString(inputDict['featureName']) + _featureValuePrefix = ToString(inputDict['featureValuePrefix']) + _numOfSets = ToInt(inputDict['numOfSets']) + _random = ToBool(inputDict['random']) + _useSeed = ToBool(inputDict['useSeed']) + _randomSeed = ToInt(inputDict['randomSeed']) + execResult = LatinoCF.MarkDocumentsWithSetFeature(_adc, _featureName, _featureValuePrefix, _numOfSets, _random, _useSeed, _randomSeed) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_corpus_statistics(inputDict): + _adc = ToNetObj(inputDict['adc']) + execResult = LatinoCF.CorpusStatistics(_adc) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['docCount'] = execResultPy['docCount'] + outputDict['featureCount'] = execResultPy['featureCount'] + outputDict['description'] = execResultPy['description'] + return outputDict + +def latino_construct_english_maximum_entropy_sentence_detector(inputDict): + execResult = LatinoCF.ConstructEnglishMaximumEntropySentenceDetector() + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tokenizer'] = execResultPy + return outputDict + +def latino_construct_english_maximum_entropy_tokenizer(inputDict): + _alphaNumericOptimization = ToBool(inputDict['alphaNumericOptimization']) + execResult = LatinoCF.ConstructEnglishMaximumEntropyTokenizer(_alphaNumericOptimization) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tokenizer'] = execResultPy + return outputDict + +def latino_construct_unicode_tokenizer(inputDict): + _filter = ToEnum(Latino.TextMining.TokenizerFilter, inputDict['filter'], Latino.TextMining.TokenizerFilter.None) + _minTokenLen = ToInt(inputDict['minTokenLen']) + execResult = LatinoCF.ConstructUnicodeTokenizer(_filter, _minTokenLen) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tokenizer'] = execResultPy + return outputDict + +def latino_construct_simple_tokenizer(inputDict): + _type = ToEnum(Latino.TextMining.TokenizerType, inputDict['type'], Latino.TextMining.TokenizerType.AllChars) + _minTokenLen = ToInt(inputDict['minTokenLen']) + execResult = LatinoCF.ConstructSimpleTokenizer(_type, _minTokenLen) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tokenizer'] = execResultPy + return outputDict + +def latino_construct_regex_tokenizer(inputDict): + _tokenRegex = ToString(inputDict['tokenRegex']) + _ignoreUnknownTokens = ToBool(inputDict['ignoreUnknownTokens']) + _regexOptionsIgnoreCase = ToBool(inputDict['regexOptionsIgnoreCase']) + _regexOptionsMultiline = ToBool(inputDict['regexOptionsMultiline']) + _regexOptionsExplicitCapture = ToBool(inputDict['regexOptionsExplicitCapture']) + _regexOptionsCompiled = ToBool(inputDict['regexOptionsCompiled']) + _regexOptionsSingleline = ToBool(inputDict['regexOptionsSingleline']) + _regexOptionsIgnorePatternWhitespace = ToBool(inputDict['regexOptionsIgnorePatternWhitespace']) + _regexOptionsRightToLeft = ToBool(inputDict['regexOptionsRightToLeft']) + _regexOptionsECMAScript = ToBool(inputDict['regexOptionsECMAScript']) + _regexOptionsCultureInvariant = ToBool(inputDict['regexOptionsCultureInvariant']) + execResult = LatinoCF.ConstructRegexTokenizer(_tokenRegex, _ignoreUnknownTokens, _regexOptionsIgnoreCase, _regexOptionsMultiline, _regexOptionsExplicitCapture, _regexOptionsCompiled, _regexOptionsSingleline, _regexOptionsIgnorePatternWhitespace, _regexOptionsRightToLeft, _regexOptionsECMAScript, _regexOptionsCultureInvariant) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tokenizer'] = execResultPy + return outputDict + +def latino_tokenize_sentences(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tokenizer = ToNetObj(inputDict['tokenizer']) + _inputAnnotation = ToString(inputDict['inputAnnotation']) + _outputAnnotation = ToString(inputDict['outputAnnotation']) + execResult = LatinoCF.TokenizeSentences(_adc, _tokenizer, _inputAnnotation, _outputAnnotation) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_tokenize_words(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tokenizer = ToNetObj(inputDict['tokenizer']) + _inputAnnotation = ToString(inputDict['inputAnnotation']) + _outputAnnotation = ToString(inputDict['outputAnnotation']) + execResult = LatinoCF.TokenizeWords(_adc, _tokenizer, _inputAnnotation, _outputAnnotation) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_tokenize_multiple(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tokenizer = ToNetObj(inputDict['tokenizer']) + _inputAnnotation = ToString(inputDict['inputAnnotation']) + _outputAnnotation = ToString(inputDict['outputAnnotation']) + execResult = LatinoCF.TokenizeMultiple(_adc, _tokenizer, _inputAnnotation, _outputAnnotation) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_tokenize_string_string(inputDict): + _text = ToNetObj(inputDict['text']) + _tokenizer = ToNetObj(inputDict['tokenizer']) + execResult = LatinoCF.TokenizeStringString(_text, _tokenizer) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['string'] = execResultPy + return outputDict + +def latino_tokenize_string_words(inputDict): + _text = ToNetObj(inputDict['text']) + _tokenizer = ToNetObj(inputDict['tokenizer']) + execResult = LatinoCF.TokenizeStringWords(_text, _tokenizer) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['string'] = execResultPy + return outputDict + +def latino_construct_english_maximum_entropy_pos_tagger(inputDict): + _beamSize = ToInt(inputDict['beamSize']) + execResult = LatinoCF.ConstructEnglishMaximumEntropyPosTagger(_beamSize) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['posTagger'] = execResultPy + return outputDict + +def latino_pos_tag(inputDict): + _adc = ToNetObj(inputDict['adc']) + _posTagger = ToNetObj(inputDict['posTagger']) + _groupAnnotation = ToString(inputDict['groupAnnotation']) + _elementAnnotation = ToString(inputDict['elementAnnotation']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.PosTag(_adc, _posTagger, _groupAnnotation, _elementAnnotation, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_pos_tag_string(inputDict): + _text = ToNetObj(inputDict['text']) + _posTagger = ToNetObj(inputDict['posTagger']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.PosTagString(_text, _posTagger, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['string'] = execResultPy + return outputDict + +def latino_get_stop_words(inputDict): + _language = ToEnum(Latino.TextMining.Language, inputDict['language'], Latino.TextMining.Language.English) + execResult = LatinoCF.GetStopWords(_language) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['strings'] = execResultPy + return outputDict + +def latino_construct_lemma_sharp_lemmatizer(inputDict): + _language = ToEnum(Latino.TextMining.Language, inputDict['language'], Latino.TextMining.Language.English) + execResult = LatinoCF.ConstructLemmaSharpLemmatizer(_language) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tagger'] = execResultPy + return outputDict + +def latino_construct_snowball_stemmer(inputDict): + _language = ToEnum(Latino.TextMining.Language, inputDict['language'], Latino.TextMining.Language.English) + execResult = LatinoCF.ConstructSnowballStemmer(_language) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tagger'] = execResultPy + return outputDict + +def latino_construct_stop_words_tagger(inputDict): + _stopWords = ToNetObj(inputDict['stopWords']) + _ignoreCase = ToBool(inputDict['ignoreCase']) + execResult = LatinoCF.ConstructStopWordsTagger(_stopWords, _ignoreCase) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tagger'] = execResultPy + return outputDict + +def latino_construct_condition_tagger(inputDict): + _featureCondition = ToString(inputDict['featureCondition']) + _outputFeatureValue = ToString(inputDict['outputFeatureValue']) + _elementsTextToFeatureValue = ToBool(inputDict['elementsTextToFeatureValue']) + execResult = LatinoCF.ConstructConditionTagger(_featureCondition, _outputFeatureValue, _elementsTextToFeatureValue) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tagger'] = execResultPy + return outputDict + +def latino_tag_adcstem_lemma(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tagger = ToNetObj(inputDict['tagger']) + _elementAnnotation = ToString(inputDict['elementAnnotation']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.TagADCStemLemma(_adc, _tagger, _elementAnnotation, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_tag_adcstopwords(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tagger = ToNetObj(inputDict['tagger']) + _elementAnnotation = ToString(inputDict['elementAnnotation']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.TagADCStopwords(_adc, _tagger, _elementAnnotation, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_tag_adcmultiple(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tagger = ToNetObj(inputDict['tagger']) + _elementAnnotation = ToString(inputDict['elementAnnotation']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.TagADCMultiple(_adc, _tagger, _elementAnnotation, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['adc'] = execResultPy + return outputDict + +def latino_tag_string_stem_lemma(inputDict): + _text = ToNetObj(inputDict['text']) + _tagger = ToNetObj(inputDict['tagger']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.TagStringStemLemma(_text, _tagger, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['string'] = execResultPy + return outputDict + +def latino_tag_string_stopwords(inputDict): + _text = ToNetObj(inputDict['text']) + _tagger = ToNetObj(inputDict['tagger']) + _outputFeature = ToString(inputDict['outputFeature']) + execResult = LatinoCF.TagStringStopwords(_text, _tagger, _outputFeature) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['string'] = execResultPy + return outputDict + +def latino_construct_bow_space_1(inputDict): + _documents = ToNetObj(inputDict['documents']) + _tokenizer = ToNetObj(inputDict['tokenizer']) + _stemmer = ToNetObj(inputDict['stemmer']) + _stopwords = ToNetObj(inputDict['stopwords']) + _maxNGramLen = ToInt(inputDict['maxNGramLen']) + _minWordFreq = ToInt(inputDict['minWordFreq']) + _wordWeightType = ToEnum(Latino.TextMining.WordWeightType, inputDict['wordWeightType'], Latino.TextMining.WordWeightType.TfIdf) + _cutLowWeightsPerc = ToFloat(inputDict['cutLowWeightsPerc']) + _normalizeVectors = ToBool(inputDict['normalizeVectors']) + execResult = LatinoCF.ConstructBowSpace(_documents, _tokenizer, _stemmer, _stopwords, _maxNGramLen, _minWordFreq, _wordWeightType, _cutLowWeightsPerc, _normalizeVectors) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['bow'] = execResultPy['bow'] + outputDict['ds'] = execResultPy['ds'] + return outputDict + +def latino_construct_bow_space_2(inputDict): + _adc = ToNetObj(inputDict['adc']) + _tokenId = ToString(inputDict['tokenId']) + _stemId = ToString(inputDict['stemId']) + _stopwordId = ToString(inputDict['stopwordId']) + _labelId = ToString(inputDict['labelId']) + _maxNGramLen = ToInt(inputDict['maxNGramLen']) + _minWordFreq = ToInt(inputDict['minWordFreq']) + _wordWeightType = ToEnum(Latino.TextMining.WordWeightType, inputDict['wordWeightType'], Latino.TextMining.WordWeightType.TfIdf) + _cutLowWeightsPerc = ToFloat(inputDict['cutLowWeightsPerc']) + _normalizeVectors = ToBool(inputDict['normalizeVectors']) + execResult = LatinoCF.ConstructBowSpace(_adc, _tokenId, _stemId, _stopwordId, _labelId, _maxNGramLen, _minWordFreq, _wordWeightType, _cutLowWeightsPerc, _normalizeVectors) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['bow'] = execResultPy['bow'] + outputDict['ds'] = execResultPy['ds'] + return outputDict + +def latino_get_vocabulary(inputDict): + _bow = ToNetObj(inputDict['bow']) + _startIndex = ToInt(inputDict['startIndex']) + _maxWords = ToInt(inputDict['maxWords']) + execResult = LatinoCF.GetVocabulary(_bow, _startIndex, _maxWords) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['vocabulary'] = execResultPy + return outputDict + +def latino_process_new_documents_from_adc(inputDict): + _bow = ToNetObj(inputDict['bow']) + _adc = ToNetObj(inputDict['adc']) + execResult = LatinoCF.ProcessNewDocumentsFromADC(_bow, _adc) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['ds'] = execResultPy + return outputDict + +def latino_process_new_documents_from_string(inputDict): + _bow = ToNetObj(inputDict['bow']) + _lst = ToNetObj(inputDict['lst']) + execResult = LatinoCF.ProcessNewDocumentsFromString(_bow, _lst) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['ds'] = execResultPy + return outputDict + +def latino_add_labels_to_document_vectors(inputDict): + _ds = ToNetObj(inputDict['ds']) + _labels = ToNetObj(inputDict['labels']) + execResult = LatinoCF.AddLabelsToDocumentVectors(_ds, _labels) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['ds'] = execResultPy + return outputDict + +def latino_remove_document_vectors_labels(inputDict): + _ds = ToNetObj(inputDict['ds']) + execResult = LatinoCF.RemoveDocumentVectorsLabels(_ds) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['ds'] = execResultPy + return outputDict + +def latino_extract_dataset_labels(inputDict): + _ds = ToNetObj(inputDict['ds']) + execResult = LatinoCF.ExtractDatasetLabels(_ds) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['labels'] = execResultPy + return outputDict + +def latino_dataset_split_simple(inputDict): + _ds = ToNetObj(inputDict['ds']) + _percentage = ToFloat(inputDict['percentage']) + _randomSeed = ToInt(inputDict['randomSeed']) + execResult = LatinoCF.DatasetSplitSimple(_ds, _percentage, _randomSeed) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['ds1'] = execResultPy['ds1'] + outputDict['ds2'] = execResultPy['ds2'] + return outputDict + +def latino_dataset_split_predefined(inputDict): + _ds = ToNetObj(inputDict['ds']) + _sets = ToNetObj(inputDict['sets']) + _setId = ToInt(inputDict['setId']) + execResult = LatinoCF.DatasetSplitPredefined(_ds, _sets, _setId) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['ds1'] = execResultPy['ds1'] + outputDict['ds2'] = execResultPy['ds2'] + return outputDict + +def latino_calculate_similarity_matrix(inputDict): + _ds1 = ToNetObj(inputDict['ds1']) + _ds2 = ToNetObj(inputDict['ds2']) + _thresh = ToFloat(inputDict['thresh']) + _fullMatrix = ToBool(inputDict['fullMatrix']) + execResult = LatinoCF.CalculateSimilarityMatrix(_ds1, _ds2, _thresh, _fullMatrix) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['smx'] = execResultPy + return outputDict + +def latino_sparse_matrix_to_table(inputDict): + _smx = ToNetObj(inputDict['smx']) + execResult = LatinoCF.SparseMatrixToTable(_smx) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['tbl'] = execResultPy + return outputDict + +def latino_construct_kmeans_clusterer(inputDict): + _k = ToInt(inputDict['k']) + _centroidType = ToEnum(Latino.Model.CentroidType, inputDict['centroidType'], Latino.Model.CentroidType.NrmL2) + _similarityModel = ToEnum(LatinoClowdFlows.SimilarityModel, inputDict['similarityModel'], LatinoClowdFlows.SimilarityModel.Cosine) + _randomSeed = ToInt(inputDict['randomSeed']) + _eps = ToFloat(inputDict['eps']) + _trials = ToInt(inputDict['trials']) + execResult = LatinoCF.ConstructKMeansClusterer(_k, _centroidType, _similarityModel, _randomSeed, _eps, _trials) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['clusterer'] = execResultPy + return outputDict + +def latino_construct_kmeans_fast_clusterer(inputDict): + _k = ToInt(inputDict['k']) + _randomSeed = ToInt(inputDict['randomSeed']) + _eps = ToFloat(inputDict['eps']) + _trials = ToInt(inputDict['trials']) + execResult = LatinoCF.ConstructKMeansFastClusterer(_k, _randomSeed, _eps, _trials) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['clusterer'] = execResultPy + return outputDict + +def latino_construct_hierarchical_bisecting_clusterer(inputDict): + _minQuality = ToFloat(inputDict['minQuality']) + execResult = LatinoCF.ConstructHierarchicalBisectingClusterer(_minQuality) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['clusterer'] = execResultPy + return outputDict + +def latino_cluster_document_vectors(inputDict): + _clusterer = ToNetObj(inputDict['clusterer']) + _dataset = ToNetObj(inputDict['dataset']) + execResult = LatinoCF.ClusterDocumentVectors(_clusterer, _dataset) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['clustRes'] = execResultPy + return outputDict + +def latino_clustering_results_info(inputDict): + _clustRes = ToNetObj(inputDict['clustRes']) + execResult = LatinoCF.ClusteringResultsInfo(_clustRes) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['docLabels'] = execResultPy['docLabels'] + outputDict['clustTree'] = execResultPy['clustTree'] + return outputDict + +def latino_construct_centroid_classifier(inputDict): + _similarityModel = ToEnum(LatinoClowdFlows.SimilarityModel, inputDict['similarityModel'], LatinoClowdFlows.SimilarityModel.Cosine) + _normalizeCentorids = ToBool(inputDict['normalizeCentorids']) + execResult = LatinoCF.ConstructCentroidClassifier(_similarityModel, _normalizeCentorids) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_naive_bayes_classifier(inputDict): + _normalize = ToBool(inputDict['normalize']) + _logSumExpTrick = ToBool(inputDict['logSumExpTrick']) + execResult = LatinoCF.ConstructNaiveBayesClassifier(_normalize, _logSumExpTrick) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_svm_binary_classifier(inputDict): + _c = ToFloat(inputDict['c']) + _biasedHyperplane = ToBool(inputDict['biasedHyperplane']) + _kernelType = ToEnum(Latino.Model.SvmLightKernelType, inputDict['kernelType'], Latino.Model.SvmLightKernelType.Linear) + _kernelParamGamma = ToFloat(inputDict['kernelParamGamma']) + _kernelParamD = ToFloat(inputDict['kernelParamD']) + _kernelParamS = ToFloat(inputDict['kernelParamS']) + _kernelParamC = ToFloat(inputDict['kernelParamC']) + _eps = ToFloat(inputDict['eps']) + _maxIter = ToInt(inputDict['maxIter']) + _customParams = ToString(inputDict['customParams']) + execResult = LatinoCF.ConstructSvmBinaryClassifier(_c, _biasedHyperplane, _kernelType, _kernelParamGamma, _kernelParamD, _kernelParamS, _kernelParamC, _eps, _maxIter, _customParams) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_svm_multiclass_fast(inputDict): + _c = ToFloat(inputDict['c']) + _eps = ToFloat(inputDict['eps']) + execResult = LatinoCF.ConstructSvmMulticlassFast(_c, _eps) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_majority_classifier(inputDict): + execResult = LatinoCF.ConstructMajorityClassifier() + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_maximum_entropy_classifier(inputDict): + _moveData = ToBool(inputDict['moveData']) + _numIter = ToInt(inputDict['numIter']) + _cutOff = ToInt(inputDict['cutOff']) + _numThreads = ToInt(inputDict['numThreads']) + _normalize = ToBool(inputDict['normalize']) + execResult = LatinoCF.ConstructMaximumEntropyClassifier(_moveData, _numIter, _cutOff, _numThreads, _normalize) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_maximum_entropy_classifier_fast(inputDict): + _moveData = ToBool(inputDict['moveData']) + _numIter = ToInt(inputDict['numIter']) + _cutOff = ToInt(inputDict['cutOff']) + _numThreads = ToInt(inputDict['numThreads']) + _normalize = ToBool(inputDict['normalize']) + execResult = LatinoCF.ConstructMaximumEntropyClassifierFast(_moveData, _numIter, _cutOff, _numThreads, _normalize) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_knn_classifier(inputDict): + _similarityModel = ToEnum(LatinoClowdFlows.SimilarityModel, inputDict['similarityModel'], LatinoClowdFlows.SimilarityModel.Cosine) + _k = ToInt(inputDict['k']) + _softVoting = ToBool(inputDict['softVoting']) + execResult = LatinoCF.ConstructKnnClassifier(_similarityModel, _k, _softVoting) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_construct_knn_classifier_fast(inputDict): + _k = ToInt(inputDict['k']) + _softVoting = ToBool(inputDict['softVoting']) + execResult = LatinoCF.ConstructKnnClassifierFast(_k, _softVoting) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['classifier'] = execResultPy + return outputDict + +def latino_train_classifier(inputDict): + _csf = ToNetObj(inputDict['csf']) + _ds = ToNetObj(inputDict['ds']) + execResult = LatinoCF.TrainClassifier(_csf, _ds) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['csf'] = execResultPy + return outputDict + +def latino_predict_classification(inputDict): + _csf = ToNetObj(inputDict['csf']) + _ds = ToNetObj(inputDict['ds']) + execResult = LatinoCF.PredictClassification(_csf, _ds) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['predictions'] = execResultPy['predictions'] + outputDict['ds'] = execResultPy['ds'] + return outputDict + +def latino_prediction_info(inputDict): + _predictions = ToNetObj(inputDict['predictions']) + execResult = LatinoCF.PredictionInfo(_predictions) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['labels'] = execResultPy['labels'] + outputDict['predictInfos'] = execResultPy['predictInfos'] + return outputDict + +def latino_cross_validation(inputDict): + _csf = ToNetObj(inputDict['csf']) + _ds = ToNetObj(inputDict['ds']) + _numOfSets = ToInt(inputDict['numOfSets']) + _random = ToBool(inputDict['random']) + _useSeed = ToBool(inputDict['useSeed']) + _randomSeed = ToInt(inputDict['randomSeed']) + execResult = LatinoCF.CrossValidation(_csf, _ds, _numOfSets, _random, _useSeed, _randomSeed) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['obj'] = execResultPy + return outputDict + +def latino_cross_validation_predef_splits(inputDict): + _csf = ToNetObj(inputDict['csf']) + _ds = ToNetObj(inputDict['ds']) + _sets = ToNetObj(inputDict['sets']) + execResult = LatinoCF.CrossValidationPredefSplits(_csf, _ds, _sets) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['obj'] = execResultPy + return outputDict + +def latino_run_csharp_snippet(inputDict): + _snippetParams = ToNetObj(inputDict['snippetParams']) + _snippetCode = ToString(inputDict['snippetCode']) + _aditionalReferences = ToString(inputDict['aditionalReferences']) + _usings = ToString(inputDict['usings']) + execResult = LatinoCF.RunCSharpSnippet(_snippetParams, _snippetCode, _aditionalReferences, _usings) + execResultPy = ToPyObj(execResult) + outputDict = {} + outputDict['out'] = execResultPy['out'] + outputDict['consoleOut'] = execResultPy['consoleOut'] + outputDict['error'] = execResultPy['error'] + outputDict['code'] = execResultPy['code'] + return outputDict + diff --git a/workflows/latino/management/commands/generate_package.py b/workflows/latino/management/commands/generate_package.py deleted file mode 100644 index 28534fd55ad8d88fe7bb0ceb0b7c93e6da8ca17d..0000000000000000000000000000000000000000 --- a/workflows/latino/management/commands/generate_package.py +++ /dev/null @@ -1,32 +0,0 @@ -from django.core.management.base import BaseCommand, CommandError -from workflows.models import Category, AbstractWidget, AbstractInput, AbstractOutput, AbstractOption -from django.core import serializers -from collections import Counter -from optparse import make_option -from workflows.latino.latino import LatinoCF -from pprint import pprint -import sys - -class Command(BaseCommand): - args = 'file_name' - help = 'Export all widgets marked in the c# dll package as widgets to the json file which can be imported to the mothra database' - - def handle(self, *args, **options): - if (len(args)<1): - raise CommandError('Argument "file_name" is required!') - - try: - f = open(args[0], 'w') - except: - raise CommandError('There was a problem with creating/overwriting given output file') - - self.stdout.write('Creating json representations of widgets, inputs, outputs, options and categories ... ') - outstr = LatinoCF.GetJsonDbDefinitions() - self.stdout.write('done.\n') - - try: - f.write(outstr) - except: - raise CommandError('There was a problem with writing to the given output file') - - self.stdout.write('Json definitions successfully created. Results written to the file.\n') \ No newline at end of file diff --git a/workflows/latino/management/commands/update_package.py b/workflows/latino/management/commands/update_package.py deleted file mode 100644 index 914771fb9a16228181530b04730301cbb8478156..0000000000000000000000000000000000000000 --- a/workflows/latino/management/commands/update_package.py +++ /dev/null @@ -1,124 +0,0 @@ -from django.core.management.base import BaseCommand, CommandError -from django.core import serializers -from collections import Counter -from optparse import make_option -from workflows.latino.import_dotnet import LatinoCF -from workflows.latino.import_dotnet import ClowdFlowsDefinitions -from pprint import pprint -import sys -from workflows.latino.settings import create_backups -from workflows.latino.settings import package_root -import workflows.management.commands.import_package -import os -import shutil -from datetime import datetime -from workflows.latino import serialization_utils - -class Command(BaseCommand): - args = 'file_name' - help = 'Export all widgets marked in the c# dll package as widgets and directly imports them to the mothra database.' \ - 'As if "latino.generate_package a.json" followed by "workflows.import_package a.json" would be called.' \ - '!However!, the export file goes to the standard place (latino/db/package_data.json) and replaces the existing file.' \ - 'Variable "create_backups" in "latino/setings.py" controls whether backups of package_data.json are kept in "latino/backups".' - option_list = BaseCommand.option_list + ( - make_option('-f', '--force', - action="store_true", - dest='force', - default=False, - help='By default, the old "package_data.json" and newly generated definition strings are compared. In case there are no differences' - 'nothing happens. This switch forces (regardles of equality) the import of the newly generated data and creation of backups ' - '(if latino/setings.py/create_backups == True).' - ), - make_option('-r', '--replace', - action="store_true", - dest='replace', - default=False, - help='Completely replace whole widgets with the new one where UIDs match. Default behaviour merges widgets sub-models (AbstractInputs, AbstractOutputs and AbstratcOptions)' - 'based on their sub-model\'s own UID. When using the option "--replace" then all widget\'s old submodels are deleted and completely replaced by new sub-models.)' - ), - ) - - def handle(self, *args, **options): - timeStamp = datetime.now().strftime('.backup_%Y%m%d_%H%M%S.json') - backupDir = os.path.join(package_root,"backup") - dataFileName = "package_data.json" - dataFilePath = os.path.join(package_root,"db",dataFileName) - dataFileBackupPath = os.path.join(backupDir,dataFileName)+timeStamp - codeFileName = "library_gen.py" - codeFilePath = os.path.join(package_root, codeFileName) - codeFileBackupPath = os.path.join(backupDir,codeFileName)+timeStamp - - self.stdout.write('Creating json and python code representations of widgets, inputs, outputs, options and categories ... ') - newDataCode = serialization_utils.ToPyObj(ClowdFlowsDefinitions.Get()) - newDataDef = newDataCode['json'] - newCodeDef = newDataCode['library'] - self.stdout.write('done.\n') - - self.stdout.write('Reading previous json definitions if existing and compare to the new ... ') - oldDataDef = "" - try: - oldDataDef = open(dataFilePath).read() - except: - pass - self.stdout.write('done.\n') - - dataReplace = True - if oldDataDef == newDataDef: - self.stdout.write('The newly generated data is the same as the file "latino/db/package_data.json".\n') - if not options['force']: - self.stdout.write('Nothing will be done with the data definition (use "--force" option to force the import).\n') - dataReplace = False - else: - self.stdout.write('The newly generated data is new or different from the file "latino/db/package_data.json".\n') - - - self.stdout.write('Reading previous code definitions if existing and compare to the new ... ') - oldCodeDef = "" - try: - oldCodeDef = open(codeFilePath).read() - except: - pass - self.stdout.write('done.\n') - - codeReplace = True - if oldCodeDef == newCodeDef: - self.stdout.write('The newly generated code is the same as the file "latino/library_gen.py".\n') - if not options['force']: - self.stdout.write('Nothing will be done with the code file (use "--force" option to force the code replace).\n') - dataReplace = False - else: - self.stdout.write('The newly generated definitions are new or different from the file "latino/library_gen.py".\n') - - if (dataReplace or codeReplace) and create_backups: - if not os.path.exists(backupDir): - os.makedirs(backupDir) - - if dataReplace and create_backups and os.path.exists(dataFilePath): - try: - shutil.move(dataFilePath, dataFileBackupPath) - self.stdout.write('Backup of database successfully created.\n') - except: - raise CommandError('There was a problem with the operation of backing up the data file. ' - 'Procedure update_package was terminated without any changes to the database.') - - if dataReplace: - open(dataFilePath,"w").write(newDataDef) - self.stdout.write('New data file successfully written to its location.\n') - importString = workflows.management.commands.import_package.Command() - importString.import_package_string(self, newDataDef, options['replace']) - self.stdout.write('Widget definitions in the database were updated successfully from the dll library.\n') - - if codeReplace and create_backups and os.path.exists(codeFilePath): - try: - shutil.move(codeFilePath, codeFileBackupPath) - self.stdout.write('Backup of code successfully created.\n') - except: - raise CommandError('There was a problem with the operation of backing up the code file. Procedure update_package terminated.') - - if codeReplace: - open(codeFilePath,"w").write(newCodeDef) - self.stdout.write('New code file successfully written to its location.\n') - - self.stdout.write('Procedure update_package successfully finished.\n') - - diff --git a/workflows/latino/serialization_utils.py b/workflows/latino/serialization_utils.py index 70b77f66022ced0127256e6b47c4a970639d886a..4fd1d18a2ada930f2cf3e273ad4bc639e3da9130 100644 --- a/workflows/latino/serialization_utils.py +++ b/workflows/latino/serialization_utils.py @@ -1,12 +1,7 @@ +from import_dotnet import * import time import logging - -try: - from import_dotnet import LatinoCF - from import_dotnet import Latino - from import_dotnet import System -except: - pass +logging.basicConfig(format='%(asctime)s %(message)s', level=logging.INFO) #------------------------------supposed---------------------------------------- @@ -281,7 +276,10 @@ def ToPyObj(data): l.append(ToPyObj(val)) return tuple(l) if hasattr(data, "GetType"): - for interface in data.GetType().GetInterfaces(): + type = data.GetType() + if type.IsArray: + return [ToPyObj(x) for x in data] + for interface in type.GetInterfaces(): if interface.Name == u'ISerializable': return LSO(data) return data diff --git a/workflows/latino/settings.py b/workflows/latino/settings.py index 7a7266dd64a9fb054989ac27033649a61c25e06f..5a1dca643c7bd0a022acf36f54654bd4756e8b97 100644 --- a/workflows/latino/settings.py +++ b/workflows/latino/settings.py @@ -1,11 +1,13 @@ import os -package_name = 'latino' - -package_root = os.path.dirname(__file__) -package_statics = os.path.join(os.path.dirname(__file__), 'static', package_name) -package_bin = os.path.join(package_root, 'bin') - -auto_update_db = True -create_backups = True +# === STANDARD PACKAGE SETTINGS === +PACKAGE_ROOT = os.path.dirname(__file__) + +# === AUTO IMPORT OPTIONS === +#If auto_import_package_data is true then given data file is automatically imported when ClowdFlows project is newly deployed or refreshed from git +AUTO_IMPORT_DB = False +#For auto_import_package_data_replace_option description see the 'replace' option in workflows/import_package command +AUTO_IMPORT_DB_REPLACE_OPTION = True +#If file(s) other than ./db/package_data.json should be imported, auto_import_package_data_files should be corrected +AUTO_IMPORT_DB_FILES = [os.path.join(PACKAGE_ROOT,'db/package_data.json')] diff --git a/workflows/latino/static/icons/treeview/accuracy_calc_from_labels_image.png b/workflows/latino/static/latino/icons/treeview/accuracy_calc_from_labels_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/accuracy_calc_from_labels_image.png rename to workflows/latino/static/latino/icons/treeview/accuracy_calc_from_labels_image.png diff --git a/workflows/latino/static/icons/treeview/adc_add_feature_image.png b/workflows/latino/static/latino/icons/treeview/adc_add_feature_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_add_feature_image.png rename to workflows/latino/static/latino/icons/treeview/adc_add_feature_image.png diff --git a/workflows/latino/static/icons/treeview/adc_add_set_feature_image.png b/workflows/latino/static/latino/icons/treeview/adc_add_set_feature_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_add_set_feature_image.png rename to workflows/latino/static/latino/icons/treeview/adc_add_set_feature_image.png diff --git a/workflows/latino/static/icons/treeview/adc_extract_feature_image.png b/workflows/latino/static/latino/icons/treeview/adc_extract_feature_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_extract_feature_image.png rename to workflows/latino/static/latino/icons/treeview/adc_extract_feature_image.png diff --git a/workflows/latino/static/icons/treeview/adc_info_image.png b/workflows/latino/static/latino/icons/treeview/adc_info_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_info_image.png rename to workflows/latino/static/latino/icons/treeview/adc_info_image.png diff --git a/workflows/latino/static/icons/treeview/adc_split_image.png b/workflows/latino/static/latino/icons/treeview/adc_split_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_split_image.png rename to workflows/latino/static/latino/icons/treeview/adc_split_image.png diff --git a/workflows/latino/static/icons/treeview/adc_to_text_image.png b/workflows/latino/static/latino/icons/treeview/adc_to_text_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_to_text_image.png rename to workflows/latino/static/latino/icons/treeview/adc_to_text_image.png diff --git a/workflows/latino/static/icons/treeview/adc_to_xml_image.png b/workflows/latino/static/latino/icons/treeview/adc_to_xml_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/adc_to_xml_image.png rename to workflows/latino/static/latino/icons/treeview/adc_to_xml_image.png diff --git a/workflows/latino/static/icons/treeview/bow_space_image.png b/workflows/latino/static/latino/icons/treeview/bow_space_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/bow_space_image.png rename to workflows/latino/static/latino/icons/treeview/bow_space_image.png diff --git a/workflows/latino/static/icons/treeview/calc_sim_matrix_image.png b/workflows/latino/static/latino/icons/treeview/calc_sim_matrix_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/calc_sim_matrix_image.png rename to workflows/latino/static/latino/icons/treeview/calc_sim_matrix_image.png diff --git a/workflows/latino/static/icons/treeview/clasification_info_image.png b/workflows/latino/static/latino/icons/treeview/clasification_info_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/clasification_info_image.png rename to workflows/latino/static/latino/icons/treeview/clasification_info_image.png diff --git a/workflows/latino/static/icons/treeview/classif_cross_valid_image.png b/workflows/latino/static/latino/icons/treeview/classif_cross_valid_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classif_cross_valid_image.png rename to workflows/latino/static/latino/icons/treeview/classif_cross_valid_image.png diff --git a/workflows/latino/static/icons/treeview/classif_cross_valid_predef_image.png b/workflows/latino/static/latino/icons/treeview/classif_cross_valid_predef_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classif_cross_valid_predef_image.png rename to workflows/latino/static/latino/icons/treeview/classif_cross_valid_predef_image.png diff --git a/workflows/latino/static/icons/treeview/classif_result_view_image.png b/workflows/latino/static/latino/icons/treeview/classif_result_view_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classif_result_view_image.png rename to workflows/latino/static/latino/icons/treeview/classif_result_view_image.png diff --git a/workflows/latino/static/icons/treeview/classification_predict_image.png b/workflows/latino/static/latino/icons/treeview/classification_predict_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classification_predict_image.png rename to workflows/latino/static/latino/icons/treeview/classification_predict_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_centroid_image.png b/workflows/latino/static/latino/icons/treeview/classifier_centroid_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_centroid_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_centroid_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_knn_fast_image.png b/workflows/latino/static/latino/icons/treeview/classifier_knn_fast_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_knn_fast_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_knn_fast_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_knn_image.png b/workflows/latino/static/latino/icons/treeview/classifier_knn_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_knn_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_knn_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_majority_image.png b/workflows/latino/static/latino/icons/treeview/classifier_majority_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_majority_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_majority_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_max_entropy_fast_image.png b/workflows/latino/static/latino/icons/treeview/classifier_max_entropy_fast_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_max_entropy_fast_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_max_entropy_fast_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_max_entropy_image.png b/workflows/latino/static/latino/icons/treeview/classifier_max_entropy_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_max_entropy_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_max_entropy_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_naive_bayes_image.png b/workflows/latino/static/latino/icons/treeview/classifier_naive_bayes_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_naive_bayes_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_naive_bayes_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_svm_fast_image.png b/workflows/latino/static/latino/icons/treeview/classifier_svm_fast_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_svm_fast_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_svm_fast_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_svm_image.png b/workflows/latino/static/latino/icons/treeview/classifier_svm_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_svm_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_svm_image.png diff --git a/workflows/latino/static/icons/treeview/classifier_train_image.png b/workflows/latino/static/latino/icons/treeview/classifier_train_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/classifier_train_image.png rename to workflows/latino/static/latino/icons/treeview/classifier_train_image.png diff --git a/workflows/latino/static/icons/treeview/cluster_viewer_image.png b/workflows/latino/static/latino/icons/treeview/cluster_viewer_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/cluster_viewer_image.png rename to workflows/latino/static/latino/icons/treeview/cluster_viewer_image.png diff --git a/workflows/latino/static/icons/treeview/clusterer_hierarchial_bisec_image.png b/workflows/latino/static/latino/icons/treeview/clusterer_hierarchial_bisec_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/clusterer_hierarchial_bisec_image.png rename to workflows/latino/static/latino/icons/treeview/clusterer_hierarchial_bisec_image.png diff --git a/workflows/latino/static/icons/treeview/clusterer_kmeans_image.png b/workflows/latino/static/latino/icons/treeview/clusterer_kmeans_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/clusterer_kmeans_image.png rename to workflows/latino/static/latino/icons/treeview/clusterer_kmeans_image.png diff --git a/workflows/latino/static/icons/treeview/clusterer_kmenas_fast_image.png b/workflows/latino/static/latino/icons/treeview/clusterer_kmenas_fast_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/clusterer_kmenas_fast_image.png rename to workflows/latino/static/latino/icons/treeview/clusterer_kmenas_fast_image.png diff --git a/workflows/latino/static/icons/treeview/clustering_hub_image.png b/workflows/latino/static/latino/icons/treeview/clustering_hub_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/clustering_hub_image.png rename to workflows/latino/static/latino/icons/treeview/clustering_hub_image.png diff --git a/workflows/latino/static/icons/treeview/clustering_result_info_image.png b/workflows/latino/static/latino/icons/treeview/clustering_result_info_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/clustering_result_info_image.png rename to workflows/latino/static/latino/icons/treeview/clustering_result_info_image.png diff --git a/workflows/latino/static/icons/treeview/csharp_snippet_image.png b/workflows/latino/static/latino/icons/treeview/csharp_snippet_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/csharp_snippet_image.png rename to workflows/latino/static/latino/icons/treeview/csharp_snippet_image.png diff --git a/workflows/latino/static/icons/treeview/dataset_add_labels_image.png b/workflows/latino/static/latino/icons/treeview/dataset_add_labels_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/dataset_add_labels_image.png rename to workflows/latino/static/latino/icons/treeview/dataset_add_labels_image.png diff --git a/workflows/latino/static/icons/treeview/dataset_extract_labels_image.png b/workflows/latino/static/latino/icons/treeview/dataset_extract_labels_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/dataset_extract_labels_image.png rename to workflows/latino/static/latino/icons/treeview/dataset_extract_labels_image.png diff --git a/workflows/latino/static/icons/treeview/dataset_remove_labels_image.png b/workflows/latino/static/latino/icons/treeview/dataset_remove_labels_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/dataset_remove_labels_image.png rename to workflows/latino/static/latino/icons/treeview/dataset_remove_labels_image.png diff --git a/workflows/latino/static/icons/treeview/dataset_split_predef_image.png b/workflows/latino/static/latino/icons/treeview/dataset_split_predef_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/dataset_split_predef_image.png rename to workflows/latino/static/latino/icons/treeview/dataset_split_predef_image.png diff --git a/workflows/latino/static/icons/treeview/dataset_split_simple_image.png b/workflows/latino/static/latino/icons/treeview/dataset_split_simple_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/dataset_split_simple_image.png rename to workflows/latino/static/latino/icons/treeview/dataset_split_simple_image.png diff --git a/workflows/latino/static/icons/treeview/flatten_string_hierarchy_image.png b/workflows/latino/static/latino/icons/treeview/flatten_string_hierarchy_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/flatten_string_hierarchy_image.png rename to workflows/latino/static/latino/icons/treeview/flatten_string_hierarchy_image.png diff --git a/workflows/latino/static/icons/treeview/get_stop_image.png b/workflows/latino/static/latino/icons/treeview/get_stop_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/get_stop_image.png rename to workflows/latino/static/latino/icons/treeview/get_stop_image.png diff --git a/workflows/latino/static/icons/treeview/get_vocabulary_image.png b/workflows/latino/static/latino/icons/treeview/get_vocabulary_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/get_vocabulary_image.png rename to workflows/latino/static/latino/icons/treeview/get_vocabulary_image.png diff --git a/workflows/latino/static/icons/treeview/latino_widget_image.png b/workflows/latino/static/latino/icons/treeview/latino_widget_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/latino_widget_image.png rename to workflows/latino/static/latino/icons/treeview/latino_widget_image.png diff --git a/workflows/latino/static/icons/treeview/load_adc_from_file_image.png b/workflows/latino/static/latino/icons/treeview/load_adc_from_file_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/load_adc_from_file_image.png rename to workflows/latino/static/latino/icons/treeview/load_adc_from_file_image.png diff --git a/workflows/latino/static/icons/treeview/object_advanced_view_image.png b/workflows/latino/static/latino/icons/treeview/object_advanced_view_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/object_advanced_view_image.png rename to workflows/latino/static/latino/icons/treeview/object_advanced_view_image.png diff --git a/workflows/latino/static/icons/treeview/object_split_image.png b/workflows/latino/static/latino/icons/treeview/object_split_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/object_split_image.png rename to workflows/latino/static/latino/icons/treeview/object_split_image.png diff --git a/workflows/latino/static/icons/treeview/process_new_adc_image.png b/workflows/latino/static/latino/icons/treeview/process_new_adc_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/process_new_adc_image.png rename to workflows/latino/static/latino/icons/treeview/process_new_adc_image.png diff --git a/workflows/latino/static/icons/treeview/process_new_txt_image.png b/workflows/latino/static/latino/icons/treeview/process_new_txt_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/process_new_txt_image.png rename to workflows/latino/static/latino/icons/treeview/process_new_txt_image.png diff --git a/workflows/latino/static/icons/treeview/python_snippet_image.png b/workflows/latino/static/latino/icons/treeview/python_snippet_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/python_snippet_image.png rename to workflows/latino/static/latino/icons/treeview/python_snippet_image.png diff --git a/workflows/latino/static/icons/treeview/range_create_integers_image.png b/workflows/latino/static/latino/icons/treeview/range_create_integers_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/range_create_integers_image.png rename to workflows/latino/static/latino/icons/treeview/range_create_integers_image.png diff --git a/workflows/latino/static/icons/treeview/sim_matrix_to_table_image.png b/workflows/latino/static/latino/icons/treeview/sim_matrix_to_table_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/sim_matrix_to_table_image.png rename to workflows/latino/static/latino/icons/treeview/sim_matrix_to_table_image.png diff --git a/workflows/latino/static/icons/treeview/table_view_image.png b/workflows/latino/static/latino/icons/treeview/table_view_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/table_view_image.png rename to workflows/latino/static/latino/icons/treeview/table_view_image.png diff --git a/workflows/latino/static/icons/treeview/tag_condition_image.png b/workflows/latino/static/latino/icons/treeview/tag_condition_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_condition_image.png rename to workflows/latino/static/latino/icons/treeview/tag_condition_image.png diff --git a/workflows/latino/static/icons/treeview/tag_multiple_do_image.png b/workflows/latino/static/latino/icons/treeview/tag_multiple_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_multiple_do_image.png rename to workflows/latino/static/latino/icons/treeview/tag_multiple_do_image.png diff --git a/workflows/latino/static/icons/treeview/tag_pos_do_image.png b/workflows/latino/static/latino/icons/treeview/tag_pos_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_pos_do_image.png rename to workflows/latino/static/latino/icons/treeview/tag_pos_do_image.png diff --git a/workflows/latino/static/icons/treeview/tag_pos_image.png b/workflows/latino/static/latino/icons/treeview/tag_pos_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_pos_image.png rename to workflows/latino/static/latino/icons/treeview/tag_pos_image.png diff --git a/workflows/latino/static/icons/treeview/tag_stem_do_image.png b/workflows/latino/static/latino/icons/treeview/tag_stem_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_stem_do_image.png rename to workflows/latino/static/latino/icons/treeview/tag_stem_do_image.png diff --git a/workflows/latino/static/icons/treeview/tag_stem_image.png b/workflows/latino/static/latino/icons/treeview/tag_stem_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_stem_image.png rename to workflows/latino/static/latino/icons/treeview/tag_stem_image.png diff --git a/workflows/latino/static/icons/treeview/tag_stop_do_image.png b/workflows/latino/static/latino/icons/treeview/tag_stop_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_stop_do_image.png rename to workflows/latino/static/latino/icons/treeview/tag_stop_do_image.png diff --git a/workflows/latino/static/icons/treeview/tag_stop_image.png b/workflows/latino/static/latino/icons/treeview/tag_stop_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/tag_stop_image.png rename to workflows/latino/static/latino/icons/treeview/tag_stop_image.png diff --git a/workflows/latino/static/icons/treeview/token_multi_do_image.png b/workflows/latino/static/latino/icons/treeview/token_multi_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/token_multi_do_image.png rename to workflows/latino/static/latino/icons/treeview/token_multi_do_image.png diff --git a/workflows/latino/static/icons/treeview/token_sentence_do_image.png b/workflows/latino/static/latino/icons/treeview/token_sentence_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/token_sentence_do_image.png rename to workflows/latino/static/latino/icons/treeview/token_sentence_do_image.png diff --git a/workflows/latino/static/icons/treeview/token_sentence_image.png b/workflows/latino/static/latino/icons/treeview/token_sentence_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/token_sentence_image.png rename to workflows/latino/static/latino/icons/treeview/token_sentence_image.png diff --git a/workflows/latino/static/icons/treeview/token_word_do_image.png b/workflows/latino/static/latino/icons/treeview/token_word_do_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/token_word_do_image.png rename to workflows/latino/static/latino/icons/treeview/token_word_do_image.png diff --git a/workflows/latino/static/icons/treeview/token_word_image.png b/workflows/latino/static/latino/icons/treeview/token_word_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/token_word_image.png rename to workflows/latino/static/latino/icons/treeview/token_word_image.png diff --git a/workflows/latino/static/icons/treeview/view_adc_image.png b/workflows/latino/static/latino/icons/treeview/view_adc_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/view_adc_image.png rename to workflows/latino/static/latino/icons/treeview/view_adc_image.png diff --git a/workflows/latino/static/icons/treeview/xml_to_adc_image.png b/workflows/latino/static/latino/icons/treeview/xml_to_adc_image.png similarity index 100% rename from workflows/latino/static/icons/treeview/xml_to_adc_image.png rename to workflows/latino/static/latino/icons/treeview/xml_to_adc_image.png diff --git a/workflows/latino/static/icons/widget/accuracy_calc_from_labels_image.png b/workflows/latino/static/latino/icons/widget/accuracy_calc_from_labels_image.png similarity index 100% rename from workflows/latino/static/icons/widget/accuracy_calc_from_labels_image.png rename to workflows/latino/static/latino/icons/widget/accuracy_calc_from_labels_image.png diff --git a/workflows/latino/static/icons/widget/adc_add_feature_image.png b/workflows/latino/static/latino/icons/widget/adc_add_feature_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_add_feature_image.png rename to workflows/latino/static/latino/icons/widget/adc_add_feature_image.png diff --git a/workflows/latino/static/icons/widget/adc_add_set_feature_image.png b/workflows/latino/static/latino/icons/widget/adc_add_set_feature_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_add_set_feature_image.png rename to workflows/latino/static/latino/icons/widget/adc_add_set_feature_image.png diff --git a/workflows/latino/static/icons/widget/adc_extract_feature_image.png b/workflows/latino/static/latino/icons/widget/adc_extract_feature_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_extract_feature_image.png rename to workflows/latino/static/latino/icons/widget/adc_extract_feature_image.png diff --git a/workflows/latino/static/icons/widget/adc_info_image.png b/workflows/latino/static/latino/icons/widget/adc_info_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_info_image.png rename to workflows/latino/static/latino/icons/widget/adc_info_image.png diff --git a/workflows/latino/static/icons/widget/adc_split_image.png b/workflows/latino/static/latino/icons/widget/adc_split_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_split_image.png rename to workflows/latino/static/latino/icons/widget/adc_split_image.png diff --git a/workflows/latino/static/icons/widget/adc_to_text_image.png b/workflows/latino/static/latino/icons/widget/adc_to_text_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_to_text_image.png rename to workflows/latino/static/latino/icons/widget/adc_to_text_image.png diff --git a/workflows/latino/static/icons/widget/adc_to_xml_image.png b/workflows/latino/static/latino/icons/widget/adc_to_xml_image.png similarity index 100% rename from workflows/latino/static/icons/widget/adc_to_xml_image.png rename to workflows/latino/static/latino/icons/widget/adc_to_xml_image.png diff --git a/workflows/latino/static/icons/widget/bow_space_image.png b/workflows/latino/static/latino/icons/widget/bow_space_image.png similarity index 100% rename from workflows/latino/static/icons/widget/bow_space_image.png rename to workflows/latino/static/latino/icons/widget/bow_space_image.png diff --git a/workflows/latino/static/icons/widget/calc_sim_matrix_image.png b/workflows/latino/static/latino/icons/widget/calc_sim_matrix_image.png similarity index 100% rename from workflows/latino/static/icons/widget/calc_sim_matrix_image.png rename to workflows/latino/static/latino/icons/widget/calc_sim_matrix_image.png diff --git a/workflows/latino/static/icons/widget/clasification_info_image.png b/workflows/latino/static/latino/icons/widget/clasification_info_image.png similarity index 100% rename from workflows/latino/static/icons/widget/clasification_info_image.png rename to workflows/latino/static/latino/icons/widget/clasification_info_image.png diff --git a/workflows/latino/static/icons/widget/classif_cross_valid_image.png b/workflows/latino/static/latino/icons/widget/classif_cross_valid_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classif_cross_valid_image.png rename to workflows/latino/static/latino/icons/widget/classif_cross_valid_image.png diff --git a/workflows/latino/static/icons/widget/classif_cross_valid_predef_image.png b/workflows/latino/static/latino/icons/widget/classif_cross_valid_predef_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classif_cross_valid_predef_image.png rename to workflows/latino/static/latino/icons/widget/classif_cross_valid_predef_image.png diff --git a/workflows/latino/static/icons/widget/classif_result_view_image.png b/workflows/latino/static/latino/icons/widget/classif_result_view_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classif_result_view_image.png rename to workflows/latino/static/latino/icons/widget/classif_result_view_image.png diff --git a/workflows/latino/static/icons/widget/classification_predict_image.png b/workflows/latino/static/latino/icons/widget/classification_predict_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classification_predict_image.png rename to workflows/latino/static/latino/icons/widget/classification_predict_image.png diff --git a/workflows/latino/static/icons/widget/classifier_centroid_image.png b/workflows/latino/static/latino/icons/widget/classifier_centroid_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_centroid_image.png rename to workflows/latino/static/latino/icons/widget/classifier_centroid_image.png diff --git a/workflows/latino/static/icons/widget/classifier_knn_fast_image.png b/workflows/latino/static/latino/icons/widget/classifier_knn_fast_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_knn_fast_image.png rename to workflows/latino/static/latino/icons/widget/classifier_knn_fast_image.png diff --git a/workflows/latino/static/icons/widget/classifier_knn_image.png b/workflows/latino/static/latino/icons/widget/classifier_knn_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_knn_image.png rename to workflows/latino/static/latino/icons/widget/classifier_knn_image.png diff --git a/workflows/latino/static/icons/widget/classifier_majority_image.png b/workflows/latino/static/latino/icons/widget/classifier_majority_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_majority_image.png rename to workflows/latino/static/latino/icons/widget/classifier_majority_image.png diff --git a/workflows/latino/static/icons/widget/classifier_max_entropy_fast_image.png b/workflows/latino/static/latino/icons/widget/classifier_max_entropy_fast_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_max_entropy_fast_image.png rename to workflows/latino/static/latino/icons/widget/classifier_max_entropy_fast_image.png diff --git a/workflows/latino/static/icons/widget/classifier_max_entropy_image.png b/workflows/latino/static/latino/icons/widget/classifier_max_entropy_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_max_entropy_image.png rename to workflows/latino/static/latino/icons/widget/classifier_max_entropy_image.png diff --git a/workflows/latino/static/icons/widget/classifier_naive_bayes_image.png b/workflows/latino/static/latino/icons/widget/classifier_naive_bayes_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_naive_bayes_image.png rename to workflows/latino/static/latino/icons/widget/classifier_naive_bayes_image.png diff --git a/workflows/latino/static/icons/widget/classifier_svm_fast_image.png b/workflows/latino/static/latino/icons/widget/classifier_svm_fast_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_svm_fast_image.png rename to workflows/latino/static/latino/icons/widget/classifier_svm_fast_image.png diff --git a/workflows/latino/static/icons/widget/classifier_svm_image.png b/workflows/latino/static/latino/icons/widget/classifier_svm_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_svm_image.png rename to workflows/latino/static/latino/icons/widget/classifier_svm_image.png diff --git a/workflows/latino/static/icons/widget/classifier_train_image.png b/workflows/latino/static/latino/icons/widget/classifier_train_image.png similarity index 100% rename from workflows/latino/static/icons/widget/classifier_train_image.png rename to workflows/latino/static/latino/icons/widget/classifier_train_image.png diff --git a/workflows/latino/static/icons/widget/cluster_viewer_image.png b/workflows/latino/static/latino/icons/widget/cluster_viewer_image.png similarity index 100% rename from workflows/latino/static/icons/widget/cluster_viewer_image.png rename to workflows/latino/static/latino/icons/widget/cluster_viewer_image.png diff --git a/workflows/latino/static/icons/widget/clusterer_hierarchial_bisec_image.png b/workflows/latino/static/latino/icons/widget/clusterer_hierarchial_bisec_image.png similarity index 100% rename from workflows/latino/static/icons/widget/clusterer_hierarchial_bisec_image.png rename to workflows/latino/static/latino/icons/widget/clusterer_hierarchial_bisec_image.png diff --git a/workflows/latino/static/icons/widget/clusterer_kmeans_image.png b/workflows/latino/static/latino/icons/widget/clusterer_kmeans_image.png similarity index 100% rename from workflows/latino/static/icons/widget/clusterer_kmeans_image.png rename to workflows/latino/static/latino/icons/widget/clusterer_kmeans_image.png diff --git a/workflows/latino/static/icons/widget/clusterer_kmenas_fast_image.png b/workflows/latino/static/latino/icons/widget/clusterer_kmenas_fast_image.png similarity index 100% rename from workflows/latino/static/icons/widget/clusterer_kmenas_fast_image.png rename to workflows/latino/static/latino/icons/widget/clusterer_kmenas_fast_image.png diff --git a/workflows/latino/static/icons/widget/clustering_hub_image.png b/workflows/latino/static/latino/icons/widget/clustering_hub_image.png similarity index 100% rename from workflows/latino/static/icons/widget/clustering_hub_image.png rename to workflows/latino/static/latino/icons/widget/clustering_hub_image.png diff --git a/workflows/latino/static/icons/widget/clustering_result_info_image.png b/workflows/latino/static/latino/icons/widget/clustering_result_info_image.png similarity index 100% rename from workflows/latino/static/icons/widget/clustering_result_info_image.png rename to workflows/latino/static/latino/icons/widget/clustering_result_info_image.png diff --git a/workflows/latino/static/icons/widget/csharp_snippet_image.png b/workflows/latino/static/latino/icons/widget/csharp_snippet_image.png similarity index 100% rename from workflows/latino/static/icons/widget/csharp_snippet_image.png rename to workflows/latino/static/latino/icons/widget/csharp_snippet_image.png diff --git a/workflows/latino/static/icons/widget/dataset_add_labels_image.png b/workflows/latino/static/latino/icons/widget/dataset_add_labels_image.png similarity index 100% rename from workflows/latino/static/icons/widget/dataset_add_labels_image.png rename to workflows/latino/static/latino/icons/widget/dataset_add_labels_image.png diff --git a/workflows/latino/static/icons/widget/dataset_extract_labels_image.png b/workflows/latino/static/latino/icons/widget/dataset_extract_labels_image.png similarity index 100% rename from workflows/latino/static/icons/widget/dataset_extract_labels_image.png rename to workflows/latino/static/latino/icons/widget/dataset_extract_labels_image.png diff --git a/workflows/latino/static/icons/widget/dataset_remove_labels_image.png b/workflows/latino/static/latino/icons/widget/dataset_remove_labels_image.png similarity index 100% rename from workflows/latino/static/icons/widget/dataset_remove_labels_image.png rename to workflows/latino/static/latino/icons/widget/dataset_remove_labels_image.png diff --git a/workflows/latino/static/icons/widget/dataset_split_predef_image.png b/workflows/latino/static/latino/icons/widget/dataset_split_predef_image.png similarity index 100% rename from workflows/latino/static/icons/widget/dataset_split_predef_image.png rename to workflows/latino/static/latino/icons/widget/dataset_split_predef_image.png diff --git a/workflows/latino/static/icons/widget/dataset_split_simple_image.png b/workflows/latino/static/latino/icons/widget/dataset_split_simple_image.png similarity index 100% rename from workflows/latino/static/icons/widget/dataset_split_simple_image.png rename to workflows/latino/static/latino/icons/widget/dataset_split_simple_image.png diff --git a/workflows/latino/static/icons/widget/flatten_string_hierarchy_image.png b/workflows/latino/static/latino/icons/widget/flatten_string_hierarchy_image.png similarity index 100% rename from workflows/latino/static/icons/widget/flatten_string_hierarchy_image.png rename to workflows/latino/static/latino/icons/widget/flatten_string_hierarchy_image.png diff --git a/workflows/latino/static/icons/widget/get_stop_image.png b/workflows/latino/static/latino/icons/widget/get_stop_image.png similarity index 100% rename from workflows/latino/static/icons/widget/get_stop_image.png rename to workflows/latino/static/latino/icons/widget/get_stop_image.png diff --git a/workflows/latino/static/icons/widget/get_vocabulary_image.png b/workflows/latino/static/latino/icons/widget/get_vocabulary_image.png similarity index 100% rename from workflows/latino/static/icons/widget/get_vocabulary_image.png rename to workflows/latino/static/latino/icons/widget/get_vocabulary_image.png diff --git a/workflows/latino/static/icons/widget/latino_widget_image.png b/workflows/latino/static/latino/icons/widget/latino_widget_image.png similarity index 100% rename from workflows/latino/static/icons/widget/latino_widget_image.png rename to workflows/latino/static/latino/icons/widget/latino_widget_image.png diff --git a/workflows/latino/static/icons/widget/load_adc_from_file_image.png b/workflows/latino/static/latino/icons/widget/load_adc_from_file_image.png similarity index 100% rename from workflows/latino/static/icons/widget/load_adc_from_file_image.png rename to workflows/latino/static/latino/icons/widget/load_adc_from_file_image.png diff --git a/workflows/latino/static/icons/widget/object_advanced_view_image.png b/workflows/latino/static/latino/icons/widget/object_advanced_view_image.png similarity index 100% rename from workflows/latino/static/icons/widget/object_advanced_view_image.png rename to workflows/latino/static/latino/icons/widget/object_advanced_view_image.png diff --git a/workflows/latino/static/icons/widget/object_split_image.png b/workflows/latino/static/latino/icons/widget/object_split_image.png similarity index 100% rename from workflows/latino/static/icons/widget/object_split_image.png rename to workflows/latino/static/latino/icons/widget/object_split_image.png diff --git a/workflows/latino/static/icons/widget/process_new_adc_image.png b/workflows/latino/static/latino/icons/widget/process_new_adc_image.png similarity index 100% rename from workflows/latino/static/icons/widget/process_new_adc_image.png rename to workflows/latino/static/latino/icons/widget/process_new_adc_image.png diff --git a/workflows/latino/static/icons/widget/process_new_txt_image.png b/workflows/latino/static/latino/icons/widget/process_new_txt_image.png similarity index 100% rename from workflows/latino/static/icons/widget/process_new_txt_image.png rename to workflows/latino/static/latino/icons/widget/process_new_txt_image.png diff --git a/workflows/latino/static/icons/widget/python_snippet_image.png b/workflows/latino/static/latino/icons/widget/python_snippet_image.png similarity index 100% rename from workflows/latino/static/icons/widget/python_snippet_image.png rename to workflows/latino/static/latino/icons/widget/python_snippet_image.png diff --git a/workflows/latino/static/icons/widget/range_create_integers_image.png b/workflows/latino/static/latino/icons/widget/range_create_integers_image.png similarity index 100% rename from workflows/latino/static/icons/widget/range_create_integers_image.png rename to workflows/latino/static/latino/icons/widget/range_create_integers_image.png diff --git a/workflows/latino/static/icons/widget/sim_matrix_to_table_image.png b/workflows/latino/static/latino/icons/widget/sim_matrix_to_table_image.png similarity index 100% rename from workflows/latino/static/icons/widget/sim_matrix_to_table_image.png rename to workflows/latino/static/latino/icons/widget/sim_matrix_to_table_image.png diff --git a/workflows/latino/static/icons/widget/table_view_image.png b/workflows/latino/static/latino/icons/widget/table_view_image.png similarity index 100% rename from workflows/latino/static/icons/widget/table_view_image.png rename to workflows/latino/static/latino/icons/widget/table_view_image.png diff --git a/workflows/latino/static/icons/widget/tag_condition_image.png b/workflows/latino/static/latino/icons/widget/tag_condition_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_condition_image.png rename to workflows/latino/static/latino/icons/widget/tag_condition_image.png diff --git a/workflows/latino/static/icons/widget/tag_multiple_do_image.png b/workflows/latino/static/latino/icons/widget/tag_multiple_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_multiple_do_image.png rename to workflows/latino/static/latino/icons/widget/tag_multiple_do_image.png diff --git a/workflows/latino/static/icons/widget/tag_pos_do_image.png b/workflows/latino/static/latino/icons/widget/tag_pos_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_pos_do_image.png rename to workflows/latino/static/latino/icons/widget/tag_pos_do_image.png diff --git a/workflows/latino/static/icons/widget/tag_pos_image.png b/workflows/latino/static/latino/icons/widget/tag_pos_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_pos_image.png rename to workflows/latino/static/latino/icons/widget/tag_pos_image.png diff --git a/workflows/latino/static/icons/widget/tag_stem_do_image.png b/workflows/latino/static/latino/icons/widget/tag_stem_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_stem_do_image.png rename to workflows/latino/static/latino/icons/widget/tag_stem_do_image.png diff --git a/workflows/latino/static/icons/widget/tag_stem_image.png b/workflows/latino/static/latino/icons/widget/tag_stem_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_stem_image.png rename to workflows/latino/static/latino/icons/widget/tag_stem_image.png diff --git a/workflows/latino/static/icons/widget/tag_stop_do_image.png b/workflows/latino/static/latino/icons/widget/tag_stop_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_stop_do_image.png rename to workflows/latino/static/latino/icons/widget/tag_stop_do_image.png diff --git a/workflows/latino/static/icons/widget/tag_stop_image.png b/workflows/latino/static/latino/icons/widget/tag_stop_image.png similarity index 100% rename from workflows/latino/static/icons/widget/tag_stop_image.png rename to workflows/latino/static/latino/icons/widget/tag_stop_image.png diff --git a/workflows/latino/static/icons/widget/token_multi_do_image.png b/workflows/latino/static/latino/icons/widget/token_multi_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/token_multi_do_image.png rename to workflows/latino/static/latino/icons/widget/token_multi_do_image.png diff --git a/workflows/latino/static/icons/widget/token_sentence_do_image.png b/workflows/latino/static/latino/icons/widget/token_sentence_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/token_sentence_do_image.png rename to workflows/latino/static/latino/icons/widget/token_sentence_do_image.png diff --git a/workflows/latino/static/icons/widget/token_sentence_image.png b/workflows/latino/static/latino/icons/widget/token_sentence_image.png similarity index 100% rename from workflows/latino/static/icons/widget/token_sentence_image.png rename to workflows/latino/static/latino/icons/widget/token_sentence_image.png diff --git a/workflows/latino/static/icons/widget/token_word_do_image.png b/workflows/latino/static/latino/icons/widget/token_word_do_image.png similarity index 100% rename from workflows/latino/static/icons/widget/token_word_do_image.png rename to workflows/latino/static/latino/icons/widget/token_word_do_image.png diff --git a/workflows/latino/static/icons/widget/token_word_image.png b/workflows/latino/static/latino/icons/widget/token_word_image.png similarity index 100% rename from workflows/latino/static/icons/widget/token_word_image.png rename to workflows/latino/static/latino/icons/widget/token_word_image.png diff --git a/workflows/latino/static/icons/widget/view_adc_image.png b/workflows/latino/static/latino/icons/widget/view_adc_image.png similarity index 100% rename from workflows/latino/static/icons/widget/view_adc_image.png rename to workflows/latino/static/latino/icons/widget/view_adc_image.png diff --git a/workflows/latino/static/icons/widget/xml_to_adc_image.png b/workflows/latino/static/latino/icons/widget/xml_to_adc_image.png similarity index 100% rename from workflows/latino/static/icons/widget/xml_to_adc_image.png rename to workflows/latino/static/latino/icons/widget/xml_to_adc_image.png diff --git a/workflows/latino/visualization_views.py b/workflows/latino/visualization_views.py index e2d3f3bc833651e356392197bb65112fbc97b3ad..40318f29072b2cb59ce5a430fd4e11850c9a7c07 100644 --- a/workflows/latino/visualization_views.py +++ b/workflows/latino/visualization_views.py @@ -34,5 +34,5 @@ def advanced_object_viewer(request,input_dict,output_dict,widget): def show_table(request,input_dict,output_dict,widget): tbl= input_dict['tbl'] - output_dict = {'attrs':list(tbl.items()[0][0]), 'metas':[], 'data':tbl.values()[0], 'title':'Vocabulary Table'} + output_dict = {'attrs':list(tbl.items()[0][0]), 'metas':[], 'data':(((None, v) for v in inst) for inst in tbl.values()[0]), 'title':'Vocabulary Table'} return render(request, 'visualizations/table_viewer.html',{'widget':widget,'input_dict':input_dict,'output_dict':output_dict}) \ No newline at end of file diff --git a/workflows/library.py b/workflows/library.py index b9cb9e949179dd4708897aa342c20072821d70eb..77a3365de717f531d770bf6622031600ea3ce89b 100755 --- a/workflows/library.py +++ b/workflows/library.py @@ -3,12 +3,10 @@ import cPickle import json import sys -from workflows import packageLibImporter +from workflows import module_importer def setattr_local(name, value, package): setattr(sys.modules[__name__], name, value) -packageLibImporter.importAllPackagesLib("library",setattr_local) -from latino.library import * - +module_importer.import_all_packages_libs("library",setattr_local) def test_interaction(input_dict): return input_dict diff --git a/workflows/management/commands/auto_import_packages.py b/workflows/management/commands/auto_import_packages.py new file mode 100644 index 0000000000000000000000000000000000000000..81b92118a6cdb9fb9ff7bb1b506fa4c19ec4e09a --- /dev/null +++ b/workflows/management/commands/auto_import_packages.py @@ -0,0 +1,98 @@ +from datetime import datetime +import os +from django.core.management.base import BaseCommand, CommandError +from workflows import module_importer +from workflows.management.commands import export_package +from workflows.management.commands import import_package +from optparse import make_option + +class Command(BaseCommand): + args = 'file_name' + help = 'Automatically iterates through all installed workflows sub-applications/projects/packages and imports their database entires. ' \ + 'Note: Installed workflows packages are defined in mothra/settings.py via variable INSTALLED_APPS and begin with the string "workflows.". ' \ + 'Auto import procedure does the following:\n' \ + ' - Creates database export of all definition objects using export_package command.\n'\ + ' - Export file goes to folder specified in mothra/settings.py/BACKUP_DIR and is timestamped\n'\ + ' For each installed package:\n' \ + ' - Loads package settings from "workflows//settings.py\n' \ + ' - If settings do not exist or settings.py/AUTO_IMPORT_DB == False then exit\n' \ + ' - Else tries to import all the files specified in settings.py/AUTO_IMPORT_DB_FILES list\n' \ + ' - If some files are missing skip them.\n' \ + ' - Imports are done using import_package command using -r option if settings.py/AUTO_IMPORT_DB_REPLACE_OPTION == True' + + option_list = BaseCommand.option_list + ( + make_option('-n', '--nobackup', + action="store_true", + dest='nobackup', + default=False, + help='No backup is created prior starting the import process.' + ), + ) + + def handle(self, *args, **options): + auto_import_all_packages(self.stdout.write, options['nobackup']) + self.stdout.write('Auto import procedure finished.\n') + +def auto_import_all_packages(writeFunc, nobackup): + if nobackup: + writeFunc('No backup will be created due to "--nobackup" option.\n') + else: + try: + from mothra.settings import BACKUP_DIR + except: + raise CommandError('Do not know where to backup existing database: BACKUP_DIR variable not found in mothra/settings.py. Consider using "--nobackup" option.') + if not os.path.exists(BACKUP_DIR): os.makedirs(BACKUP_DIR) + timeStamp = datetime.now().strftime('_%Y%m%d_%H%M%S.json') + backupDir = os.path.join(BACKUP_DIR,"db_backup"+timeStamp) + + writeFunc('Exporting to backup...\n') + result = export_package.export_package_string(lambda text: writeFunc(' '+text), ('all',), False, True, 1) + try: + f = open(backupDir, 'w') + f.write(result.encode('utf-8')) + f.close() + writeFunc('Backup successfully written.\n') + except Exception as e: + raise CommandError('There was a problem with writing to the given backup file "%s". Problem: %s'%(backupDir, e)) + writeFunc('Export procedure successfully finished. Results written to the file "%s".\n' %backupDir) + + #get all relevant package settings: + packageSetts = module_importer.import_all_packages_libs_as_dict("settings") + for pckSett in packageSetts: + writeFunc('--------------------------------------------------------------------------------\n') + writeFunc('Working on package "%s":\n'%pckSett) + + sett = packageSetts[pckSett] + if sett is None: + writeFunc(' No settings found for this package.\n') + continue + + try: + imp = sett.AUTO_IMPORT_DB + files = sett.AUTO_IMPORT_DB_FILES + except: + writeFunc(' Either AUTO_IMPORT_DB or AUTO_IMPORT_DB_FILES not found in package\'s settings.\n') + continue + + replace = False + try: + replace = sett.AUTO_IMPORT_DB_REPLACE_OPTION + except: + pass + + if not imp: + writeFunc(' AUTO_IMPORT_DB set to false in package\'s settings.\n') + continue + + for fileName in files: + writeFunc(' Importing file "%s":\n' % fileName) + try: + fileContent = open(fileName, 'r').read() + except: + writeFunc(' Cannot open or read given package data file.\n') + else: + import_package.import_package_string(lambda text: writeFunc(' '+text), fileContent, replace) + writeFunc(' Done with file "%s":\n' % fileName) + + writeFunc('--------------------------------------------------------------------------------\n') + return \ No newline at end of file diff --git a/workflows/management/commands/export_package.py b/workflows/management/commands/export_package.py index 79bb793e20d606ea357e58a71ab1e1512391ac8f..6f3c57614cfd4e87849a2cff7c313a882840d351 100644 --- a/workflows/management/commands/export_package.py +++ b/workflows/management/commands/export_package.py @@ -30,110 +30,111 @@ class Command(BaseCommand): except: raise CommandError('There was a problem with creating/overwriting given output file') - result = self.export_package_string(self.stdout.write, args[1:], options['newuid'], options['all'], int(options['verbosity'])) + result = export_package_string(self.stdout.write, args[1:], options['newuid'], options['all'], int(options['verbosity'])) try: f.write(result.encode('utf-8')) except: raise CommandError('There was a problem with writing to the given output file') + verbosity = int(options['verbosity']) + if verbosity>0 and verbosity<3: + self.stdout.write('Tip: use higher "verbosity" option numbers to se more detailed output of what is being exported.\n') self.stdout.write('Export procedure successfully finished. Results written to the file.\n') - def print_stataistics(self, objs, verbosity, write): - if verbosity > 0: - write('Selection contains:\n') - write(' % 4i AbstractWidget(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractWidget)])) - write(' % 4i AbstractInput(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractInput)])) - write(' % 4i AbstractOutput(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractOutput)])) - write(' % 4i AbstractOption(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractOption)])) - write(' % 4i Category(s)\n' % len([obj for obj in objs if isinstance(obj, Category)])) - - if (verbosity == 1): - write('Exported categories:\n') - if (verbosity == 2): - write('Exported categories and widgets:\n') - if (verbosity == 2): - write('Exported categories, widgets, inputs, outputs and options:\n') - indent = 0 - indentAddon = 0 - for obj in objs: - s = '' - if isinstance(obj, Category): - indent = str(obj).count('::') - s = '% 3i. Category ===== %s =====' % (obj.order, obj) - if isinstance(obj, AbstractWidget): - s = ' % 3i. AbstractWidget: %s [%s]' % (obj.order, obj.name, obj.action) - if isinstance(obj, AbstractInput): - s = ' % 3i. AbstractInput: (%s) %s' % (obj.order, obj.short_name, obj.name) - if isinstance(obj, AbstractOutput): - s = ' % 3i. AbstractOutput: (%s) %s' % (obj.order, obj.short_name, obj.name) - if isinstance(obj, AbstractOption): - s = ' AbstractOption: %s | %s' % (obj.name, obj.value) - - if isinstance(obj, Category) or (isinstance(obj, AbstractWidget) and verbosity > 1) or verbosity > 2: - write(' ' * indent + s + '\n') - - self.stdout.write( - 'Tip: use higher "verbosity" option numbers to se more detailed output of what is being exported.\n') - - def export_package_string(self, write, packages, newuid, all, verbosity): - assert isinstance(packages, tuple) - assert isinstance(newuid, bool) - assert isinstance(all, bool) - - objs = [] - for topCat in Category.objects.filter(parent = None): - objs.extend(self.get_package_objs_in_category(topCat, packages, all)) - - if len(objs) == 0: - write('Selected package(s) were not found!\n') - return "[\\n]" - - #be careful uid is only changed on these instances and is not written to the database - if newuid: - for a in objs: - a.uid = str(uuid.uuid4()) - - self.print_stataistics(objs, verbosity, write) - - result = serializers.serialize("json", objs, indent=2, ensure_ascii=False) - - return result - - def get_package_objs_in_category(self, cat, packages, all): - assert isinstance(cat, Category) - assert isinstance(packages, tuple) - assert isinstance(all, bool) - - objs = [] - - objs.extend(self.get_package_wids_in_category(cat, packages, all)) - - for catChild in cat.children.all(): - objs.extend(self.get_package_objs_in_category(catChild, packages, all)) - - if len(objs)>0: - objs.insert(0,cat) - - return objs - - def get_package_wids_in_category(self, cat, packages, all): - assert isinstance(cat, Category) - assert isinstance(packages, tuple) - assert isinstance(all, bool) - - objs = [] - - if all: - wids = cat.widgets.all() - else: - wids = cat.widgets.filter(package__in=packages) - - for wid in wids: - objs.append(wid) - for inp in wid.inputs.all(): - objs.append(inp) - objs.extend(inp.options.all()) - objs.extend(wid.outputs.all()) - - return objs +def export_package_string(writeFunc, packages, newuid, all, verbosity): + assert isinstance(packages, tuple) + assert isinstance(newuid, bool) + assert isinstance(all, bool) + + objs = [] + for topCat in Category.objects.filter(parent = None): + objs.extend(get_package_objs_in_category(topCat, packages, all)) + + if len(objs) == 0: + writeFunc('Selected package(s) were not found!\n') + return "[\\n]" + + #be careful uid is only changed on these instances and is not written to the database + if newuid: + for a in objs: + a.uid = str(uuid.uuid4()) + + print_stataistics(objs, verbosity, writeFunc) + + result = serializers.serialize("json", objs, indent=2, ensure_ascii=False) + + return result + +def get_package_objs_in_category(cat, packages, all): + assert isinstance(cat, Category) + assert isinstance(packages, tuple) + assert isinstance(all, bool) + + objs = [] + + objs.extend(get_package_wids_in_category(cat, packages, all)) + + for catChild in cat.children.all(): + objs.extend(get_package_objs_in_category(catChild, packages, all)) + + if len(objs)>0: + objs.insert(0,cat) + + return objs + +def get_package_wids_in_category(cat, packages, all): + assert isinstance(cat, Category) + assert isinstance(packages, tuple) + assert isinstance(all, bool) + + objs = [] + + if all: + wids = cat.widgets.all() + else: + wids = cat.widgets.filter(package__in=packages) + + for wid in wids: + objs.append(wid) + for inp in wid.inputs.all(): + objs.append(inp) + objs.extend(inp.options.all()) + objs.extend(wid.outputs.all()) + + return objs + +def print_stataistics(objs, verbosity, writeFunc): + if verbosity > 0: + writeFunc('Selection contains:\n') + writeFunc(' % 4i AbstractWidget(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractWidget)])) + writeFunc(' % 4i AbstractInput(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractInput)])) + writeFunc(' % 4i AbstractOutput(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractOutput)])) + writeFunc(' % 4i AbstractOption(s)\n' % len([obj for obj in objs if isinstance(obj, AbstractOption)])) + writeFunc(' % 4i Category(s)\n' % len([obj for obj in objs if isinstance(obj, Category)])) + + if (verbosity == 1): + writeFunc('Exported categories:\n') + if (verbosity == 2): + writeFunc('Exported categories and widgets:\n') + if (verbosity == 3): + writeFunc('Exported categories, widgets, inputs, outputs and options:\n') + indent = 0 + + for obj in objs: + s = '' + if isinstance(obj, Category): + indent = str(obj).count('::') + s = '% 3i. Category ===== %s =====' % (obj.order, obj) + if isinstance(obj, AbstractWidget): + s = ' % 3i. AbstractWidget: %s [%s]' % (obj.order, obj.name, obj.action) + if isinstance(obj, AbstractInput): + s = ' % 3i. AbstractInput: (%s) %s' % (obj.order, obj.short_name, obj.name) + if isinstance(obj, AbstractOutput): + s = ' % 3i. AbstractOutput: (%s) %s' % (obj.order, obj.short_name, obj.name) + if isinstance(obj, AbstractOption): + s = ' AbstractOption: %s | %s' % (obj.name, obj.value) + + if isinstance(obj, Category) or (isinstance(obj, AbstractWidget) and verbosity > 1) or verbosity > 2: + writeFunc(' ' * indent + s + '\n') + diff --git a/workflows/management/commands/import_package.py b/workflows/management/commands/import_package.py index b675d644b6549065d0aeb5aaa4d308aaabada749..634212e2bfff12173210169fa887e52ab19d3d5f 100644 --- a/workflows/management/commands/import_package.py +++ b/workflows/management/commands/import_package.py @@ -27,165 +27,165 @@ class Command(BaseCommand): def handle(self, *args, **options): if (len(args)<1): - raise CommandError('Arguments "file_name" and "package_name" are required!') + raise CommandError('Arguments "file_name" is required!') try: string = open(args[0], 'r').read() except: raise CommandError('There was a problem with opening given input file') - self.import_package_string(self, string, options['replace']) + import_package_string(self.stdout.write, string, options['replace']) self.stdout.write('Import procedure successfully finished.\n') - def import_package_string(self, outWriter, string, replace): - #get all objects from file and eliminate empty UID and check for UID duplicates - objsFile = list(serializers.deserialize("json", string)) - objsFileNoUid = [x for x in objsFile if len(x.object.uid) == 0] - objsFile = [x for x in objsFile if len(x.object.uid) != 0] - if len(objsFileNoUid)>0: - outWriter.stdout.write('File contains %i model(s) without UID field set. Those will not be imported! If you wish to' - ' assign them random UIDs then use the "-n" option when exporting models with the "export_package"' - ' command. Afterwards, you will be able to import them.\n' % len(objsFileNoUid)) - if len(Counter([x.object.uid for x in objsFile])) != len(objsFile): - raise CommandError('Input process terminated without any changes to the database. There were multiple equal ' - 'UIDs defined on different models in the given input file. The input procedure can not continue ' - 'from safety reasons. Please resolve manually!') - - #divide new objects by type - wids = [x for x in objsFile if isinstance(x.object, AbstractWidget)] - inps = [x for x in objsFile if isinstance(x.object, AbstractInput)] - outs = [x for x in objsFile if isinstance(x.object, AbstractOutput)] - opts = [x for x in objsFile if isinstance(x.object, AbstractOption)] - cats = [x for x in objsFile if isinstance(x.object, Category)] - - #ouput statistics about file - outWriter.stdout.write('Import contains:\n') - outWriter.stdout.write(' % 4i AbstractWidget(s)\n' % len(wids)) - outWriter.stdout.write(' % 4i AbstractInput(s)\n' % len(inps)) - outWriter.stdout.write(' % 4i AbstractOutput(s)\n' % len(outs)) - outWriter.stdout.write(' % 4i AbstractOption(s)\n' % len(opts)) - outWriter.stdout.write(' % 4i Category(s)\n' % len(cats)) - - #get all objects from database - objsDb = [] - objsDb.extend(AbstractWidget.objects.all()) - objsDb.extend(AbstractInput.objects.all()) - objsDb.extend(AbstractOutput.objects.all()) - objsDb.extend(AbstractOption.objects.all()) - objsDb.extend(Category.objects.all()) - - #check for DB UID duplicates - objsdbDict = dict((x.uid,x) for x in objsDb if len(x.uid) != 0) - if len([x for x in objsDb if len(x.uid) != 0]) != len(objsdbDict): - raise CommandError('Input process terminated without any changes to the database. There were multiple equal ' - 'UIDs defined on different models in the database. The input procedure can not continue ' - 'from safety reasons. Please resolve manually!') - - #create new to existing id mapping and check for type match - idMappingDict = dict() - for objFile in objsFile: - if objsdbDict.has_key(objFile.object.uid): - objDb = objsdbDict[objFile.object.uid] - objFileTypeId = str(type(objFile.object))+':'+str(objFile.object.id) - objDbTypeId = str(type(objDb))+':'+str(objDb.id) - if type(objFile.object) == type(objsdbDict[objFile.object.uid]): - idMappingDict[objFileTypeId] = objDb.id - else: - raise CommandError('Input process terminated without any changes to the database. Two models match by uid but not ' - 'by type:\n - from file: %s\n - from database: %s\n Please resolve manually!'% (objFileTypeId, objDbTypeId)) - - #ouput statistics about database - outWriter.stdout.write('Current database contains %i models,\n' % len(objsDb)) - outWriter.stdout.write(' of which %i models have UID set,\n' % len(objsdbDict)) - outWriter.stdout.write(' of which %i models match with the imported models and will be updated.\n' % len(idMappingDict)) - - #prepare statistics - statDict = dict([('old:'+str(t),len(t.objects.all())) for t in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]]) - for modelType in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]: - for operation in ['mod','add','del']: - statDict[operation+':'+str(modelType)]=0 - - #sort so that AbstractWidgets come in front (are processsed first in the following block) - #objsFileNew = [] - #objsFileNew.extend([objFile for objFile in objsFile if isinstance(objFile.object, AbstractWidget)]) - #objsFileNew.extend([objFile for objFile in objsFile if not isinstance(objFile.object, AbstractWidget)]) - #objsFile = objsFileNew - - #save models to the database - update the ids for the matching models and remove the ids (to get a new one) for the non matching models - outWriter.stdout.write('Merging file and database models ...') - importedUids = dict() - for objFile in objsFile: +def import_package_string(writeFunc, string, replace): + #get all objects from file and eliminate empty UID and check for UID duplicates + objsFile = list(serializers.deserialize("json", string)) + objsFileNoUid = [x for x in objsFile if len(x.object.uid) == 0] + objsFile = [x for x in objsFile if len(x.object.uid) != 0] + if len(objsFileNoUid)>0: + writeFunc('File contains %i model(s) without UID field set. Those will not be imported! If you wish to' + ' assign them random UIDs then use the "-n" option when exporting models with the "export_package"' + ' command. Afterwards, you will be able to import them.\n' % len(objsFileNoUid)) + if len(Counter([x.object.uid for x in objsFile])) != len(objsFile): + raise CommandError('Input process terminated without any changes to the database. There were multiple equal ' + 'UIDs defined on different models in the given input file. The input procedure can not continue ' + 'from safety reasons. Please resolve manually!') + + #divide new objects by type + wids = [x for x in objsFile if isinstance(x.object, AbstractWidget)] + inps = [x for x in objsFile if isinstance(x.object, AbstractInput)] + outs = [x for x in objsFile if isinstance(x.object, AbstractOutput)] + opts = [x for x in objsFile if isinstance(x.object, AbstractOption)] + cats = [x for x in objsFile if isinstance(x.object, Category)] + + #ouput statistics about file + writeFunc('Import contains:\n') + writeFunc(' % 4i AbstractWidget(s)\n' % len(wids)) + writeFunc(' % 4i AbstractInput(s)\n' % len(inps)) + writeFunc(' % 4i AbstractOutput(s)\n' % len(outs)) + writeFunc(' % 4i AbstractOption(s)\n' % len(opts)) + writeFunc(' % 4i Category(s)\n' % len(cats)) + + #get all objects from database + objsDb = [] + objsDb.extend(AbstractWidget.objects.all()) + objsDb.extend(AbstractInput.objects.all()) + objsDb.extend(AbstractOutput.objects.all()) + objsDb.extend(AbstractOption.objects.all()) + objsDb.extend(Category.objects.all()) + + #check for DB UID duplicates + objsdbDict = dict((x.uid,x) for x in objsDb if len(x.uid) != 0) + if len([x for x in objsDb if len(x.uid) != 0]) != len(objsdbDict): + raise CommandError('Input process terminated without any changes to the database. There were multiple equal ' + 'UIDs defined on different models in the database. The input procedure can not continue ' + 'from safety reasons. Please resolve manually!') + + #create new to existing id mapping and check for type match + idMappingDict = dict() + for objFile in objsFile: + if objsdbDict.has_key(objFile.object.uid): + objDb = objsdbDict[objFile.object.uid] objFileTypeId = str(type(objFile.object))+':'+str(objFile.object.id) - if isinstance(objFile.object, AbstractWidget): - objFile.old_category_id = objFile.object.category_id - if isinstance(objFile.object, AbstractInput): - objFile.old_widget_id = objFile.object.widget_id - if isinstance(objFile.object, AbstractOutput): - objFile.old_widget_id = objFile.object.widget_id - if isinstance(objFile.object, AbstractOption): - objFile.old_abstract_input_id = objFile.object.abstract_input_id - if isinstance(objFile.object, Category): - if not objFile.object.parent_id is None: - objFile.old_parent_id = objFile.object.parent_id - - if idMappingDict.has_key(objFileTypeId): - #there is already an existing model with same uid - statDict['mod:'+str(type(objFile.object))]+=1 - objFile.object.id = idMappingDict[objFileTypeId] + objDbTypeId = str(type(objDb))+':'+str(objDb.id) + if type(objFile.object) == type(objsdbDict[objFile.object.uid]): + idMappingDict[objFileTypeId] = objDb.id else: - #there is no model jet, add it - statDict['add:'+str(type(objFile.object))]+=1 - objFile.object.id = None - objFile.save() - idMappingDict[objFileTypeId] = objFile.object.id - importedUids[objFile.object.uid]=True - outWriter.stdout.write(' done.\n') - - #correct also the foreign keys - outWriter.stdout.write('Updating model\'s foreign keys ...') - for objFile in wids: - objFile.object.category = Category.objects.get(id=idMappingDict[str(Category)+':'+str(objFile.old_category_id)]) - objFile.save() - for objFile in inps: - objFile.object.widget = AbstractWidget.objects.get(id=idMappingDict[str(AbstractWidget)+':'+str(objFile.old_widget_id)]) - objFile.save() - for objFile in outs: - objFile.object.widget = AbstractWidget.objects.get(id=idMappingDict[str(AbstractWidget)+':'+str(objFile.old_widget_id)]) - objFile.save() - for objFile in opts: - objFile.object.abstract_input = AbstractInput.objects.get(id=idMappingDict[str(AbstractInput)+':'+str(objFile.old_abstract_input_id)]) - objFile.save() - for objFile in cats: + raise CommandError('Input process terminated without any changes to the database. Two models match by uid but not ' + 'by type:\n - from file: %s\n - from database: %s\n Please resolve manually!'% (objFileTypeId, objDbTypeId)) + + #ouput statistics about database + writeFunc('Current database contains %i models,\n' % len(objsDb)) + writeFunc(' of which %i models have UID set,\n' % len(objsdbDict)) + writeFunc(' of which %i models match with the imported models and will be updated.\n' % len(idMappingDict)) + + #prepare statistics + statDict = dict([('old:'+str(t),len(t.objects.all())) for t in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]]) + for modelType in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]: + for operation in ['mod','add','del']: + statDict[operation+':'+str(modelType)]=0 + + #sort so that AbstractWidgets come in front (are processsed first in the following block) + #objsFileNew = [] + #objsFileNew.extend([objFile for objFile in objsFile if isinstance(objFile.object, AbstractWidget)]) + #objsFileNew.extend([objFile for objFile in objsFile if not isinstance(objFile.object, AbstractWidget)]) + #objsFile = objsFileNew + + #save models to the database - update the ids for the matching models and remove the ids (to get a new one) for the non matching models + writeFunc('Merging file and database models ...') + importedUids = dict() + for objFile in objsFile: + objFileTypeId = str(type(objFile.object))+':'+str(objFile.object.id) + if isinstance(objFile.object, AbstractWidget): + objFile.old_category_id = objFile.object.category_id + if isinstance(objFile.object, AbstractInput): + objFile.old_widget_id = objFile.object.widget_id + if isinstance(objFile.object, AbstractOutput): + objFile.old_widget_id = objFile.object.widget_id + if isinstance(objFile.object, AbstractOption): + objFile.old_abstract_input_id = objFile.object.abstract_input_id + if isinstance(objFile.object, Category): if not objFile.object.parent_id is None: - objFile.object.parent = Category.objects.get(id=idMappingDict[str(Category)+':'+str(objFile.old_parent_id)]) - objFile.save() - outWriter.stdout.write(' done.\n') - - if replace: - outWriter.stdout.write('Removing unnecessary inputs/options/outputs...') - for wid in [wid for wid in objsFile if isinstance(wid.object, AbstractWidget)]: - for inp in AbstractInput.objects.filter(widget = wid.object.id): - for opt in AbstractOption.objects.filter(abstract_input = inp.id): - if not importedUids.has_key(opt.uid): - statDict['del:'+str(AbstractOption)]+=1 - opt.delete() - if not importedUids.has_key(inp.uid): - statDict['del:'+str(AbstractInput)]+=1 - inp.delete() - for out in AbstractOutput.objects.filter(widget = wid.object.id): - if not importedUids.has_key(out.uid): - statDict['del:'+str(AbstractOutput)]+=1 - out.delete() - outWriter.stdout.write(' done.\n') - - #update and output statistics - statDict = dict(statDict.items() + dict([('new:'+str(t),len(t.objects.all())) for t in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]]).items()) - outWriter.stdout.write('Database models count statistics: pre-import + ( added | modified | deleted ) = after-import\n') - for t in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]: - outWriter.stdout.write(' % 15s: % 5i + (% 4i | % 4i | % 4i ) = % 5i\n' % - (t.__name__, - statDict['old:'+str(t)], - statDict['add:'+str(t)], - statDict['mod:'+str(t)], - statDict['del:'+str(t)], - statDict['new:'+str(t)])) + objFile.old_parent_id = objFile.object.parent_id + + if idMappingDict.has_key(objFileTypeId): + #there is already an existing model with same uid + statDict['mod:'+str(type(objFile.object))]+=1 + objFile.object.id = idMappingDict[objFileTypeId] + else: + #there is no model jet, add it + statDict['add:'+str(type(objFile.object))]+=1 + objFile.object.id = None + objFile.save() + idMappingDict[objFileTypeId] = objFile.object.id + importedUids[objFile.object.uid]=True + writeFunc(' done.\n') + + #correct also the foreign keys + writeFunc('Updating model\'s foreign keys ...') + for objFile in wids: + objFile.object.category = Category.objects.get(id=idMappingDict[str(Category)+':'+str(objFile.old_category_id)]) + objFile.save() + for objFile in inps: + objFile.object.widget = AbstractWidget.objects.get(id=idMappingDict[str(AbstractWidget)+':'+str(objFile.old_widget_id)]) + objFile.save() + for objFile in outs: + objFile.object.widget = AbstractWidget.objects.get(id=idMappingDict[str(AbstractWidget)+':'+str(objFile.old_widget_id)]) + objFile.save() + for objFile in opts: + objFile.object.abstract_input = AbstractInput.objects.get(id=idMappingDict[str(AbstractInput)+':'+str(objFile.old_abstract_input_id)]) + objFile.save() + for objFile in cats: + if not objFile.object.parent_id is None: + objFile.object.parent = Category.objects.get(id=idMappingDict[str(Category)+':'+str(objFile.old_parent_id)]) + objFile.save() + writeFunc(' done.\n') + + if replace: + writeFunc('Removing unnecessary inputs/options/outputs...') + for wid in [wid for wid in objsFile if isinstance(wid.object, AbstractWidget)]: + for inp in AbstractInput.objects.filter(widget = wid.object.id): + for opt in AbstractOption.objects.filter(abstract_input = inp.id): + if not importedUids.has_key(opt.uid): + statDict['del:'+str(AbstractOption)]+=1 + opt.delete() + if not importedUids.has_key(inp.uid): + statDict['del:'+str(AbstractInput)]+=1 + inp.delete() + for out in AbstractOutput.objects.filter(widget = wid.object.id): + if not importedUids.has_key(out.uid): + statDict['del:'+str(AbstractOutput)]+=1 + out.delete() + writeFunc(' done.\n') + + #update and output statistics + statDict = dict(statDict.items() + dict([('new:'+str(t),len(t.objects.all())) for t in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]]).items()) + writeFunc('Database models count statistics: pre-import + ( added | modified | deleted ) = after-import\n') + for t in [AbstractWidget, AbstractInput, AbstractOutput, AbstractOption, Category]: + writeFunc(' % 15s: % 5i + (% 4i | % 4i | % 4i ) = % 5i\n' % + (t.__name__, + statDict['old:'+str(t)], + statDict['add:'+str(t)], + statDict['mod:'+str(t)], + statDict['del:'+str(t)], + statDict['new:'+str(t)])) diff --git a/workflows/module_importer.py b/workflows/module_importer.py new file mode 100644 index 0000000000000000000000000000000000000000..e3ff6736d526bb4383833372863d34558e621388 --- /dev/null +++ b/workflows/module_importer.py @@ -0,0 +1,45 @@ +from mothra.settings import INSTALLED_APPS + +appName = 'workflows' + +def get_installed_apps(): + return [name[len(appName)+1:] for name in INSTALLED_APPS if name.startswith(appName+'.') and len(name)>len(appName)+1] + +#Following functions deal with imports of libraries as dicts +def import_all_packages_libs_as_dict(libName): + pckLibs = {} + for pck in get_installed_apps(): + pckLibs[pck] = import_package_lib_as_dict(pck, libName) + return pckLibs + +def import_package_lib_as_dict(packageName, libName): + return dynamic_import_globals_as_dict(appName+"."+packageName + "." + libName, packageName) + +def dynamic_import_globals_as_dict(name, package): + try: + m = __import__(name, globals(), locals(), ['*']) + except: + return None + return m + +#Following functions deal with imports of libraries as globals, hovever localSetAttrFunc must be provided - this function should set local global in file where we want import like: +#def setattr_local(name, value, package): +# setattr(sys.modules[__name__], name, value) +def import_all_packages_libs(libName, localSetAttrFunc): + for pck in get_installed_apps(): + import_package_lib(pck, libName, localSetAttrFunc) + +def import_package_lib(packageName, libName, localSetAttrFunc): + dynamic_import_globals(appName+"."+packageName + "." + libName, packageName, localSetAttrFunc) + +def dynamic_import_globals(name, package, localSetAttrFunc): + try: + m = __import__(name, globals(), locals(), ['*']) + except: + return + all_names = [name for name in dir(m) if name[0]!='_'] + g = globals() + for name in all_names: + #g[name] = m.__dict__.get(name) + #print name + localSetAttrFunc(name, m.__dict__.get(name), package) diff --git a/workflows/packageLibImporter.py b/workflows/packageLibImporter.py deleted file mode 100644 index e89bd342a6b461f2a6891502aa97e6e236f2f2cd..0000000000000000000000000000000000000000 --- a/workflows/packageLibImporter.py +++ /dev/null @@ -1,27 +0,0 @@ -from mothra.settings import INSTALLED_APPS - -appName = 'workflows' -import workflows.library - -def getAllInstalledAps(): - return [name[len(appName)+1:] for name in INSTALLED_APPS if name.startswith(appName+'.') and len(name)>len(appName)+1] - -def importAllPackagesLib(libName, localSetattr): - for pck in getAllInstalledAps(): - importPackageLib(pck, libName, localSetattr) - -def importPackageLib(packageName, libName, localSetattr): - dynamicImportAllGlobals(appName+"."+packageName + "." + libName, packageName, localSetattr) - -def dynamicImportAllGlobals(name, package, localSetattr): - try: - m = __import__(name, globals(), locals(), ['*']) - except: - return - all_names = [name for name in dir(m) if name[0]!='_'] - g = globals() - for name in all_names: - #g[name] = m.__dict__.get(name) - #print name - localSetattr(name, m.__dict__.get(name), package) - diff --git a/workflows/templates/treeview_widget.html b/workflows/templates/treeview_widget.html index 2ff7b2e61eeb2d1a2a37f2296ab413a3e8dcbc02..7cb2aa89a86c8cb7e5a6f027e63acb3391fcfc62 100755 --- a/workflows/templates/treeview_widget.html +++ b/workflows/templates/treeview_widget.html @@ -1 +1 @@ -
  • {{ widget.name }}
  • \ No newline at end of file +
  • {{ widget.name }}
  • \ No newline at end of file diff --git a/workflows/templates/widgets.html b/workflows/templates/widgets.html index 00fedb2b03a05d00aea089658c6ac6aa644459ef..b008f0fe7b80345b712ba95f0dc9135e00a479c6 100755 --- a/workflows/templates/widgets.html +++ b/workflows/templates/widgets.html @@ -8,7 +8,7 @@ {% endfor %}
    -
    +
    {% for output in widget.outputs.all %} diff --git a/workflows/urls.py b/workflows/urls.py index dfb66cb12e710ea74ca450715d02296c061bdf61..5908075e612b1dfa4540ef9422a0e782fdd4e349 100755 --- a/workflows/urls.py +++ b/workflows/urls.py @@ -1,11 +1,11 @@ from django.conf.urls.defaults import patterns, include, url packageUrls = {} -from workflows import packageLibImporter +from workflows import module_importer def set_package_url(name, value, package): if name == 'urlpatterns': packageUrls[package] = value -packageLibImporter.importAllPackagesLib("urls",set_package_url) +module_importer.import_all_packages_libs("urls",set_package_url) urlpatterns = patterns('',) diff --git a/workflows/visualization_views.py b/workflows/visualization_views.py index acd9123eab5135e71124cfe57198ba47c689fc03..d11754883a606d7e00c05a0dcc339194d0f4d51c 100755 --- a/workflows/visualization_views.py +++ b/workflows/visualization_views.py @@ -2,10 +2,10 @@ import sys from django.shortcuts import render from django.http import Http404, HttpResponse -from workflows import packageLibImporter +from workflows import module_importer def setattr_local(name, value, package): setattr(sys.modules[__name__], name, value) -packageLibImporter.importAllPackagesLib("visualization_views",setattr_local) +module_importer.import_all_packages_libs("visualization_views",setattr_local) def odt_to_tab(request,input_dict,output_dict,widget): import Orange