开发者

convert unstructured data to structured data? [closed]

开发者 https://www.devze.com 2022-12-24 23:30 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 2 years ago.

Improve this question

How can I convert unstructured data into structured data? For example email contacts, from an unstructured text, to a structured format.

Are there any algo开发者_StackOverflow社区rithms to do this?


There's no generic algorithm to "take unstructured data and convert it to structured data", no. It's highly dependent on what the possible range of input is, and what the desired structure is, and what conversions need to be applied, etc.

The class of problem is called "parsing": you need to construct a parser for the specific inputs you expect, and use that parser to generate structure from what it discovers about the input you get.

Your programming language will likely have parsing libraries available to assist with constructing a specific parser.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号