Skip to content

Releases: mathewsanders/Tally-Walker

The 🆕 normal

07 Dec 00:40
Compare
Choose a tag to compare
The 🆕 normal Pre-release
Pre-release

Added support for item normalization.

Updated

  • README is broken down into smaller sections.

Added

  • Added TallyNormalizer protocol for items to describe how they should be normalized.
  • Added normalized closure to Tally model so that models can define on a case-by-case situation how items should be normalized.

Persistence is futile 🔑

05 Dec 01:15
Compare
Choose a tag to compare
Pre-release

This release is all about enabling Tally models to have a custom stores, which in turn allows for features like persistence!

Updated

  • n-grams are represented by an array of NgramElement instead of Node.
  • Tally is updated so that the representation of the model is moved into a separate TallyStoreType object.

Added

  • TallyStoreType, the protocol defining implementation of a Tally store.
  • TallyStoreTreeNode, a protocol for the recommended approach of implementing TallyStoreType, but creating a tree-based store.
  • MemoryTallyStore, a tree-based in-memory store used by default for models. Available for use for any Hashable items.
  • CoreDataTallyStore, a tree-based store backed in turn by a Core Data store. Available for use for any LosslessConvertible items.
  • LosslessConvertible, a protocol which when implemented allows a type to convert between itself, and a representation that can be stored within the CoreDataTallyStore object model.
  • Simple example of iOS app using Tally to implement a predictive text view for a text field.
  • New logo!

Fixed

  • Access level errors so that Tally can be used when imported as a framework.

Initial feedback

25 Oct 16:37
Compare
Choose a tag to compare
Initial feedback Pre-release
Pre-release
0.1.0

Readme errata.