New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

opener-ner-base

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opener-ner-base

  • 3.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

NER Base

This repository contains the source code used for performing Named Entity Recognition for the following languages:

  • Dutch
  • English
  • German
  • Italian
  • Spanish
  • French

Requirements

  • Java 1.7 or newer
  • Ruby 1.9.2 or newer

Development requirements:

  • Maven
  • Bundler

Installation

Installing as a regular Gem:

gem install opener-ner-base

Using Bundler:

gem 'opener-ner-base',
  :git    => 'git@github.com:opener-project/ner-base.git',
  :branch => 'master'

Using specific install:

gem install specific_install
gem specific_install opener-ner-base \
   -l https://github.com/opener-project/ner-base.git

Usage

Basic usage:

cat some_input_file.kaf | ner-base

This component ships a built-in set of models. If you have your own models you can set the environment variable NER_BASE_MODELS_PATH to the directory containing your models. Each model should be named LANGUAGE.bin where LANGUAGE is a 2 letter language code (nl. en, etc).

Contributing

First make sure all the required dependencies are installed:

bundle install

Then compile the required Java code:

bundle exec rake compile

For this you'll need to have Java 1.7 and Maven installed. These requirements are verified for you before the Rake task calls Maven.

Testing

To run the tests (which are powered by Cucumber), simply run the following:

bundle exec rake

This will take care of verifying the requirements, installing the required Java packages and running the tests.

For more information on the available Rake tasks run the following:

bundle exec rake -T

Structure

This repository comes in two parts: a collection of Java source files and Ruby source files. The Java code can be found in the core/ directory, everything else will be Ruby source code.

FAQs

Package last updated on 17 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc