{"id":16068070,"url":"https://github.com/ged/linkparser","last_synced_at":"2025-10-19T05:45:01.353Z","repository":{"id":56371129,"uuid":"1464382","full_name":"ged/linkparser","owner":"ged","description":"A high-level interface to the  CMU Link Grammar. (Github mirror)","archived":false,"fork":false,"pushed_at":"2020-12-24T21:58:32.000Z","size":411,"stargazers_count":76,"open_issues_count":0,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-21T10:42:11.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://deveiate.org/projects/Ruby-LinkParser","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ged.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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":"2011-03-10T17:00:50.000Z","updated_at":"2023-06-22T20:18:53.000Z","dependencies_parsed_at":"2022-08-15T17:31:02.732Z","dependency_job_id":null,"html_url":"https://github.com/ged/linkparser","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/ged/linkparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Flinkparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Flinkparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Flinkparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Flinkparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ged","download_url":"https://codeload.github.com/ged/linkparser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Flinkparser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263287907,"owners_count":23443088,"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-09T06:08:21.163Z","updated_at":"2025-10-19T05:44:56.328Z","avatar_url":"https://github.com/ged.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# linkparser\n\nhome\n: https://hg.sr.ht/~ged/linkparser\n\ncode\n: https://hg.sr.ht/~ged/linkparser/browse\n\ndocs\n: http://deveiate.org/code/linkparser\n\ngithub\n: http://github.com/ged/linkparser\n\n\n\n## Description\n\nThis module is a Ruby binding for\n[the Abiword version](http://www.abisource.com/projects/link-grammar/) of CMU's\n[Link Grammar](http://www.link.cs.cmu.edu/link/), a syntactic parser of English.\n\n\n### Example Usage\n\n    dict = LinkParser::Dictionary.new\n    =\u003e #\u003cLinkParser::Dictionary:0x007fc56b480d18 @options={}\u003e\n\n    sent = dict.parse( \"People use Ruby for all kinds of nifty things.\" )\n    =\u003e #\u003cLinkParser::Sentence:0x1ff15b42eeda\n          \"LEFT-WALL people.p use.v Ruby.f for.p all.a kinds.n of nifty.a things.n . RIGHT-WALL\"/\n          15 linkages/0 nulls\u003e\n\n    sent.subject\n    =\u003e \"people\"\n\n    sent.verb\n    =\u003e \"use\"\n\n    sent.object\n    =\u003e \"Ruby\"\n\n    puts sent.diagram( max_width: 200 )\n    \n        +---------------------------------Xp--------------------------------+\n        |                             +---------------Jp---------------+    |\n        |                             |            +--------Dmc--------+    |\n        +------\u003eWV------\u003e+-----MVp----+            |     +------Jd-----+    |\n        +----Wd---+--Sp--+--Os--+     |     +-Dmcn-+-OFd-+    +----A---+    +--RW--+\n        |         |      |      |     |     |      |     |    |        |    |      |\n    LEFT-WALL people.p use.v Ruby.f for.p all.a kinds.n of nifty.a things.n . RIGHT-WALL\n\n\n## Installation\n\nFirst, download and install the latest version of the link-grammar\nlibrary from\n[Abiword's site](http://www.abisource.com/projects/link-grammar/#download).\n\nThen install the gem:\n\n    gem install linkparser\n\nYou may need to specify the path to the link-grammar library if you\ninstalled it somewhere that your linker doesn't look by default:\n\n    gem install linkparser -- --with-link-grammar=/usr/local\n\n\n## Contributing\n\nYou can check out the current development source\n[with Mercurial](https://hg.sr.ht/~ged/linkparser),\nor if you prefer Git, via\n[its Github mirror](http://github.com/ged/linkparser).\n\nAfter checking out the source, run:\n\n    $ gen install -Ng\n    $ rake setup\n\nThis will install any missing dependencies and do any neceesary developer setup.\n\n\n## Author(s)\n\n- Michael Granger \u003cged@faeriemud.org\u003e\n\n\n## License\n\nThis gem uses the link-grammar library, which is licensed under the\nLGPL v2.1 license:\n\nhttps://www.gnu.org/licenses/lgpl-2.1.html\n\nThe gem itself is licensed under the BSD license:\n\nCopyright (c) 2006-2020, The FaerieMUD Consortium\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice,\n  this list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author/s, nor the names of the project's\n  contributors may be used to endorse or promote products derived from this\n  software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fged%2Flinkparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fged%2Flinkparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fged%2Flinkparser/lists"}