Resumen
El avance y desarrollo en la inteligencia artificial a lo largo de los últimos años se ha producido en muchas de sus ramas y en muchos enfoques distintos, entre ellos, surge la necesidad de estudiar y mejorar el procesamiento del lenguaje natural, como base para muchas herramientas y muchos otros desarrollos. De aquí derivan proyectos enfocados a la traducción de textos entre idiomas, para favorecer una comunicación efectiva; la generación de asistentes virtuales personales, útiles en nuestro día a día; y la conversión de texto a voz y de voz a texto. La combinación de todo ello es lo que vemos en este trabajo de fin de grado, donde, con el uso de modelos de inteligencia artificial de redes neuronales preentrenados, el uso de Transformers y el procesamiento del lenguaje natural con más de 400 millones de datos, se genera un asistente personal, el cual, en primer lugar, funcionaba únicamente en inglés y se ha usado el modelo antes mencionado para traducir la entrada y salida de información para adaptarlo al español. Además, también se han añadido modificaciones para que el programa funcione con una interlocución voz a voz (voice to voice), y no texto a texto como era inicialmente. Por último, se ha integrado todo con una interfaz gráfica en Python para dar una experiencia cómoda y sencilla al usuario. A partir de las funcionalidades y características mencionadas anteriormente, se ha podido generar una conversación inteligente entre humano y máquina en la que se juntan la traducción, el procesamiento del lenguaje natural, la conversión de voz a voz, y la interfaz gráfica.
Abstract:
The progress and development in artificial intelligence over the last few years has occurred in many of its branches and in many different approaches, among them, the need to study and improve natural language processing arises, as the basis for many tools and many other developments. From here derive projects focused on the translation of texts between languages, to promote effective communication; the generation of personal virtual assistants, useful in our daily lives; and text-to-speech and speech-to-text conversion. The combination of all of this is what we see in this final degree project, where, with the use of artificial intelligence models of pre-trained neural networks, the use of Transformers and natural language processing, with more than 400 million data, a personal assistant is generated, which, in the first place, worked only in English and the aforementioned model has been used to translate the input and output of information to adapt it to Spanish. In addition, modifications have also been added so that the program works with voice-to-voice dialogue, and not text-to-text as it was initially. Finally, everything has been integrated with a graphical interface in Python to give the user a comfortable and simple experience. Based on the functionalities and characteristics mentioned above, it has been possible to generate an intelligent conversation between human and machine in which translation, natural language processing, speech-to-speech conversion, and the graphical interface come together.