def main():
	filename = "../Data/Final_Dataset_Word2Vec_Emoji2Vec.csv"
	print("1. Train with Word2Vec, 2. Train with Emoji2Vec 3. Both")
	print("Enter choice (1/2/3):")
	ch = int(input())

	if ch == 1:

		word_vec = w.main(filename)
		return word_vec

	elif ch == 2:
		
		Emoji_vec = ex.main(filename)
		return Emoji_vec

	elif ch == 3:

		print("Concatenating...")
		Concatenated_Vector = c.main()
		return Concatenated_Vector

	else:
		print("Invalid")
Ejemplo n.º 2
0
def main():
    word_vec = w.main()
    Emoji_vec = ex.main()
    print("Concatenating...")
    Concatenated_Vector = JoinVectors(word_vec, Emoji_vec, len(word_vec))
    return Concatenated_Vector