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

Allow metamap.py to also cache results when metamapping just a string of text #29

Open
CoreySutphin opened this issue Nov 29, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@CoreySutphin
Copy link
Collaborator

Line 80 in metamap.py

    def map_text(self, text, max_prune_depth=10):
        #TODO add caching here as in map_file
        metamap_dict = self._run_metamap('--XMLf --blanklines 0 --silent --prune %i' % max_prune_depth, text)
        return metamap_dict
@CoreySutphin CoreySutphin added the enhancement New feature or request label Nov 29, 2018
@CoreySutphin CoreySutphin self-assigned this Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant