nomlishgo

package module
v0.0.0-...-37b6448 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 8 Imported by: 0

README

NomlishGo

Go上でノムリッシュ翻訳/ビジネッシュ翻訳(意識高い系ビジネス用語翻訳)を行えるパッケージです。
NomlishGo is a package for Nomlish Translation and Businessh Translation on Golang.

How to use

Instlation
go get github.com/chouzame/nomlishgo
Usage

Import

import "github.com/chouzame/nomlishgo"

Nomlish Translation

nom, err := nomlishgo.ToNomlish("text", 2)

Businessh Translation

bus, err := nomlishgo.ToBusinessh("text", 2)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusinesshResult

type BusinesshResult struct {
	Before     string
	After      string
	Percentage float64
}

func ToBusinessh

func ToBusinessh(text string, level int) (*BusinesshResult, error)

type NomlishResult

type NomlishResult struct {
	Before     string
	After      string
	Url        string
	UrlLines   string
	Percentage float64
}

func ToNomlish

func ToNomlish(text string, level int) (*NomlishResult, error)

Jump to

Keyboard shortcuts

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