Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Use MoreText.js to generate chinese text for good.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Manifest
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 moretext-0.1.0.gem
Octocat-spinner-32 moretext.gemspec
README.rdoc

MoreText.js for Ruby

Use MoreText.js to generate chinese text for good.

This gem provide a command “moretext”, as well as API to access the service programmatically.

Help

Install

  • gem install moretext

Usage

Type “moretext” command on Mac/Linux, or “ruby -S moretext” on Windows:

$ moretext

還不賴,還不賴,還不賴,還不賴?

To generate more texts:

$ moretext 10

雖受過欺負,奉行正朔,和純真的孩童們,就是金錢。

便以身體的重力倒下去,那黑暗雖在幾百層的地底,不是一件很合理得快活的事嗎?

這一句千古名言,本來是橫逆不過的。

十五年前的熱鬧,不教臉紅而已。

也沒有走到自由之路的慾望,覺得分外悠遠,一時看鬧熱的人,這是什麼言語?

汝算不到,和他們做新過年。

所以也不擔心到,到城裡去啊!

還有被人家欺辱得不堪的,不趕他出去,老不死的混蛋!

再回到現實世界,過年,汝們吵鬧過人家罷?

甲興奮地說,前進!

Use MoreText in ruby programs:

  • require 'moretext'

  • puts MoreText.sentenses(1)

Thanks

Something went wrong with that request. Please try again.