bnc-lookup 1.0.5__tar.gz → 1.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/PKG-INFO +11 -13
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/README.md +10 -12
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/pyproject.toml +1 -1
- bnc_lookup-1.0.7/setup.py +26 -0
- bnc_lookup-1.0.5/setup.py +0 -26
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/LICENSE +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/__init__.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/find_bnc.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/__init__.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_00.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_01.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_02.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_03.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_04.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_05.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_06.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_07.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_08.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_09.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_0a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_0b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_0c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_0d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_0e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_0f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_10.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_11.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_12.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_13.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_14.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_15.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_16.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_17.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_18.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_19.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_1a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_1b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_1c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_1d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_1e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_1f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_20.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_21.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_22.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_23.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_24.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_25.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_26.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_27.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_28.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_29.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_2a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_2b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_2c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_2d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_2e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_2f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_30.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_31.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_32.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_33.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_34.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_35.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_36.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_37.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_38.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_39.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_3a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_3b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_3c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_3d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_3e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_3f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_40.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_41.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_42.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_43.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_44.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_45.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_46.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_47.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_48.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_49.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_4a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_4b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_4c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_4d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_4e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_4f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_50.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_51.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_52.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_53.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_54.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_55.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_56.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_57.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_58.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_59.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_5a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_5b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_5c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_5d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_5e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_5f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_60.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_61.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_62.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_63.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_64.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_65.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_66.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_67.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_68.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_69.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_6a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_6b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_6c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_6d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_6e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_6f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_70.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_71.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_72.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_73.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_74.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_75.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_76.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_77.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_78.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_79.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_7a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_7b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_7c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_7d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_7e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_7f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_80.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_81.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_82.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_83.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_84.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_85.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_86.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_87.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_88.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_89.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_8a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_8b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_8c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_8d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_8e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_8f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_90.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_91.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_92.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_93.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_94.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_95.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_96.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_97.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_98.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_99.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_9a.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_9b.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_9c.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_9d.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_9e.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_9f.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a0.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a1.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a2.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a3.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a4.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a5.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a6.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a7.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a8.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_a9.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_aa.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ab.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ac.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ad.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ae.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_af.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b0.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b1.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b2.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b3.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b4.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b5.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b6.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b7.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b8.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_b9.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ba.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_bb.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_bc.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_bd.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_be.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_bf.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c0.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c1.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c2.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c3.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c4.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c5.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c6.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c7.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c8.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_c9.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ca.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_cb.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_cc.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_cd.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ce.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_cf.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d0.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d1.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d2.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d3.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d4.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d5.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d6.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d7.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d8.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_d9.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_da.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_db.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_dc.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_dd.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_de.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_df.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e0.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e1.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e2.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e3.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e4.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e5.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e6.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e7.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e8.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_e9.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ea.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_eb.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ec.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ed.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ee.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ef.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f0.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f1.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f2.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f3.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f4.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f5.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f6.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f7.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f8.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_f9.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_fa.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_fb.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_fc.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_fd.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_fe.py +0 -0
- {bnc_lookup-1.0.5 → bnc_lookup-1.0.7}/bnc_lookup/hs/h_ff.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bnc-lookup
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
4
4
|
Summary: Static Hash-Based Lookup for BNC Terms
|
|
5
5
|
Home-page: https://github.com/craigtrim/bnc-lookup
|
|
6
6
|
License: MIT
|
|
@@ -34,7 +34,7 @@ Description-Content-Type: text/markdown
|
|
|
34
34
|
[](https://pypi.org/project/bnc-lookup/)
|
|
35
35
|
[](https://pypi.org/project/bnc-lookup/)
|
|
36
36
|
[](https://pypi.org/project/bnc-lookup/)
|
|
37
|
-
[](LICENSE)
|
|
37
|
+
[](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE)
|
|
38
38
|
[](https://github.com/astral-sh/ruff)
|
|
39
39
|
[](https://github.com/pre-commit/pre-commit)
|
|
40
40
|
[](https://github.com/craigtrim/bnc-lookup)
|
|
@@ -86,8 +86,8 @@ Not "what does it mean?" Not "give me synonyms." Just: is this a word?
|
|
|
86
86
|
<td align="center"><code>is_bnc_term('asdfgh')</code></td>
|
|
87
87
|
</tr>
|
|
88
88
|
<tr>
|
|
89
|
-
<td align="center"><img src="docs/images/yes-hot-dog.png" width="180"></td>
|
|
90
|
-
<td align="center"><img src="docs/images/not-hot-dog.png" width="180"></td>
|
|
89
|
+
<td align="center"><img src="https://raw.githubusercontent.com/craigtrim/bnc-lookup/master/docs/images/yes-hot-dog.png" width="180"></td>
|
|
90
|
+
<td align="center"><img src="https://raw.githubusercontent.com/craigtrim/bnc-lookup/master/docs/images/not-hot-dog.png" width="180"></td>
|
|
91
91
|
</tr>
|
|
92
92
|
<tr>
|
|
93
93
|
<td align="center"><code>True</code></td>
|
|
@@ -121,13 +121,7 @@ If a token passes the BNC test, you can be confident it's a word that real peopl
|
|
|
121
121
|
|
|
122
122
|
## Documentation
|
|
123
123
|
|
|
124
|
-
For detailed usage, performance benchmarks, and advanced features, see the [API Documentation](docs/API.md).
|
|
125
|
-
|
|
126
|
-
## How It Works
|
|
127
|
-
|
|
128
|
-
BNC terms are stored as MD5 hash suffixes in 256 `frozenset` buckets (by first two hex characters of the hash). Lookups hash the input, route to the correct bucket, and perform O(1) set membership. Modules are lazy-loaded on first access per bucket.
|
|
129
|
-
|
|
130
|
-
For the gory details, see [Implementation Notes](docs/IMPLEMENTATION.md).
|
|
124
|
+
For detailed usage, performance benchmarks, and advanced features, see the [API Documentation](https://github.com/craigtrim/bnc-lookup/blob/master/docs/API.md).
|
|
131
125
|
|
|
132
126
|
## Development
|
|
133
127
|
|
|
@@ -139,7 +133,7 @@ make test # Run tests
|
|
|
139
133
|
make all # Full build pipeline
|
|
140
134
|
```
|
|
141
135
|
|
|
142
|
-
See [API Documentation](docs/API.md) for detailed development information.
|
|
136
|
+
See [API Documentation](https://github.com/craigtrim/bnc-lookup/blob/master/docs/API.md) for detailed development information.
|
|
143
137
|
|
|
144
138
|
## License
|
|
145
139
|
|
|
@@ -147,7 +141,7 @@ This package is dual-licensed:
|
|
|
147
141
|
- **Software**: MIT License
|
|
148
142
|
- **BNC Data**: BNC User Licence
|
|
149
143
|
|
|
150
|
-
See [LICENSE](LICENSE) for complete terms.
|
|
144
|
+
See [LICENSE](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE) for complete terms.
|
|
151
145
|
|
|
152
146
|
## Attribution
|
|
153
147
|
|
|
@@ -160,6 +154,10 @@ This package contains data derived from the British National Corpus frequency li
|
|
|
160
154
|
|
|
161
155
|
**Note:** This is a static snapshot of BNC frequency data. The data is not automatically updated.
|
|
162
156
|
|
|
157
|
+
## See Also
|
|
158
|
+
|
|
159
|
+
- **[wordnet-lookup](https://github.com/craigtrim/wordnet-lookup)** - Similar O(1) lookup using the WordNet lexicon
|
|
160
|
+
|
|
163
161
|
## Links
|
|
164
162
|
|
|
165
163
|
- **Repository**: [github.com/craigtrim/bnc-lookup](https://github.com/craigtrim/bnc-lookup)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://pypi.org/project/bnc-lookup/)
|
|
4
4
|
[](https://pypi.org/project/bnc-lookup/)
|
|
5
5
|
[](https://pypi.org/project/bnc-lookup/)
|
|
6
|
-
[](LICENSE)
|
|
6
|
+
[](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE)
|
|
7
7
|
[](https://github.com/astral-sh/ruff)
|
|
8
8
|
[](https://github.com/pre-commit/pre-commit)
|
|
9
9
|
[](https://github.com/craigtrim/bnc-lookup)
|
|
@@ -55,8 +55,8 @@ Not "what does it mean?" Not "give me synonyms." Just: is this a word?
|
|
|
55
55
|
<td align="center"><code>is_bnc_term('asdfgh')</code></td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr>
|
|
58
|
-
<td align="center"><img src="docs/images/yes-hot-dog.png" width="180"></td>
|
|
59
|
-
<td align="center"><img src="docs/images/not-hot-dog.png" width="180"></td>
|
|
58
|
+
<td align="center"><img src="https://raw.githubusercontent.com/craigtrim/bnc-lookup/master/docs/images/yes-hot-dog.png" width="180"></td>
|
|
59
|
+
<td align="center"><img src="https://raw.githubusercontent.com/craigtrim/bnc-lookup/master/docs/images/not-hot-dog.png" width="180"></td>
|
|
60
60
|
</tr>
|
|
61
61
|
<tr>
|
|
62
62
|
<td align="center"><code>True</code></td>
|
|
@@ -90,13 +90,7 @@ If a token passes the BNC test, you can be confident it's a word that real peopl
|
|
|
90
90
|
|
|
91
91
|
## Documentation
|
|
92
92
|
|
|
93
|
-
For detailed usage, performance benchmarks, and advanced features, see the [API Documentation](docs/API.md).
|
|
94
|
-
|
|
95
|
-
## How It Works
|
|
96
|
-
|
|
97
|
-
BNC terms are stored as MD5 hash suffixes in 256 `frozenset` buckets (by first two hex characters of the hash). Lookups hash the input, route to the correct bucket, and perform O(1) set membership. Modules are lazy-loaded on first access per bucket.
|
|
98
|
-
|
|
99
|
-
For the gory details, see [Implementation Notes](docs/IMPLEMENTATION.md).
|
|
93
|
+
For detailed usage, performance benchmarks, and advanced features, see the [API Documentation](https://github.com/craigtrim/bnc-lookup/blob/master/docs/API.md).
|
|
100
94
|
|
|
101
95
|
## Development
|
|
102
96
|
|
|
@@ -108,7 +102,7 @@ make test # Run tests
|
|
|
108
102
|
make all # Full build pipeline
|
|
109
103
|
```
|
|
110
104
|
|
|
111
|
-
See [API Documentation](docs/API.md) for detailed development information.
|
|
105
|
+
See [API Documentation](https://github.com/craigtrim/bnc-lookup/blob/master/docs/API.md) for detailed development information.
|
|
112
106
|
|
|
113
107
|
## License
|
|
114
108
|
|
|
@@ -116,7 +110,7 @@ This package is dual-licensed:
|
|
|
116
110
|
- **Software**: MIT License
|
|
117
111
|
- **BNC Data**: BNC User Licence
|
|
118
112
|
|
|
119
|
-
See [LICENSE](LICENSE) for complete terms.
|
|
113
|
+
See [LICENSE](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE) for complete terms.
|
|
120
114
|
|
|
121
115
|
## Attribution
|
|
122
116
|
|
|
@@ -129,6 +123,10 @@ This package contains data derived from the British National Corpus frequency li
|
|
|
129
123
|
|
|
130
124
|
**Note:** This is a static snapshot of BNC frequency data. The data is not automatically updated.
|
|
131
125
|
|
|
126
|
+
## See Also
|
|
127
|
+
|
|
128
|
+
- **[wordnet-lookup](https://github.com/craigtrim/wordnet-lookup)** - Similar O(1) lookup using the WordNet lexicon
|
|
129
|
+
|
|
132
130
|
## Links
|
|
133
131
|
|
|
134
132
|
- **Repository**: [github.com/craigtrim/bnc-lookup](https://github.com/craigtrim/bnc-lookup)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from setuptools import setup
|
|
3
|
+
|
|
4
|
+
packages = \
|
|
5
|
+
['bnc_lookup', 'bnc_lookup.hs']
|
|
6
|
+
|
|
7
|
+
package_data = \
|
|
8
|
+
{'': ['*']}
|
|
9
|
+
|
|
10
|
+
setup_kwargs = {
|
|
11
|
+
'name': 'bnc-lookup',
|
|
12
|
+
'version': '1.0.7',
|
|
13
|
+
'description': 'Static Hash-Based Lookup for BNC Terms',
|
|
14
|
+
'long_description': '# BNC Lookup\n\n[](https://pypi.org/project/bnc-lookup/)\n[](https://pypi.org/project/bnc-lookup/)\n[](https://pypi.org/project/bnc-lookup/)\n[](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE)\n[](https://github.com/astral-sh/ruff)\n[](https://github.com/pre-commit/pre-commit)\n[](https://github.com/craigtrim/bnc-lookup)\n\n**Is this token a word? O(1) answer. No setup. No dependencies.**\n\nA simple question deserves a simple answer. This library gives you instant yes/no validation against 669,000 word forms from the British National Corpus.\n\n## Quick Start\n\n```bash\npip install bnc-lookup\n```\n\n```python\nfrom bnc_lookup import is_bnc_term\n\n# That\'s it. Start validating.\nis_bnc_term(\'the\') # True\nis_bnc_term(\'however\') # True\nis_bnc_term(\'nonetheless\') # True\nis_bnc_term(\'xyzabc123\') # False\n\n# Handles plurals automatically\nis_bnc_term(\'computers\') # True\n\n# Case insensitive\nis_bnc_term(\'THE\') # True\n```\n\n## Features\n\n- **Zero Dependencies** - Pure Python, no external packages\n- **Zero I/O** - No filesystem access, no database queries\n- **Zero Setup** - No corpus downloads or configuration\n- **Microsecond Lookups** - O(1) dictionary access\n- **Smart Plurals** - Automatically checks singular forms\n- **Simple API** - One function does it all\n\n## The Problem This Solves\n\nIn NLP, you frequently need to answer the question: **"Is this token a real word?"**\n\nNot "what does it mean?" Not "give me synonyms." Just: is this a word?\n\n<table>\n<tr>\n<td align="center"><code>is_bnc_term(\'computer\')</code></td>\n<td align="center"><code>is_bnc_term(\'asdfgh\')</code></td>\n</tr>\n<tr>\n<td align="center"><img src="https://raw.githubusercontent.com/craigtrim/bnc-lookup/master/docs/images/yes-hot-dog.png" width="180"></td>\n<td align="center"><img src="https://raw.githubusercontent.com/craigtrim/bnc-lookup/master/docs/images/not-hot-dog.png" width="180"></td>\n</tr>\n<tr>\n<td align="center"><code>True</code></td>\n<td align="center"><code>False</code></td>\n</tr>\n</table>\n\nThat\'s it. O(1) response. No ambiguity.\n\n## Why BNC?\n\nThe British National Corpus isn\'t an academic wordlist (too narrow). It\'s not a web scrape (too noisy). It\'s not slang (too ephemeral).\n\nIt\'s a **100-million-word corpus of real British English** collected from written and spoken sources between 1991-1994. Books, newspapers, academic papers, conversations. The BNC frequency list captures ~669,000 unique word forms actually used by native speakers.\n\nIf a token passes the BNC test, you can be confident it\'s a word that real people actually use.\n\n## When to Use This\n\n- **Tokenization filtering**: Keep real words, discard garbage\n- **Input validation**: Reject nonsense in user input\n- **NLP preprocessing**: Filter candidates before expensive operations\n- **Spell-check pre-filtering**: Quick reject obvious non-words before fuzzy matching\n- **Data cleaning**: Identify malformed or corrupted text\n\n## What This Doesn\'t Do\n\n- No definitions, synonyms, or semantic relationships (use spaCy for that)\n- No frequency counts or rankings (just yes/no)\n- No spell-checking or suggestions (just existence check)\n\n## Documentation\n\nFor detailed usage, performance benchmarks, and advanced features, see the [API Documentation](https://github.com/craigtrim/bnc-lookup/blob/master/docs/API.md).\n\n## Development\n\n```bash\ngit clone https://github.com/craigtrim/bnc-lookup.git\ncd bnc-lookup\nmake install # Install dependencies\nmake test # Run tests\nmake all # Full build pipeline\n```\n\nSee [API Documentation](https://github.com/craigtrim/bnc-lookup/blob/master/docs/API.md) for detailed development information.\n\n## License\n\nThis package is dual-licensed:\n- **Software**: MIT License\n- **BNC Data**: BNC User Licence\n\nSee [LICENSE](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE) for complete terms.\n\n## Attribution\n\nThis package contains data derived from the British National Corpus frequency lists:\n\n> BNC frequency lists compiled by Adam Kilgarriff.\n> Source: https://www.kilgarriff.co.uk/BNClists/all.num.gz\n>\n> The British National Corpus, version 3 (BNC XML Edition). 2007. Distributed by Bodleian Libraries, University of Oxford, on behalf of the BNC Consortium.\n\n**Note:** This is a static snapshot of BNC frequency data. The data is not automatically updated.\n\n## See Also\n\n- **[wordnet-lookup](https://github.com/craigtrim/wordnet-lookup)** - Similar O(1) lookup using the WordNet lexicon\n\n## Links\n\n- **Repository**: [github.com/craigtrim/bnc-lookup](https://github.com/craigtrim/bnc-lookup)\n- **PyPI**: [pypi.org/project/bnc-lookup](https://pypi.org/project/bnc-lookup)\n- **BNC**: [natcorp.ox.ac.uk](http://www.natcorp.ox.ac.uk)\n- **Author**: Craig Trim ([craigtrim@gmail.com](mailto:craigtrim@gmail.com))\n',
|
|
15
|
+
'author': 'Craig Trim',
|
|
16
|
+
'author_email': 'craigtrim@gmail.com',
|
|
17
|
+
'maintainer': 'Craig Trim',
|
|
18
|
+
'maintainer_email': 'craigtrim@gmail.com',
|
|
19
|
+
'url': 'https://github.com/craigtrim/bnc-lookup',
|
|
20
|
+
'packages': packages,
|
|
21
|
+
'package_data': package_data,
|
|
22
|
+
'python_requires': '>=3.7,<4.0',
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
setup(**setup_kwargs)
|
bnc_lookup-1.0.5/setup.py
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
from setuptools import setup
|
|
3
|
-
|
|
4
|
-
packages = \
|
|
5
|
-
['bnc_lookup', 'bnc_lookup.hs']
|
|
6
|
-
|
|
7
|
-
package_data = \
|
|
8
|
-
{'': ['*']}
|
|
9
|
-
|
|
10
|
-
setup_kwargs = {
|
|
11
|
-
'name': 'bnc-lookup',
|
|
12
|
-
'version': '1.0.5',
|
|
13
|
-
'description': 'Static Hash-Based Lookup for BNC Terms',
|
|
14
|
-
'long_description': '# BNC Lookup\n\n[](https://pypi.org/project/bnc-lookup/)\n[](https://pypi.org/project/bnc-lookup/)\n[](https://pypi.org/project/bnc-lookup/)\n[](LICENSE)\n[](https://github.com/astral-sh/ruff)\n[](https://github.com/pre-commit/pre-commit)\n[](https://github.com/craigtrim/bnc-lookup)\n\n**Is this token a word? O(1) answer. No setup. No dependencies.**\n\nA simple question deserves a simple answer. This library gives you instant yes/no validation against 669,000 word forms from the British National Corpus.\n\n## Quick Start\n\n```bash\npip install bnc-lookup\n```\n\n```python\nfrom bnc_lookup import is_bnc_term\n\n# That\'s it. Start validating.\nis_bnc_term(\'the\') # True\nis_bnc_term(\'however\') # True\nis_bnc_term(\'nonetheless\') # True\nis_bnc_term(\'xyzabc123\') # False\n\n# Handles plurals automatically\nis_bnc_term(\'computers\') # True\n\n# Case insensitive\nis_bnc_term(\'THE\') # True\n```\n\n## Features\n\n- **Zero Dependencies** - Pure Python, no external packages\n- **Zero I/O** - No filesystem access, no database queries\n- **Zero Setup** - No corpus downloads or configuration\n- **Microsecond Lookups** - O(1) dictionary access\n- **Smart Plurals** - Automatically checks singular forms\n- **Simple API** - One function does it all\n\n## The Problem This Solves\n\nIn NLP, you frequently need to answer the question: **"Is this token a real word?"**\n\nNot "what does it mean?" Not "give me synonyms." Just: is this a word?\n\n<table>\n<tr>\n<td align="center"><code>is_bnc_term(\'computer\')</code></td>\n<td align="center"><code>is_bnc_term(\'asdfgh\')</code></td>\n</tr>\n<tr>\n<td align="center"><img src="docs/images/yes-hot-dog.png" width="180"></td>\n<td align="center"><img src="docs/images/not-hot-dog.png" width="180"></td>\n</tr>\n<tr>\n<td align="center"><code>True</code></td>\n<td align="center"><code>False</code></td>\n</tr>\n</table>\n\nThat\'s it. O(1) response. No ambiguity.\n\n## Why BNC?\n\nThe British National Corpus isn\'t an academic wordlist (too narrow). It\'s not a web scrape (too noisy). It\'s not slang (too ephemeral).\n\nIt\'s a **100-million-word corpus of real British English** collected from written and spoken sources between 1991-1994. Books, newspapers, academic papers, conversations. The BNC frequency list captures ~669,000 unique word forms actually used by native speakers.\n\nIf a token passes the BNC test, you can be confident it\'s a word that real people actually use.\n\n## When to Use This\n\n- **Tokenization filtering**: Keep real words, discard garbage\n- **Input validation**: Reject nonsense in user input\n- **NLP preprocessing**: Filter candidates before expensive operations\n- **Spell-check pre-filtering**: Quick reject obvious non-words before fuzzy matching\n- **Data cleaning**: Identify malformed or corrupted text\n\n## What This Doesn\'t Do\n\n- No definitions, synonyms, or semantic relationships (use spaCy for that)\n- No frequency counts or rankings (just yes/no)\n- No spell-checking or suggestions (just existence check)\n\n## Documentation\n\nFor detailed usage, performance benchmarks, and advanced features, see the [API Documentation](docs/API.md).\n\n## How It Works\n\nBNC terms are stored as MD5 hash suffixes in 256 `frozenset` buckets (by first two hex characters of the hash). Lookups hash the input, route to the correct bucket, and perform O(1) set membership. Modules are lazy-loaded on first access per bucket.\n\nFor the gory details, see [Implementation Notes](docs/IMPLEMENTATION.md).\n\n## Development\n\n```bash\ngit clone https://github.com/craigtrim/bnc-lookup.git\ncd bnc-lookup\nmake install # Install dependencies\nmake test # Run tests\nmake all # Full build pipeline\n```\n\nSee [API Documentation](docs/API.md) for detailed development information.\n\n## License\n\nThis package is dual-licensed:\n- **Software**: MIT License\n- **BNC Data**: BNC User Licence\n\nSee [LICENSE](LICENSE) for complete terms.\n\n## Attribution\n\nThis package contains data derived from the British National Corpus frequency lists:\n\n> BNC frequency lists compiled by Adam Kilgarriff.\n> Source: https://www.kilgarriff.co.uk/BNClists/all.num.gz\n>\n> The British National Corpus, version 3 (BNC XML Edition). 2007. Distributed by Bodleian Libraries, University of Oxford, on behalf of the BNC Consortium.\n\n**Note:** This is a static snapshot of BNC frequency data. The data is not automatically updated.\n\n## Links\n\n- **Repository**: [github.com/craigtrim/bnc-lookup](https://github.com/craigtrim/bnc-lookup)\n- **PyPI**: [pypi.org/project/bnc-lookup](https://pypi.org/project/bnc-lookup)\n- **BNC**: [natcorp.ox.ac.uk](http://www.natcorp.ox.ac.uk)\n- **Author**: Craig Trim ([craigtrim@gmail.com](mailto:craigtrim@gmail.com))\n',
|
|
15
|
-
'author': 'Craig Trim',
|
|
16
|
-
'author_email': 'craigtrim@gmail.com',
|
|
17
|
-
'maintainer': 'Craig Trim',
|
|
18
|
-
'maintainer_email': 'craigtrim@gmail.com',
|
|
19
|
-
'url': 'https://github.com/craigtrim/bnc-lookup',
|
|
20
|
-
'packages': packages,
|
|
21
|
-
'package_data': package_data,
|
|
22
|
-
'python_requires': '>=3.7,<4.0',
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
setup(**setup_kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|