Como pode um texto ser um vetor?

1 min read

If vectors are arrows, how are texts vectors? 🤔
Where do text-vectors point to?

🧠 We often imagine vectors as arrows in space. But in mathematics, that’s just a convenient mental image—not the full picture.

👉 Mathematically, a vector is simply something that:
1️⃣ When added to another vector, still produces… a vector.
2️⃣ When multiplied by a number, is still… a vector.

Yes, arrow-like concepts like force and velocity fit this definition, but so does text:

📝 Add text to more text, and you still have text!
📝 Double the text, and… it’s still text!

🔎 This is why, for Machine Learning, we encode text as vectors. Machines are built to work with numbers (in fact, to a computer, everything is a number!), so encoding text as a vectos allows them to analyze it mathematically.

🎯 By treating text as vectors, we open the door for machines to find relationships, patterns, and even meaning in language.