Method of identifying a language and of controlling a speech synthesis unit and a communication device
AssigneeNokia Mobile Phones Ltd.
InventorWofgang Theimer
Life of this patent
Estimating the term…
Loading patent…
AssigneeNokia Mobile Phones Ltd.
InventorWofgang Theimer
Estimating the term…
The invention relates to a method of identifying a language in which a text is composed in the form of a string of characters, and also to a method of controlling a speech reproduction unit and to a communication device. To be able to carry out language identification with little expenditure, it is provided according to the invention that a frequency distribution (h1(x), h2(x,y), h3(x,y,z)) of letters in the text is ascertained, the ascertained frequency distribution (h1(x), h2(x,y), h3(x,y,z)) is compared with corresponding frequency distributions (l1(x), l2(x,y), l3(x,y,z)) of available languages, in order to ascertain similarity factors (s1, S2, s3) which indicate the similarity of the language of the text with the available languages, and the language for which the ascertained similarity factor (S1, S2, S3) is the greatest is established as the language of the text.
Method of identifying a language in which a text is composed as a string of characters, in which
Method according to one of the preceding claims, characterized in that all non-letter characters, apart from spaces, are removed from the string of characters of the text, in order to ascertain from the string of characters thus obtained frequency distributions (h1(x), h2(x,y), h3(x,y,z)) of letters and groups of letters in the text.
Method according to one of the preceding claims, characterized in that the length of the text is established and, depending on the length of the text, one, two or more frequency distributions (h1(x), h2(x,y), h3(x,y,z)) of letters and groups of letters in the text are ascertained.
Method according to one of the preceding claims, characterized in that a complete alphabet is used, also including special letters of various languages based on Latin letters.
Method according to one of the preceding claims, characterized in that the letters present in the text are investigated for special letters, in order to select according to the presence or absence of special letters characteristic of certain languages the languages which are to be taken into consideration in the comparison of the ascertained frequency distribution (h1(x), h2(x,y), h3(x,y,z)) with corresponding frequency distributions (l1(x), l2(x,y), l3(x,y,z)) of available languages.
Method according to one of the preceding claims, characterized in that, after establishing the language, the letters present in the text are investigated for special letters which are characteristic of the language established and of languages not established, in order to confirm the language established.
Method of controlling a speech reproduction unit (14), in which
Communication device with
Dependencies are inferred from the claim text.