Comparing version 0.1.8 to 0.1.9
@@ -20,3 +20,3 @@ { | ||
], | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"licenses": [ | ||
@@ -23,0 +23,0 @@ { |
@@ -97,4 +97,8 @@ /*! | ||
// rule 5: convert a common noun (NN or NNS) to a adjective if it ends with "al" | ||
if (startsWith(ret[i], "NN") && endsWith(word, "al")) | ||
ret[i] = i, "JJ"; | ||
// bug: this applies also to NNP NNPS | ||
// bug: it said here: endsWith(word, "al"), this should be: endsWith(words[i], "al") | ||
//if (startsWith(ret[i], "NN") && endsWith(word, "al")) | ||
if (((ret[i] === "NN") || (ret[i] === "NNS")) && endsWith(words[i], "al")) | ||
//ret[i] = i, "JJ"; | ||
ret[i] = "JJ"; | ||
// rule 6: convert a noun to a verb if the preceding work is "would" | ||
@@ -101,0 +105,0 @@ if (i > 0 && startsWith(ret[i], "NN") && words[i - 1].toLowerCase() == "would") |
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
4037960
298097