King's College London
Browse
active-passive-data-creation.zip (4.5 GB)

Active/passive sentence pairs and their embeddings

Download (4.5 GB)
dataset
posted on 2023-03-07, 07:58 authored by Daniel PlattDaniel Platt

This repository contains active/passive voice sentences and their sentence embeddings. The repository also contains the code used to generate these files. The file "active_passive_full_cleaned.tsv" has two columns (for active/passive voice) and 472635 rows, because it contains that many sentence pairs. The corresponding file of sentence embedding vectors is "active_passive_embedding_full.npy". It contains a numpy array of shape (472635, 2, 384). 472635 sentences, two columns for active/passive voice, and the embedding dimension of each sentence is 384. The other files in the folder are used in the generation of the aforementioned two files, but are presumably less interesting.


Sentences were extracted from Project Gutenberg without checking for offensive language. There are Project Gutenberg books that contain offensive language. The following is a quote from their Collection Development Policy: "It also means that Project Gutenberg adds eBooks to its collection that contain language or ideas that are outdated, incorrect, offensive, or otherwise inconsistent with today’s societal views, standards or morals." The dataset provided here contains offensive language.

History

Language

English

Usage metrics

    Faculty of Natural, Mathematical & Engineering Sciences

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC