mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
![]() Decorates DocumentSentences with information about which HTML tags they are nested in, and removes some redundant data on this rather memory hungry object. Separator information is encoded as a bit set instead of an array of integers. The change also cleans up the SentenceExtractor class a fair bit. It no longer extracts ngrams, and a significant amount of redundant operations were removed as well. This is still a pretty unpleasant class to work in, but this is the first step in making it a little bit better. |
||
---|---|---|
.. | ||
java/nu/marginalia/keyword | ||
test/nu/marginalia | ||
test-resources/test-data | ||
build.gradle | ||
readme.md |
Keyword Extraction
This code deals with identifying keywords in a document, their positions in the document, their important based on TF-IDF and their grammatical functions based on POS tags.
Central Classes
See Also
- libraries/language-processing does a lot of the heavy lifting.