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 ¶
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 ¶
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.