Installing and using dockerized tools (finnish-postag, finnish-nertag, …)

Some tools are available as Docker images. They can be used without installing any other dependencies (except for Docker). At this time the images are replacements for the command-line versions of these tools, meaning that they’re used via stdin and stdout, but they can also be run in an application server as a web service.

For now, the available tools are finnish-nertag, finnish-postag and finnish-tokenize.

Installation

The images are available on the Language Bank’s Dockerhub account, and may be installed as follows:

sudo docker pull kielipankki/finnish-nertag:latest

(Or finnish-postag, etc.)

Usage

The resulting containers communicate via stdin and stdout, so you could test them like this::

$ sudo docker run --rm -i kielipankki/finnish-nertag <<< 'Pekingin olympialaiset 2008'
Pekingin <EnamexEvtXxx>
olympialaiset
2008 </EnamexEvtXxx>

They understand the same command-line options as the underlying tools:

$ sudo docker run --rm -i kielipankki/finnish-nertag --bio <<< 'Pekingin olympialaiset 2008'
Pekingin B-MISC
olympialaiset I-MISC
2008 I-MISC

$ sudo docker run –rm -i kielipankki/finnish-nertag –show-analyses <<< ’Pekingin olympialaiset 2008’
Pekingin peking [POS=NOUN][PROPER=PROPER][NUM=SG][CASE=GEN] [PROP=GEO] <EnamexEvtXxx>
olympialaiset olympialaiset [POS=NOUN][NUM=PL][CASE=NOM] _
2008 2008 [POS=NUMERAL][SUBCAT=CARD] _ </EnamexEvtXxx>

Sparv Pipeline

Sparv, Språkbanken’s text analysis tool, is a multilingual toolkit provided by the Swedish Språkbanken for parsing and annotating text in various languages.

User manual

Latest Sparv release on GitHub

Sparv GUI

This resource group page has a Persistent Identifier: http://urn.fi/urn:nbn:fi:lb-2021110301

Turku Neural Parser Pipeline

A neural parsing pipeline for segmentation, morphological tagging, dependency parsing and lemmatization with pre-trained models for more than 50 languages.

The pipeline is installed in CSC’s computing environment as a Singularity container for the languages Finnish, Swedish and English.

Latest version:
Turku Neural Parser Pipeline
icon-info-circle Metadata and license
Access to Puhti
Look for all versions of this tool in META-SHARE

On Puhti you can see a list of all installed versions and languages using:
module use /appl/soft/ai/singularity/modulefiles/
module spider turku-neural-parser

For more information on this tool have a look at the following links:
GitHub source
Turku-neural-parser-pipeline manual
TurkuNLP DockerHub
CSC’s Singularity installation of the Turku Neural Parser

This resource group page has a Persistent Identifier: http://urn.fi/urn:nbn:fi:lb-2021101102

Finnish Tagtools

This software package provides finnish-postag, a part-of-speech and morphology tagger for Finnish, and finnish-nertag, a named entity recogniser for Finnish.
This software is also installed in CSC’s computing environment (module load finnish-tagtools).

Both tools take running text from standard input and produce tabular output (one token per line) to standard output. See –help messages for more details.

An installer is provided in the form of a Makefile. More information can be found in the README file in the download folder.

Latest version:
Finnish Tagtools 1.5
icon-info-circle Metadata and license
Download the resource
Look for all versions of this tool in META-SHARE

This resource group page has a Persistent Identifier: http://urn.fi/urn:nbn:fi:lb-2021101101

Search the Language Bank Portal:
Tiina Onikki-Rantajääskö
Researcher of the Month: Tiina Onikki-Rantajääskö

 

Upcoming events


Contact

The Language Bank's technical support:
kielipankki (at) csc.fi
tel. +358 9 4572001

Requests related to language resources:
fin-clarin (at) helsinki.fi
tel. +358 29 4129317

More contact information