When it comes to Hindi, I’ve always found the spoken parts of Bollywood and Kolkata Mumbaikars’ dialogues incredibly impressive. Well, an AI can write them as well.

Researchers from The Georgia Institute of Technology have developed a system that automatically generates sentences with the right words and simulates voice. The system uses artificial intelligence to simulate a person’s speech in different voices and intonation patterns, and can perfectly transform sentences in a minute.

The researchers trained the system on close to 400,000 sentences recorded by 37 different Hindi vocalists.

The system was not able to perfectly imitate one particular popular Hindi dialogue actor, though.

The research team, led by Rithwik Ramanathan, of the Computer Science and Artificial Intelligence Lab, claims the system will improve in future.

The researchers show off the system to mimic dialogues in Hindi in the video below.

Read next: Snapchat's Spectacles have now been reactivated after a 2-day break