Electronic device and method for controlling thereof
Abstract:
An electronic device and a control method thereof are provided. The electronic device includes a memory storing instructions; and a processor configured to execute the instructions to: based on a text being input, determine semantic roles of sentence components included in the text by inputting information on the text to a first model trained to determine the semantic roles of the sentence components; obtain a risk level of the text by inputting the sentence components with the determined semantic roles of the sentence components to a second model trained to output the risk level of the text based on the semantic roles of the sentence components; and perform an operation corresponding to the obtained risk level of the text.
Public/Granted literature
Information query
Patent Agency Ranking
0/0