Mallet Utils

Utilities for Mallet toolkit

License

License

Categories

Categories

MALLET Business Logic Libraries Machine Learning
GroupId

GroupId

ch.epfl.bbp.nlp
ArtifactId

ArtifactId

mallet_utils
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Mallet Utils
Utilities for Mallet toolkit
Project Organization

Project Organization

Bluebrain Project

Download mallet_utils

How to add to project

<!-- https://jarcasting.com/artifacts/ch.epfl.bbp.nlp/mallet_utils/ -->
<dependency>
    <groupId>ch.epfl.bbp.nlp</groupId>
    <artifactId>mallet_utils</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/ch.epfl.bbp.nlp/mallet_utils/
implementation 'ch.epfl.bbp.nlp:mallet_utils:1.0.1'
// https://jarcasting.com/artifacts/ch.epfl.bbp.nlp/mallet_utils/
implementation ("ch.epfl.bbp.nlp:mallet_utils:1.0.1")
'ch.epfl.bbp.nlp:mallet_utils:jar:1.0.1'
<dependency org="ch.epfl.bbp.nlp" name="mallet_utils" rev="1.0.1">
  <artifact name="mallet_utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='ch.epfl.bbp.nlp', module='mallet_utils', version='1.0.1')
)
libraryDependencies += "ch.epfl.bbp.nlp" % "mallet_utils" % "1.0.1"
[ch.epfl.bbp.nlp/mallet_utils "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
cc.mallet : mallet jar 2.0.7

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Bluima:: UIMA components at BlueBrain

Build Status

About

Bluima is a natural language processing (NLP) pipeline focusing on the extraction of neuroscientific content and based on the UIMA framework. Bluima builds upon models from biomedical NLP (BioNLP) like specialized tokenizers and lemmatizers. It adds further models and tools specific to neuroscience (e.g. named entity recognizer for neuron or brain region mentions) and provides collection readers for neuroscientific corpora.

Papers

  • Richardet, Renaud, Jean-Cédric Chappelier, and Martin Telefont. "Bluima: a UIMA-based NLP Toolkit for Neuroscience." Unstructured Information Management Architecture (UIMA) (2013): 34. ceur-ws.org/Vol-1038/paper_7.pdf

Dependencies

Configure

Setup BLUIMA_HOME, e.g. (in your .bash_profile):

export BLUIMA_HOME={absolute path to Bluima}

Build

> export MAVEN_OPTS="-Xmx4G -XX:MaxPermSize=256m"
> mvn clean install -Dblue_uima_home={PATH_TO_HOME}

Get yourself a coffee. Rinse and repeat above command if error is "could not download artifacts"

If gpg signing is not setup and you simply want to skip it then you can add -Dgpg.skip=true to the maven command line options.

Maven Tests

  • The reference test environment is the command line.
  • Run all tests > mvn clean test
  • Skip tests while building > mvn install -Dmaven.test.skip=true

Eclipse

  • Tested with 4.2 and latest m2e plugin
  • Make sure you have built the codebase with the above step (mvn)
  • Import the module bluima_bbp with: File -> Import... -> Existing Maven Projects
  • Set BLUIMA_HOME in Eclipse
  • Preferences: Java > Installed JRE > Edit
  • -Xms1G -Xmx4G -Dbluima_home={absolute path to Bluima}
  • Test your installation (see "Getting Started" below)
  • Import other modules you need with: File -> Import... -> Existing Maven Projects

Release

> cd modules/bluima
> sh release.sh

The release includes all dependencies can be deployed on any computer with a JRE (e.g. cluster).

To release to nexus: mvnt clean deploy -Dgpg.passphrase="si......" -P release

Conventions (over configuration)

  • Maven projects are named bluima_{project-name}
  • Class naming conventions
  • UIMA Analysis Engines are named Annotator
  • UIMA Collection Readers are named CollectionReader
  • UIMA Cas Consumers are named Writer
  • JUnit tests are named {base-class}Test

Getting Started

  • launch the class ch.epfl.bbp.uima.RunPipeline in project bluima_bbp
  • select a pipeline to run, e.g. examples/1_simple/simple.pipeline

Feedback

ch.epfl.bbp.nlp

The Blue Brain Project

Open Source Software produced and used by the Blue Brain Project

Versions

Version
1.0.1