michaelklishin / english Goto Github PK
View Code? Open in Web Editor NEWNew home for English gem code
Home Page: http://english.rubyforge.org
License: Other
New home for English gem code
Home Page: http://english.rubyforge.org
License: Other
= English http://english.rubyforge.org English is a spin-off of Facets, collecting together all the English language libraries together under a single unified project. The English project intends to provided a general purpose set of English-oriented text manipulation and natural language processing Ruby libraries in one convenient package. The library thus far consists of censor.rb, double_metaphone.rb, dresner.rb, inflect.rb, jumble.rb, levenshtein.rb, metaphone.rb, numerals.rb, patterns.rb, porter_stemming.rb, roman.rb, similarity.rb, soundex.rb and textfilter.rb. == Release Notes Please see the NOTES file. == Usage Please see the API documentation. == Install % gem install english or download the .zip file and install manually: % unzip english-x.y.z.zip % cd english-x.y.z % sudo task/setup For Windows users the last line needs to be 'ruby task/setup'. == Run test suite To run test suite, use ./task/test. == Authors * Trans * Paul Battley * Tim Fletcher * Derek Lewis * George Moschovitis * Michael Neumann == Changes Please see CHANGES files. == Copying English, Copyright (c) 2006–2008 Tiger Ops Some libraries within English are copyrighted to respective authors, or are derivatives of such acknowledged work. English is distributed under the terms of the Ruby License. Which is a dual GPL license.
Code: puts 1234.english – raises the below error
```
ArgumentError: wrong number of arguments (1 for 0)
from /usr/lib/ruby/gems/1.8/gems/english-0.3.1/lib/english/numerals.rb:68:in `name’
from /usr/lib/ruby/gems/1.8/gems/english-0.3.1/lib/english/numerals.rb:68:in `english’
from (irb):5
from /usr/local/lib/site_ruby/1.8/rubygems/version.rb:142
```
ruby = 1.8.7
english = 0.3.1
I think the English::Numerals.name method is clashing with Module#name.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.