Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
crawdog
on Aug 4, 2020
|
parent
|
context
|
favorite
| on:
Let's build a full-text search engine
You could build a bloom filter with the profane words, then check your tokens for the page against that filter.
teraflop
on Aug 4, 2020
|
next
[–]
That would make sense if your list of expletives was too large to fit in memory, which would be... impressive, to say the least.
GordonS
on Aug 4, 2020
|
parent
|
next
[–]
I'm Scottish, and I'll say it's definitely possible :p
Keyframe
on Aug 4, 2020
|
prev
[–]
if profanities were single words only. What if they weren’t? You’d have to have a giant list of permutations and build a huge-ass bloom filter. Still doable though, but then spelling errors (or not)...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: