Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gongo/emacs-gimei
Random Japanese name generator
https://github.com/gongo/emacs-gimei
Last synced: about 4 hours ago
JSON representation
Random Japanese name generator
- Host: GitHub
- URL: https://github.com/gongo/emacs-gimei
- Owner: gongo
- Created: 2015-06-05T17:54:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-06T11:55:01.000Z (over 9 years ago)
- Last Synced: 2024-05-02T06:06:55.592Z (6 months ago)
- Language: Emacs Lisp
- Size: 297 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
emacs-gimei
====================[![Build Status](https://travis-ci.org/gongo/emacs-gimei.svg?branch=master)](https://travis-ci.org/gongo/emacs-gimei)
[![Coverage Status](https://coveralls.io/repos/gongo/emacs-gimei/badge.svg)](https://coveralls.io/r/gongo/emacs-gimei)Emacs Lisp port of [willnet/gimei](https://github.com/willnet/gimei).
Usage
--------------------```lisp
(require 'gimei);;
;; Generate name
;;(setq name (gimei/new-name))
(gimei/kanji-of name) ;; "浅野 深桜"
(gimei/hiragana-of name) ;; "あさの みお"
(gimei/katakana-of name) ;; "アサノ ミオ"
(gimei/last:kanji-of name) ;; "浅野"
(gimei/last:hiragana-of name) ;; "あさの"
(gimei/last:katakana-of name) ;; "アサノ"
(gimei/first:kanji-of name) ;; "深桜"
(gimei/first:hiragana-of name) ;; "みお"
(gimei/first:katakana-of name) ;; "ミオ"(gimei/kanji-of (gimei:new-male)) ;; "篠田 繁夫"
(gimei/kanji-of (gimei:new-female)) ;; "稲葉 澪"(gimei/male-p (gimei:new-male)) ;; t
(gimei/female-p (gimei:new-female)) ;; t;;
;; Generate address
;;(setq address (gimei/new-address))
(gimei/address:kanji-of address) ;; "山梨県杵築市宮浦"
(gimei/address:hiragana-of address) ;; "やまなしけんきつきしみやのうら"
(gimei/address:katakana-of address) ;; "ヤマナシケンキツキシミヤノウラ"(gimei/address:prefecture:kanji-of address) ;; "山梨県"
(gimei/address:city:hiragana-of address) ;;"きつきし"
(gimei/address:town:katakana-of address) ;; "ミヤノウラ";;
;; Else..
;;(gimei/kanji) ;; "宮原敏也"
(gimei/hiragana) ;; "あだちてつ"
(gimei/katakana) ;; "キシモトコタロウ"(gimei/address:kanji) ;; "神奈川県河内長野市藤助新田"
(gimei/address:hiragana) ;; "みえけんわたりぐんやまもとちょうきたじゅう"
(gimei/address:katakana) ;; "オオサカフコユグンシントミチョウナカノバタチョウ"
```SEE ALSO
--------------------- [willnet/gimei](https://github.com/willnet/gimei)
- [mattn/go-gimei](https://github.com/mattn/go-gimei)License
--------------------MIT License