From 91aa261de0b06fe65e4f25224c12aa573216ec10 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Mon, 27 Sep 2010 08:24:47 -0700 Subject: [PATCH] Updated docs --- index.html | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index dab7ed2..284e6af 100644 --- a/index.html +++ b/index.html @@ -108,26 +108,7 @@ - - - - +

Lingo

Linguistics module for Node providing inflection, transformations and more.

language

lib/language.js
-

Initialize a new Language with the given lang.

- -

- -
  • param: String lang

  • api: public

-
-
var Language = module.exports = function Language(lang) {
-  this.lang = lang;
-  this.rules = {
-      plural: []
-    , singular: []
-    , uncountable: {}
-    , irregular: { plural: {}, singular: {}}
-  };
-};
-

inflection

lib/inflection.js
+ + +

Lingo

Linguistics module for Node providing inflection, transformations and more.

inflection

lib/inflection.js

Module dependencies.

@@ -266,6 +247,25 @@

return word == this.singularize(this.pluralize(word)); };

language

lib/language.js
+

Initialize a new Language with the given lang.

+ +

+ +
  • param: String lang

  • api: public

+
+
var Language = module.exports = function Language(lang) {
+  this.lang = lang;
+  this.rules = {
+      plural: []
+    , singular: []
+    , uncountable: {}
+    , irregular: { plural: {}, singular: {}}
+  };
+};
+

en

lib/languages/en.js

Module dependencies.