没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > nlipsum |
|
nlipsum
|
| 0 | 0 | 0 |
| 贡献者 | 讨论 | 代码提交 |
NLipsum : Lorem Ipsum (Lipsum) Generator and Library for the .NET Framework 2.0 (C#)This project was vaguely inspired by Lipsum : the text generator written in Python and wxPython
http://lipsum.sourceforge.net/
Similar to the Python Lipsum, you are not bound to generate only "Lorem ipsum..." style text. There are a dozen different text-generation sources in several languages, all of which come from the Python Lipsum. You can also easily include your own text source!
The built in text sources:
Lorem Ipsum (Lipsum) (of course) Childe Harold's Pilgrimage (Lord Byron) Decameron - Novella Prima (Giovanni Boccaccio) Faust (Goethe), German In der Fremde (Heinrich Heine), German Le Bateau Ivre (Arthur Baudelaire), French Le Masque (Arthur Rembaud), French Nagyon fáj (József Attila), Hungarian Ómagyar-Mária siralom (Ismeretlen), Hungarian Robinsono Kruso (Daniel Defoe), Esperanto The Raven (Edward Allen Poe), English Tierra y Luna (Federico García Lorca), Spanish
NLipsum will choose a random selection of words from your text source and combine them into sentences and combine those sentences into paragraphs. You can request very specific criteria for your generated text or just let the defaults go to work. Generating text in HTML format is a breeze and there are built-in utility methods for HTML generation (paragraph tags).
All code was written in C# using the .NET Framework 2.0, Visual Studio 2005. Support for the .NET 1.1 framework may be included at a future date depending on demand. Also, since this is open source you're always welcome to modify the code and submit your own changes for compatibility.
标签:
