RTF
Supported formats
RTF (Rich Text Format)
Description
The RTF format is a cross-platform document file format supporting various text formatting options. It's widely supported by all popular document processors on all platforms. This backend extracts the text from RTF documents for further processing.
info
Available in Contextal Platform 1.0 and later.
Symbols
Object
LIMITS_REACHED
→ limits triggered while processing the document
Children
TOOBIG
→ the extracted text was truncated as it reached the limits
Example Metadata
{
"org": "ctx",
"object_id": "ae0d488174fde3384303b31ed01cb3862c4c37afb7ef7d9e623dd3f92612d4d8",
"object_type": "RTF",
"object_subtype": null,
"recursion_level": 1,
"size": 17180,
"hashes": {
"sha512": "197941fdc897211952c14e3177c445b66d0c9099bf405b5d6d7d34a064f06d022007eefed1c369dc61929340990026ea6753a81ae5ae7e4f93c4a531b0c14af4",
"md5": "e9f4bf05ec05322e74344af3923e5c43",
"sha256": "ae0d488174fde3384303b31ed01cb3862c4c37afb7ef7d9e623dd3f92612d4d8",
"sha1": "b7f5dea770d379ded2d7737c629ab2be5c596d0e"
},
"ctime": 1726566931.580039,
"ok": {
"symbols": [],
"object_metadata": {
"_backend_version": "1.0.0",
"encoding": "utf-8"
},
"children": [
{
"org": "ctx",
"object_id": "446619325a0c272025cd30e64f8e434f68c2cc5cea3231d59251afa3aae69af4",
"object_type": "Text",
"object_subtype": null,
"recursion_level": 2,
"size": 2146,
"hashes": {
"sha1": "5d5e5a0c5f22ad3b9592fa988096b5d996e33227",
"md5": "d7fa171af5ae43cad2625b35a16e144f",
"sha256": "446619325a0c272025cd30e64f8e434f68c2cc5cea3231d59251afa3aae69af4",
"sha512": "0444f38c553268c6e9e54d3a0740e0ad944630717f0f584cb019a2db7a57ab076b74d754a961b9c38e6c17dbbfd83c0ab3a8efa72bdc4b515510516c75915b38"
},
"ctime": 1726566931.580039,
"relation_metadata": {},
"ok": {
"symbols": [],
"object_metadata": {
"_backend_version": "1.0.0",
"encoding": "utf-8",
"natural_language": "English",
"natural_language_profanity_count": 0,
"natural_language_sentiment": {
"compound": 0.9410247750624706,
"neg": 0,
"neu": 0.9307868459177792,
"pos": 0.06921315408222081
},
"number_of_ascii_range_chars": 2095,
"number_of_characters": 2118,
"number_of_digits": 53,
"number_of_newlines": 84,
"number_of_whitespaces": 341,
"number_of_words": 261,
"possible_passwords": [],
"uris": []
},
"children": []
}
}
]
}
}
Example Queries
object_type == "RTF"
&& @has_child(object_type == "Text"
&& @has_object_meta($possible_passwords)
)
- This query matches an
RTF
, from which aText
object with possible passwords was extracted.
Configuration Options
max_processed_size
→ maximum size of the input object that will be processed (default: 10485760)