jatext

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0, MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package jatext sets names in the framework's sentences in Japanese: the words of the pages, the answers of the MCP tools, the refusals the server writes and the words of the pages of signing in. A name of ASCII (an ID, a person's address, a label of a kind written in English) is set off from the Japanese words next to it by one space, and set right next to a full-width mark (、。:「」()), wherever the sentence is made: `Leave request の履歴`, `Leave request:あなたの申請`, `チケット t-1(leave)は in_progress です。`.

A value a body does not take is said in the generated code's own sentence instead (the package server's said.go). A number is no name: a sentence sets it right next to its counter or unit and to the words before it, with no space (`明細の2行目`, `申請の種類は10種類です`, `10秒待ってから`), as the pages and the screens write numbers. A sentence writes its numbers so itself, in the text it gives Join, not as pieces of their own: a piece of digits alone may be a name (a person's ID), which Space cannot tell from a number. The package depends on the standard library alone, so that the pages (screens/page) use it as the server and the tools do.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join(pieces ...string) string

Join is the pieces of a Japanese sentence joined, with the space Space says between each two: Join("チケット", "t-1", "(", "leave", ")は", "in_progress", "です。") is "チケット t-1(leave)は in_progress です。". An empty piece is left out.

func Space

func Space(before, after string) string

Space answers the space between two pieces of a Japanese sentence set next to each other, by the end of before and the start of after: one space between a Japanese letter (kana, kanji) and a letter, a digit or a sign of another script (of ASCII, mostly); none next to a full-width mark or a space, at the sentence's start or end, or between two of one kind, which the pieces say as they are.

Types

This section is empty.

Jump to

Keyboard shortcuts

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