Text categorization with Apache Lucene
summary
Uses an Apache Lucene index itself as the trained model to do text categorization with no external ML libraries, indexing BBC dataset 2,225 articles into five categories and querying with a MoreLikeThis query + term vectors while aggregating by average score. The demo shows correct labels for news articles (tech, business, sports, entertainment) with simple index settings; it performs poorly on very short texts and is best for longer unstructured articles rather than tweets or short snippets.
AI-written summary · about
chapters (6)
- 0:00Introduction to text categorization
- 1:15Dataset and indexing setup
- 3:05Live categorization demo
- 6:13How term vectors work
- 8:21Vector space model explained
- 9:23Further resources and live demo
related talks
25mApache Lucene: From Text Indexing to Artificial Intelligence
46mFull-Text Search Internals with Elasticsearch
39mEntity Linking at scale with Lucene
42mBuilding a real-time news search engine #bbuzz
55mFull-Text Search Demystified
01h 04mApache Lucene 8, Apache Solr and Elasticsearch – an Overview
37mAlgorithms & data-structures that power Lucene & ElasticSearch
19mVectorize Your Open Source Search Engine
