Automatic determination of additional languages used in social networks
AssigneeInternational Business Machines Corporation
InventorHuibert F. J. Aalbers
Life of this patent
Estimating the term…
Abstract
A computer processor determines a first language in which a message posted on a social network is composed, the message corresponds to a user of a social network. The computer processor compares the first language of the message to a set of one or more languages understood by the user of the social network. In response to the first language of the message failing to match one language of the set of one or more languages understood by the user, the computer processor prompts the user to confirm continued use of the first language, within the social network.
Claims13
A method for filtering messages of a social network, the method comprising:
- a computer processor identifying a set of languages included in a settings file of a first user of a social network;
- a computer processor determining which language is used to compose a message sent or received by the first user of the social network, by accessing a language library, wherein the message sent or received by the first user of the social network is an audio message that is converted in part to text using speech recognition and audio language libraries for determining a language in which the audio message is composed;
- a computer processor determining whether a language that is used to compose the message is included in the set of languages of the settings file of the first user of the social network;
- in response to determining that the message that is sent is composed in a language that is not included in the set of languages of the settings file of the first user, prompting, by a computer processor, the first user to indicate whether the language is to be added to the set of languages of the first user;
- in response to determining that the message that is received is composed in a language that is not included in the set of languages of the settings file of the first user, prompting, by a computer processor, the first user to indicate whether the language is to be added to the set of languages of the first user;
- in response to receiving a confirmation from the first user to add the language to the set of languages of the first user, a computer processor adding the language to the set of languages of the first user;
- and
- in response to a denial by the first user to add the language to the set of languages of the first user, a computer processor filtering messages composed in the language that are directed to the first user from the social network wherein the messages that are filtered are blocked from display to the first user of the social media network.
A computer program product for filtering messages of a social network, the computer program product comprising:
- one or more computer readable storage media having program instructions embodied therewith, wherein the program instructions are executable by a computer processor, the program instructions comprising:
- program instructions to identify a set of languages included in a settings file of a first user of a social network,
- program instructions to determine which language is used to compose a message sent or received by the first user of the social network, by accessing a language library, wherein the message sent or received by the first user of the social network is an audio message that is converted in part to text using speech recognition and audio language libraries for determining a language in which the audio message is composed;
- program instructions to determine whether a language that is used to compose the message that is sent or received is included in the set of languages of the settings file of the first user of the social network;
- in response to determining that the message that is received is composed in a language that is not included in the set of languages of the settings file of the first user, program instructions to prompt the first user to indicate whether the language is to be added to the set of languages of the first user:
- in response to determining that the message that is sent is composed in a language that is not included in the set of languages of the settings file of the first user, program instructions to prompt the first user to indicate whether the language is to be added to the set of languages of the first user;
- in response to receiving a confirmation from the first user to add the language to the set of languages of the first user, program instructions to add the language to the set of languages of the first user;
- and
- in response to a denial by the first user to add the language to the set of languages of the first user, program instructions to filter messages composed in the language that are directed to the first user from the social network, wherein the messages that are filtered are blocked from display to the first user of the social network.
A computer system for filtering messages of a social network, the computer system comprising:
- one or more computer processors;
- one or more computer readable storage media;
- and
- program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
- program instructions to identify a set of languages included in a settings file of a first user of a social network;
- program instructions to determine which language is used to compose a message sent or received by the first user of the social network, by accessing a language library, wherein the message sent or received by the first user of the social network is an audio message that is converted in part to text using speech recognition and audio language libraries for determining a language in which the audio message is composed;
- program instructions to determine whether a language that is used to compose the message that is sent or received is included in the set of languages of the settings file of the first user of the social network;
- in response to determining that the message that is received is composed in a language that is not included in the set of languages of the settings file of the first user, program instructions to prompt the first user to indicate whether the language is to be added to the set of languages of the first user;
- in response to determining that the message that is sent is composed in a language that is not included in the set of languages of the settings file of the first user, program instructions to prompt the first user to indicate whether the language is to be added to the set of languages of the first user;
- in response to receiving a confirmation from the first user to add the second language to the set of languages of the first user, program instructions to add the language to the set of languages of the first user;
- and
- in response to a denial by the first user to add the language to the set of languages of the first user, program instructions to filter messages composed in the language that are directed to the first user from the social network, wherein the messages that are filtered are blocked from display to the first user of the social network.
Dependencies are inferred from the claim text.