SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1711.03759 · 2017

YEDDA: A Lightweight Collaborative Text Span Annotation Tool

arXiv · PDF · Open in the Atlas

Code that ran

5 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 7 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1711.03759.json · badge: /api/ran/1711.03759.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jiesutd/YEDDA canonical (classifier label)
classifier basis: census
5 ran · 7 no recorded run
FunctionStatusWhere it lives
compare_files Ran
ran on a synthesized input
jiesutd/YEDDA/utils/metric4ann.py
code served (permissive licence) · get_code("56403008a512c6e8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create temporary files with sample NER data
gold_content = """word1 word2 [@ entity1 # PER *] word3
[@ entity2 # ORG *] word4 word5
"""

pred_content = """word1 word2 [@ entity1 # PER *] word3
[@ entity2 # LOC *] word4 word5
"""

# Write to temporary files
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8') as f:
    gold_file = f.name
    f.write(gold_content)

with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8') as f:
    pred_file = f.name
    f.write(pred_content)

ARGS = {
    'gold_file': gold_file,
    'pred_file': pred_file,
    'up_ignore_layer': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_final_score Ran
ran on a synthesized input
jiesutd/YEDDA/utils/metric4ann.py
code served (permissive licence) · get_code("66bf8c8edd44d866")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'gold_num': 10,
    'pred_num': 8,
    'match_num': 6
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
outputWithTagScheme Ran
ran on a synthesized input
jiesutd/YEDDA/YEDDA.py
code served (permissive licence) · get_code("c747c8d419ecba8f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Setup for outputWithTagScheme function
# The function takes:
# - input_list: a list of strings (tokens/words)
# - label: a string (entity label)
# - tagScheme: a string, either 'BMES' or 'BIO' (default 'BMES')

ARGS = {
    'input_list': ['apple', 'pie', 'is', 'delicious'],
    'label': 'FOOD',
    'tagScheme': 'BMES'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
turnFullListToOutputPair Ran
ran on a synthesized input
jiesutd/YEDDA/YEDDA.py
code served (permissive licence) · get_code("d14c2d3b720348fa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

def outputWithTagScheme(input_list, label, tagScheme='BMES'):
    output_list = []
    list_length = len(input_list)
    if tagScheme == 'BMES':
        if list_length == 1:
            pair = input_list[0] + ' ' + 'S-' + label + '\n'
            output_list.append(pair)
        else:
            for idx in range(list_length):
                if idx == 0:
                    pair = input_list[idx] + ' ' + 'B-' + label + '\n'
                elif idx == list_length - 1:
                    pair = input_list[idx] + ' ' + 'E-' + label + '\n'
                else:
                    pair = input_list[idx] + ' ' + 'M-' + label + '\n'
                output_list.append(pair)
    else:
        for idx in range(list_length):
            if idx == 0:
                pair = input_list[idx] + ' ' + 'B-' + label + '\n'
            else:
                pair = input_list[idx] + ' ' + 'I-' + label + '\n'
            output_list.append(pair)
    return output_list

def turnFullListToOutputPair(fullList, segmented=True, tagScheme='BMES', onlyNP=False):
    pair_list = []
    for chunk_words, start, end, is_tagged in fullList:
        if is_tagged:
            plain_words, label = chunk_words.strip('[@$]').rsplit('#', 1)
            label = label.strip('*')
            if segmented:
                plain_words = plain_words.split()
            if onlyNP:
                label = 'NP'
            outList = outputWithTagScheme(plain_words, label, tagScheme)
            pair_list.extend(outList)
        else:
            if segmented:
                words = chunk_words.split()
            else:
                words = chunk_words
            for word_or_char in words:
                if word_or_char == ' ':
                    continue
                pair = word_or_char + ' ' + 'O\n'
                pair_list.append(pair)
    return pair_list

# Construct fullList with mixed tagged and untagged chunks
fullList = [
    ("the quick[@#PER*]", 0, 2, True),  # Tagged chunk: words with label
    ("brown fox", 3, 4, False),  # Untagged chunk
    ("jumps[@#VERB*]", 5, 5, True),  # Tagged single word
    ("over", 6, 6, False),  # Untagged single word
]

ARGS = {
    'fullList': fullList,
    'segmented': True,
    'tagScheme': 'BMES',
    'onlyNP': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
turnFullListToOutputPair Ran
ran on a synthesized input
jiesutd/YEDDA/Event_beta.py
code served (permissive licence) · get_code("4c9085b72cf79624")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyzing the function turnFullListToOutputPair:
# - fullList: a list where each element is a list with at least 4 items
#   - eachList[0]: a string (possibly with format containing [@] and #)
#   - eachList[3]: a boolean flag
# - seged: boolean (default True)
# - tagScheme: string (default 'BMES')
# - onlyNP: boolean (default False)

# The function processes fullList elements:
# - If eachList[3] is True: processes eachList[0] as a tagged entity
#   - Strips '[@]' and splits by '#'
#   - If seged is True, splits the content by spaces
# - If eachList[3] is False: processes as untagged tokens
#   - If seged is True, splits by spaces

# Construct test data
fullList = [
    # First element: tagged entity (eachList[3] = True)
    ["[@word1 word2#PERSON*]", None, None, True],
    # Second element: untagged tokens (eachList[3] = False)
    ["token1 token2 token3", None, None, False],
    # Third element: single tagged word (eachList[3] = True)
    ["[@hello#LOCATION*]", None, None, True],
]

ARGS = {
    'fullList': fullList,
    'seged': True,
    'tagScheme': 'BMES',
    'onlyNP': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compareBoundary Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/utils/compareAnn.py
code served (permissive licence) · get_code("a03ad4f9106dba57")
How it ran

no invocation recorded.

generate_specific_latex Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/utils/compareAnn.py
code served (permissive licence) · get_code("15b4ee05bf800013")
How it ran

no invocation recorded.

getWordTagPairs Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/YEDDA.py
code served (permissive licence) · get_code("1f204386fab02927")
How it ran

no invocation recorded.

getWordTagPairs Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/Event_beta.py
code served (permissive licence) · get_code("9c5c15301b5add3f")
How it ran

no invocation recorded.

lines_to_label_list Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/utils/compareAnn.py
code served (permissive licence) · get_code("70b2646c711a9ce7")
How it ran

no invocation recorded.

maximum_matching Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/utils/recommend.py
code served (permissive licence) · get_code("c7beb9ca6a1a3879")
How it ran

no invocation recorded.

merge_text_with_entity Not yet run
unverified (harvested, no recorded run)
jiesutd/YEDDA/utils/recommend.py
code served (permissive licence) · get_code("42eab48492999a62")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this paper, we introduce \textsc{Yedda}, a lightweight but efficient and comprehensive open-source tool for text span annotation. \textsc{Yedda} provides a systematic solution for text span annotation, ranging from collaborative user annotation to administrator evaluation and analysis. It overcomes the low efficiency of traditional text annotation tools by annotating entities through both command line and shortcut keys, which are configurable with custom labels. \textsc{Yedda} also gives intelligent recommendations by learning the up-to-date annotated text. An administrator client is developed to evaluate annotation quality of multiple annotators and generate detailed comparison report for each annotator pair. Experiments show that the proposed system can reduce the annotation time by half compared with existing annotation tools. And the annotation time can be further compressed by 16.47\% through intelligent recommendation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1711.03759")
get_code_for_paper("1711.03759")
have("1711.03759")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1711.03759.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1711.03759.svg)](https://syntology.ai/paper/1711.03759)

Connect an agent — have() is free.