Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name used for all components Name = "multilang" // LangDivider is a special symbol added to the end of the input // after that symbol detected lang name is stored LangDivider = byte('_') )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CharFilter ¶
type CharFilter struct {
// contains filtered or unexported fields
}
CharFilter detects input language and appends it to the input bytes
func (*CharFilter) Filter ¶
func (c *CharFilter) Filter(input []byte) []byte
Filter detects input language and appends it to the end of the input bytes
Click to show internal directories.
Click to hide internal directories.