#!/usr/bin/env python # coding: utf-8 # In[ ]: get_ipython().run_line_magic('load_ext', 'autoreload') get_ipython().run_line_magic('autoreload', '2') # In[2]: from tf.app import use # In[3]: A = use("ETCBC/bhsa", hoist=globals()) # In[4]: query = """ clause phrase =: word sp#verb """ results = A.search(query) # ```1.15s 188532 results``` # # Above was done with cythonized, but unmodified text-fabric. # In[5]: query = """ clause phrase =: word sp#verb """ results = A.search(query) # ```1.78s 188532 results``` # # This was done with pure python text-fabric. # In[ ]: