SYMBOL INDEX (394 symbols across 40 files) FILE: code/evaluation/metrics.py class Evaluator (line 7) | class Evaluator(object): method __init__ (line 8) | def __init__(self, threshold, name): method gm_add (line 17) | def gm_add(self, gm_in_batch): method check_tp (line 20) | def check_tp(self, score, docid): method check_fp (line 27) | def check_fp(self, score, docid): method check_fn (line 34) | def check_fn(self, score, docid): method _score_computation (line 41) | def _score_computation(self, el_mode): method print_log_results (line 70) | def print_log_results(self, tf_writer, eval_cnt, el_mode): method print_log_results_old (line 100) | def print_log_results_old(self, tf_writer, eval_cnt, el_mode): class StrongMatcher (line 165) | class StrongMatcher(object): method __init__ (line 170) | def __init__(self, b_e_gt_iterator): method check (line 175) | def check(self, t): class WeakMatcher (line 180) | class WeakMatcher(object): method __init__ (line 190) | def __init__(self, b_e_gt_iterator): method check (line 195) | def check(self, t): class FNStrongMatcher (line 211) | class FNStrongMatcher(object): method __init__ (line 218) | def __init__(self, filtered_spans): method check (line 223) | def check(self, t): class FNWeakMatcher (line 229) | class FNWeakMatcher(object): method __init__ (line 239) | def __init__(self, filtered_spans): method check (line 244) | def check(self, t): function _filtered_spans_and_gm_gt_list (line 263) | def _filtered_spans_and_gm_gt_list(b, final_scores, cand_entities_len, c... function threshold_calculation (line 299) | def threshold_calculation(final_scores, cand_entities_len, cand_entities, function metrics_calculation (line 326) | def metrics_calculation(evaluator, final_scores, cand_entities_len, cand... function metrics_calculation_and_prediction_printing (line 354) | def metrics_calculation_and_prediction_printing(evaluator, final_scores, FILE: code/evaluation/metrics_old.py class Evaluator_aux (line 7) | class Evaluator_aux(object): method __init__ (line 8) | def __init__(self, threshold, name): method check_tp (line 16) | def check_tp(self, score, docid): method check_fp (line 21) | def check_fp(self, score, docid): method check_fn (line 26) | def check_fn(self, score, docid): method print_results (line 31) | def print_results(self): class Evaluator (line 70) | class Evaluator(object): method __init__ (line 71) | def __init__(self, weak_thr=None, strong_thr=None, name=""): method weak_check_tp (line 80) | def weak_check_tp(self, score, docid): method weak_check_fp (line 85) | def weak_check_fp(self, score, docid): method weak_check_fn (line 90) | def weak_check_fn(self, score, docid): method strong_check_tp (line 95) | def strong_check_tp(self, score, docid): method strong_check_fp (line 100) | def strong_check_fp(self, score, docid): method strong_check_fn (line 105) | def strong_check_fn(self, score, docid): method print_log_results (line 110) | def print_log_results(self, writer, eval_cnt): class WeakStrongMatching (line 136) | class WeakStrongMatching(object): method __init__ (line 137) | def __init__(self, b_e_gt_iterator): method strong_check (line 149) | def strong_check(self, t): method weak_check (line 152) | def weak_check(self, t): class FNWeakStrongMatching (line 168) | class FNWeakStrongMatching(object): method __init__ (line 169) | def __init__(self, filtered_spans): method strong_check (line 180) | def strong_check(self, t): method weak_check (line 190) | def weak_check(self, t): function validation_scores_calculation (line 206) | def validation_scores_calculation(evaluator, final_scores, cand_entities... function evaluation_scores_calculation (line 271) | def evaluation_scores_calculation(evaluator, final_scores, cand_entities... FILE: code/evaluation/print_predictions (copy).py class PrintPredictions (line 8) | class PrintPredictions(object): method __init__ (line 9) | def __init__(self, output_folder, predictions_folder, entity_extension... method map_entity (line 20) | def map_entity(self, nnid): method process_file (line 25) | def process_file(self, el_mode, name, opt_thr): method file_ended (line 31) | def file_ended(self): method process_sample (line 34) | def process_sample(self, chunkid, class FPWeakMatcherLogging (line 112) | class FPWeakMatcherLogging(object): method __init__ (line 123) | def __init__(self, printPredictions, b_e_gt_iterator, cand_entities, c... method check (line 133) | def check(self, s, e, span_num): FILE: code/evaluation/print_predictions.py class GMBucketingResults (line 10) | class GMBucketingResults(object): method __init__ (line 11) | def __init__(self, gm_bucketing_pempos): method reinitialize (line 20) | def reinitialize(self): method process_fn (line 26) | def process_fn(self, pos, match_with_winner, num_of_cand_entities): method process_tp (line 37) | def process_tp(self, pos, num_of_cand_entities): method print (line 45) | def print(self): class PrintPredictions (line 54) | class PrintPredictions(object): method __init__ (line 55) | def __init__(self, output_folder, predictions_folder, entity_extension... method map_entity (line 70) | def map_entity(self, nnid, onlyname=False): method process_file (line 75) | def process_file(self, el_mode, name, opt_thr): method file_ended (line 83) | def file_ended(self): method scores_text (line 88) | def scores_text(self, scores_l, scores_names_l, i, j): method process_sample (line 91) | def process_sample(self, chunkid, method print_gmask (line 191) | def print_gmask(self, gmask, span_num_b_e_gt, reconstructed_words, can... class FPWeakMatcherLogging (line 208) | class FPWeakMatcherLogging(object): method __init__ (line 219) | def __init__(self, printPredictions, span_num_b_e_gt, cand_entities, c... method check (line 234) | def check(self, s, e, span_num, winner_pos=None): class FNWeakMatcherLogging (line 285) | class FNWeakMatcherLogging(object): method __init__ (line 290) | def __init__(self, printPredictions, filtered_spans, cand_entities, ca... method check (line 306) | def check(self, gm_num, s, e, gt): function print_global_pairwise_voting (line 367) | def print_global_pairwise_voting(gmask, span_num_b_e_gt, reconstructed_w... FILE: code/evaluation/summarize_all_experiments.py function process_experiment (line 5) | def process_experiment(ed_acc, el_acc, training_name): function process_folder (line 72) | def process_folder(ed_acc, el_acc, training_name): function file_is_used (line 88) | def file_is_used(filepath): function main (line 99) | def main(): function _parse_args (line 137) | def _parse_args(): FILE: code/gerbil/build_entity_universe.py class BuildEntityUniverse (line 10) | class BuildEntityUniverse(object): method __init__ (line 11) | def __init__(self): method process (line 16) | def process(self, text, given_spans): method flush_entity_universe (line 26) | def flush_entity_universe(self): class Struct (line 52) | class Struct(object): method __init__ (line 53) | def __init__(self): FILE: code/gerbil/gerbil_recall_calculation.py class ProcessDataset (line 8) | class ProcessDataset(object): method __init__ (line 9) | def __init__(self): method process (line 18) | def process(self, filepath, filename): function main (line 38) | def main(): FILE: code/gerbil/nn_processing.py class StreamingSamples (line 14) | class StreamingSamples(object): method __init__ (line 15) | def __init__(self): method new_sample (line 27) | def new_sample(self, sample): method gen (line 31) | def gen(self): class NNProcessing (line 54) | class NNProcessing(object): method __init__ (line 55) | def __init__(self, train_args, args): method process (line 121) | def process(self, text, given_spans): method map_words_to_char_positions (line 209) | def map_words_to_char_positions(self, text): method nearest_idx (line 282) | def nearest_idx(self, key, values): method _add_response_span (line 293) | def _add_response_span(self, response, span, words2charidx): method nearest_given_span (line 303) | def nearest_given_span(self, begin_idx, end_idx): # [begin_idx, end... method stanford_ner_spans (line 315) | def stanford_ner_spans(self, words_l, words2charidx): function list_of_lists_to_2darray (line 343) | def list_of_lists_to_2darray(a): function retrieve_optimal_threshold_from_logfile (line 351) | def retrieve_optimal_threshold_from_logfile(model_folder, checkpoint_pat... FILE: code/gerbil/nn_processing_correct.py class StreamingSamples (line 12) | class StreamingSamples(object): method __init__ (line 13) | def __init__(self): method new_sample (line 25) | def new_sample(self, sample): method gen (line 29) | def gen(self): class NNProcessing (line 52) | class NNProcessing(object): method __init__ (line 53) | def __init__(self, train_args, args): method process (line 122) | def process(self, text, given_spans): method find_corefence_person (line 275) | def find_corefence_person(self, span_text): method nearest_idx (line 295) | def nearest_idx(self, key, values): method _add_response_span (line 306) | def _add_response_span(self, response, span, words2charidx): method nearest_given_span (line 316) | def nearest_given_span(self, begin_idx, end_idx): # [begin_idx, end... method custom_response (line 326) | def custom_response(self, filtered_spans, text, words2charidx, chunk_w... method stanford_ner_spans (line 361) | def stanford_ner_spans(self, words_l, words2charidx): function list_of_lists_to_2darray (line 420) | def list_of_lists_to_2darray(a): function retrieve_optimal_threshold_from_logfile (line 428) | def retrieve_optimal_threshold_from_logfile(model_folder, checkpoint_pat... FILE: code/gerbil/server.py class GetHandler (line 10) | class GetHandler(BaseHTTPRequestHandler): method do_POST (line 12) | def do_POST(self): function read_json (line 29) | def read_json(post_data): function _parse_args (line 37) | def _parse_args(): function terminate (line 83) | def terminate(): FILE: code/model/base_model.py class BaseModel (line 5) | class BaseModel(object): method __init__ (line 7) | def __init__(self, args): method reinitialize_weights (line 13) | def reinitialize_weights(self, scope_name): method add_train_op (line 19) | def add_train_op(self, lr_method, lr, loss, clip=-1): method initialize_session (line 48) | def initialize_session(self): method restore_session (line 61) | def restore_session(self, option="latest"): method my_latest_checkpoint (line 97) | def my_latest_checkpoint(self, folder_path): # model-9.meta method save_session (line 102) | def save_session(self, eval_cnt, save_ed_flag, save_el_flag): method close_session (line 116) | def close_session(self): method _restore_list (line 120) | def _restore_list(self): method checkpoint_variables (line 124) | def checkpoint_variables(self): method find_variable_handler_by_name (line 135) | def find_variable_handler_by_name(self, var_name): FILE: code/model/ed_model_original.py class EDModel (line 9) | class EDModel(BaseModel): method __init__ (line 10) | def __init__(self, args, next_element): method add_placeholders (line 41) | def add_placeholders(self): method init_embeddings (line 103) | def init_embeddings(self): method add_embeddings_op (line 113) | def add_embeddings_op(self): method add_context_emb_op (line 195) | def add_context_emb_op(self): method add_span_emb_op (line 208) | def add_span_emb_op(self): method add_lstm_score_op (line 286) | def add_lstm_score_op(self): method add_local_attention_op (line 302) | def add_local_attention_op(self): method custom_pem (line 382) | def custom_pem(self, log=True, buckets_boundaries=None, bucketing_name... method _pem_bucketing_embeddings (line 391) | def _pem_bucketing_embeddings(self, buckets_boundaries, bucketing_name): method add_cand_ent_scores_op (line 403) | def add_cand_ent_scores_op(self): method add_global_voting_op (line 442) | def add_global_voting_op(self): method add_loss_op (line 549) | def add_loss_op(self): method build (line 565) | def build(self): method _sequence_mask_v13 (line 593) | def _sequence_mask_v13(self, mytensor, max_width): FILE: code/model/ensemble_eval.py function validation_loss_calculation (line 12) | def validation_loss_calculation(filename, opt_thr, el_mode): function optimal_thr_calc (line 64) | def optimal_thr_calc(el_mode): function create_input_pipeline (line 109) | def create_input_pipeline(el_mode, model_folder, filenames): function evaluate (line 144) | def evaluate(): function _parse_args (line 157) | def _parse_args(): FILE: code/model/evaluate.py function validation_loss_calculation (line 12) | def validation_loss_calculation(model, iterator, dataset_handle, opt_thr... function compute_ed_el_scores (line 63) | def compute_ed_el_scores(model, handles, names, iterators, el_mode): function evaluate (line 82) | def evaluate(): function print_variables_values (line 124) | def print_variables_values(model): function print_thr_and_ffnn_values (line 133) | def print_thr_and_ffnn_values(model, opt_thr): function _parse_args (line 151) | def _parse_args(): FILE: code/model/model.py class Model (line 12) | class Model(BaseModel): method __init__ (line 14) | def __init__(self, args, next_element): method add_placeholders (line 51) | def add_placeholders(self): method init_embeddings (line 56) | def init_embeddings(self): method add_embeddings_op (line 66) | def add_embeddings_op(self): method add_context_emb_op (line 145) | def add_context_emb_op(self): method add_span_emb_op (line 158) | def add_span_emb_op(self): method add_lstm_score_op (line 231) | def add_lstm_score_op(self): method add_local_attention_op (line 249) | def add_local_attention_op(self): method add_cand_ent_scores_op (line 316) | def add_cand_ent_scores_op(self): method add_global_voting_op (line 339) | def add_global_voting_op(self): method add_loss_op (line 370) | def add_loss_op(self): method build (line 385) | def build(self): method _sequence_mask_v13 (line 413) | def _sequence_mask_v13(self, mytensor, max_width): FILE: code/model/model_ablations.py class Model (line 9) | class Model(BaseModel): method __init__ (line 11) | def __init__(self, args, next_element): method add_placeholders (line 54) | def add_placeholders(self): method init_embeddings (line 58) | def init_embeddings(self): method add_embeddings_op (line 68) | def add_embeddings_op(self): method add_context_emb_op (line 146) | def add_context_emb_op(self): method add_span_emb_op (line 159) | def add_span_emb_op(self): method add_lstm_score_op (line 232) | def add_lstm_score_op(self): method add_local_attention_op (line 251) | def add_local_attention_op(self): method custom_pem (line 323) | def custom_pem(self, log=True, buckets_boundaries=None, bucketing_name... method _pem_bucketing_embeddings (line 331) | def _pem_bucketing_embeddings(self, buckets_boundaries, bucketing_name): method add_cand_ent_scores_op (line 343) | def add_cand_ent_scores_op(self): method add_global_voting_op (line 372) | def add_global_voting_op(self): method add_loss_op (line 463) | def add_loss_op(self): method build (line 478) | def build(self): method _sequence_mask_v13 (line 506) | def _sequence_mask_v13(self, mytensor, max_width): FILE: code/model/reader.py function parse_sequence_example (line 6) | def parse_sequence_example(serialized): function count_records_of_one_epoch (line 46) | def count_records_of_one_epoch(trainfiles): function train_input_pipeline (line 78) | def train_input_pipeline(filenames, args): function test_input_pipeline (line 89) | def test_input_pipeline(filenames, args): FILE: code/model/train.py function create_training_pipelines (line 12) | def create_training_pipelines(args): function create_el_ed_pipelines (line 19) | def create_el_ed_pipelines(gmonly_flag, filenames, args): function tensorboard_writers (line 31) | def tensorboard_writers(graph): function validation_loss_calculation (line 45) | def validation_loss_calculation(model, iterator, dataset_handle, opt_thr... function optimal_thr_calc (line 69) | def optimal_thr_calc(model, handles, iterators, el_mode): function optimal_thr_calc_aux (line 94) | def optimal_thr_calc_aux(tp_fp_scores_labels, fn_scores): function compute_ed_el_scores (line 136) | def compute_ed_el_scores(model, handles, names, iterators, el_mode): function train (line 158) | def train(): function _parse_args (line 279) | def _parse_args(): function log_args (line 483) | def log_args(filepath): function terminate (line 493) | def terminate(): FILE: code/model/util.py function projection (line 5) | def projection(inputs, output_size, initializer=None, model=None): function shape (line 8) | def shape(x, dim): function ffnn (line 11) | def ffnn(inputs, num_hidden_layers, hidden_size, output_size, dropout, o... function variable_summaries (line 63) | def variable_summaries(var): class Tee (line 80) | class Tee(object): method __init__ (line 82) | def __init__(self, name, mode): method close (line 87) | def close(self): method write (line 95) | def write(self, data): method flush (line 99) | def flush(self): method __del__ (line 103) | def __del__(self): function _correct_train_args_leohnard_dalab (line 107) | def _correct_train_args_leohnard_dalab(train_args, model_folder): function load_train_args (line 119) | def load_train_args(output_folder, running_mode): function load_ent_vecs (line 182) | def load_ent_vecs(args): FILE: code/preprocessing/aida_insight.py function process_file (line 4) | def process_file(filename): function main (line 25) | def main(): FILE: code/preprocessing/bridge_code_lua/ent_vecs_from_txt_to_npy.py function keep_only_new_entities (line 6) | def keep_only_new_entities(ent_vecs, folder): function main (line 23) | def main(): function _parse_args (line 33) | def _parse_args(): FILE: code/preprocessing/extra.py function vocabulary_count_wiki (line 12) | def vocabulary_count_wiki(): function entity_count_wiki_aux (line 53) | def entity_count_wiki_aux(): function entity_count_wiki (line 74) | def entity_count_wiki(): function get_frequent_entities_set (line 111) | def get_frequent_entities_set(top=None, freq_thr=None, return_freq=False): function entity_name_id_map_from_dump (line 134) | def entity_name_id_map_from_dump(): function compare_name_id_maps (line 169) | def compare_name_id_maps(): function test_wiki_name_id_map_txt_conflicts_when_lowering (line 200) | def test_wiki_name_id_map_txt_conflicts_when_lowering(): function create_p_e_m (line 220) | def create_p_e_m(): function load_p_e_m (line 296) | def load_p_e_m(): # need 82 % of my memory and real 0m50.133s where... FILE: code/preprocessing/old/old_code.py function p_e_m_disamb_redirect_wikinameid_maps (line 4) | def p_e_m_disamb_redirect_wikinameid_maps(): FILE: code/preprocessing/old/prepro_datasets1_once.py function vocabulary_count_wiki (line 18) | def vocabulary_count_wiki(): function process_aida_aux (line 55) | def process_aida_aux(filepath): function process_aida (line 77) | def process_aida(): function process_other_datasets (line 82) | def process_other_datasets(folder_path): function _parse_args (line 89) | def _parse_args(): FILE: code/preprocessing/old/preprocess1.py function main (line 28) | def main(): function re_faster (line 77) | def re_faster(line): function profiler (line 81) | def profiler(): FILE: code/preprocessing/old/preprocessv2.py function build_word_char_maps (line 16) | def build_word_char_maps(): function samples_load (line 68) | def samples_load(filename): class Encoding (line 79) | class Encoding(object): method __init__ (line 80) | def __init__(self): method new_chunk (line 105) | def new_chunk(self): method process_word (line 112) | def process_word(self, word): method serialize (line 115) | def serialize(self): method serialize_tfrecords (line 122) | def serialize_tfrecords(self): method encode_wikidump (line 128) | def encode_wikidump(self): FILE: code/preprocessing/p_e_m.py function tokenize_p_e_m (line 14) | def tokenize_p_e_m(): function print_p_e_m_dictionary_to_file (line 39) | def print_p_e_m_dictionary_to_file(p_e_m, full_filepath): function tokenize_p_e_m_and_merge_conflicts (line 58) | def tokenize_p_e_m_and_merge_conflicts(filename, yago=False): function from_freq_to_prob (line 92) | def from_freq_to_prob(filename): function merge_two_prob_dictionaries (line 114) | def merge_two_prob_dictionaries(filename1, filename2, newfilename): FILE: code/preprocessing/prepro_aida.py function process_aida (line 5) | def process_aida(in_filepath, out_filepath): function split_dev_test (line 58) | def split_dev_test(in_filepath): function create_necessary_folders (line 68) | def create_necessary_folders(): function _parse_args (line 72) | def _parse_args(): FILE: code/preprocessing/prepro_aida_tokenize.py function process_aida (line 6) | def process_aida(in_filepath, out_filepath): function split_dev_test (line 76) | def split_dev_test(in_filepath): function create_necessary_folders (line 86) | def create_necessary_folders(): function _parse_args (line 90) | def _parse_args(): FILE: code/preprocessing/prepro_gerbil_datasets.py class ProcessDataset (line 7) | class ProcessDataset(object): method __init__ (line 8) | def __init__(self): method process (line 17) | def process(self, filepath): method process_readable (line 88) | def process_readable(self, filepath): function fix_tokenizatVion (line 135) | def fix_tokenizatVion(doc_text): function create_necessary_folders (line 145) | def create_necessary_folders(): function _parse_args (line 150) | def _parse_args(): function get_immediate_files (line 159) | def get_immediate_files(a_dir): function main (line 164) | def main(): FILE: code/preprocessing/prepro_other_datasets.py class ProcessDataset (line 8) | class ProcessDataset(object): method __init__ (line 9) | def __init__(self): method process (line 13) | def process(self, dataset_folder): function create_necessary_folders (line 70) | def create_necessary_folders(): function _parse_args (line 74) | def _parse_args(): function get_immediate_subdirectories (line 83) | def get_immediate_subdirectories(a_dir): function main (line 87) | def main(): FILE: code/preprocessing/prepro_util.py class VocabularyCounter (line 13) | class VocabularyCounter(object): method __init__ (line 17) | def __init__(self, lowercase_emb=False): method add (line 29) | def add(self, filepath): method print_statistics (line 47) | def print_statistics(self, word_edges=None, method serialize (line 65) | def serialize(self, folder=None, name="vocab_freq.pickle"): method count_datasets_vocabulary (line 73) | def count_datasets_vocabulary(self): function build_word_char_maps (line 88) | def build_word_char_maps(): function build_word_char_maps_restore (line 140) | def build_word_char_maps_restore(): class Chunker (line 147) | class Chunker(object): method __init__ (line 148) | def __init__(self): method new_chunk (line 158) | def new_chunk(self): method compute_result (line 164) | def compute_result(self, docid): method process (line 189) | def process(self, filepath): class SamplesGenerator (line 243) | class SamplesGenerator(object): method __init__ (line 244) | def __init__(self, mode="allspans"): method set_gmonly_mode (line 252) | def set_gmonly_mode(self): method set_allspans_mode (line 255) | def set_allspans_mode(self): method is_gmonly_mode (line 258) | def is_gmonly_mode(self): method is_allspans_mode (line 261) | def is_allspans_mode(self): method process (line 264) | def process(self, filepath): method _process_allspans (line 270) | def _process_allspans(self, filepath): method all_spans (line 324) | def all_spans(chunk_words): method _process_gmonly (line 352) | def _process_gmonly(self, filepath): class EncoderGenerator (line 408) | class EncoderGenerator(object): method __init__ (line 412) | def __init__(self): method set_gmonly_mode (line 418) | def set_gmonly_mode(self): method set_allspans_mode (line 421) | def set_allspans_mode(self): method is_gmonly_mode (line 424) | def is_gmonly_mode(self): method is_allspans_mode (line 427) | def is_allspans_mode(self): method process (line 430) | def process(self, filepath): method _encode_cand_entities_and_labels (line 503) | def _encode_cand_entities_and_labels(self, cand_entities_p, cand_entit... class TFRecordsGenerator (line 532) | class TFRecordsGenerator(object): method __init__ (line 533) | def __init__(self): method set_gmonly_mode (line 536) | def set_gmonly_mode(self): method set_allspans_mode (line 539) | def set_allspans_mode(self): method is_gmonly_mode (line 542) | def is_gmonly_mode(self): method is_allspans_mode (line 545) | def is_allspans_mode(self): method _to_sequence_example (line 549) | def _to_sequence_example(sample): method process (line 608) | def process(self, filepath): function create_tfrecords (line 629) | def create_tfrecords(): class PrintSamples (line 643) | class PrintSamples(object): method __init__ (line 644) | def __init__(self, only_misses=True): method print_candidates (line 648) | def print_candidates(self, ent_ids_list): method print_sample (line 657) | def print_sample(self, sample): function create_entity_universe (line 716) | def create_entity_universe(gmonly_files=None, allspans_files=None, print... function create_necessary_folders (line 767) | def create_necessary_folders(): function _parse_args (line 772) | def _parse_args(): function log_args (line 806) | def log_args(folderpath): FILE: code/preprocessing/prepro_wikidump.py function wikidump_to_new_format (line 9) | def wikidump_to_new_format(): function subset_wikidump_only_relevant_mentions (line 46) | def subset_wikidump_only_relevant_mentions(): function _parse_args (line 142) | def _parse_args(): FILE: code/preprocessing/util.py function load_entities_universe (line 18) | def load_entities_universe(): function load_wikiid2nnid (line 29) | def load_wikiid2nnid(extension_name=None): function load_entity_extension (line 47) | def load_entity_extension(wikiid2nnid, extension_name): function reverse_dict (line 63) | def reverse_dict(d, unique_values=False): function load_redirections (line 72) | def load_redirections(lowercase=None): function load_disambiguations (line 93) | def load_disambiguations(): function load_persons (line 111) | def load_persons(): function load_wiki_name_id_map (line 126) | def load_wiki_name_id_map(lowercase=False, filepath=None): class FetchCandidateEntities (line 170) | class FetchCandidateEntities(object): method __init__ (line 174) | def __init__(self, args): method process (line 182) | def process(self, span): class FetchFilteredCoreferencedCandEntities (line 209) | class FetchFilteredCoreferencedCandEntities(object): method __init__ (line 210) | def __init__(self, args): method init_coref (line 218) | def init_coref(self, el_mode): method process (line 222) | def process(self, left, right, chunk_words): method find_corefence_person (line 247) | def find_corefence_person(self, span_text, left_right_words): class EntityNameIdMap (line 273) | class EntityNameIdMap(object): method __init__ (line 274) | def __init__(self): method init_compatible_ent_id (line 277) | def init_compatible_ent_id(self): method init_gerbil_compatible_ent_id (line 280) | def init_gerbil_compatible_ent_id(self): method init_hyperlink2id (line 284) | def init_hyperlink2id(self): method hyperlink2id (line 291) | def hyperlink2id(self, line): method is_valid_entity_id (line 314) | def is_valid_entity_id(self, ent_id): method compatible_ent_id (line 317) | def compatible_ent_id(self, name=None, ent_id=None): method gerbil_compatible_ent_id (line 332) | def gerbil_compatible_ent_id(self, uri): function custom_p_e_m (line 348) | def custom_p_e_m(cand_ent_num=15, allowed_entities_set=None, function get_immediate_files (line 445) | def get_immediate_files(a_dir): FILE: gerbil-SpotWrapNifWS4Test/src/main/java/org/aksw/gerbil/ws4test/EDResource.java class EDResource (line 40) | public class EDResource extends ServerResource { method accept (line 49) | @Post method sendRequestToCluster (line 65) | public List sendRequestToCluster(String text , List ... method queryJson (line 103) | private JsonArray queryJson(String text, List markings, Strin... FILE: gerbil-SpotWrapNifWS4Test/src/main/java/org/aksw/gerbil/ws4test/LocalIntermediateWebserver.java class LocalIntermediateWebserver (line 37) | public class LocalIntermediateWebserver extends ServerResource { method accept (line 47) | @Post method sendRequestToCluster (line 80) | public List sendRequestToCluster(String text , List ... method queryJson (line 106) | private JsonObject queryJson(String text, List markings, Stri... FILE: gerbil-SpotWrapNifWS4Test/src/main/java/org/aksw/gerbil/ws4test/MyResource.java class MyResource (line 39) | public class MyResource extends ServerResource { method accept (line 50) | @Post method sendRequestToCluster (line 83) | public List sendRequestToCluster(String text , List ... method queryJson (line 121) | private JsonArray queryJson(String text, List markings, Strin... FILE: gerbil-SpotWrapNifWS4Test/src/main/java/org/aksw/gerbil/ws4test/SpotlightClient.java class SpotlightClient (line 41) | public class SpotlightClient { method SpotlightClient (line 61) | public SpotlightClient() { method SpotlightClient (line 80) | public SpotlightClient(final String serviceURL) { method request (line 89) | protected String request(final String inputText, final String requestU... method annotateSavely (line 130) | public List annotateSavely(final Document document) { method annotate (line 139) | public List annotate(final Document document) throws... method parseAnnotationResponse (line 144) | protected List parseAnnotationResponse(final String ... method spotSavely (line 193) | public List spotSavely(final Document document) { method spot (line 202) | public List spot(final Document document) throws IOException { method parseSpottingResponse (line 207) | protected List parseSpottingResponse(final String response) { method disambiguate (line 236) | public List disambiguate(final Document document) th... method disambiguateSavely (line 260) | public List disambiguateSavely(final Document docume... method main (line 269) | @SuppressWarnings({"rawtypes", "unchecked"}) FILE: gerbil-SpotWrapNifWS4Test/src/main/java/org/aksw/gerbil/ws4test/SpotlightResource.java class SpotlightResource (line 17) | public class SpotlightResource extends ServerResource { method accept (line 25) | @Post FILE: gerbil-SpotWrapNifWS4Test/src/main/java/org/aksw/gerbil/ws4test/TestApplication.java class TestApplication (line 25) | public class TestApplication extends Application { method createInboundRoot (line 30) | @Override