BioMedICUS Measures

A lightweight (small and dependency-free) Java 8 library for identifying and normalizing numbers and measurements in text. This was developed as a stand-alone component of BioMedICUS, a biomedical and clinical NLP engine developed by the NLP-IE Group at the University of Minnesota Institute for Health Informatics.

Лицензия

Лицензия

Группа

Группа

edu.umn.biomedicus
Идентификатор

Идентификатор

biomedicus-measures
Последняя версия

Последняя версия

2.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

BioMedICUS Measures
A lightweight (small and dependency-free) Java 8 library for identifying and normalizing numbers and measurements in text. This was developed as a stand-alone component of BioMedICUS, a biomedical and clinical NLP engine developed by the NLP-IE Group at the University of Minnesota Institute for Health Informatics.
Ссылка на сайт

Ссылка на сайт

https://github.com/nlpie/biomedicus-measures
Организация-разработчик

Организация-разработчик

University of Minnesota Institute for Health Informatics NLP/IE Program
Система контроля версий

Система контроля версий

https://github.com/nlpie/biomedicus-measures

Скачать biomedicus-measures

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/edu.umn.biomedicus/biomedicus-measures/ -->
<dependency>
    <groupId>edu.umn.biomedicus</groupId>
    <artifactId>biomedicus-measures</artifactId>
    <version>2.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/edu.umn.biomedicus/biomedicus-measures/
implementation 'edu.umn.biomedicus:biomedicus-measures:2.0.2'
// https://jarcasting.com/artifacts/edu.umn.biomedicus/biomedicus-measures/
implementation ("edu.umn.biomedicus:biomedicus-measures:2.0.2")
'edu.umn.biomedicus:biomedicus-measures:jar:2.0.2'
<dependency org="edu.umn.biomedicus" name="biomedicus-measures" rev="2.0.2">
  <artifact name="biomedicus-measures" type="jar" />
</dependency>
@Grapes(
@Grab(group='edu.umn.biomedicus', module='biomedicus-measures', version='2.0.2')
)
libraryDependencies += "edu.umn.biomedicus" % "biomedicus-measures" % "2.0.2"
[edu.umn.biomedicus/biomedicus-measures "2.0.2"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.25
com.google.code.findbugs : jsr305 Необязательный jar 3.0.2

test (3)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.3.2
org.mockito : mockito-core jar 2.23.4
org.slf4j : slf4j-nop jar 1.7.25

Модули Проекта

Данный проект не имеет модулей.

BioMedICUS Measures

A lightweight (small and dependency-free) Java 8 library for identifying and normalizing numbers whether they occur as decimal numbers ("5.8"), decimal fractions ("1/4"), or English numerals ("forty-two"). Also contains functionality for detecting unit-of-measurement words. This was developed as a stand-alone component of BioMedICUS, a biomedical and clinical NLP engine developed by the NLP-IE Group at the University of Minnesota Institute for Health Informatics.

This project makes use of the 2017 SPECIALIST Lexicon number files. For more information about the SPECIALIST Lexicon, see their website and their Terms & Conditions.

Using in your project

To use in a maven project, include the following in your pom:

<dependencies>
  <dependency>
    <groupId>edu.umn.biomedicus</groupId>
    <artifactId>biomedicus-measures</artifactId>
    <version>2.0.1</version>
  </dependency>
</dependencies>

Alternatively, download the .jar and include that in your libraries.

Javadoc

You can find the api documentation for this project here

Detecting numbers in text

DetectorFactory factory = Numbers.createDetectorFactory();
CombinedNumberDetector detector = factory.createCombinedNumberDetector();
Iterable<Token> tokens = ...
for (NumberResult numberResult in detector.findNumbers(tokens)) {
  // do something with the detected number
}

Contact and Support

For issues or enhancement requests, feel free to submit to the Issues tab on GitHub.

BioMedICUS has a gitter chat and a Google Group for contacting developers with questions, suggestions or feedback.

About Us

BioMedICUS is developed by the University of Minnesota Institute for Health Informatics NLP/IE Group with assistance from the Open Health Natural Language Processing (OHNLP) Consortium.

Contributing

Anyone is welcome and encouraged to contribute. If you discover a bug, or think the project could use an enhancement, follow these steps:

  1. Create an issue and offer to code a solution. We can discuss the issue and decide whether any code would be a good addition to the project.
  2. Fork the project. [https://github.com/nlpie/biomedicus-measures/fork]
  3. Create Feature branch (git checkout -b feature-name)
  4. Code your solution.
  • Follow the Google style guide for Java. There are IDE profiles available here.
  • Write unit tests for any non-trivial aspects of your code. If you are fixing a bug write a regression test: one that confirms the behavior you fixed stays fixed.
  1. Commit to branch. (git commit -am 'Summary of changes')
  2. Push to GitHub (git push origin feature-name)
  3. Create a pull request on this repository from your forked project. We will review and discuss your code and merge it.
edu.umn.biomedicus

Natural Language Processing / Information Extraction (NLP/IE) Program

The Natural Language Processing / Information Extraction (NLP/IE) Program at the University of Minnesota Institute for Health Informatics

Версии библиотеки

Версия
2.0.2
2.0.1
2.0.0
1.0.0