lexicor 0.1.4
lexicor: ^0.1.4 copied to clipboard
An optimized, strictly typed, offline interface for the Open English WordNet database.
0.1.4 #
-
Performance:
- Introduced a
_prepareStatements()method inLexicorServicethat runs once upon construction. - All SQL queries (
lookup,related,lemmatize,morphology) are nowPreparedStatementinstances, compiled once and reused for the lifetime of the service. - The
close()method is updated to dispose of all prepared statements.
- Introduced a
-
Example Application:
- The
lexicor_demo.dartexample is expanded with more lookup tests to demonstrate morphology resolution (e.g.,fetching->fetch) and handling of non-existent words. - The filtering demonstration now covers all parts of speech, including adjectives, adverbs, and adjective satellites.
- The
0.1.3 #
- Documentation: Fixed typo in README.
0.1.2 #
- Refactor: Consolidated the internal
ConceptImplclass intoconcept.dartto improve code organization while maintaining strict API encapsulation. - Features: Added
example/check_db_size.darttool to analyze database table and index sizes. - Documentation: Updated README with accurate database statistics (size breakdown) and license details.
0.1.1 #
- Examples: Added
lexicor_demo.dartto demonstrate lookup, filtering, and relationship traversal. - Dev: Added
benchmark.dartto measure performance differences between Disk and Memory modes. - Documentation: polished
README.mdwith installation steps and Flutter integration guide.
0.1.0 #
- 🚀 Initial Release: Launched Lexicor, the strictly typed Open English WordNet interface.
- Database: Embedded a highly optimized SQLite database (v2.3.2) with
WITHOUT ROWIDtables and custom indexes. - API:
- Added
Lexicorfacade withinit(),lookup(), andrelated()methods. - Added
StorageModeto support both Disk (low memory) and In-Memory (high speed) operations. - Introduced
SpeechPart,DomainCategory, andRelationTypeenums for strict typing. - Implemented automatic morphology resolution (e.g., resolving "better" to "good").
- Added