A really, really basic semantic indexer (Python version)