Scots scientists have create an app-style programme that teaches computers to understand Gaelic.

It is hoped the move will help to secure the future of the language has been announced.

The device helps computers understand Gaelic text and can be used in a range of functions such as voice recognition and online translation, as well as grammar and spell checks.

Edinburgh University said although not a mobile app, it could be used "as a tool to support apps".

Linguists and computer scientists who developed the technology said it has applications that will assist people to understand and learn the language.

Researchers have used a database of more than 100,000 Gaelic words to develop an application, called a part-of-speech tagger, which allows computers to pair a word with its grammatical label, such as a noun, verb or adjective.

The team says that the tool helps computers to correctly categorise and order a language, which is a key process in digital applications, such as computer generated speech.

Taggers have already been developed for a number of other languages, but this is the first such language technology to be tested for Scottish Gaelic.

The product has been developed by researchers at the University of Edinburgh, with support from the Universities of Aberdeen and Glasgow, Edinburgh Napier University and Sabhal Mòr Ostaig in Skye, which forms part of the University of the Highlands and Islands.

The project, which is funded by the Carnegie Trust and Bòrd na Gàidhlig was launched at a Gaelic research conference called Rannsachadh na Gàidhlig (‘Researching Gaelic’) at Sabhal Mòr Ostaig in Skye on Friday

Dr William Lamb, of the University of Edinburgh’s School of Literatures, Languages and Cultures, said that "speech technology in Scottish Gaelic remains in an embryonic stage, in contrast to the leaps made for other languages in this area in recent decades".

"This project provides the means to redress the situation and brings the language forward – with a vital technological and intellectual push – into the 21st century.”