bnc-lookup 1.0.5__py3-none-any.whl → 1.0.7__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bnc-lookup
3
- Version: 1.0.5
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
  [![PyPI version](https://img.shields.io/pypi/v/bnc-lookup.svg)](https://pypi.org/project/bnc-lookup/)
35
35
  [![PyPI downloads](https://img.shields.io/pypi/dm/bnc-lookup.svg)](https://pypi.org/project/bnc-lookup/)
36
36
  [![Python versions](https://img.shields.io/pypi/pyversions/bnc-lookup.svg)](https://pypi.org/project/bnc-lookup/)
37
- [![License](https://img.shields.io/badge/License-MIT%20%2B%20BNC-yellow.svg)](LICENSE)
37
+ [![License](https://img.shields.io/badge/License-MIT%20%2B%20BNC-yellow.svg)](https://github.com/craigtrim/bnc-lookup/blob/master/LICENSE)
38
38
  [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
39
39
  [![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
40
40
  [![Tests](https://img.shields.io/badge/tests-passing-brightgreen.svg)](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)
@@ -257,7 +257,7 @@ bnc_lookup/hs/h_fc.py,sha256=36PmEBdpRmYq8PCEL7g9m08mCLCQuq50uMUllCAuUdI,101225
257
257
  bnc_lookup/hs/h_fd.py,sha256=N2Sh5oNn6mEBf1FKfSF9V9jWXsaCMOrj3cWgeVHvRUE,97843
258
258
  bnc_lookup/hs/h_fe.py,sha256=90Vr4qZcGfni2nxaGUR4MxuF6Z6aRar8awM5g-Z61T0,100807
259
259
  bnc_lookup/hs/h_ff.py,sha256=vwrosNEVBRctHXd3lC0bsY0bKMUiJnNhOLLv9Be2ouY,105595
260
- bnc_lookup-1.0.5.dist-info/LICENSE,sha256=AYOkuUBnkCcFiW6x4tIrmFPNbW7EG2T5HkGYtxD6cFo,2124
261
- bnc_lookup-1.0.5.dist-info/METADATA,sha256=wvAzV2MdrU75b5w5lbSO1LZ3lkOhlUN0at6a4OsmhKk,6472
262
- bnc_lookup-1.0.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
263
- bnc_lookup-1.0.5.dist-info/RECORD,,
260
+ bnc_lookup-1.0.7.dist-info/LICENSE,sha256=AYOkuUBnkCcFiW6x4tIrmFPNbW7EG2T5HkGYtxD6cFo,2124
261
+ bnc_lookup-1.0.7.dist-info/METADATA,sha256=5da7RPRjgJRa_6Wfj5iEijZAq7TKDdTL_I7FGrGEklE,6591
262
+ bnc_lookup-1.0.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
263
+ bnc_lookup-1.0.7.dist-info/RECORD,,