How to handle proper names or variable names in word2vec?
Word2vec works on the concept of  typical word co-occurrences. This means that it will work well only for words that occur frequently in the dataset. So proper nouns will not play any role in training the model. You can keep the proper nouns as they are or use only the words the occur more frequently than some threshold value based on the size of your dataset.

Once you use the value stored in variable x for something, and then change the stored value, it will not reflect anywhere unless you us use the variable x again somewhere in the program.



# Example
x = "something something"
print(x + "...")

# Result
something something ...

# Changing x
x = "new value"

# This new value of x will not reflect anywhere in the program
# Unless you use the variable x again.