MCPcopy Create free account
hub / github.com/JFox/aws-lambda-lxml / flatten_el

Function flatten_el

3.6.4/py27/lxml/html/diff.py:680–706  ·  view source on GitHub ↗

Takes an lxml element el, and generates all the text chunks for that tag. Each start tag is a chunk, each word is a chunk, and each end tag is a chunk. If skip_tag is true, then the outermost container tag is not returned (just its contents).

(el, include_hrefs, skip_tag=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tokenizeFunction · 0.70

Calls 3

start_tagFunction · 0.70
split_wordsFunction · 0.70
end_tagFunction · 0.70

Tested by

no test coverage detected