package phraser

// The counted noun, for callers that already speak through this package.
//
// The rule itself lives in internal/say, next to the line files that carry the
// {word} placeholder, because internal/say sits under phraser in the import
// graph and internal/memory and internal/tasks need it too. These are the same
// three functions under the names cmd/mavend already calls.

import "github.com/kami/maven/internal/say"

// CountWord picks between the three forms a Russian count needs.
func CountWord(n int, one, few, many string) string { return say.CountWord(n, one, few, many) }

// Degrees — the noun for a temperature.
func Degrees(temp float64) string { return say.Degrees(temp) }

// Devices — the noun for a count of hosts on the LAN or of smart-home devices.
func Devices(n int) string { return say.Devices(n) }
