# US 2023/0058640 A1 · System and method for detecting undesirable and potentially harmful online behavior

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0058640 A1
- Document ID: US20230058640A1
- Status: Published application
- Kind: A1
- Application number: 18/047,465
- Filed: 2022-10-18
- Published: 2023-02-23
- Earliest claimed: 2018-03-03
- Assignees: Samurai Labs Sp. Z O.O.
- Applicants: Samurai Labs sp. z o.o.
- Inventors: Michal Wroczynski; Gniewosz Leliwa
- Web page: https://patentgrep.com/patent/US20230058640A1

## CPC

- G06F 40/253: Grammatical analysis; Style critique
- H04L 51/063: Content adaptation, e.g. replacement of unsuitable content
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/216: using statistical methods
- G06F 40/279: Recognition of textual entities
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 5/025: Extracting rules from data
- G06N 20/00: Machine learning
- H04L 51/046: Interoperability with other network applications or services
- H04L 51/212: using filtering or selective blocking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments include computer-implemented methods and systems for detecting undesirable and potentially harmful online behavior. The embodiments described and claimed could also be applied to detecting any other type of online behavior to be detected, but the descriptions focuses on detecting online violence. More particularly, the embodiments disclosed relate to detecting online violence using symbolic methods of natural language processing (NLP) that utilize and govern the usage of: 1) syntactic parser for analyzing grammatical context of the input text data, 2) unsupervised learning methods for improving selected aspects of the system and adjusting the system to new data sources and guidelines, and 3) statistical classifiers for resolving specific well-defined sub-tasks, in which statistical approaches surpass the symbolic methods.

## Claims

### Claim 1

A natural language processing method comprising:
at least one processor receiving online data from any sources on the internet and processing the online data to determine whether the online data implicates online violence, wherein processing the online data comprises,
the at least one processor receiving plain text input;
the at least one processor performing a plurality of functional modules, the plurality of functional modules comprising one or more of a text preparation module, a normalization module, and a correction and transformation module that generate normalized text, corrected text, and transformed text, respectively, wherein normalization comprises the process of transforming the plain text input into a single predetermined canonical form to generate the normalized text, correction comprises the process of revising the normalized text in order to correct misspellings and any other types of intentional and non-intentional errors to generate the corrected text, and transformation comprises the process of revising the corrected text in order to replace, remove or add specific text fragments to generate the transformed text that is optimally phrased for detecting one or more predetermined online behaviors; and
the at least one processor performing online violence detection on the normalized text, the corrected text, and transformed text, including,
at least one module detecting online violence, wherein the at least one module is comprised of a set of contextual models wherein,
each contextual model comprises a detection model for detecting a defined single type of online violence;
each contextual model classifies text as containing or not containing a given type of online violence; and
each contextual model provides a set of processing-related information, comprising a comprehensive record of consecutive steps taken by the model in order to perform the classification, allowing to trace the decision-making process with accuracy to individual rules, expressions and transformations.

### Claim 2 (depends on 1)

The method of claim 1, wherein each contextual model detects and returns an object of online violence that the detected online violence is targeted against, along with references to the object of online violence in text.

### Claim 3 (depends on 2)

The method of claim 2, wherein the object of online violence takes the value of an interlocutor, a definite or indefinite individual, a definite or indefinite group of people, or no object.

### Claim 4 (depends on 1)

The method of claim 1, wherein each contextual model detects and returns a severity level of online violence that the detected online violence is rated with, along with references to the severity level of online violence in text.

### Claim 5 (depends on 4)

The method of claim 4, wherein the severity level of online violence includes a value of mild, strong, or severe.

### Claim 6 (depends on 1)

The method of claim 1, wherein each contextual model comprises a set of rules, wherein rules realizing similar tasks are grouped into sub-models of a hierarchical structure and the contextual model provides information regarding sub-models were responsible for detection.

### Claim 7 (depends on 6)

The method of claim 6, wherein the hierarchical structure of sub-models is defined individually for each instance of a system performing the method.

### Claim 8 (depends on 1)

The method of claim 1, wherein information on each change introduced to text by the normalization, correction and transformation modules is stored and available for analysis, including text before and after the change, and references to sub-modules responsible for the change.

### Claim 9 (depends on 1)

The method of claim 1, wherein each contextual model extracts and returns offensive and abusive words, phrases and expressions used to offend or abuse an object of online violence in the detected online violence.
