Essence.Utils (essence v0.3.0)

This module contains various utility functions that simplify a number of the NLP tasks in Essence.

Link to this section Summary

Functions

Sorts a given map either by :value or :key using the supplied order_fun for comparison between elements. Returns an ordered list of {key, value} tuples.

Link to this section Functions

Link to this function

map_sort(map, order_fun \\ &>/2, by \\ :value)

Sorts a given map either by :value or :key using the supplied order_fun for comparison between elements. Returns an ordered list of {key, value} tuples.