essence v0.2.0 Essence.Utils

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

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

Functions

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.