persian

package
v0.0.0-...-eccd834 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Copyright (C) 2024 Rangertaha

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

View Source
const LANGUAGE string = "fa"

Variables

View Source
var Keyboards = []Keyboard{
	{
		Lang:        LANGUAGE,
		Code:        "fa1",
		Name:        "Persian",
		Description: "Persian standard layout",
		Layout: []string{
			"۱۲۳۴۵۶۷۸۹۰-  ",
			" چجحخهعغفقثصض",
			"  گکمنتالبیسش",
			"     وپدذرزطظ"},
	},
}
View Source
var (

	// Persian language
	Language = Persian{
		// contains filtered or unexported fields
	}
)

Functions

This section is empty.

Types

type Keyboard

type Keyboard struct {
	Lang        string
	Code        string
	Name        string
	Description string
	Layout      []string
}

func (*Keyboard) Id

func (k *Keyboard) Id() string

func (*Keyboard) Language

func (k *Keyboard) Language() string

func (*Keyboard) Languages

func (k *Keyboard) Languages() []urlinsane.Language

func (*Keyboard) Layouts

func (k *Keyboard) Layouts() []string

func (*Keyboard) Summary

func (k *Keyboard) Summary() string

func (*Keyboard) Title

func (k *Keyboard) Title() string

type Persian

type Persian struct {
	// contains filtered or unexported fields
}

func (*Persian) Antonyms

func (l *Persian) Antonyms() map[string][]string

func (*Persian) Description

func (l *Persian) Description() string

func (*Persian) Graphemes

func (l *Persian) Graphemes() []string

func (*Persian) Homoglyphs

func (l *Persian) Homoglyphs() map[string][]string

func (*Persian) Homophones

func (l *Persian) Homophones() [][]string

func (*Persian) Id

func (l *Persian) Id() string

func (*Persian) Keyboards

func (l *Persian) Keyboards() []urlinsane.Keyboard

func (*Persian) Misspellings

func (l *Persian) Misspellings() [][]string

func (*Persian) Name

func (l *Persian) Name() string

func (*Persian) Numerals

func (l *Persian) Numerals() map[string][]string

func (*Persian) Vowels

func (l *Persian) Vowels() []string

Jump to

Keyboard shortcuts

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