SYMBOL INDEX (438 symbols across 64 files) FILE: crowdflower/combine_chunks.py function longest_common_substring (line 22) | def longest_common_substring(s1, s2): function read_twm_links (line 38) | def read_twm_links(f): function read_ngrams (line 60) | def read_ngrams(f): function read_tp_chunks (line 82) | def read_tp_chunks(f): function load_chunks (line 119) | def load_chunks(path): function priority_update (line 155) | def priority_update(first, second): function combine_priority (line 176) | def combine_priority(link_chunks, ngram_chunks, tp_chunks): function combine_overlapping (line 197) | def combine_overlapping(chunks): function combine_contiguous (line 237) | def combine_contiguous(combined): function combine_chunks (line 280) | def combine_chunks(sentence_id, values): function main (line 320) | def main(chunks_path, combined_out, debug): FILE: crowdflower/compute_fleiss_kappa.py function compute_matrix (line 8) | def compute_matrix(cf_results, num_judgments): function main (line 44) | def main(crowdflower_output, num_judgments): FILE: crowdflower/create_crowdflower_input.py function prepare_crowdflower_input (line 24) | def prepare_crowdflower_input(labeled_data, chunk_data, debug): function write_input_spreadsheet (line 77) | def write_input_spreadsheet(input_data, outfile, debug): function create_cli_parser (line 96) | def create_cli_parser(): FILE: crowdflower/crowdflower_results_into_training_data.py function set_majority_vote_answer (line 25) | def set_majority_vote_answer(results_json): function tag_entities (line 51) | def tag_entities(results): function merge_tokens (line 74) | def merge_tokens(sentence_id, annotations, lines): function process_sentence (line 131) | def process_sentence(sentence_id, annotations, lines): function produce_training_data (line 154) | def produce_training_data(annotations, pos_tagged_sentences_dir, debug): function main (line 191) | def main(crowdflower_csv, pos_data_dir, output_file, debug): function create_cli_parser (line 222) | def create_cli_parser(): FILE: crowdflower/generate_crowdflower_interface_template.py function generate_crowdflower_interface_template (line 40) | def generate_crowdflower_interface_template(input_csv, output_html=None): function create_cli_parser (line 75) | def create_cli_parser(): FILE: crowdflower/utils.py function read_full_results (line 6) | def read_full_results(results_file): function computeFleissKappa (line 59) | def computeFleissKappa(mat): FILE: date_normalizer/date_normalizer.py class DateNormalizer (line 6) | class DateNormalizer(object): method __init__ (line 24) | def __init__(self): method _meta_init (line 40) | def _meta_init(self, specs): method normalize_one (line 59) | def normalize_one(self, expression): method normalize_many (line 75) | def normalize_many(self, expression): method _process_match (line 94) | def _process_match(self, category, transform, match, first_position): function normalize_numerical_fes (line 101) | def normalize_numerical_fes(sentence_id, tokens): FILE: date_normalizer/rpc.py class NormalizerWrapper (line 7) | class NormalizerWrapper(DateNormalizer): method normalize_many (line 10) | def normalize_many(self, expression): function main (line 24) | def main(port, ns): FILE: extraction/bag_of_words.py function main (line 17) | def main(all_articles, freq_out): FILE: extraction/extract_sentences.py function _iter_split (line 8) | def _iter_split(iterator, split): function process_article (line 17) | def process_article(content, tokens, sentence_wid, output_dir, min_words... function main (line 62) | def main(input_file, token_list,sentence_to_wid, output_dir, min_words, ... FILE: extraction/get_soccer_ids.py function main (line 11) | def main(outfile, lang): FILE: extraction/get_soccer_players_articles.py function load_wiki_ids (line 13) | def load_wiki_ids(filein): function extract_soccer_articles (line 24) | def extract_soccer_articles(soccer_ids, corpus_dir, output_dir): FILE: extraction/process_articles.py function iter_split (line 9) | def iter_split(iterator, split): function process_article (line 18) | def process_article(content, soccer_ids, mapping, output_dir): function main (line 49) | def main(soccer_ids, input_file, output_dir, output_mapping): FILE: lib/WikiExtractor.py function WikiDocument (line 120) | def WikiDocument(out, id, title, text): function get_url (line 134) | def get_url(id, prefix): function normalizeTitle (line 153) | def normalizeTitle(title): function unescape (line 195) | def unescape(text): function ignoreTag (line 223) | def ignoreTag(tag): function dropNested (line 264) | def dropNested(text, openDelim, closeDelim): function dropSpans (line 319) | def dropSpans(matches, text): function make_anchor_tag (line 342) | def make_anchor_tag(match): function clean (line 358) | def clean(text): function compact (line 446) | def compact(text): function handle_unicode (line 505) | def handle_unicode(entity): class OutputSplitter (line 512) | class OutputSplitter: method __init__ (line 513) | def __init__(self, compress, max_file_size, path_name): method reserve (line 521) | def reserve(self, size): method write (line 527) | def write(self, text): method close (line 530) | def close(self): method open_next_file (line 533) | def open_next_file(self): method dir_name (line 547) | def dir_name(self): method file_name (line 552) | def file_name(self): function process_data (line 559) | def process_data(input, output): function show_help (line 611) | def show_help(): function show_usage (line 614) | def show_usage(script_name): function main (line 621) | def main(): FILE: lib/confidence_filter.py function main (line 14) | def main(fact_dataset, score_dataset, output, debug): FILE: lib/entity_linking.py function twm_link_articles (line 66) | def twm_link_articles(raw_articles): function twm_extract_entities (line 90) | def twm_extract_entities(twm_json, disambiguation, debug): function twm_link (line 122) | def twm_link(text, disambiguation, debug): function nex_link (line 153) | def nex_link(text): function nex_extract_entities (line 167) | def nex_extract_entities(nex_response_json): function create_cli_parser (line 180) | def create_cli_parser(): FILE: lib/orderedset.py class OrderedSet (line 3) | class OrderedSet(collections.MutableSet): method __init__ (line 5) | def __init__(self, iterable=None): method __len__ (line 12) | def __len__(self): method __contains__ (line 15) | def __contains__(self, key): method add (line 18) | def add(self, key): method discard (line 24) | def discard(self, key): method __iter__ (line 30) | def __iter__(self): method __reversed__ (line 37) | def __reversed__(self): method pop (line 44) | def pop(self, last=True): method __repr__ (line 51) | def __repr__(self): method __eq__ (line 56) | def __eq__(self, other): FILE: lib/scoring.py function compute_score (line 4) | def compute_score(sentence, score, core_fes_weight): FILE: lib/stopwords.py class StopWords (line 8) | class StopWords(object): method words (line 30) | def words(self, language): FILE: lib/to_assertions.py function to_assertions (line 32) | def to_assertions(labeled_results, id_to_title, outfile='dataset.nt', function serialize_fe (line 165) | def serialize_fe(fe, reified, wiki_title, add_triple, format): function triple_adder (line 212) | def triple_adder(graph, format): function _to_nt_term (line 238) | def _to_nt_term(x): function _uri_for (line 257) | def _uri_for(_type, _triple_term, term): FILE: seed_selection/generate_lexicalization_patterns.py function query_endpoint (line 28) | def query_endpoint(query, entity_type): function process_response (line 53) | def process_response(bindings): function write_lexicalizations_patterns (line 71) | def write_lexicalizations_patterns(subjects, lus, objects, outfile): function main (line 88) | def main(tokens, subject_type, object_types, output): FILE: seed_selection/get_meaningful_sentences.py function load_pos_data (line 18) | def load_pos_data(dir): function filter_sentences_by_chunk (line 39) | def filter_sentences_by_chunk(pos_data, tokens): function save_sentences (line 54) | def save_sentences(sentences, outdir): function main (line 71) | def main(tagged_dir, tokens, outdir): FILE: seed_selection/split_sentences.py function main (line 16) | def main(serialized_tokenizer, input_dir, output_dir, min_length): FILE: supervised/build_label_based_gaz.py function query_endpoint (line 24) | def query_endpoint(query, entity_type): function process_response (line 31) | def process_response(endpoint_response): function write_gaz (line 45) | def write_gaz(entries, outfile='gaz.tsv'): FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/Annotator.java class Annotator (line 46) | public class Annotator { method Annotator (line 74) | public Annotator(String roleFile, String frameFile, File gazetteerFile... method tokenizeSentence (line 118) | private List tokenizeSentence( String line ) throws... method mergeChunksIntoExampleList (line 144) | private List mergeChunksIntoExampleList( List classifierResultsLis... method classifyFrames (line 226) | private void classifyFrames( List classifierResultsLi... method classify (line 240) | public List classify(File fin) throws IOException { method classify (line 274) | public Answer classify( String line, String sentence_id ) throws Excep... method printAnswer (line 294) | private void printAnswer(List classifierResultsList ) { method interactive (line 307) | public void interactive() throws Exception { method predict (line 325) | private int predict(String line, svm_model model, Map... method write (line 392) | public void write(List list, File fout ) throws IOException { method main (line 401) | public static void main(String[] args) throws Exception { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/Answer.java class Answer (line 33) | public class Answer { method getSentenceID (line 43) | public String getSentenceID( ) { method setSentenceID (line 47) | public void setSentenceID( String sentenceID ) { method getSentence (line 51) | public Sentence getSentence() { method Answer (line 58) | public Answer(String sentenceID, List classifierRes... method toTSV (line 70) | public String toTSV( ) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/ChunkCombinator.java class ChunkCombinator (line 14) | public class ChunkCombinator { class ChunkToUri (line 16) | public class ChunkToUri { method ChunkToUri (line 21) | public ChunkToUri(String chunk, String uri, Double confidence) { method getChunk (line 27) | public String getChunk( ) { method getUri (line 31) | public String getUri( ) { method getConfidence (line 35) | public Double getConfidence( ) { method ChunkCombinator (line 43) | public ChunkCombinator() throws IOException { method main (line 46) | public static void main(String[] args) throws Exception { method getTheWikiMachineChunks (line 57) | public Set getTheWikiMachineChunks( String sentence, boolean d... method getTheWikiMachineChunkToUri (line 61) | public Map getTheWikiMachineChunkToUri( String sentenc... method getTheWikiMachineChunkToUriWithConfidence (line 72) | public Map getTheWikiMachineChunkToUriWithConfiden... method getTextProNPChunks (line 89) | public Set getTextProNPChunks(String sentence) throws IOExcept... method combineChunks (line 94) | public Set combineChunks(Set disambiguated, Set NormalizeMany( String expression ) { method getProxy (line 55) | private static PyroProxy getProxy( ) throws IOException { method setUri (line 61) | public static void setUri( String uri ) throws IOException { method normalizeNumericalExpressions (line 68) | public static List normalizeNumericalExpressions(... method main (line 125) | public static void main( String[] args ) throws IOException { method initLogger (line 150) | static void initLogger( ) throws IOException { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/Evaluator.java class Evaluator (line 37) | public class Evaluator { method Evaluator (line 55) | public Evaluator( File goldFile, File testFile, File frameLabelsFile, ... method evaluateRoles (line 116) | void evaluateRoles( Sentence goldSentence, Sentence testSentence, Eval... method evaluateFrame (line 165) | void evaluateFrame( Sentence goldSentence, Sentence testSentence, Eval... method read (line 204) | private Map read( File fin ) throws IOException { method write (line 238) | public void write( File f ) throws IOException { method main (line 263) | public static void main( String[] args ) { class Evaluation (line 315) | class Evaluation { method Evaluation (line 322) | Evaluation( ) { method Evaluation (line 326) | Evaluation( int tp, int fp, int fn ) { method incTp (line 332) | void incTp( ) { method incFp (line 336) | void incFp( ) { method incFn (line 340) | void incFn( ) { method addTp (line 344) | void addTp( int n ) { method addFn (line 348) | void addFn( int n ) { method addFp (line 352) | void addFp( int n ) { method getFn (line 356) | int getFn( ) { method setFn (line 360) | void setFn( int fn ) { method getFp (line 364) | int getFp( ) { method setFp (line 368) | void setFp( int fp ) { method getTp (line 372) | int getTp( ) { method setTp (line 376) | void setTp( int tp ) { method precision (line 380) | double precision( ) { method recall (line 384) | double recall( ) { method f1 (line 388) | double f1( ) { method toString (line 392) | @Override class ChunkRoleMatcher (line 402) | class ChunkRoleMatcher { method ChunkRoleMatcher (line 406) | public ChunkRoleMatcher( Role role, boolean isStrict ) { method equals (line 411) | @Override method hashCode (line 426) | public int hashCode( ) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/FeatureExtraction.java class FeatureExtraction (line 35) | public abstract class FeatureExtraction { method setToString (line 42) | protected String setToString(SortedSet set) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/FeatureIndex.java class FeatureIndex (line 35) | public class FeatureIndex method FeatureIndex (line 66) | public FeatureIndex() method FeatureIndex (line 75) | public FeatureIndex(boolean readOnly) method size (line 85) | public int size() method put (line 97) | public int put(String term) method getIndex (line 136) | public int getIndex(String term) method getTerm (line 147) | public String getTerm(int i) method termSet (line 152) | public Set termSet() method toString (line 163) | public String toString() method write (line 194) | public void write(Writer out) throws IOException method read (line 246) | public void read(InputStreamReader in) throws IOException class Counter (line 288) | private class Counter method Counter (line 292) | Counter() method get (line 298) | int get() method inc (line 304) | void inc() FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/FrameFeatureExtractor.java class FrameFeatureExtractor (line 9) | public class FrameFeatureExtractor extends FeatureExtraction { method FrameFeatureExtractor (line 15) | public FrameFeatureExtractor( FeatureIndex featureIndex, Map sentence ) { method extractColumnFeature (line 34) | Set extractColumnFeature( Token t, int column ) { method extractGazetteerFeature (line 60) | Set extractGazetteerFeature( Token t ) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/FrameTrainingSetToLibSvm.java class FrameTrainingSetToLibSvm (line 42) | public class FrameTrainingSetToLibSvm { method FrameTrainingSetToLibSvm (line 55) | public FrameTrainingSetToLibSvm( File featureFile, File instanceFile, ... method convert (line 69) | public void convert( ) throws IOException { method main (line 94) | public static void main(String[] args) throws Exception { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/GenericToken.java class GenericToken (line 4) | public class GenericToken implements Token { method GenericToken (line 11) | public GenericToken( String token, String pos, String lemma, String fr... method getToken (line 19) | @Override method setToken (line 24) | public void setToken( String token ) { method getPos (line 28) | @Override method setPos (line 33) | public void setPos( String pos ) { method getLemma (line 37) | @Override method setLemma (line 42) | public void setLemma( String lemma ) { method getFrame (line 46) | public String getFrame( ) { method setFrame (line 50) | public void setFrame( String frame ) { method getRole (line 54) | public String getRole( ) { method setRole (line 58) | public void setRole( String role ) { method toString (line 62) | public String toString( ) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/InputReader.java class InputReader (line 6) | public class InputReader { method ReadGazetteer (line 7) | public static Map ReadGazetteer( File fin ) throws IOE... method ReadSentences (line 21) | public static List> ReadSentences( File fin ) throw... method ReadFeatureIndex (line 39) | public static FeatureIndex ReadFeatureIndex( File fin, boolean readonl... FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/NormalizerResult.java class NormalizerResult (line 8) | public class NormalizerResult { method NormalizerResult (line 17) | public NormalizerResult( Object[] result ) { method NormalizerResult (line 32) | public NormalizerResult( boolean success, int start, int end, String c... method getStart (line 40) | public int getStart( ) { method getEnd (line 44) | public int getEnd( ) { method isSuccess (line 48) | public boolean isSuccess( ) { method getCategory (line 52) | public String getCategory( ) { method getNormalized (line 56) | public String getNormalized( ) { method toString (line 60) | public String toString( ) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/Role.java class Role (line 13) | public class Role { method Role (line 24) | Role(Role role) { method Role (line 30) | Role(String id, String name, String value) { method setId (line 36) | void setId(String id) { method setName (line 40) | void setName(String name) { method setValue (line 44) | void setValue(String value) { method getName (line 48) | String getName() { method getValue (line 52) | String getValue() { method getId (line 56) | String getId() { method equals (line 60) | @Override method hashCode (line 87) | @Override method toString (line 95) | @Override FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/RoleFeatureExtractor.java class RoleFeatureExtractor (line 9) | public class RoleFeatureExtractor extends FeatureExtraction { method RoleFeatureExtractor (line 14) | public RoleFeatureExtractor( FeatureIndex featureIndex, Map sentence, int tok... method check_add (line 37) | private void check_add( Set set, int feature ) { method featureFor (line 41) | private int featureFor( String term, String type, int position ) { method gazeetteerFeatureFor (line 46) | private int gazeetteerFeatureFor( String lemma, int position ) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/RoleTrainingSetToLibSvm.java class RoleTrainingSetToLibSvm (line 29) | public class RoleTrainingSetToLibSvm { method RoleTrainingSetToLibSvm (line 32) | public RoleTrainingSetToLibSvm( File featureFile, File instanceFile, F... method main (line 73) | public static void main(String[] args) throws Exception { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/Sentence.java class Sentence (line 14) | public class Sentence { method Sentence (line 21) | Sentence( String id ) { method getId (line 26) | String getId( ) { method getFrames (line 30) | public Set getFrames( ) { method add (line 34) | public void add( String id, String frame, String role, String value ) { method add (line 47) | protected void add( String frame, List roles ) { method getRoleList (line 51) | public List getRoleList( String frame ) { method getAllRoles (line 55) | public List getAllRoles( ) { method collapse (line 62) | public Sentence collapse( ) { method collapseRoles (line 78) | List collapseRoles( List roleList ) { method toString (line 107) | @Override FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/TextProRunner.java class TextProRunner (line 12) | public class TextProRunner { method TextProRunner (line 19) | public TextProRunner() { method main (line 23) | public static void main(String[] args) { method runTextPro (line 35) | public List runTextPro(String sentence) throws IOException { method extractNPChunks (line 59) | public Set extractNPChunks(List tokens) { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/TheWikiMachineClient.java class TheWikiMachineClient (line 20) | public class TheWikiMachineClient { method TheWikiMachineClient (line 32) | public TheWikiMachineClient() throws IOException { method main (line 47) | public static void main(String[] args) throws Exception { method extractEntities (line 55) | public JSONArray extractEntities(JSONObject twmResponse, boolean disam... method linkText (line 90) | public JSONObject linkText(String text, boolean disambiguation) throws... FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/Token.java type Token (line 4) | public interface Token { method getToken (line 5) | String getToken( ); method getPos (line 7) | String getPos( ); method getLemma (line 9) | String getLemma( ); method getFrame (line 11) | String getFrame( ); method getRole (line 13) | String getRole( ); method setToken (line 15) | void setToken( String token ); method setPos (line 17) | void setPos( String pos ); method setLemma (line 19) | void setLemma( String lemma ); method setFrame (line 21) | void setFrame( String frame ); method setRole (line 23) | void setRole( String role ); FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/CharKernel.java class CharKernel (line 15) | public class CharKernel { method CharKernel (line 28) | public CharKernel(double lambda, int length) { method get (line 37) | public double get(String s1, String s2) method k (line 43) | private double k(char[] s, char[] t, int n) method sumk (line 64) | private double sumk(char[] s, char[] t, char x, int n) method kp (line 87) | private double kp(char[] s, char[] t, int n) method sumkp (line 110) | private double sumkp(char[] s, char[] t, char x, int n) method last (line 133) | private char last(char[] t) method prefix (line 139) | private char[] prefix(char[] t) method prefix (line 145) | private char[] prefix(char[] s, int j) method main (line 161) | public static void main(String args[]) throws Exception FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/Frame.java class Frame (line 15) | public class Frame { method Frame (line 28) | public Frame(String name, String target) { method setRoleList (line 34) | public void setRoleList(List roleList) { method getRoleList (line 38) | public List getRoleList() { method addRole (line 42) | public void addRole(Role role) method getName (line 47) | public String getName() { method setName (line 51) | public void setName(String name) { method getTarget (line 55) | public String getTarget() { method setTarget (line 59) | public void setTarget(String target) { method equals (line 63) | @Override method toString (line 76) | @Override FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/GoldReader.java class GoldReader (line 17) | public class GoldReader { method GoldReader (line 26) | public GoldReader(File f) throws IOException { method getSentenceList (line 31) | public List getSentenceList() { method read (line 35) | void read(File f) throws IOException { method main (line 88) | public static void main(String[] args) throws Exception FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/Main.java class Main (line 17) | public class Main { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/Role.java class Role (line 12) | public class Role { method Role (line 23) | public Role(String name, String arg) { method getName (line 28) | public String getName() { method setName (line 32) | public void setName(String name) { method getArg (line 36) | public String getArg() { method setArg (line 40) | public void setArg(String arg) { method equals (line 44) | @Override method toString (line 57) | @Override FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/Sentence.java class Sentence (line 15) | public class Sentence { method Sentence (line 26) | Sentence() { method addTokens (line 31) | public void addTokens(String[] s) { method addToken (line 37) | public void addToken(String t) { method getFrameList (line 41) | public List getFrameList() { method addFrame (line 45) | public void addFrame(Frame f) method toString (line 50) | @Override FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/StringKernel.java class StringKernel (line 13) | public class StringKernel { method StringKernel (line 26) | public StringKernel(double lambda, int length) { method get (line 35) | public double get(String s1, String s2) method k (line 41) | private double k(String[] s, String[] t, int n) method sumk (line 61) | private double sumk(String[] s, String[] t, String x, int n) method kp (line 84) | private double kp(String[] s, String[] t, int n) method sumkp (line 107) | private double sumkp(String[] s, String[] t, String x, int n) method last (line 130) | private String last(String[] t) method prefix (line 136) | private String[] prefix(String[] t) method prefix (line 142) | private String[] prefix(String[] s, int j) method main (line 158) | public static void main(String args[]) throws Exception FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/SysGoldAligner.java class SysGoldAligner (line 18) | public class SysGoldAligner { method SysGoldAligner (line 31) | public SysGoldAligner(File sys, File gold) throws IOException { method align (line 40) | void align(List systemSentenceList, List goldGente... method checkFrame (line 82) | int checkFrame(List systemFrameList, List goldFrameList) method checkFrameAndRole (line 100) | void checkFrameAndRole(List systemFrameList, List goldFr... method checkRole (line 119) | void checkRole(List systemRoleList, List goldRoleList) method main (line 143) | public static void main(String[] args) throws Exception { FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/SystemReader.java class SystemReader (line 19) | public class SystemReader { method SystemReader (line 28) | public SystemReader(File f) throws IOException { method getSentenceList (line 33) | public List getSentenceList() { method read (line 37) | void read(File f) throws IOException { method readSentence (line 45) | public Sentence readSentence(String s) throws IOException { method readBlockList (line 85) | List readBlockList(File f) throws IOException { method main (line 104) | public static void main(String[] args) throws Exception FILE: supervised/classifier/src/main/java/org/fbk/cit/hlt/dirha/kernel/Token.java class Token (line 12) | public class Token { method Token (line 31) | public Token() { method Token (line 34) | Token(String[] s) { method setNum (line 50) | public void setNum(int num) { method setForm (line 54) | public void setForm(String form) { method setPos (line 58) | public void setPos(String pos) { method setFrame (line 62) | public void setFrame(String frame) { method setRole (line 66) | public void setRole(String role) { method setTarget (line 70) | public void setTarget(boolean target) { method getNum (line 74) | public int getNum() { method getForm (line 78) | public String getForm() { method getPos (line 82) | public String getPos() { method getFrame (line 86) | public String getFrame() { method getRole (line 90) | public String getRole() { method isTarget (line 94) | public boolean isTarget() { FILE: supervised/plot.py function calc_precision_recall (line 5) | def calc_precision_recall(n, confmat): function plot (line 30) | def plot(obj, confusion_matrix, first_row, first_col, last_row, last_col... function precall_scatter (line 49) | def precall_scatter(obj): function precall_bars (line 72) | def precall_bars(obj): function confmat (line 113) | def confmat(obj, normalized): FILE: supervised/produce_triples.py function _get_fe_type (line 18) | def _get_fe_type(frame_name, fe_name): function read_sentences (line 34) | def read_sentences(rows): function score_fe (line 49) | def score_fe(fe_format, fe_score_type, frame_conf, role_conf, link_conf): function to_labeled (line 72) | def to_labeled(sentences, fe_score_type): function main (line 147) | def main(classified_output, output_file, id_to_title, triple_scores, \ FILE: unsupervised/evaluate.py function setup_logger (line 23) | def setup_logger(level='info'): function load_labeled_data (line 37) | def load_labeled_data(filein): function load_full_gold_standard (line 47) | def load_full_gold_standard(full_gold_standard, logger): function evaluate_against_gold (line 89) | def evaluate_against_gold(labeled_data, gold_standard, logger, exact): function precision (line 230) | def precision(tp, fp): function recall (line 241) | def recall(tp, fn): function f1 (line 252) | def f1(p, r): function create_cli_parser (line 263) | def create_cli_parser(): function main (line 272) | def main(args): FILE: unsupervised/labeled_to_assertions.py function main (line 25) | def main(labeled, wid_title_mapping, scores, processed_out, discarded_ou... FILE: unsupervised/produce_labeled_data.py function label_sentence (line 24) | def label_sentence(entity_linking_results, debug, numerical): function process_dir (line 175) | def process_dir(indir, debug, numerical): function main (line 208) | def main(linked_dir, labeled_out, score, core_weight, score_fes, debug, ... FILE: verb_ranking/compute_stdev_by_lemma.py function main (line 14) | def main(token_lemma_map, token_stdev, stdev_lemma_out): FILE: verb_ranking/make_lemma_freq.py function main (line 13) | def main(verb_lemmas, freq_out): FILE: verb_ranking/tf_idfize.py function compute_tfidf_matrix (line 17) | def compute_tfidf_matrix(corpus_dir): function dump_tfidf (line 34) | def dump_tfidf(ranking, outfile='tfidf.json'): function get_distributions (line 40) | def get_distributions(tokens, tfidf_matrix, threshold): function main (line 74) | def main(corpus, tokens, threshold, dump_tfidf, variance_out, stdevs_out, FILE: verb_ranking/tfidf.py class tfidf (line 16) | class tfidf: method __init__ (line 17) | def __init__(self): method addDocument (line 22) | def addDocument(self, doc_name, list_of_words): method similarities (line 37) | def similarities(self, list_of_words):