Skip to content

This project demonstrates how to connect multiple records in Yale's Lux search to a single record.

License

Notifications You must be signed in to change notification settings

project-lux/lux-overlaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yale Lux Search Overlap Identifier

This project is designed to take in a Yale Lux Search URL and identify potentially overlapping records. The main script, separate.py, downloads entries from the query, processes them to clean and standardize the data, and then creates a hierarchical tree structure to visualize the relationships between the entries.

Features

  • Downloads entries from a given Yale Lux Search query using LuxY.
  • Cleans and standardizes the data, including handling parentheticals, abbreviations, and name parts.
  • Creates a hierarchical tree structure to visualize the relationships between the entries.
  • Outputs the tree structure to a specified file.

Requirements

  • Python 3.6+
  • tqdm
  • anytree
  • nameparser
  • luxy

Installation

  1. Clone the repository:

    git clone https://github.com/project-lux/lux-overlaps
    cd lux-overlaps
  2. Install the required Python packages:

    pip install -r requirements.txt

Usage

To use the script, run the following command:

python separate.py <query> [output]
  • <query>: The Yale Lux Search query to process.
  • [output]: (Optional) The output file to save the tree structure. Defaults to output.txt.

Example

python separate.py "tolkien" output.txt

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This project demonstrates how to connect multiple records in Yale's Lux search to a single record.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages