Skip to content
forked from scossin/IAMsystem

IAMsystem, a general purpose biomedical semantic annotation tool. It's a dictionary-based approach with typos and abbreviations detection. The dictionary is stored in a tree data-structure.

License

Notifications You must be signed in to change notification settings

gozat/IAMsystem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IAMsystem

A general dictionary-based approach for semantic annotation.
It stores a terminology in a tree data structure for fast lookup.
It handles abbreviations and typos (with Levenshtein distance) at the token level. Brat output is available.

Getting started

Add the dependency to your pom.xml to download it from the Maven Repository:

<dependency>
 	<groupId>fr.erias</groupId>
	<artifactId>IAMsystem</artifactId>
	<version>1.0.1</version>
</dependency>

To build it, you will need Java 1.8 (or higher) JDK a recent version of Maven (https://maven.apache.org/download.cgi) and put the mvn command on your path. Now you can run mvn clean install in the IAMsystem folder to compile the project.

Quick start

// Initiate TermDetector
TermDetector termDetector = new TermDetector();
// add terms manually or by loading a CSV file
termDetector.addTerm("high blood pressure", "I10");
termDetector.addTerm("fever", "R50.9");
// add abbreviations
termDetector.addAbbreviations("blood pressure", "bp");
String inputString = "The patient denied any fever and has high BP.";
DetectOutput detectOutput = termDetector.detect(inputString);
System.out.println(detectOutput.toString());
// fever and high BP detected

See how it works by loading the Maven project in the example folder using your favorite IDE.
If you notice some problems, please open an issue.

Reference

Demo

Call it from R

See https://github.com/scossin/RIAMsystem

Handles context (negation...) with FastContext

See https://github.com/scossin/IAMsystemFastContext

Acknowledgement

This annotation tool is part of the Drugs Systematized Assessment in real-liFe Environment (DRUGS-SAFE) research platform that is funded by the French Medicines Agency (Agence Nationale de Sécurité du Médicament et des Produits de Santé, ANSM). This platform aims at providing an integrated system allowing the concomitant monitoring of drug use and safety in France.

About

IAMsystem, a general purpose biomedical semantic annotation tool. It's a dictionary-based approach with typos and abbreviations detection. The dictionary is stored in a tree data-structure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%