Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering out nouns? #26

Open
k80w opened this issue May 19, 2016 · 5 comments
Open

Filtering out nouns? #26

k80w opened this issue May 19, 2016 · 5 comments

Comments

@k80w
Copy link

k80w commented May 19, 2016

Some of the phrases are nouns, so using superb() may generate incorrect sentences. For instance,

console.log("You're %s!", superb());
// You're bee's knees!

It'd be nice if there was some method of filtering results to just adjectives. Perhaps something like this

console.log("You're %s!", superb.adj());
// You're kickass!
@sindresorhus
Copy link
Owner

How many nouns are there?

@sindresorhus
Copy link
Owner

Actually, I think bee's knees is an adjective: https://en.wiktionary.org/wiki/the_bee%27s_knees

@k80w
Copy link
Author

k80w commented May 20, 2016

The bee's knees is; bees knees is not. Changing it in the dictionary to the bee's knees would still have problems, for example, the %s person could return the the bees knee's person, rather than something correct like the fabulous person

@sindresorhus
Copy link
Owner

From Wiktionary:

There is a new bee's knees every few minutes in New York.

No the there.

@k80w
Copy link
Author

k80w commented May 20, 2016

In that case, it's a noun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants