Spam classifier in Go using Naive Bayes
Spam classifier in pure Go using Naive Bayes. Contribute to igomez10/nspammer development by creating an account on GitHub.
Spam classifier in Go using Naive Bayes launched on November 8, 2025 with 29 votes, #548 of 9,796 launches that month and more than 90% of that year's launches.
In plain words
This is a spam classification tool built in Go that uses Naive Bayes machine learning to identify unwanted messages. It's designed for developers who need to filter spam from legitimate content in their applications. The project provides a straightforward implementation of the Naive Bayes algorithm, making it suitable for those building email systems, chat applications, or other platforms requiring automated message filtering.
written from the facts on this page · September 2026
From the sources
A Naive Bayes spam classifier implementation in Go, enabling text classification system using the Naive Bayes algorithm with Laplace smoothing to classify messages as spam or not spam. go get github.com/igomez10/nspammer Usage Basic Example package main import ( "fmt" "github.com/igomez10/nspammer" ) func main () { // Create training dataset (map[string]bool where true = spam, false = not spam) trainingData := map [ string ] bool { "buy viagra now" : true , "get rich quick" : true , "meeting at 3pm" : false , "project update report" : false , } // Create and train classifier classifier := nspammer . NewSpamClassifier ( trainingData ) // Classify new messages isSpam := classifier . Classify…from github.com
Does a similar job
all alternatives →
Using word vectors to classify spam messages2017 · github.com · ▲104Using word vectors to classify spam messages. Contribute to doodyparizada/word2vec-spam-filter development by creating an account on GitHub.
- SCSubreddit classifier using scikit-learn and a high-performance Go proxy2016 · ioloop.io · ▲170
- ACA client-side Bayes classifier for Hacker News2012 · rogerbraun.net · ▲119



More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 29d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, November 2025
the whole month →
Guideflow▲1,338Create interactive product demos and step-by-step guides in seconds with Guideflow, the leading AI-powered demo automation tool.
AI · Nov 2025 · guideflow.com

Hardware and software projects by Ali Roberts
Life & fun · Nov 2025 · bitsnpieces.dev
Welltory▲1,028Measure your wellness. Use data to feel great every day.
Work · Nov 2025 · welltory.com

TrustMRR▲833LLM Gateway is a b2b artificial intelligence based in United States, founded in 2025. $259,539/month in verified Stripe revenue. $78,764 MRR. Ahrefs Domain Rating 52/100. growing 55% month-over-month. Track LLM Gateway's verified metrics on TrustMRR.
Growth · Nov 2025 · trustmrr.com
Boing▲782Life & fun · Nov 2025 · boing.greg.technology