stopword
Version:
A module for node.js and the browser that takes in text and returns text that is stripped of stopwords. Has pre-defined stopword lists for 62 languages and also takes lists with custom stopwords as input.
8 lines (7 loc) • 485 B
JavaScript
const num123 = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
const numFas = ['۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹', '۰']
const numKor = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
const numMya = ['၀', '၁', '၂', '၃', '၄', '၅', '၆', '၇', '၈', '၉']
const numTel = ['౦', '౧', '౨', '౩', '౪', '౫', '౬', '౭', '౮', '౯']
const _123 = [...num123, ...numFas, ...numKor, ...numMya, ...numTel]
export { _123 }