Skip to content

sarvex/nerf-multiservice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerf service for the multiservice framework

The package provides a nerf-multiserive executable tool which can be used together with the Polish multiservice framework.

Building nerf-multiservice

First, you need Apache Thrift to generate Haskell modules which are needed to compile the nerf-multiservice tool. The current nerf-multiservice version has been tested with the 0.9.0 version of Thrift.

After you install the Thrift framework you can generate the additional modules from within the thrift directory:

thrift --gen hs types.thrift
thrift --gen hs subservices.thrift
thrift --gen hs multiservice.thrift

Due to a bug in the code generation process you need to replace the line

import qualified Types_Types

with

import Types_Types

in the thrift/gen-hs/AnnotatingService.hs file. Then just run

cabal install

from the nerf-multiservice top level directory.

Running the service

To use the nerf-multiservice tool you need a pretrained Nerf model. Visit the Nerf home page to acquire the model trained on the National Corpus of Polish. Run

nerf-multiservice --help

to learn about the program arguments and options.

About

Nerf service for the multiservice framework

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Thrift 98.6%
  • Haskell 1.4%