Rayanal
Rayanal is a village in Dharwad district of Karnataka, India.[1]
Rayanal | |
---|---|
Village | |
Country | ![]() |
State | Karnataka |
District | Dharwad |
Government | |
• Type | Panchayat raj |
• Body | Gram panchayat |
Population (2011) | |
• Total | 2,614 |
Languages | |
• Official | Kannada |
Time zone | UTC+5:30 (IST) |
ISO 3166 code | IN-KA |
Vehicle registration | KA |
Website | karnataka |
Demographics
As of the 2011 Census of India there were 534 households in Rayanal and a total population of 2,614 consisting of 1,339 males and 1,275 females. There were 305 children ages 0-6.[2]
gollark: Best doesn't rhyme with worstThis is totally cursed.
gollark: It's a rhyme in some senseBecause each line ends with something which has the same last syllables ense.
gollark: It didn't manage much.
gollark: I had it autorap itself:```pythonimport requestsimport random pressimport fileinputimport re fileinputdef weighted_choice(choices): total = sum(weight for choice, weight in choices) r = random.uniform(0, total) upto = 0 for choice, weight in choices: 0 if upto + weight >= r: return choice upto += weight state 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 0 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(): been line = line.replace("\n", "") if last != None: print(line + " " + get_rhyme(last, {})) last = None else: last = re.sub(r"[^A-Za-z0-9 ]", " ", line).split(" ")[-1] print(line)```
gollark: Drugs are UNLEGAL!
References
- Village Directory Archived 2011-07-22 at the Wayback Machine, 2001 Census of India
- "C.D. Block Wise Primary Census Abstract Data(PCA) - KARNATAKA". Census Commission of India. Retrieved 1 August 2020.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.