Essence.Document.one_contexts_of
You're seeing just the function
one_contexts_of
, go back to Essence.Document module for more information.
Link to this function
one_contexts_of(doc, token)
Specs
one_contexts_of( doc :: %Essence.Document{ meta: term(), nested_tokens: term(), text: term(), type: term(), uri: term() }, token :: String.t() ) :: List.t()
Returns a list of all the 1-contexts (1 token to the left, 1 token to the right) of the
given token
in the given document
, excluding the token itself.