Improving AI writing accuracy