lemma
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-11.)
lemma has 23 facts recorded in Dontopedia across 11 references, with 2 live disagreements.
Mostly:rdf:type(10), has attribute(3), has method(2)
Maturity scale
raw canonical shape-checked rule-derived certifiedRdf:typein disputerdf:type
- Attribute[1]sourceall time · 9e885203 13b0 4f18 89db 79cab2460230
- Object[2]all time · 30196b02 E710 4de9 807e B72cfda7e001
- Lemma[3]sourceall time · 82dc87bd 74b8 4fb6 Be5d 469ed934c86c
- Linguistic Unit[4]all time · 6f825f15 5c97 4244 84f2 E40ee078d6ae
- Variable[5]all time · 4be5ccbb C1b7 4c71 B494 78fd7c33ee6f
- Lemma Object[6]all time · B27efc86 7008 4384 852a 049d06d255cb
- Linguistic Unit[8]sourceall time · 869acbd5 0cda 40b0 94b3 06d5699021f2
- Lemma[9]all time · 57e2ea52 F5cb 4239 Bf9f 3147a3b2efbc
- Object[10]sourceall time · Eba347b2 A24e 4b7a Ab9b F7cd8535ecce
- Lemma[11]all time · Edca9501 Cce9 465a 87b1 Ca97ba8c21a7
Inbound mentions (5)
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.
hasAttributeHas Attribute(1)
- Token
ex:token
hasLemmaHas Lemma(1)
- Syn
ex:syn
iteratesOverIterates Over(1)
- For Loop
ex:forLoop
iterationVariableIteration Variable(1)
- Get Synonyms
ex:get_synonyms
loopsOverLoops Over(1)
- Expand Synonyms
ex:expand_synonyms
Other facts (12)
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.
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 (11)
ctx:claims/beam/9e885203-13b0-4f18-89db-79cab2460230- full textbeam-chunktext/plain1 KB
doc:beam/9e885203-13b0-4f18-89db-79cab2460230Show excerpt
token_match=nlp.tokenizer.token_match) # Replace the default tokenizer with the custom one nlp.tokenizer = custom_tokenizer ``` ### Full Example Code Here is the full example code combining all the steps: ``…
ctx:claims/beam/30196b02-e710-4de9-807e-b72cfda7e001- full textbeam-chunktext/plain1 KB
doc:beam/30196b02-e710-4de9-807e-b72cfda7e001Show excerpt
# Extract synonyms for each token synonyms = [] for token in tokens: # Use WordNet to get synonyms synsets = nltk.corpus.wordnet.synsets(token) for synset in synsets: for lemma in synset.lemma…
ctx:claims/beam/82dc87bd-74b8-4fb6-be5d-469ed934c86c- full textbeam-chunktext/plain1 KB
doc:beam/82dc87bd-74b8-4fb6-be5d-469ed934c86cShow excerpt
nlp = spacy.load("en_core_web_sm") lemmatizer = WordNetLemmatizer() def get_wordnet_pos(treebank_tag): """Converts treebank POS tags to WordNet POS tags.""" if treebank_tag.startswith('J'): return wordnet.ADJ elif treeb…
ctx:claims/beam/6f825f15-5c97-4244-84f2-e40ee078d6ae- full textbeam-chunktext/plain1 KB
doc:beam/6f825f15-5c97-4244-84f2-e40ee078d6aeShow excerpt
- **Contextual Relevance**: Consider using a context-aware approach to filter synonyms based on the context of the query. - **Dependency Parsing**: Use dependency parsing to better understand the relationships between words in the query. #…
ctx:claims/beam/4be5ccbb-c1b7-4c71-b494-78fd7c33ee6fctx:claims/beam/b27efc86-7008-4384-852a-049d06d255cb- full textbeam-chunktext/plain1 KB
doc:beam/b27efc86-7008-4384-852a-049d06d255cbShow excerpt
entities = [(ent.text, ent.label_) for ent in doc.ents] # Extract synonyms for each token synonyms = [] for token in tokens: pos = get_wordnet_pos(nltk.pos_tag([token])[0][1]) synsets = wordnet.synsets(t…
ctx:claims/beam/5911aad5-31b8-481d-9758-9632ba044f91- full textbeam-chunktext/plain1 KB
doc:beam/5911aad5-31b8-481d-9758-9632ba044f91Show excerpt
2. **Download WordNet**: Download the WordNet data using NLTK. ```python import nltk nltk.download('wordnet') ``` 3. **Expand Synonyms Using WordNet**: ```python from nltk.corpus import wordnet as wn def expand_synony…
ctx:claims/beam/869acbd5-0cda-40b0-94b3-06d5699021f2- full textbeam-chunktext/plain1 KB
doc:beam/869acbd5-0cda-40b0-94b3-06d5699021f2Show excerpt
elif term.endswith("ed"): return [term[:-2] + "ing"] # WordNet approach synonyms = set() for syn in wn.synsets(term): for lemma in syn.lemmas(): synonyms.add(lemma.name()) # NLP appr…
ctx:claims/beam/57e2ea52-f5cb-4239-bf9f-3147a3b2efbc- full textbeam-chunktext/plain1 KB
doc:beam/57e2ea52-f5cb-4239-bf9f-3147a3b2efbcShow excerpt
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased') model = BertModel.from_pretrained('bert-base-uncased') def get_context_aware_synonyms(word, context_sentence): inputs = tokenizer(context_sentence, return_tensors='pt', pad…
ctx:claims/beam/eba347b2-a24e-4b7a-ab9b-f7cd8535ecce- full textbeam-chunktext/plain1 KB
doc:beam/eba347b2-a24e-4b7a-ab9b-f7cd8535ecceShow excerpt
To improve query rewriting accuracy, you can integrate synonym expansion using spaCy and a thesaurus like WordNet. ```python from nltk.corpus import wordnet def get_synonyms(word): synonyms = set() for syn in wordnet.synsets(word)…
ctx:claims/beam/edca9501-cce9-465a-87b1-ca97ba8c21a7
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.