I have read many times around the web about this question:
How do you extract the meaning of a page.
And I know that I am not experience enough to even try to suggest any solution. To me this is the holy grail of web programming or maybe even computer technology as a whole.
But through the power of imagination let us assume that I have written the ultimate script that does exactly that. For example I enter this text:
Imagination has brought mankind through the dark ages to its present state of civilization. Imagination led Columbus to discover America. Imagination led Franklin to discover electricity.
and my powerful script extracts the meaning and says this:
The ability of human beings to think leads them to discover new things.
For the purpose of this example, I used a "String" to explain the meaning the text. But if I had to store this in a database, or an array or any sort of storage, what will be the datatype I will be using?
Note that I can have another text that uses a different analogy but still has the same meaning worded differently, for example:
Imagination helps human kind advance.
Now I can enter a search query about the importance of imagination and these 2 results appear. But how will they be matched? Will it be a String comparison? Some integers, floating points? Maybe even binary?
What will the meaning be saved under? I would like to hear from you.
Update: Let me restate the question simply.
How do you represent Meaning in data?
try making it into a char* (string c-style) it is easily stored in databases and easy to use make it of length 50 (10 words) or 75 (15 words)
EDIT: put both on the same word (imagination) then check for similar indexes and assign them to the same word
use
sorry I'm not too experienced with SQL