{"id":16186202,"url":"https://github.com/zenflow/link-parser-js","last_synced_at":"2025-04-07T13:21:49.723Z","repository":{"id":57151188,"uuid":"250120713","full_name":"zenflow/link-parser-js","owner":"zenflow","description":"Emscripten port of link-parser, the CLI for the CMU Link Grammar natural language parser","archived":false,"fork":false,"pushed_at":"2021-03-16T07:09:34.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T22:15:56.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-26T00:12:58.000Z","updated_at":"2021-05-28T05:12:32.000Z","dependencies_parsed_at":"2022-08-31T23:52:09.059Z","dependency_job_id":null,"html_url":"https://github.com/zenflow/link-parser-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Flink-parser-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Flink-parser-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Flink-parser-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Flink-parser-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenflow","download_url":"https://codeload.github.com/zenflow/link-parser-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657248,"owners_count":20974350,"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":[],"created_at":"2024-10-10T07:17:34.992Z","updated_at":"2025-04-07T13:21:49.682Z","avatar_url":"https://github.com/zenflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# link-parser-js\n[Emscripten](https://github.com/emscripten-core/emscripten) port of link-parser, the CLI for [the CMU Link Grammar natural language parser](https://github.com/opencog/link-grammar)\n\n## Motivation\n\nI wanted a version [of link-parser] that is more portable, so it can be easily installed and run in any environment with node.js, including node.js cloud hosting platforms and a variety of Unix/Windows developer machines.\n\n## Usage\n\nSame as the original `link-parser` program. For details, run `link-parser-js --help` and or see [the official documentation](https://github.com/opencog/link-grammar/#running-the-program).\n\n*Note that loading custom dictionaries or input files from the filesystem is not currently supported. Pull Requests welcome.*\n\nExample:\n\n```\n\u003e echo This is a sentence. | link-parser-js en -constituents=1\nconstituents set to 1\nlink-grammar: Info: Dictionary found at ./data/en/4.0.dict\nDebug: Dictionary \"en/4.0.dict\": Locale \"en_US.UTF-8\" unknown\nlink-grammar: Info: Dictionary 'en/4.0.dict': No locale definition - \"C.UTF-8\" will be used.\nlink-grammar: Info: Dictionary version 5.8.0, locale C.UTF-8\nlink-grammar: Info: Library version link-grammar-5.8.0. Enter \"!help\" for help.\nlinkparser\u003e Found 4 linkages (4 had no P.P. violations)\n        Linkage 1, cost vector = (UNUSED=0 DIS= 0.00 LEN=6)\n\n    +--------------Xp--------------+\n    +-----\u003eWV-----\u003e+---Ost---+     |\n    +--\u003eWd---+-Ss*b+  +-Ds**c+     |\n    |        |     |  |      |     |\nLEFT-WALL this.p is.v a sentence.n .\n\n(S (NP this.p)\n   (VP is.v\n       (NP a sentence.n))\n   .)\n\nPress RETURN for the next linkage.\nlinkparser\u003e Bye.\n\n```\n\nIn addition to being used in the console (as in the above example), this program is intended to be used programatically with [node.js's child_process module](https://nodejs.org/api/child_process.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenflow%2Flink-parser-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenflow%2Flink-parser-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenflow%2Flink-parser-js/lists"}