Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: ExternalFilesSizeRequestTimeoutError Exception: ReadTimeout Message: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 466, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 461, in _make_request httplib_response = conn.getresponse() File "/usr/local/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/local/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/local/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/local/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) File "/usr/local/lib/python3.9/ssl.py", line 1242, in recv_into return self.read(nbytes, buffer) File "/usr/local/lib/python3.9/ssl.py", line 1100, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 798, in urlopen retries = retries.increment( File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 714, in urlopen httplib_response = self._make_request( File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 468, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 357, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 488, in _is_too_big_from_external_data_files for i, size in enumerate(pool.imap_unordered(get_size, ext_data_files)): File "/usr/local/lib/python3.9/multiprocessing/pool.py", line 870, in next raise value File "/usr/local/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 386, in _request_size response = http_head(url, headers=headers, max_retries=3) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 429, in http_head response = _request_with_retry( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 328, in _request_with_retry response = requests.request(method=method.upper(), url=url, timeout=timeout, **params) File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/adapters.py", line 532, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0)
Need help to make the dataset viewer work? Open a discussion for direct support.
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 |
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
andsegmentation
oridentifier
andsegmentation
.The only difference between
hashtag
andsegmentation
or betweenidentifier
andsegmentation
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.
- Downloads last month
- 8