It sounds awkward because “allows” carries the idea of granting permission, but you haven’t specified who you are granting that permission to. Compare:
This allows (?) to work.
This allows one to work.
I am allowed to work.
When you change the infinitive to a participle/gerund, the sense changes subtly from ‘granting permission’ to ‘enabling a function’. ...
There is nothing particularly special about this construction. It is what it is.
In English, whether to use a gerund or an infinitive depends on the verb, and there does not seem to be a set rule. It just becomes a habit.
A general trend however is that gerunds are used more often than infinitives, and infinitives tend to be used to express abstract or ...
Laura Ingraham’s show on Friday night was a particularly captivating example of the figure-eight logic we resort to when our stories don’t align with reality.
Laura Ingraham’s show on Friday night was a particularly captivating example of the "twisted" logic we resort to when our stories don’t align with reality.
Twisted logic is a logic that ...