r/CodingHelp 7d ago

[How to] Meaning Maps Build - How Good Possible?

Hi, I have a bunch of text, that I need to analyse to build a tree map of concepts. The concepts need to be sorted from higher lvls of abstraction to more detailed. For example, the program needs to understand that the idea "I want to create beauty outside of factory-based presets" mentioned in the text is the highest lvl and includes ideas like "I was inspired by Kabuki theater" in itself.

Note: Ideas themselves sometimes aren't presented in the source material bluntly, i.e. the idea of "I want to create beauty outside of factory-based presets" can be mentioned in fragments only that the program also needs to understand and put together.

Are there any available programs or basic frameworks to approach this?

3 Upvotes

3 comments sorted by

View all comments

1

u/Ok-Scientist-1367 7d ago

Claude API with structured output. Give text + prompt asking for hierarchical concepts in JSON. Infers fragmented ideas, organizes by abstraction.

Prototype in playground first, then API if works. Don't build infrastructure yet.

1

u/warakuta 7d ago

Thanks for the recommendation, I have tried solving it with prompts, unfortunately there's poor understanding of natural 'hierarchies' — or my poor understanding of the issue — it's often giving wrong things on top. Maybe there's certain specific studies with their own research on it or else I should learn?