NovelAnalyzer - wraps your choice of Lucene Analyzer and filters out all "boilerplate" text [LUCENE-725]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This is a class I have found to be useful for analyzing small (in the hundreds) collections of documents and removing any duplicate content such as standard disclaimers or repeated text in an exchange of emails.
This has applications in sampling query results to identify key phrases, improving speed-reading of results with similar content (eg email threads/forum messages) or just removing duplicated noise from a search index.
To be more generally useful it needs to scale to millions of documents - in which case an alternative implementation is required. See the notes in the Javadocs for this class for more discussion on this
---
Migrated from [LUCENE-725](https://issues.apache.org/jira/browse/LUCENE-725) by Mark Harwood (@markharwood), updated Jul 24 2013
Attachments: [NovelAnalyzer.java](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-725/NovelAnalyzer.java) (versions: 4)
Contributor guide
Research direction
Start with the attached NovelAnalyzer.java and the Javadocs referenced in the issue, then review the discussion and prior attachment versions. Define a scalable alternative for collections of millions of documents while preserving the stated boilerplate-removal behavior; completion criteria are not otherwise specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100