UNPKG

compromise

Version:
20 lines (17 loc) 342 B
'use strict'; 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;