marve | extracting measurements and related entities | Natural Language Processing library

 by   khundman Python Version: 0.0.7 License: Apache-2.0

kandi X-RAY | marve Summary

kandi X-RAY | marve Summary

marve is a Python library typically used in Artificial Intelligence, Natural Language Processing applications. marve has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install marve' or download it from GitHub, PyPI.

A measurement relation extractor. Marve leverages grobid-quantities and Stanford CoreNLP to extract and normalize measurements and their related entities and descriptors from natural language text. Marve employs grobid-quantities to find measurement values, units, and a limited set of "quantified" substances using linear CRF models trained on a labeled corpus of text. CoreNLP is then used to link measurements to related words in the sentence using word dependencies and POS tags from CoreNLP. Common dependency/POS patterns relating measurements to other words/entities are specified in /marve/dependency_patterns.json and can be adjusted without modifying code.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              marve has a low active ecosystem.
              It has 52 star(s) with 14 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 3 have been closed. On average issues are closed in 600 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of marve is 0.0.7

            kandi-Quality Quality

              marve has 0 bugs and 0 code smells.

            kandi-Security Security

              marve has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              marve code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              marve is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              marve releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              marve saves you 200 person hours of effort in developing the same functionality from scratch.
              It has 492 lines of code, 18 functions and 6 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed marve and discovered the below as its top functions. This is intended to give you an instant insight into marve implemented functionality, and help decide if they suit your requirements.
            • Extracts the dependency graph
            • Parses a sentence using Grobid API
            • Check the dependency criteria
            • Simplify results
            • Get related words
            • Augment a grobid value
            • Return a list of matching patterns
            • Get a list of siblings of two nodes
            • Build the graph
            • Add descriptors to the graph
            • Add a related to a relation
            • Reconstructs the original sentence
            • Return the connected connected connected edge
            • Check the dependency of the given sentence
            • Sort a dictionary based on sort_list
            Get all kandi verified functions for this library.

            marve Key Features

            No Key Features are available at this moment for marve.

            marve Examples and Code Snippets

            Marve,Output Options
            Pythondot img1Lines of Code : 37dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            {"value": 6, "unit": "year", "quantified": {}, "related": {"period": ["study"]}}
            
            {
            	"type": "value",
            	"quantity": {
            		"parsedValue": 6,
            		"rawValue": "six",
            		"rawUnit": {
            			"offsetStart": 13,
            			"offsetEnd": 14,
            			"tokenIndices": [
            				"3"
            			],
              
            Marve,API
            Pythondot img2Lines of Code : 34dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            extract(content, corenlp, grobid, dependency_patterns_file, output_file=None, show_graph=False, pretty=False, simplify=False)
            
            Returns extracted measurements from a sentence or paragraph.
            
            Parameters: 	content: string
            						Sentence or paragraph to e  
            Marve,Usage
            Pythondot img3Lines of Code : 13dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            # coding: utf-8
            
            from marve import Measurements as m
            
            # Strings longer than a paragraph should be split before passing to Marve
            _test = "The patient returned to Europe at 28 weeks of gestation."
            
            coreNLP = "http://localhost:9000"
            grobid = "http://loc  

            Community Discussions

            QUESTION

            How to filter json data from array in ionic 2
            Asked 2018-Mar-27 at 07:03

            I am a beginner in Ionic 2. I have successfully fetch data from URL into an array.In my json response, there are multiple duplicate values. I have filter json response by using lodash command. But I am not getting a proper result which I required.Please give me solution for this.

            This is my json response:

            ...

            ANSWER

            Answered 2018-Mar-27 at 07:03

            You can use array#reduce to group your data based on port_group.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install marve

            Running Marve requires grobid-quantities and CoreNLP to be running:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

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

            Find more libraries
            Install
          • PyPI

            pip install marve

          • CLONE
          • HTTPS

            https://github.com/khundman/marve.git

          • CLI

            gh repo clone khundman/marve

          • sshUrl

            git@github.com:khundman/marve.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 khundman

            telemanom

            by khundmanJupyter Notebook

            FacSearch

            by khundmanJavaScript

            wxpython

            by khundmanPython

            MEMEX-WISDOM

            by khundmanHTML