ner-crf | CRF to detect named entities | Natural Language Processing library

 by   aleju Python Version: Current License: MIT

kandi X-RAY | ner-crf Summary

kandi X-RAY | ner-crf Summary

ner-crf is a Python library typically used in Artificial Intelligence, Natural Language Processing applications. ner-crf has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However ner-crf build file is not available. You can download it from GitHub.

This is an implementation using (linear chain) conditional random fields (CRF) in python 2.7 for named entity recognition (NER). It uses the python-crfsuite library as its basis. By default it can handle the labels PER, LOC, ORG and MISC, but was primarily optimized for PER (recognition of names of people) in german, though it should be usable for any language. Scores are expected to be a bit lower for other labels than PER, because the Gazetteer-feature currently only handles PER labels. The implementation achieved an F1 score for PER of 0.78 on the Germeval2014NER corpus (notice that german NER is significantly harder than english NER) and an F1 score of 0.87 (again PER) on an automatically annotated Wikipedia corpus (it was trained on an excerpt of that Wikipedia corpus, so a higher score was expected as the Germeval2014Ner is partly different from Wikipedia's style of language).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ner-crf has a low active ecosystem.
              It has 117 star(s) with 35 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. On average issues are closed in 886 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ner-crf is current.

            kandi-Quality Quality

              ner-crf has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              ner-crf is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ner-crf releases are not available. You will need to build from source code and install.
              ner-crf has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              ner-crf saves you 366 person hours of effort in developing the same functionality from scratch.
              It has 873 lines of code, 99 functions and 15 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ner-crf and discovered the below as its top functions. This is intended to give you an instant insight into ner-crf implemented functionality, and help decide if they suit your requirements.
            • Train the CRF suite
            • Generate examples from a list of windows
            • Get a list of labels
            • Get a list of feature values
            • Convert a Stanford POS tag
            • Return the stanford pos tag
            • Tag the given tokens
            • Tag a list of tokens
            • Fill from list of articles
            • Fills the count of each article
            • Convert a window
            • Return a list of top topics from a given text
            • Generate the LDA dictionary
            • Returns the content as a string
            • Convert a Batch object to a string
            • Convert a window to a list of words
            • Convert a Bokeh Window object to a list
            • Convert a window to a list of tokens
            • Convert a matplotlib window
            • Write words to a file
            • Convert a pandas dataframe
            • Lists the topics
            • Adds the given unigrams to the bag
            • Get the topics from the given text
            • Test the language of a sentence
            • Fills the counts from a list of articles
            • Train the LDA model
            Get all kandi verified functions for this library.

            ner-crf Key Features

            No Key Features are available at this moment for ner-crf.

            ner-crf Examples and Code Snippets

            No Code Snippets are available at this moment for ner-crf.

            Community Discussions

            QUESTION

            Can't evaluate custom ner in spacy 3.0 using CLI
            Asked 2021-Apr-26 at 12:57

            I'm trying to load a custom pre-trained model with custom pipeline from disk as a pipeline in spacy 3.0:

            The code of the factory is like this:

            ...

            ANSWER

            Answered 2021-Apr-26 at 12:57

            From spaCy v3.0 onwards, pipeline components are expected to support an exclude keyword on their to_disk method. You can add the exclude keyword to your function, give it a default, and simply not use its value in the function body, and this error should be resolved.

            For completeness, here's the migration guide for the transition from v2 to v3, which may include some additional interesting pointers for you: https://spacy.io/usage/v3#migrating

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install ner-crf

            You can download it from GitHub.
            You can use ner-crf like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            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
            CLONE
          • HTTPS

            https://github.com/aleju/ner-crf.git

          • CLI

            gh repo clone aleju/ner-crf

          • sshUrl

            git@github.com:aleju/ner-crf.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 aleju

            imgaug

            by alejuPython

            self-driving-truck

            by alejuPython

            face-comparer

            by alejuPython

            imgaug-doc

            by alejuJupyter Notebook

            LossAccPlotter

            by alejuPython