Giter Site home page Giter Site logo

konradhoeffner / snik-tag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snikproject/snik-tag

0.0 1.0 0.0 2.79 MB

Tagging Tool for the SNIK Project. See

Home Page: https://snikproject.github.io/snik-tag/

License: MIT License

HTML 60.06% Java 39.54% CSS 0.39%

snik-tag's Introduction

โš ๏ธ SNIK Tag is not maintained

This repository has been archived on 2022-04-19.

SNIK Tag

Semi-automatic extraction of RDF triples from text based on the SNIK meta model. Support authors of medical informatics textbooks. You need to prepare a SNIK DOCX file where the classes are tagged in the following way:

  • Entity Type: Italic
  • Role: Bold
  • Function: Underline

SNIK Tag will display the text with those tagged classes but also show the classes separately and allow you to edit them and add links between them.

Input

A .docx word document where meta model subtop classes are annotated using formatting as Role, Entity Type and Function.

Output

The extracted classes and their relations as an RDF Turtle file.

Windows Release

Download the portable Windows release version 0.3.1 here.

Development

Requirements

  • Java 16 or higher
  • Maven 3

Run

  • Run mvn compile
  • Run mvn javafx:run

Package

Create a native package including a stripped down JRE and an installer using jlink and jpackage:

mvn package
cd deploy
./jlink
./package

jlink only needs to be run once for each JRE. Requires the JavaFX JMOD files to be placed in deploy/javafx-jmods-15 . jpackage does NOT support CROSSCOMPILING, you need to be on Windows to create Windows binaries. Then you can compress the contents of deploy/SnikTag to sniktag.zip and add that archive as an asset to a new release.

Documentation

A brief documentation of SNIK Tag is found at gh-pages

Code Formatting

Install the npm dependencies prettier and prettier-plugin-java:

# Local installation
npm install prettier-plugin-java --save-dev

# Or globally
npm install -g prettier prettier-plugin-java

Then reformat all files with:

# If you have installed the package locally
npx prettier --write "src/**/*.java"

# Or globally
prettier --write "src/**/*.java"

Source: prettier-plugin-java GitHub page.

snik-tag's People

Contributors

konradhoeffner avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.