compromise
Version:
natural language processing in the browser
20 lines (17 loc) • 342 B
JavaScript
;
const Text = require('../../index');
class Adverbs extends Text {
data() {
return this.mapTerms((t) => {
return {
adjectiveForm: t.adverb.adjectiveForm(),
normal: t.normal,
text: t.text
};
});
}
static find(r) {
return r.match('#Adverb+');
}
}
module.exports = Adverbs;