Reducing a superlative/comparative adjective to its "base" form #861
Unanswered
scpedicini
asked this question in
Q&A
Replies: 2 comments
-
you know, i've never thought of that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
i am working on v14 right now, but can add this once that's ready later this summer |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that compromise has functions in the compromise-adjectives plugin for conjugating as a comparative/superlative:
nlp('tasty').adjectives(0).toSuperlative().out()
=> "tastiest"Is it possible to reverse the process, eg:
nlp('A noble spirit embiggens the smallest man').adjectives(1).terms().json({baseForm: true})
Something equivalent to that which would produce: "small".
I tried looking around the documentation but couldn't find anything, just want to make sure I'm not missing anything obvious.
Beta Was this translation helpful? Give feedback.
All reactions