bbalet / stopwords Goto Github PK
View Code? Open in Web Editor NEWRemoves most frequent words (stop words) from a text content. Based on a Curated list of language statistics.
License: Other
Removes most frequent words (stop words) from a text content. Based on a Curated list of language statistics.
License: Other
why no chinese ?
It seems that numbers are being treated as stop words. This should not be the case?
Bonjour Jacques, Comme je pense que tu es français, je me permets d'écrire cette "issue" in french !
Afin de procéder a des tests sur l'utilisation de stops words sur différents textes, la liste de stop words est stocké dans un ficher comprenant un stop word sur chaque ligne. Ainsi cela me permet de tester sans recomplier.
Il serait donc intéressant d'avoir une fonction avec le chemin du fichier de stop word a charger en lieu et place du code de langue. par ex. CleanStringFile(content string, fileName string, cleanHTML bool))
this is causing a panic error under high volume:
fatal error: concurrent map writes goroutine 30452 [running]: runtime.throw(0x10276a9, 0x15) /usr/local/go/src/runtime/panic.go:774 +0x72 fp=0xc0003fcea8 sp=0xc0003fce78 pc=0x42f1a2 runtime.mapassign_faststr(0xe7a2c0, 0xc015fe1500, 0x104e145, 0x4, 0xc0151b0e38) /usr/local/go/src/runtime/map_faststr.go:211 +0x417 fp=0xc0003fcf10 sp=0xc0003fcea8 pc=0x4132c7 github.com/bbalet/stopwords.LoadStopWordsFromString(0x104e101, 0xa1, 0x100b6d9, 0x2, 0x100b47b, 0x1) /go/pkg/mod/github.com/bbalet/[email protected]/custom.go:74 +0xd30 fp=0xc0003fcf98 sp=0xc0003fcf10 pc=0xd12a00 github.com/urbn/catalog-search-service/app/services.(*ProductService).GetProducts(0xc000576050, 0x7f4f63e60fc0, 0xc02521ec80, 0xc015df9400, 0x0, 0xc015e3c760, 0x1e, 0x1, 0x0, 0xc015e623b8, ...)
why no chinese ?
I want to contribute by adding the Urdu stop words file. Do I have to submit a PR?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.