Akin.Task behaviour (Akin v0.1.7) View Source

API for all string comparison modules.

Link to this section Summary

Link to this section Callbacks

Link to this callback

compare(%Akin.Corpus{}, %Akin.Corpus{})

View Source (optional)

Specs

compare(
  %Akin.Corpus{
    list: term(),
    original: term(),
    set: term(),
    stems: term(),
    string: term()
  },
  %Akin.Corpus{
    list: term(),
    original: term(),
    set: term(),
    stems: term(),
    string: term()
  }
) :: number() | map()
Link to this callback

compare(%Akin.Corpus{}, %Akin.Corpus{}, t)

View Source

Specs

compare(
  %Akin.Corpus{
    list: term(),
    original: term(),
    set: term(),
    stems: term(),
    string: term()
  },
  %Akin.Corpus{
    list: term(),
    original: term(),
    set: term(),
    stems: term(),
    string: term()
  },
  Keyword.t(any())
) :: number() | map()