en-inflectors
Advanced tools
Comparing version 1.0.2 to 1.0.3
The MIT License (MIT) | ||
Copyright (c) 2016 Alex Corvi | ||
Copyright (c) 2017 Alex Corvi | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "en-inflectors", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "inflectors.js", |
@@ -49,8 +49,8 @@ # English Inflectors Library | ||
const inflectors = require("en-inflectors"); | ||
inflectors.pluralize("mouse"); | ||
// > mice | ||
inflectors.pluralize("goose"); | ||
// > geese | ||
inflectors.pluralize("river"); | ||
// > rivers | ||
inflectors.singularize("mice"); | ||
// > mouse | ||
inflectors.singularize("geese"); | ||
// > goose | ||
inflectors.singularize("rivers"); | ||
// > river | ||
``` | ||
@@ -77,2 +77,4 @@ | ||
Verb conjugation can take a verb (in any tense) and convert it into the required tense. | ||
```javascript | ||
@@ -84,3 +86,3 @@ const inflectors = require("en-inflectors"); | ||
// plays | ||
inflectors.conjugate("transcribes","VBP"); | ||
inflectors.conjugate("transcribes","VBD"); | ||
// transcribed | ||
@@ -117,6 +119,6 @@ inflectors.conjugate("goes","VBN"); | ||
> __Note__ | ||
> For better, more accurate results, pass the verb in it's infinitive form (`go` instead of `goes`). although this library has been written to be agnostic about the form of the inputs, but the test results has proven that it's quite hard to achieve that with full accuracy. | ||
> Note: for better, more accurate results, pass the verb in it's infinitive form (`go` instead of `goes`). although this library has been written to be agnostic about the form of the inputs, but the test results has proven that it's quite hard to achieve that with full accuracy. | ||
## Additional functionalities | ||
@@ -123,0 +125,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216711
135