Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve MD Context #34

Open
matheusgr opened this issue Nov 25, 2020 · 2 comments
Open

Improve MD Context #34

matheusgr opened this issue Nov 25, 2020 · 2 comments

Comments

@matheusgr
Copy link
Contributor

🚀 Feature

MD Context should provide more information to be used by rules.

For instance:

  • A list with entities in each line.
  • A map with a set of extracted entities
  • A tree representing the document structure by section

Have you read the Contributing Guidelines on issues?

Yes.

Motivation

Provide a easy way to create rules.

Pitch

A map and a list per line should cover almost all cases to write MD Context rules.

@matheusgr
Copy link
Contributor Author

@fanny please review this issue.

@fanny
Copy link
Collaborator

fanny commented Nov 25, 2020

Sounds great for me @matheusgr.

I think this issue is related with #20, maybe it will be useful also read it.

As far as I understood, right now the context only gets the entities info without show the relationships between them, so I agree with you it's more useful if we have the info about entities in another format.

I like the tree format that facilitates the way that we transverse the items. I'm just confuse about the other ones, could you explain briefly?

In the case of a tree, I though in something like:
{'type': 'section', 'value': 1, 'children': {'type': 'paragraph', ...}}.

Do you think that it's useful start to use a parser? could facilitate the info extraction process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants