Artificial Intelligence
Artificial Intelligence for DOCX documents
phpdocx 14 Premium licenses include a new AI module for integration of Artificial Intelligence when working with DOCX documents. It allows to extract information and to perform complex tasks in a simple way, with the help of AI integrations.
The available features for AI are the following:
- Extract top keywords.
- Check spelling and fix misspelled words.
- Summarize contents.
This is a set of AI functionalities for phpdocx exclusively, that use the Premium package classes.
The available features are:
- Extract top keywords.
- Check spelling and fix misspelled words.
- Summarize contents.
These methods work just like any other of phpdocx, by calling the AIPhpdocx class.
This is how to extract the top keywords of a document:
How to analyze misspelled words and correct them in a newly created document:
There are examples for every method and option available in the package and the API documentation.
By default, most of the methods analyze all the paragraphs of the document. It is possible to change this behaviour, using DOCXPath queries. For example, by choosing paragraphs with contents or specific positions.
