Categorygithub.com/maxthomas/gomosesgo
modulepackage
1.2.0-cc-2
Repository: https://github.com/maxthomas/gomosesgo.git
Documentation: pkg.go.dev

# README

CircleCI

gomosesgo

golang wrapper around the moses XML-RPC API.

# Functions

NewTranslationTransformer returns a TranslationTransformer object.

# Variables

TCDetokenizeString runs the external detokenizer.
Combination preprocessor (new for 2.0).
TCRejoinString runs the external hashtag rejoiner.

# Structs

ExecTransformCommand represents an external command on strings.
FilterTransformCommand does simple filtering.
RPCTranslate wraps the XMLRPC client.
RPCTranslateMessage wraps.
TranslationRequest contains the simple text input.
TranslationTransformer is an object w/ methods for pre and post processing of strings for translation.

# Interfaces

TransformCommand is an interface for different kinds of processing transforms.