The reason why it is possible to translate text into a program
The new AI-parsing, which replaced n-gram, is the reason why it’s possible to translate text into program. (See article "parsing" in Wiki?) For example, there is a sentence:
— Anna, Sofa and Angela are singing merrily.
There are three phrases in it:
- Anna sings merrily 0. (3)
- Sofa sings merrily 0. (3)
- Angela sings merrily 0. (3)
This is AI parsing (which makes, by the way, Philosophy a science, because it brings an objectivity, as numbers).
But n-gram can get, for example, these three phrases (if comma is used as a delimiter):
- Angela are singing merrily.
Do you see any sense in them?
n-gram is also not able to get the weights of phrases (at the right, 0.(3)), which indicate their significance in the text: the shorter, the more laconical the sentence and phrase, the more significant it is.