transmemory

package
v0.0.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

Package for translation memory search

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Results

type Results struct {
	Words []dicttypes.Word
}

Encapsulates search recults

type Searcher

type Searcher interface {
	Search(ctx context.Context,
		query string,
		domain string,
		includeSubstrings bool,
		wdict map[string]dicttypes.Word) (*Results, error)
}

func NewSearcher

func NewSearcher(ctx context.Context, database *sql.DB) (Searcher, error)

Initialize SQL statement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL