README

tokipona

An attempt to put toki pona sentences into a grammatical structure close to how I conceptualize the langauge internally.

Expand ▾ Collapse ▴

Documentation

Overview

    Package tokipona contains utilities, helpers and relexers for Toki Pona.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Relex

    func Relex(inp string) string

      Relex does a very literal translation of Toki Pona to English. See http://tokipona.net/tp/Relex.aspx for the idea.

      Types

      type Word

      type Word struct {
      	Name     string   `json:"name"`
      	Gloss    string   `json:"gloss"`
      	Grammar  []string `json:"grammar"`
      	Category string   `json:"category,omitempty"`
      	Type     string   `json:"type,omitempty"`
      }

        Word is a single word in the Toki Pona dictionary.

        func LoadWords

        func LoadWords() ([]Word, error)

          LoadWords loads the embedded Toki Pona dictionary.

          Directories

          Path Synopsis
          Code generated by go-bindata.
          Code generated by go-bindata.