{"id":27262159,"url":"https://github.com/yubowenok/flowsense","last_synced_at":"2025-04-11T05:49:23.110Z","repository":{"id":44176749,"uuid":"76505181","full_name":"yubowenok/flowsense","owner":"yubowenok","description":"FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System","archived":false,"fork":false,"pushed_at":"2022-12-08T18:16:22.000Z","size":895,"stargazers_count":46,"open_issues_count":17,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T05:49:18.734Z","etag":null,"topics":["corenlp","nlp","semantic-parsing","sempre","visflow","visualization"],"latest_commit_sha":null,"homepage":"https://visflow.org/flowsense/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yubowenok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-14T23:19:33.000Z","updated_at":"2025-01-15T16:21:20.000Z","dependencies_parsed_at":"2023-01-25T07:46:26.524Z","dependency_job_id":null,"html_url":"https://github.com/yubowenok/flowsense","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yubowenok%2Fflowsense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yubowenok%2Fflowsense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yubowenok%2Fflowsense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yubowenok%2Fflowsense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yubowenok","download_url":"https://codeload.github.com/yubowenok/flowsense/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351435,"owners_count":21089271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corenlp","nlp","semantic-parsing","sempre","visflow","visualization"],"created_at":"2025-04-11T05:49:22.328Z","updated_at":"2025-04-11T05:49:23.089Z","avatar_url":"https://github.com/yubowenok.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System\n[![Build Status](https://travis-ci.org/yubowenok/flowsense.svg?branch=master)](https://travis-ci.org/yubowenok/flowsense)\n\nFlowSense is a natural language interface (NLI) that is integrated into the VisFlow dataflow visualization framework to support dataflow diagram editing with natural language (NL).\nThe user types or uses voice to input an NL query, which can be parsed by FlowSense and mapped to a VisFlow function to update the dataflow diagrams.\nThis repository contains the FlowSense core implementation that includes its grammar rules, backend API, integration tests, and experiment code.\n\nThis content of this repository is structured as:\n- ``src/grammar``: SEMPRE grammar files\n- ``src/script``: Server API implemented in Python, and grammar analysis code\n- ``src/*.ts``: Server API implemented in TypeScript\n- ``data``: Training examples and auto completion base templates\n\n## Installation\n\nRun the installation script:\n- ``yarn install`` (for setting up backend API)\n- ``pip install --user -r requirements.txt`` (for setting up python backend API)\n\nInstall SEMPRE from [here](https://github.com/yubowenok/sempre).\nNote that this is a forked repository from the [original SEMPRE repository](https://github.com/percyliang/sempre) for extended parsing utility.\n- ``git clone https://github.com/yubowenok/sempre``\n- ``cd sempre \u0026\u0026 ../sempreCache.sh`` (pull SEMPRE dependencies if they not yet exist)\n- ``ant core corenlp`` (SEMPRE installation)\n\n## Running FlowSense\n- Run the backend API node server: ``yarn start``\n- Run the backend API python server: ``python src/script/similarity.py``\n- Run SEMPRE: ``cd sempre \u0026\u0026 ../runSempre`` (SEMPRE should be run from the ``./sempre`` directory)\n\nTo verify that SEMPRE is working in the background, go to ``localhost:8400/sempre`` for SEMPRE web interface and try some queries there.\n\n## Running Tests\n- ``cd sempre`` (make sure the current directory is ``./sempre``)\n- ``yarn build``\n- ``../tests/run.sh``\n\n\n## Publication\nBowen Yu, and Claudio T. Silva.\n_FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System._\nIn IEEE Transactions on Visualization and Computer Graphics (Proc. VAST), 2019.\n```\n@ARTICLE{YuB19,\n  author = {B. {Yu} and C. T. {Silva}},\n  journal = {IEEE Transactions on Visualization and Computer Graphics},\n  title = {FlowSense: A Natural Language Interface for Visual Data Exploration within a Dataflow System},\n  year = {2019},\n  doi = {10.1109/TVCG.2019.2934668},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyubowenok%2Fflowsense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyubowenok%2Fflowsense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyubowenok%2Fflowsense/lists"}