Datasets:
|
Download README.md from RevolutionCrossroads/RevX_Entities_Occurrences_Join: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/datasets/RevolutionCrossroads/RevX_Entities_Occurrences_Join/resolve/main/README.md
- Command line
-
hf download hf://datasets/RevolutionCrossroads/RevX_Entities_Occurrences_Join/README.md
-
curl -L -o README.md https://huggingface.co/datasets/RevolutionCrossroads/RevX_Entities_Occurrences_Join/resolve/main/README.md
1.37 kB
| license: cc0-1.0 | |
| pretty_name: Revolution Crossroads entity–occurrence join | |
| tags: | |
| - named-entity-recognition | |
| - entity-resolution | |
| - history | |
| - american-revolution | |
| configs: | |
| - config_name: default | |
| data_files: entities_occurrences_join.parquet | |
| # Revolution Crossroads: entity–occurrence join (non-person types) | |
| Links each non-person mention in the occurrences dataset to the entity it belongs to. | |
| | Table | Rows | Columns | | |
| |---|---:|---| | |
| | `entities_occurrences_join` | 24,577,430 | `mention_id`, `entity_id` | | |
| - `mention_id`: the 16-hex ID of a mention in `RevolutionCrossroads/RevX_NER_Entity_Occurrences` | |
| (NER_v2.1). Every non-person mention appears exactly once. | |
| - `entity_id`: the entity in `RevolutionCrossroads/RevX_Entities` (e.g. `RX0000001`). | |
| People are not included yet. | |
| ```python | |
| import polars as pl | |
| join = pl.read_parquet("hf://datasets/RevolutionCrossroads/RevX_Entities_Occurrences_Join/entities_occurrences_join.parquet") | |
| ents = pl.read_parquet("hf://datasets/RevolutionCrossroads/RevX_Entities/entities.parquet") | |
| mentions_with_entity = join.join(ents, on="entity_id") | |
| ``` | |
| See `RevolutionCrossroads/RevX_Entities` for how the entities were grouped, the ID rules and the | |
| limits. Spellings are in `RevolutionCrossroads/RevX_Entities_Variants`. | |
| Code: RevolutionCrossroads/RevX, `pipelines/entities/graph/publish/export_other_types.py`. | |