Mercurial > code > home > repos > sco-bot
diff search/extract_all.py @ 9:d1b54241a731
rewrite meeting fetcher
author | drewp@bigasterisk.com |
---|---|
date | Wed, 10 Jul 2024 12:25:06 -0700 |
parents | search/search_base.py@f23b21bd0fce |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/search/extract_all.py Wed Jul 10 12:25:06 2024 -0700 @@ -0,0 +1,14 @@ +from typing import Iterable + +import extract_agenda +import extract_pdf +from doc import Doc + + +def allDocs() -> Iterable[Doc]: + for mod in [ + #extract_pdf, + extract_agenda + ]: + for src in mod.files(): + yield from mod.phrasesFromFile(src)