Utbi family

The Utbi family (also spelled Otbi), was an Iranian family which served the Samanid Empire. The first mentioned member of the family was Abu Ja'far Utbi, who served as the vizier of Nuh I (r. 943–954) and Mansur I (r. 961–976). Another member of the family was Abu'l-Husain Utbi, who served as the vizier of Nuh II (r. 976–997).

Sources

  • Ashraf, Ahmad (2006). "Iranian identity iii. Medieval Islamic period". Encyclopaedia Iranica, Vol. XIII, Fasc. 5. pp. 507–522.CS1 maint: ref=harv (link)
  • Bosworth, C. E. (2010). "'Otbi". Encyclopaedia Iranica.CS1 maint: ref=harv (link)
  • Frye, R.N. (1975). "The Sāmānids". In Frye, R.N. (ed.). The Cambridge History of Iran, Volume 4: From the Arab Invasion to the Saljuqs. Cambridge: Cambridge University Press. pp. 136–161. ISBN 0-521-20093-8.CS1 maint: ref=harv (link)


gollark: `True`
gollark: ```pythonimport requestsimport randomimport fileinputdef weighted_choice(choices): total = sum(weight for choice, weight in choices) r = random.uniform(0, total) upto = 0 for choice, weight in choices: if upto + weight >= r: return choice upto += weight assert False, "Shouldn't get here"def get_rhymes(word, extra_params={}): default_params = { "rel_rhy": word, "max": 20, "md": "pf" } return requests.get("https://api.datamuse.com/words/", params={**default_params, **extra_params}).json()def get_frequency(word_object): for tag in word_object["tags"]: if tag.startswith("f:"): return float(tag[2:]) return 0def get_rhyme(word, params): options = get_rhymes(word, params) options = list(map(lambda word_object: (word_object["word"], get_frequency(word_object)), options)) if len(options) == 0: return word return weighted_choice(options)last = Nonefor line in fileinput.input(): line = line.replace("\n", "") if last != None: print(line + " " + get_rhyme(last, {})) last = None else: last = line.replace(".", "").split(" ")[-1] print(line)```
gollark: My automated rap generatorIs far superior to puny human rappers laterIt is backed by the entire resourcesOf this random online dictionary and word relation query API resource isTechnically it still relies on human interventionTo produce the input text to turn into rap intentionAnd due to the limitations of current natural language processingIt is unable to significantly transform the input text reprocessingThis is because spoken human languagesAre mostly not designed with machine-parseability language isor ease of understandingas major goals expandingand were we using better-designed languages, automated rapwould surely be much easier. app
gollark: Does that even rhyme?Um... BLIME!
gollark: This is totally a rapA rap is what it is chap
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.