extract entities from docs instead of snippets