Document authoring tools, e.g., word processors, include automatic checking and correction features that alert users to spelling and grammar errors. This disclosure describes techniques that enhance document authoring tools by including the capability to automatically complete or correct facts in documents, when permitted by users. Further, the techniques can also predict facts that users of a document authoring tool are likely to be interested in based on the content of a document.