sub
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-11.)
sub has 22 facts recorded in Dontopedia across 7 references, with 4 live disagreements.
Mostly:rdf:type(8), argument(3), has parameter(3)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (10)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
usesUses(2)
- Optimized Tokenization
ex:optimized_tokenization - Special Character Removal
ex:special_character_removal
usesFunctionUses Function(2)
- Special Character Removal
ex:special-character-removal - Token Boundary Adjustment
ex:token-boundary-adjustment
usesImplementationUses Implementation(2)
- Special Character Removal
ex:special-character-removal - Token Boundary Adjustment
ex:token-boundary-adjustment
callsCalls(1)
- Normalizer
ex:Normalizer
callsFunctionCalls Function(1)
- Preprocess Text
ex:preprocess_text
invokesInvokes(1)
- Call
ex:__call__
providesFunctionProvides Function(1)
- Re
ex:re
Other facts (20)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Rdf:type | Function | [1] |
| Rdf:type | Python Function | [2] |
| Rdf:type | Function Call | [3] |
| Rdf:type | Function | [4] |
| Rdf:type | Regular Expression Function | [5] |
| Rdf:type | Python Function | [5] |
| Rdf:type | Python Function | [6] |
| Rdf:type | Function Call | [7] |
| Argument | regex_pattern | [2] |
| Argument | replacement | [2] |
| Argument | input_string | [2] |
| Has Parameter | Pattern | [7] |
| Has Parameter | Repl | [7] |
| Has Parameter | String | [7] |
| Applied to | Token | [4] |
| Module | Re Module | [5] |
| Performs | Regular Expression Substitution | [5] |
| Used by | Parse Query | [6] |
| Has Regex Pattern | '[^\w\s]','' | [7] |
| Has Argument | Text | [7] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (7)
ctx:claims/beam/0efd0397-84c8-4ac5-a86a-75ddaab3cb1b- full textbeam-chunktext/plain1 KB
doc:beam/0efd0397-84c8-4ac5-a86a-75ddaab3cb1bShow excerpt
3. **Similarity Scoring**: - Cache the results of similarity scoring between queries and documents to avoid recomputing scores for the same pairs. 4. **Ranking and Re-ranking**: - Cache the results of initial ranking and re-ranking t…
ctx:claims/beam/910d6fc8-8228-4a97-97e1-5c2720f7f34e- full textbeam-chunktext/plain1 KB
doc:beam/910d6fc8-8228-4a97-97e1-5c2720f7f34eShow excerpt
- **Objective**: Clean up and standardize the tokenized output. - **Tasks**: - Remove stop words. - Lemmatize or stem tokens. - Handle edge cases and errors. - **Tools**: `spaCy`, custom postprocessing functions. ##…
ctx:claims/beam/e2c45cf3-dd68-4f7d-b1c5-1eb5b7990908- full textbeam-chunktext/plain1 KB
doc:beam/e2c45cf3-dd68-4f7d-b1c5-1eb5b7990908Show excerpt
processed_tokens = [] for token in adjusted_tokens: # Remove special characters token = re.sub(r'[^a-zA-Z0-9]', '', token) processed_tokens.append(token) return processed_tokens # Test the function …
ctx:claims/beam/200959f7-7b94-4238-988c-0b57fc083432- full textbeam-chunktext/plain1 KB
doc:beam/200959f7-7b94-4238-988c-0b57fc083432Show excerpt
```python import re def parse_query(query): # Check for empty query if not query.strip(): return [] # Tokenize the query tokens = re.split(r'\s+', query) # Process the tokens processed_tokens = [] …
ctx:claims/beam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7- full textbeam-chunktext/plain1 KB
doc:beam/bdb209b7-8532-40a9-a6db-6c8b2fb1a9c7Show excerpt
2. **Token Boundary Adjustment and Special Character Removal**: - Combined the token boundary adjustment and special character removal into a single step using `re.sub`. 3. **Skip Empty Tokens**: - `if token: processed_tokens.append(…
ctx:claims/beam/ad20a81f-ed9b-4bdf-8e2b-07b59e9c3878ctx:claims/beam/ebb5c91f-ab60-4135-97de-33797ec06f38
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.