Dataset Preview
Go to dataset viewer
index (int32)identifier (string)segmentation (string)expansion (string)
0
"abcdef"
"abc def"
"abc definition"
1
"abor"
"abor"
"abort"
2
"abracket"
"a bracket"
"a bracket"
3
"abspath"
"abs path"
"absolute path"
4
"accentsoft"
"accent soft"
"accent soft"
5
"acceptstring"
"accept string"
"accept string"
6
"accesscontrol"
"access control"
"access control"
7
"acct"
"acct"
"acceptt"
8
"ack"
"ack"
"acknowledge"
9
"acl"
"ac l"
"access control list"
10
"actioncode"
"action code"
"action code"
11
"activateradiobutton"
"activate radio button"
"activate radio button"
12
"addcelltorow"
"add cell to row"
"add cell to row"
13
"addcelltotable"
"add cell to table"
"add cell to table"
14
"addch"
"add ch"
"add child"
15
"addchild"
"add child"
"add child"
16
"addclassname"
"add class name"
"add class name"
17
"addcolinfo"
"add col info"
"add column info"
18
"addhiddenlink"
"add hidden link"
"add hidden link"
19
"addinfo"
"add info"
"add info"
20
"addlbl"
"add lbl"
"add label"
21
"addobject"
"add object"
"add object"
22
"addobjectat"
"add object at"
"add object at"
23
"addr"
"addr"
"address"
24
"addressdeflist"
"address def list"
"address definition list"
25
"addrowgroup"
"add row group"
"add row group"
26
"addrowtotable"
"add row to table"
"add row to table"
27
"addrs"
"addrs"
"address"
28
"addrtype"
"addr type"
"address type"
29
"adds"
"add s"
"add string"
30
"addstr"
"add str"
"add string"
31
"addstyle"
"add style"
"add style"
32
"addtolist"
"add to list"
"add to list"
33
"addvalueaccepted"
"add value accepted"
"add value accepted"
34
"adr"
"adr"
"address"
35
"adrs"
"adrs"
"address"
36
"aedit"
"a edit"
"a edit"
37
"afaik"
"a fa "
"as far as I know"
38
"againformultinet"
"again formul t inet"
"again formul to inet"
39
"aka"
"a k "
"a kind of"
40
"alertmail"
"alert mail"
"alert mail"
41
"alertsecs"
"alert secs"
"alert secs"
42
"alignedhostent"
"aligned hostent"
"aligned hostent"
43
"alink"
"a link"
"a link"
44
"alist"
"a list"
"a list"
45
"allocatedstring"
"allocated string"
"allocated string"
46
"allocationlist"
"allocation list"
"allocation list"
47
"allochtline"
"alloc "
"alloc to line"
48
"altcharset"
"alt charset"
"alternate charset"
49
"alturls"
"alt urls"
"alternative urls"
50
"always"
"always"
"always"
51
"alwaysalert"
"always alert"
"always alert"
52
"anany"
"a nany"
"a nany"
53
"anchoraddress"
"anchor address"
"anchor address"
54
"anchorline"
"anchor line"
"anchor line"
55
"anyaddress"
"any address"
"any address"
56
"anyedit"
"any edit"
"any edit"
57
"anymap"
"any map"
"any map"
58
"anytolong"
"any to long"
"any to long"
59
"anytostring"
"any to string"
"any to string"
60
"appendcharacter"
"append character"
"append character"
61
"appendlist"
"append list"
"append list"
62
"appendobject"
"append object"
"append object"
63
"appendparagraph"
"append paragraph"
"append paragraph"
64
"appendtext"
"append text"
"append text"
65
"appendtitle"
"append title"
"append title"
66
"appleshare"
"apple share"
"apple share"
67
"applystyle"
"apply style"
"apply style"
68
"aredifferent"
"are different"
"are different"
69
"arglist"
"arg list"
"arg list"
70
"argncmp"
"arg "
"arg compare"
71
"arg"
"arg"
"argument"
72
"argp"
"arg p"
"argument parameter"
73
"arthurlibrary"
"arthu rlibrary"
"arthu rlibrary"
74
"arthursecret"
"arthur secret"
"arthur secret"
75
"atexit"
"at exit"
"at exit"
76
"atime"
"a time"
"a time"
77
"atlink"
"at link"
"at link"
78
"atsign"
"at sign"
"at sign"
79
"attlist"
"att list"
"attribute list"
80
"attributelist"
"attribute list"
"attribute list"
81
"attrname"
"attr name"
"attribute name"
82
"attrs"
"attrs"
"attributes"
83
"attrval"
"attr val"
"attribute value"
84
"auth"
"auth"
"authenticate"
85
"authinfo"
"auth info"
"author info"
86
"autoconf"
"auto conf"
"auto configuration"
87
"autodetect"
"auto detect"
"auto detect"
88
"autoextedit"
"auto exted it"
"auto extended edit"
89
"autogrow"
"auto grow"
"auto grow"
90
"autoswitch"
"auto switch"
"auto switch"
91
"badattr"
"bad attr"
"bad attribute"
92
"badchar"
"bad char"
"bad char"
93
"badheaders"
"bad headers"
"bad headers"
94
"badlocpath"
"bad loc path"
"bad local path"
95
"badrequest"
"bad request"
"bad request"
96
"badseq"
"bad seq"
"bad sequeqnce"
97
"badtag"
"bad tag"
"bad tag"
98
"basefont"
"base font"
"base font"
99
"baselen"
"base len"
"base length"
End of preview (truncated to 100 rows)

Dataset Card for Lynx

Dataset Summary

In programming languages, identifiers are tokens (also called symbols) which name language entities. Some of the kinds of entities an identifier might denote include variables, types, labels, subroutines, and packages.

Lynx is a dataset for identifier segmentation, i.e. the task of adding spaces between the words on a identifier.

Besides identifier segmentation, the gold labels for this dataset also include abbreviation expansion.

Languages

  • C

Dataset Structure

Data Instances

{
    "index": 3,
    "identifier": "abspath",
    "segmentation": "abs path",
    "expansion": "absolute path",
    "spans": {
        "text": [
            "abs"
        ],
        "expansion": [
            "absolute"
        ],
        "start": [
            0
        ],
        "end": [
            4
        ]
    }
}

Data Fields

  • index: a numerical index.
  • identifier: the original identifier.
  • segmentation: the gold segmentation for the identifier, without abbreviation expansion.
  • expansion: the gold segmentation for the identifier, with abbreviation expansion.
  • spans: the start and end index of each abbreviation, the text of the abbreviation and its corresponding expansion.

Dataset Creation

  • All hashtag segmentation and identifier splitting datasets on this profile have the same basic fields: hashtag and segmentation or identifier and segmentation.

  • The only difference between hashtag and segmentation or between identifier and segmentation are the whitespace characters. Spell checking, expanding abbreviations or correcting characters to uppercase go into other fields.

  • There is always whitespace between an alphanumeric character and a sequence of any special characters ( such as _ , :, ~ ).

  • If there are any annotations for named entity recognition and other token classification tasks, they are given in a spans field.

Citation Information

@inproceedings{madani2010recognizing,
  title={Recognizing words from source code identifiers using speech recognition techniques},
  author={Madani, Nioosha and Guerrouj, Latifa and Di Penta, Massimiliano and Gueheneuc, Yann-Gael and Antoniol, Giuliano},
  booktitle={2010 14th European Conference on Software Maintenance and Reengineering},
  pages={68--77},
  year={2010},
  organization={IEEE}
}

Contributions

This dataset was added by @ruanchaves while developing the hashformers library.

Edit dataset card
Evaluate models HF Leaderboard