Syntypistis

Syntypistis is a genus of moths of the family Notodontidae first described by Turner in 1907.[1]

Syntypistis
Syntypistis
Scientific classification
Kingdom:
Phylum:
Class:
Order:
Family:
Subfamily:
Dicranurinae
Genus:
Syntypistis

Turner, 1907
Synonyms
  • Omestia Bethune-Baker, 1908
  • Egonocia Marumo, 1920
  • Quadricalcarifera Strand, 1916
  • Stauropodopsis Roepke, 1944
  • Taiwa Kiriakoff, 1967
  • Vaneeckia Kiriakoff, 1968

Species

gollark: ```pythonimport thesaurusimport randomimport concurrent.futures as futureswords_to_synonyms = {}synonyms_to_words = {}def add_to_key(d, k, v): d[k] = d.get(k, set()).union(set(v))def add_synonyms(syns, word): for syn in syns: add_to_key(synonyms_to_words, syn, [word]) add_to_key(words_to_synonyms, word, syns)def concat(list_of_lists): return sum(list_of_lists, [])def fetch_word(word): results = concat(thesaurus.Word(word).synonyms("all")) return resultsdef add_words(words): with futures.ThreadPoolExecutor(max_workers=50) as executor: word_futures = {executor.submit(fetch_word, word): word for word in words} for future in futures.as_completed(word_futures): word = word_futures[future] try: data = future.result() except Exception as exc: print(f"Error fetching {word}: {exc}") else: add_synonyms(data, word)def getattr_hook(obj, key): results = list(synonyms_to_words.get(key, set()).union(words_to_synonyms.get(key, set()))) if len(results) > 0: return obj.__getattribute__(random.choice(results)) else: raise AttributeError(f"Attribute {key} not found.")def wrap(obj): add_words(dir(obj)) obj.__getattr__ = lambda key: getattr_hook(obj, key)wrap(__builtins__)__builtins__.engrave("Hi!")```
gollark: Ah yes. Global Interpreter Lock. Right. This may be hard.
gollark: On the plus side, you should be able to use `zilch` in place of `None` now.
gollark: The python thesaurus-izer may need some parallelization to be effective.
gollark: We could use this; it seems a cool idea.

References

  1. Savela, Markku. "Syntypistis Turner, 1907". Lepidoptera and Some Other Life Forms. Retrieved July 25, 2019.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.