UNPKG

compromise

Version:

modest natural language processing

22 lines (18 loc) • 478 B
import merge from './_lib.js' import tagWords from '../_lib.js' import person from './_person.js' import tags from '../../tagSet/aliases.js' const { Place: p } = tags // 'paris hilton' vs 'paris france' const place = { beforeTags: { Place: p }, afterTags: { Place: p, Abbreviation: p }, beforeWords: tagWords('in by near from to', p), afterWords: tagWords('in by near from to government council region city', p), } export default merge(place, person)