LexorankEx (lexorank_ex v0.1.1)

Link to this section Summary

Functions

Returns middle point between two strings.

The result is a middle rank for NumerialSystem with radix == 62

Returns next lexically greater value for provider rank

Returns next lexically lesser value for provider rank

Link to this section Functions

Link to this function

between(string, string)

Returns middle point between two strings.

between("a", "c") => "b"

between("a", "b") => "aV"

Link to this function

maximum_value()

Link to this function

middle(division)

The result is a middle rank for NumerialSystem with radix == 62

Link to this function

minimum_value()

Link to this function

next(rank, step \\ 8)

Returns next lexically greater value for provider rank

LexorankEx.next("a") => "i" default step is 8

LexorankEx.next("a", step = 1) => "b"

Link to this function

prev(rank, step \\ 8)

Returns next lexically lesser value for provider rank

LexorankEx.prev("i") => "a" default step is 8

LexorankEx.prev("b", step = 1) => "a"