Categories
Mastering Development

Python: Inverted index

I apologize in front for asking this kind of question. First time asking. Task context I got project in university where the task is to create inverted index and boolean query program (+ TF-IDF weights). I got “sample.txt” file and it contains document id`s and sentences (in this context – documents): 1234 To be or […]

Categories
Ask English Speaking

Do you say “Namaste, you”, “Namaste, Grandpa”, “Namaste, Daddy”, “Namaste, Sirs”, “Namaste, Boss” or “Namaste, + [proper name]”?

Namaste (exclamation) (Indian English) ​a polite greeting said when giving a namaskar (= with the hands placed together as in prayer and the head bent forwards) ​(also namaskar) [uncountable] a way of greeting somebody in which the hands are placed together as in prayer and the head is bent forwards In English we say, “Hello […]

Categories
Mastering Development

Classification accuracy is too low (Word2Vec)

i’m working on an Multi-Label Emotion Classification problem to be solved by word2vec. this is my code that i’ve learned from a couple of tutorials. now the accuracy is very low. about 0.02 which is telling me something is wrong in my code. but i cannot find it. i tried this code for TF-IDF and […]

Categories
Ask English Speaking

Which is correct? [duplicate]

“You, my peer, who know no more than I” or “You, my peer, who knows no more than I” I am leaning toward the first one, but the second one sounds more natural. Which one should I choose?

Categories
Ask English Speaking

Which sentence has the correct usage?

“You, my peer, who know no more than I” or “You, my peer, who knows no more than I” I am leaning toward the first one, but the second one sounds more natural. Which one should I choose?

Categories
Ask Games Video Games

Battle of Guandu event

After many years, I’ve finally returned to the fantastic Romance of the Three Kingdoms VIII to complete all its events and just enjoy mucking about the Middle Kingdom as a Roman centurion/Parthian POW/Chinese warlord. I absolutely can’t get Yuan Shao’s victory at Guandu to fire. Saith the Event FAQ: THE BATTLE OF GUANDU (YUAN SHAO’S […]

Categories
Ask Games Video & Online Games

ROT3K8: Battle of Guandu event

After many years, I’ve finally returned to the fantastic Romance of the Three Kingdoms VIII to complete all its events and just enjoy mucking about the Middle Kingdom as a Roman centurion-cum-Parthian POW-cum-Chinese warlord. I absolutely can’t get Yuan Shao’s victory at Guandu to fire. Saith the Event FAQ: THE BATTLE OF GUANDU (YUAN SHAO’S […]

Categories
Development

Encrypting and then decrypting same string in python

Here is the question: In cryptography, a simple substitution cypher is a method of encryption in which each letter of a phrase is replaced by a different letter or sequence of letters. The phrase can then be decrypted by performing the inverse of the substitution. In this question, we will implement a simple substitution cypher […]

Categories
Development

Not getting correct values for Python Word Count

We are provided with a text file that contains several entries and the main goal is to output the 20 words with the highest word count. We are given a delimiter variable which will be separating the sentences into words. We also have a list of common words which we are not supposed to count. […]

Categories
Development

When calling this .pop method to an array, why am I getting an unexpected .length result

I’m new to JS, so please bear with me. When I tried to call the .pop method on an array defined as secretMessage, which has 24 elements, I used the syntax secretMessage = secretMessage.pop(); I believe this is wrong. Calling the .length method on the array returned a value of 10, even though there were […]