ontocast.text_utils
¶
render_text_hash(text, digits=12)
¶
Generate a hash for the given text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
text
|
str
|
The text to hash |
required |
digits
|
Number of digits in the hash (default: 12) |
12
|
Returns:
Type | Description |
---|---|
str
|
A string hash of the text |