A MongoDB Document Reconstruction Support System Using Natural Language Processing

Software Pub Date : 2024-05-02 DOI:10.3390/software3020010
Kohei Hamaji, Yukikazu Nakamoto
{"title":"A MongoDB Document Reconstruction Support System Using Natural Language Processing","authors":"Kohei Hamaji, Yukikazu Nakamoto","doi":"10.3390/software3020010","DOIUrl":null,"url":null,"abstract":"Document-oriented databases, a type of Not Only SQL (NoSQL) database, are gaining popularity owing to their flexibility in data handling and performance for large-scale data. MongoDB, a typical document-oriented database, is a database that stores data in the JSON format, where the upper field involves lower fields and fields with the same related parent. One feature of thisdocument-oriented database is that data are dynamically stored in an arbitrary location without explicitly defining a schema in advance. This flexibility violates the above property and causes difficulties for application program readability and database maintenance. To address these issues, we propose a reconstruction support method for document structures in MongoDB. The method uses the strength of the Has-A relationship between the parent and child fields, as well as the similarity of field names in the MongoDB documents in natural language processing, to reconstruct the data structure in MongoDB. As a result, the method transforms the parent and child fields into morecoherent data structures. We evaluated our methods using real-world data and demonstrated their MongoDBeffectiveness.","PeriodicalId":516628,"journal":{"name":"Software","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-05-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/software3020010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Document-oriented databases, a type of Not Only SQL (NoSQL) database, are gaining popularity owing to their flexibility in data handling and performance for large-scale data. MongoDB, a typical document-oriented database, is a database that stores data in the JSON format, where the upper field involves lower fields and fields with the same related parent. One feature of thisdocument-oriented database is that data are dynamically stored in an arbitrary location without explicitly defining a schema in advance. This flexibility violates the above property and causes difficulties for application program readability and database maintenance. To address these issues, we propose a reconstruction support method for document structures in MongoDB. The method uses the strength of the Has-A relationship between the parent and child fields, as well as the similarity of field names in the MongoDB documents in natural language processing, to reconstruct the data structure in MongoDB. As a result, the method transforms the parent and child fields into morecoherent data structures. We evaluated our methods using real-world data and demonstrated their MongoDBeffectiveness.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用自然语言处理的 MongoDB 文档重构支持系统
面向文档的数据库是一种非 SQL(NoSQL)数据库,因其数据处理的灵活性和处理大规模数据的性能而越来越受欢迎。MongoDB 是一种典型的面向文档的数据库,它以 JSON 格式存储数据,其中上层字段涉及下层字段和具有相同相关父级的字段。这种面向文档的数据库的一个特点是,数据可以动态地存储在任意位置,而无需事先明确定义模式。这种灵活性违反了上述特性,给应用程序的可读性和数据库维护带来了困难。为了解决这些问题,我们提出了 MongoDB 中文档结构的重构支持方法。该方法利用自然语言处理中父子字段之间 Has-A 关系的强度以及 MongoDB 文档中字段名称的相似性来重构 MongoDB 中的数据结构。因此,该方法能将父字段和子字段转化为更连贯的数据结构。我们使用真实世界的数据对我们的方法进行了评估,并证明了其 MongoDB 的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Mapping Petri Nets onto a Calculus of Context-Aware Ambients Using Behavior-Driven Development (BDD) for Non-Functional Requirements E-SERS: An Enhanced Approach to Trust-Based Ranking of Apps CORE-ReID: Comprehensive Optimization and Refinement through Ensemble Fusion in Domain Adaptation for Person Re-Identification A MongoDB Document Reconstruction Support System Using Natural Language Processing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1