text_indexing 0.15.0+1
text_indexing: ^0.15.0+1 copied to clipboard
Dart library for creating an inverted index on a collection of text documents.
THIS PACKAGE IS PRE-RELEASE AND SUBJECT TO DAILY BREAKING CHANGES.
0.15.0+1 #
Updated
- Dependencies.
- Documentation.
0.15.0 #
Breaking Changes:
- Renamed the following typedefs:
DictionarytoDftMap;DictionaryEntrytoDftMapEntry;DictionaryLoadertoDftMapLoader;DictionaryUpdatertoDftMapUpdater;DictionaryLengthLoadertoVocabularySize;KGramIndextoKGramsMap;KGramIndexLoadertoKGramsMapLoader;KGramIndexUpdatertoKGramsMapUpdater;PostingstoPostingsMap;PostingsEntrytoPostingsMapEntry;PostingsLoadertoPostingsMapLoader;PostingsUpdatertoPostingsMapUpdater;FieldPostingsEntrytoZonePostingsMapEntry;ZonePostingstoZonePostingsMap;DocumentPostingsEntrytoDocPostingsMapEntry; andDocumentPostingstoDocPostingsMap.
- Removed
HiveIndexfrom thetestfolder. - Removed
_asyncIndexerExamplefrom the `example folder. - Renamed the
text_indexing_extensionsmini-library toextensions. - Renamed the
text_indexing_type_definitionsmini-library totype_definitions.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.14.7 #
New:
- Added package exports from
text_analysistotype_definitionsandextensionslibraries.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.14.5+1 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.14.5 #
Updated
- Dependencies.
0.14.4 #
Updated
- Dependencies.
0.14.3+1 #
Updated
- Documentation.
0.14.3 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.14.2 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.14.1+1 #
Updated
- Documentation.
0.14.1 #
New:
- Added extension property
KGramIndex.terms.
Updated
- Documentation.
0.14.0+1 #
Updated
- Documentation.
0.14.0 #
Breaking Changes:
- Removed class
TextSource. - Removed class
Sentence. - Removed class
TermPair. - Removed
TextAnalyzerConfiguration.sentenceSplitterfromTextAnalyzerConfigurationinterface. - Changed
TextTokenizer.tokenizereturn value toList<Token>. - Changed
TextTokenizer.tokenizeJsonreturn value toList<Token>. - Re-structured codebase. \
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.13.0+3 #
Updated
- Documentation.
0.13.0+2 #
Updated
- Documentation.
0.13.0+1 #
Updated
- Documentation.
0.13.0 #
BREAKING CHANGES
Breaking changes:
- Removed
TextIndexer.async,TextIndexer.indexandTextIndexer.inMemoryfactory constructors. - Added a new unnamed factory constructor for
TextIndexer. - Re-structured codebase.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.12.0+1 #
Updated dependencies and documentation.
0.12.0 #
BREAKING CHANGES
Breaking changes:
- Added method
InvertedIndex.getKGramIndextoInvertedIndexinterface. - Added method
InvertedIndex.upsertKGramIndextoInvertedIndexinterface. - Added field
InvertedIndex.ktoInvertedIndexinterface. - Removed field
TextIndexer.postingsStream. - Renamed method
TextIndexer.emittoTextIndexer.updateIndexes. - Added
AsyncIndex.k,AsyncIndex.kGramIndexLoaderandAsyncIndex.kGramIndexUpdaterfinal fields and parameters toAsyncIndexclass. - Added
InMemoryIndex.k, andInMemoryIndex.kGramIndexfinal fields and parameters toInMemoryIndexclass.
New:
- Type alias
KGramIndex. - Type alias
KGramIndexLoader. - Type alias
KGramIndexUpdater. - Extension method
void KGramIndex.addTermKGrams(Term term, Iterable<KGram> kGrams).
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.11.0 #
New:
- Mixin class
AsyncCallbackIndexMixin. - Mixin class
InMemoryIndexMixin.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.10.0 #
Breaking changes:
TextIndexerBasedefault generative constructor is no longer markedconstas it has a method body that initializes listeners toTextIndexer.documentStreamandTextIndexer.collectionStream.
New:
- Input stream fields
TextIndexer.documentStreamandTextIndexer.collectionStreamadded toTextIndexerinterface.- - Optional named parameter
Stream<Map<String, Map<String, dynamic>>>? collectionStreamadded to added toTextIndexer.async,TextIndexer.inMemoryandTextIndexer.indexfactory contructors.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.9.0 #
Breaking changes:
- Renamed
InvertedPositionalZoneIndexinterface toInvertedIndex. - Renamed
TextIndexer.instancefactory toTextIndexer.index. - Parameter
dictionaryLengthLoaderadded toAsynCallbackIndexconstructor; - Parameter
dictionaryLengthLoaderadded toAsyncIndexerconstructor; - Parameter
dictionaryLengthLoaderadded toTextIndexer.asyncfactory constructor; - Removed class
InMemoryIndexer, use factory constructorTextIndexer.inMemoryin stead. - Removed class
AsyncIndexer, use factory constructorTextIndexer.asyncin stead.
New:
- Type definition
FtdPostings. - Type definition
IdFtIndex. - Type definition
IdFt. - Type definition
ZoneWeightMap. - Field getter
Future<int> InvertedIndex.vocabularyLength. - Field getter
Future<int> Function() AsynCallbackIndex.dictionaryLengthLoader; - Field getter
int InvertedIndex.phraseLength. - Field getter
ZoneWeightMap InvertedIndex.zones. - Optional named parameter
ZoneWeightMap zonesadded toTextIndexer.asyncfactory. - Optional named parameter
ZoneWeightMap zonesadded toTextIndexer.inMemoryfactory. - Method
Future<FtdPostings> InvertedIndex.getFtdPostings(Iterable<Term>, int). - Method
Future<IdFtIndex> InvertedIndex.getIdFtIndex(Iterable<Term>). - Method
Future<Dictionary> InvertedIndex.getTfIndex(Iterable<Term>).
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.8.0+1 #
Updated dependencies
0.8.0 #
BREAKING CHANGES
Breaking changes:
- Implementation of
TextIndexer.indexTextchanged to also insert postings for every pair of terms in the source text.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.7.2+1 #
Updated dependencies
0.7.2 #
Updated dependencies
0.7.1 #
Updated dependencies
0.7.0 #
BREAKING CHANGES
Breaking changes:
- Renamed
Postings.documentsextension method toPostings.docIds.
New:
- Extension method
Set<DocId> containsAll(Iterable<Term>) - Extension method
Set<DocId> containsAny(Iterable<Term>)
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.6.0 #
BREAKING CHANGES
Breaking changes:
- Changed signature of extension method
Postings.termPostingsList(Term)toPostings.termPostingsList([Iterable<Term>?]). - Removed field
InMemoryIndexer.dictionary. UseInMemoryIndexer.index.dictionaryinstead. - Removed field
InMemoryIndexer.postings. UseInMemoryIndexer.index.postingsinstead. - Removed method
TextIndexer.upsertDictionary. UseTextIndexer.index.upsertDictionaryinstead; - Removed method
TextIndexer.getDictionary. UseTextIndexer.index.getDictionaryinstead; - Removed method
TextIndexer.getPostings. UseTextIndexer.index.getPostingsinstead; - Removed method
TextIndexer.upsertPostings. UseTextIndexer.index.upsertPostingsinstead. - Removed field
InMemoryIndexer.dictionary. Useindex.dictionaryinstead. - Removed field
InMemoryIndexer.postings. Useindex.postingsinstead. - Added new field
InvertedIndex.analyzer, changing the signatures of factory constructorsTextIndexer.inMemoryand 'TextIndexer.async'.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.6.0-2 #
BREAKING CHANGES
Breaking changes:
- Changed signature of extension method
Postings.termPostingsList(Term)toPostings.termPostingsList([Iterable<Term>?]).
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.6.0-1 #
BREAKING CHANGES
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.5.0 #
BREAKING CHANGES
Deprecated:
- Field
InMemoryIndexer.dictionaryis deprecated. Useindex.dictionaryinstead. - Field
InMemoryIndexer.postingsis deprecated. Useindex.postingsinstead.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.4.0 #
BREAKING CHANGES
Breaking changes:
- Renamed method
TextIndexer.indextoTextIndexer.indexText. - Renamed class
PersistedIndexertoAsyncIndexer.
New:
InvertedIndexinterface and implementation.TextIndexer.indexfield getter.TextIndexer.indexfactory constructor.TextIndexer.asyncfactory constructor.TextIndexer.inMemoryfactory constructor.
Deprecated:
- Method
TextIndexer.upsertDictionaryis deprecated. UseTextIndexer.index.upsertDictionaryinstead; - Method
TextIndexer.getDictionaryis deprecated. UseTextIndexer.index.getDictionaryinstead; - Method
TextIndexer.getPostingsis deprecated. UseTextIndexer.index.getPostingsinstead; - Method
TextIndexer.upsertPostingsis deprecated. UseTextIndexer.index.upsertPostingsinstead. - Field
InMemoryIndexer.dictionaryis deprecated. Useindex.dictionaryinstead. - Field
InMemoryIndexer.postingsis deprecated. Useindex.postingsinstead.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.3.2 #
New:
JSONandJsonCollectiontype aliases.TextIndexer.indexCollectionmethod.PostingsExtension.documentsgetter.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.3.1 #
New:
JSONandJsonCollectiontype aliases.- implemented
TextIndexer.indexCollectionmethod.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.3.0 #
BREAKING CHANGES
Breaking changes:
- Removed interface
Document.
0.2.0 #
BREAKING CHANGES
New:
ZonePostings,DocumentPostings, andFieldPostingsEntrytype definitions.Ft,Pt,TermPositionsandDocIdtype aliases.- interface
Document.
Breaking changes:
- Replaced object-model class
PostingsEntrywith typedefPostingsEntry. - Replaced object-model class
DocumentPostingsEntrywith typedefDocumentPostingsEntry. - Replaced object-model class
DictionaryEntrywith typedefDictionaryEntry.
Restructured and simplified the codebase.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.1.0 #
New:
ITextIndexer.indexJsonmethod.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.2+1 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.2 #
New:
text_analysispackage to exports.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+10 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+9 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+8 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+7 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+6 #
New:
- Re-worked private methods to suit changes in text_analysis package.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+5 #
Updated
- Dependencies.
0.0.1+4 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+3 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1+2 #
Updated
- Documentation.
0.0.1+1 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1 #
BREAKING CHANGES
Interfaces finalized (see breaking changes)
Breaking changes:
TermDictionaryrenamedDictionary.DocumentPostingsEntryrenamedPostings.PostingsMapEntryrenamedPostingsEntry.TermrenamedDictionaryEntry.TermPositionsrenamedDocumentPostingsEntry.AsyncIndexerimplementation.TextIndexerBaseimplementation.InMemoryIndexerimplementation.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1-beta.4 #
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1-beta.3 #
BREAKING CHANGES
New:
AsyncIndexerclass.
Breaking changes:
TextIndexerBaseimplementation.InMemoryIndexerimplementation.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1-beta.2 #
New:
TextIndexerBase.InMemoryIndexer.
Updated
- Dependencies.
- Tests.
- Examples.
- Documentation.
0.0.1-beta.1 #
Initial version.