lexicor 0.1.4 copy "lexicor: ^0.1.4" to clipboard
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 in LexicorService that runs once upon construction.
    • All SQL queries (lookup, related, lemmatize, morphology) are now PreparedStatement instances, compiled once and reused for the lifetime of the service.
    • The close() method is updated to dispose of all prepared statements.
  • Example Application:

    • The lexicor_demo.dart example 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.

0.1.3 #

  • Documentation: Fixed typo in README.

0.1.2 #

  • Refactor: Consolidated the internal ConceptImpl class into concept.dart to improve code organization while maintaining strict API encapsulation.
  • Features: Added example/check_db_size.dart tool 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.dart to demonstrate lookup, filtering, and relationship traversal.
  • Dev: Added benchmark.dart to measure performance differences between Disk and Memory modes.
  • Documentation: polished README.md with 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 ROWID tables and custom indexes.
  • API:
    • Added Lexicor facade with init(), lookup(), and related() methods.
    • Added StorageMode to support both Disk (low memory) and In-Memory (high speed) operations.
    • Introduced SpeechPart, DomainCategory, and RelationType enums for strict typing.
    • Implemented automatic morphology resolution (e.g., resolving "better" to "good").
1
likes
130
points
291
downloads

Publisher

unverified uploader

Weekly Downloads

An optimized, strictly typed, offline interface for the Open English WordNet database.

Repository (GitHub)
View/report issues

Topics

#wordnet #dictionary #nlp #semantics #thesaurus

Documentation

API reference

License

MIT (license)

Dependencies

meta, path, sqlite3

More

Packages that depend on lexicor