Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

punuy-datasets

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

punuy-datasets

[![Node.js CI](https://github.com/andrefs/punuy-datasets/actions/workflows/node.js.yml/badge.svg)](https://github.com/andrefs/punuy-datasets/actions/workflows/node.js.yml)

  • 11.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
236
increased by686.67%
Maintainers
0
Weekly downloads
 
Created
Source

punuy-datasets

Node.js CI

A collection of quantitative lexical semantic relations datasets, gathered from the academic literature, for the evaluation of semantic measures between concepts or entities. Currently focused on the English and Portuguese languages.

Datasets

English

#IDNameYearDomainSim/RelReferences
1rg65Rubenstein and Goodenough (1965)1965generalsimpaper 📑, website 🌐
2mervis210Mervis 2101975generalrelpaper 📑
3tversky42Tversky421979generalsimpaper 📑
4mc30Miller and Charles (1991)1991generalsimpaper 📑
5medin34Medin 341993generalsimpaper 📑
6resnik28Miller and Charles Replication1999generalsimpaper 📑, website 🌐
7rd27Resnik and Diab 20002000generalsimpaper 📑, website 🌐
8ws353WordSimilarity-3532002generalsimpaper 📑, website 🌐
9yp130YP-1302005generalsimpaper 📑
10bg100kPrinceton Evocation Data 0.42006generalevopaper 📑, website 🌐
11mesh2MeSH22006biomedicalsimpaper 📑, website 🌐
12zie55Ziegler et al. (2006)2006generalrelpaper 📑
13mayoSRSMayoSRS2007biomedicalrelpaper 📑, website 🌐
14miniMSRSMiniMayoSRS2007biomedicalrelpaper 📑, website 🌐
15gm30Gracia and Mena (2008)2008generalrelpaper 📑
16ps65Pirro and Seco (2008)2008generalsimpaper 📑
17ws353splitWordSim-353 Similarity and Relatedness Gold Standard2009generalrel/simpaper 📑, website 🌐
18umnsrsUMNSRS2010biomedicalrel/simpaper 📑, website 🌐
19mt287MT2872011generalrelpaper 📑, website 🌐
20atlasify240Atlasify2402012generalrelpaper 📑, website 🌐
21mturk771MTurk7712012generalrelpaper 📑, website 🌐
22reword26REWOrD2012generalrelpaper 📑, website 🌐
23scws2003SCWS2012generalsimpaper 📑, website 🌐
24ma28Martinez & Aldana2013generalsimpaper 📑, website 🌐
25rel122Rel-1222013generalrelpaper 📑, website 🌐
26srw2034Stanford Rare Word (RW) Similarity Dataset2013biomedicalsimpaper 📑, website 🌐
27wp300WP3002013generalsimpaper 📑, website 🌐
28baker143Baker 1432014generalsimpaper 📑, website 🌐
29geresid50GeReSiD2014geographicalrel/simpaper 📑, website 🌐
30men3000MEN2014generalrelpaper 📑, website 🌐
31sl7576SL75762014generalsimpaper 📑, website 🌐
32simlex999SimLex-9992015generalsimpaper 📑, website 🌐
33tr9856TR98562015generalrelpaper 📑, website 🌐
34simverb3500SimVerb-35002016generalsimpaper 📑, website 🌐
35umnsrsModUMNSRS (modified)2016biomedicalrel/simpaper 📑, website 🌐
36semeval17SemEval-2017 Task 2.12017generalsimpaper 📑, website 🌐
37ali27Ali et al. 20182018generalsimpaper 📑
38card660Card-6602018generalsimpaper 📑, website 🌐
39gtrdGTRD2018geographicalrelpaper 📑, website 🌐
40word19kWikipedia Oriented Relatedness Dataset2018generalrelpaper 📑, website 🌐
41multisimlexMulti-SimLex2020generalsimpaper 📑, website 🌐
42emoconEmotion concepts 20222022generalsimpaper 📑, website 🌐
43sstars13Shooting-Stars2023generalrelpaper 📑, website 🌐

Portuguese

#IDNameYearDomainSim/RelReferences
1pt65PT652014generalrelpaper 📑, website 🌐
2lxrw2034LX-Rare Word Similarity Dataset2017generalsimpaper 📑, website 🌐
3lxsimlex999LX-SimLex-9992017generalsimpaper 📑, website 🌐
4lxws353LX-WordSim-3532017generalrelpaper 📑, website 🌐
5pap900PAP9002024generalrel/simwebsite 🌐

Use with Node.js

If you want to programatically use the datasets' data and metadata, install the Node.js wrapper code:

npm install

Then you can access the datasets like this:

import { mc30, rg65 } from "punuy-datasets";

for (const part of mc30.partitions) {
  console.log(part.id, part.data.length); // print partition id and size
}

Other uses

If you want to use another language or just want to access the data files directly, each dataset has its own folder inside profiles/.

Each dataset has a dataset.json file with its metadata and information about its partitions. Then, for each partition with id p_id, there is a p_id.part.json file containing the pairs and their ratings.

Adding a new dataset

If you can create the dataset profile yourself, PRs are welcome! You can find the dataset schema (in Typescript) here.

Or you can open an issue. Please include:

  1. a link to the dataset homepage (if it exists),
  2. a link to download the dataset, and
  3. a link to the paper describing it.

I'll get to it as soon as I have some free time ;)

Types and schema

TypeScript definitions can be found at src/lib/types.ts.

Automatically generated JSON schema definitions can be found at dataset-schema.json and partition-data-schema.json.

Automatically generated documentation can be found at docs/.

Did you find a problem with the licensing of a dataset? We did our best to find and include the licenses to all the datasets and to respect copyrights, but we might have missed something!

Please open an issue and we'll fix it ASAP.

See also

For cross-lingual datasets and datasets in other languages please check the following links:

Bugs and stuff

Open a GitHub issue or, preferably, send me a pull request.

License

The MIT License (MIT)

Copyright (c) 2025 André Santos andrefs@andrefs.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Keywords

FAQs

Package last updated on 18 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc