dict

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

package dict contains tools to access hard-coded dictionaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dict

type Dict interface {
	// ShortWords returns a map of short words. The map is used to
	// filter out short words from the reference titles.
	// The short words are often excluded from abbreviated titles.
	// For example, the title "Journal of the Linnean Society, Botany"
	// is abbreviated as "J. Linn. Soc., Bot." removing short words
	// "of" and "the".
	ShortWords() (map[string]struct{}, error)
}

Dict provides methods to access hard-coded dictionaries.

Jump to

Keyboard shortcuts

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