Text type detection method and device
The invention provides a text type detection method and device, and relates to the technical field of data processing, in particular to natural language processing. According to the implementation scheme, a to-be-detected text is preliminarily checked; in response to the situation that the to-be-det...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a text type detection method and device, and relates to the technical field of data processing, in particular to natural language processing. According to the implementation scheme, a to-be-detected text is preliminarily checked; in response to the situation that the to-be-detected text is preliminarily detected as a suspected preset type of text, performing sentence segmentation on the to-be-detected text to obtain a statement set comprising a plurality of statements; for each statement in the statement set, determining the number of predetermined keywords contained in the statement; selecting a plurality of target statements from the plurality of statements according to the number of keywords contained in the plurality of statements in the statement set; respectively determining whether each target statement in the plurality of target statements is an identification statement or not; and determining that the to-be-detected text is a text of a preset type in response to the condition t |
---|