Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM

Abstract This study aims to enhance computers’ ability to understand and generate metaphors, offering a novel perspective and technical approach in the field of natural language processing. It proposes a metaphor recognition algorithm that combines a Convolutional Neural Network (CNN) with a Support...

Full description

Saved in:
Bibliographic Details
Main Author: Dongmei Zhu
Format: Article
Language:English
Published: Nature Portfolio 2025-05-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-04171-5
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849705218541879296
author Dongmei Zhu
author_facet Dongmei Zhu
author_sort Dongmei Zhu
collection DOAJ
description Abstract This study aims to enhance computers’ ability to understand and generate metaphors, offering a novel perspective and technical approach in the field of natural language processing. It proposes a metaphor recognition algorithm that combines a Convolutional Neural Network (CNN) with a Support Vector Machine (SVM). First, the text is transformed into numerical features using a pre-trained word embedding model. Then, local contextual features are extracted through a multi-layer CNN. These features are subsequently input into the SVM for classification, enabling optimal metaphor recognition. In English verb metaphor recognition tasks, the model—when combined with the SVM classifier—achieves an accuracy of 85%, an F1 score of 85.5%, and a recall of 86%. In Chinese metaphor recognition experiments, the integration of the SVM classifier significantly improves performance, yielding an F1 score of 81.5%, an accuracy of 81%, and a recall of 82%. In conclusion, the proposed model effectively integrates the CNN’s powerful feature extraction capabilities with the SVM’s superior classification performance. Additionally, it incorporates part-of-speech features to enhance semantic analysis. This integrated approach enables more accurate identification of complex textual semantics, particularly in interpreting metaphorical language that requires deeper understanding.
format Article
id doaj-art-0c58be0909ea48489be80b2bd793d949
institution DOAJ
issn 2045-2322
language English
publishDate 2025-05-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-0c58be0909ea48489be80b2bd793d9492025-08-20T03:16:32ZengNature PortfolioScientific Reports2045-23222025-05-0115111410.1038/s41598-025-04171-5Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVMDongmei Zhu0School of Foreign Studies, Zhongyuan University of TechnologyAbstract This study aims to enhance computers’ ability to understand and generate metaphors, offering a novel perspective and technical approach in the field of natural language processing. It proposes a metaphor recognition algorithm that combines a Convolutional Neural Network (CNN) with a Support Vector Machine (SVM). First, the text is transformed into numerical features using a pre-trained word embedding model. Then, local contextual features are extracted through a multi-layer CNN. These features are subsequently input into the SVM for classification, enabling optimal metaphor recognition. In English verb metaphor recognition tasks, the model—when combined with the SVM classifier—achieves an accuracy of 85%, an F1 score of 85.5%, and a recall of 86%. In Chinese metaphor recognition experiments, the integration of the SVM classifier significantly improves performance, yielding an F1 score of 81.5%, an accuracy of 81%, and a recall of 82%. In conclusion, the proposed model effectively integrates the CNN’s powerful feature extraction capabilities with the SVM’s superior classification performance. Additionally, it incorporates part-of-speech features to enhance semantic analysis. This integrated approach enables more accurate identification of complex textual semantics, particularly in interpreting metaphorical language that requires deeper understanding.https://doi.org/10.1038/s41598-025-04171-5Artificial intelligenceSupport vector machineHierarchical classificationCognitive language modelMetaphor understanding
spellingShingle Dongmei Zhu
Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM
Scientific Reports
Artificial intelligence
Support vector machine
Hierarchical classification
Cognitive language model
Metaphor understanding
title Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM
title_full Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM
title_fullStr Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM
title_full_unstemmed Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM
title_short Improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence SVM
title_sort improvement of metaphor understanding via a cognitive linguistic model based on hierarchical classification and artificial intelligence svm
topic Artificial intelligence
Support vector machine
Hierarchical classification
Cognitive language model
Metaphor understanding
url https://doi.org/10.1038/s41598-025-04171-5
work_keys_str_mv AT dongmeizhu improvementofmetaphorunderstandingviaacognitivelinguisticmodelbasedonhierarchicalclassificationandartificialintelligencesvm