Abstract
Given a text, can we segment it into semantically coherent sections in an automatic way? Can we detect the semantic boundaries, if we know how many they are? Can we determine how many semantically distinct sections are in the text? These are the questions we address in this paper. To respond, we use the Bidirectional Encoder Representation from Transformer (BERT) to analyze the text and evaluate a function that we call local incoherence, which we expect to show maxima at the points where a semantic boundary is detected. Our results, although preliminary, are encouraging and suggest that our approach can be successfully applied. However, they are quite sensitive with respect to the text quality, as it happens in the case in which the text is derived from an audio stream via Automatic Speech Recognition techniques.
Keywords
Cite this article
@article{cai-ADSI-8,
author = {Tiziano Lattisi and Davide Farina and Marco Ronchetti},
title = {Semantic Segmentation of Text Using Deep Learning},
journal = {Computing and Informatics},
volume = {41},
number = {1},
pages = {78--97},
year = {2022},
issn = {1335-9150},
doi = {10.31577/cai_2022_1_78}
}
TY - JOUR AU - Tiziano Lattisi AU - Davide Farina AU - Marco Ronchetti TI - Semantic Segmentation of Text Using Deep Learning JO - Computing and Informatics VL - 41 IS - 1 SP - 78 EP - 97 PY - 2022 SN - 1335-9150 DO - 10.31577/cai_2022_1_78 UR - https://doi.org/10.31577/cai_2022_1_78 KW - Text segmentation KW - semantic boundaries KW - BERT ER -
Lattisi, T., Farina, D., & Ronchetti, M. (2022). Semantic Segmentation of Text Using Deep Learning. Computing and Informatics, 41(1), 78–97. https://doi.org/10.31577/cai_2022_1_78