link-grammar | The CMU Link Grammar natural language parser | Natural Language Processing library

 by   opencog C Version: link-grammar-5.10.2 License: LGPL-2.1

kandi X-RAY | link-grammar Summary

kandi X-RAY | link-grammar Summary

link-grammar is a C library typically used in Artificial Intelligence, Natural Language Processing applications. link-grammar has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

The parser includes API’s in various different programming languages, as well as a handy command-line tool for playing with it. Here’s some typical output:. This rather busy display illustrates many interesting things. For example, the Ss*b link connects the verb and the subject, and indicates that the subject is singular. Likewise, the Ost link connects the verb and the object, and also indicates that the object is singular. The WV (verb-wall) link points at the head-verb of the sentence, while the Wd link points at the head-noun. The Xp link connects to the trailing punctuation. The Ds**c link connects the noun to the determiner: it again confirms that the noun is singular, and also that the noun starts with a consonant. (The PH link, not required here, is used to force phonetic agreement, distinguishing a from an). These link types are documented in the [English Link Documentation] The bottom of the display is a listing of the "disjuncts" used for each word. The disjuncts are simply a list of the connectors that were employed to form the links. They are particularly interesting because they serve as an extremely fine-grained form of a "part of speech". Thus, for example: the disjunct S- O+ indicates a transitive verb: its a verb that takes both a subject and an object. The additional markup above indicates that is is not only being used as a transitive verb, but it also indicates finer details: a transitive verb that took a singular subject, and was used (is usable as) the head verb of a sentence. The floating-point value is the "cost" of the disjunct; it very roughly captures the idea of the log-probability of this particular grammatical usage. Much as parts-of-speech correlate with word-meanings, so also fine-grains parts-of-speech correlate with much finer distinctions and gradations of meaning.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              link-grammar has a low active ecosystem.
              It has 363 star(s) with 115 fork(s). There are 39 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 83 open issues and 266 have been closed. On average issues are closed in 174 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of link-grammar is link-grammar-5.10.2

            kandi-Quality Quality

              link-grammar has no bugs reported.

            kandi-Security Security

              link-grammar has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              link-grammar is licensed under the LGPL-2.1 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              link-grammar releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of link-grammar
            Get all kandi verified functions for this library.

            link-grammar Key Features

            No Key Features are available at this moment for link-grammar.

            link-grammar Examples and Code Snippets

            No Code Snippets are available at this moment for link-grammar.

            Community Discussions

            QUESTION

            OpenSSL can't establish SSL connection because unsupported protocol
            Asked 2020-Jun-20 at 05:19

            I'm trying to build OpenCog from here and when I issue this command

            ...

            ANSWER

            Answered 2020-Jun-20 at 05:19

            www.abisource.com supports only TLS version 1.0, which is now broken (or at least weakened) and way obsolete. According to its headers it is Apache 2.2.15 (Fedora) which dates from 2010!

            This therefore appears to be the same problem as OpenSSL v1.1.1 ssl_choose_client_version unsupported protocol except Ubuntu instead of Debian and wget (used by octool) instead of openvpn. Try the accepted anser there: edit /etc/ssl/openssl.cnf under [system_default_sect] to downgrade MinProtocol=TLSv1 and possibly CipherString=DEFAULT:@SECLEVEL=1 -- the server's DHE key is 1k, and I don't recall if that works at level 2, although its cert is absurdly RSA 4k!

            UPDATE: Okay, I downloaded and installed Ubuntu 20.04 including source for libssl1.1 and looked at it, and they did NOT keep the Debian approach here, they changed it. Specifically, they didn't change the openssl.cnf file to require TLSv1.2, instead they compiled OpenSSL/libssl to make the default SECLEVEL 2 and to have SECLEVEL 2 force TLSv1.2 (which it doesn't upstream).

            However, you can still fix it by adding the desired (weak) configuration to openssl.cnf:

            • somewhere in the default section, i.e. before the first line beginning with [, add a line

            Source https://stackoverflow.com/questions/62357205

            QUESTION

            How to find invalid Link Grammar tokens?
            Asked 2018-Apr-07 at 15:03

            I'd like to use the Link Grammar Python3 bindings for a simple grammar checker. While the linkage API is relatively well-documented, there doesn't seem to be way to access all tokens that prevent linkages.

            This is what I have so far:

            ...

            ANSWER

            Answered 2018-Apr-07 at 15:03

            See how it is done in bindings/python-examples/sentence-check.py. It is better to look at the latest repo version (the current one is here), as there was a bug in this demo program at 5.4.3.

            Specifically, the following extracts the word list:

            Source https://stackoverflow.com/questions/49335828

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install link-grammar

            The /usr/local install target can be over-ridden using the standard GNU configure --prefix option; so, for example:. By using pkg-config (see below), non-standard install locations can be automatically detected.

            Support

            An extended overview and summary can be found in the [Link Grammar Wikipedia page](https://en.wikipedia.org/wiki/Link_grammar), which touches on most of the import, primary aspects of the theory. However, it is no substitute for the original papers published on the topic: * Daniel D. K. Sleator, Davy Temperley, ["Parsing English with a Link Grammar"](http://www.cs.cmu.edu/afs/cs.cmu.edu/project/link/pub/www/papers/ps/tr91-196.pdf) October 1991 CMU-CS-91-196. * Daniel D. Sleator, Davy Temperley, ["Parsing English with a Link Grammar"](http://www.cs.cmu.edu/afs/cs.cmu.edu/project/link/pub/www/papers/ps/LG-IWPT93.pdf), Third International Workshop on Parsing Technologies (1993). * Dennis Grinberg, John Lafferty, Daniel Sleator, ["A Robust Parsing Algorithm for Link Grammars"](http://www.cs.cmu.edu/afs/cs.cmu.edu/project/link/pub/www/papers/ps/tr95-125.pdf), August 1995 CMU-CS-95-125. * John Lafferty, Daniel Sleator, Davy Temperley, ["Grammatical Trigrams: A Probabilistic Model of Link Grammar"](http://www.cs.cmu.edu/afs/cs.cmu.edu/project/link/pub/www/papers/ps/gram3gram.pdf), 1992 AAAI Symposium on Probabilistic Approaches to Natural Language. There are many more papers and references listed on the [primary Link Grammar website](https://www.abisource.com/projects/link-grammar/). See also the [C/C++ API documentation](https://www.abisource.com/projects/link-grammar/api/index.html). Bindings for other programming languages, including python3, java and node.js, can be found in the [bindings directory](bindings). (There are two sets of javascript bindings: one set for the library API, and another set for the command-line parser.).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/opencog/link-grammar.git

          • CLI

            gh repo clone opencog/link-grammar

          • sshUrl

            git@github.com:opencog/link-grammar.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Natural Language Processing Libraries

            transformers

            by huggingface

            funNLP

            by fighting41love

            bert

            by google-research

            jieba

            by fxsjy

            Python

            by geekcomputers

            Try Top Libraries by opencog

            atomspace

            by opencogC++

            moses

            by opencogC++

            relex

            by opencogJava

            ure

            by opencogC++