diff --git a/convert_text_to_amr.py b/convert_text_to_amr.py index d98e61bd5065496dcab1e86f45dac368390abb49..4b5c18393c2fbd0e20544c792882ac118be82e4a 100644 --- a/convert_text_to_amr.py +++ b/convert_text_to_amr.py @@ -2,7 +2,7 @@ # -*-coding:Utf-8 -* #============================================================================== -# Solar System Corpus: convert text to amr +# C.M. Tool: convert text to amr #------------------------------------------------------------------------------ # Script to convert raw texts into AMRs Graphs and AMR-RDF Representations #============================================================================== @@ -296,18 +296,18 @@ def convert_amr_graphs_to_rdf(data_list): def main(base_ref): # -- Prepare the sentences to be converted - print("\n" + "[SSC] Data Preparation") + print("\n" + "[CMT] Data Preparation") print("-- input data reference: " + base_ref) data_list = prepare_work_data(base_ref) # -- Convert sentences to graphs - print("\n" + "[SSC] Convert sentences to graphs") + print("\n" + "[CMT] Convert sentences to graphs") print("-- library: amrlib") print("-- model: " + amr_model) data_list = convert_sentences_to_graphs(amr_model, data_list) # -- Convert graphs to RDF - print("\n" + "[SSC] Convert AMR graphs to AMR RDF") + print("\n" + "[CMT] Convert AMR graphs to AMR RDF") print("-- library: amrlk") convert_amr_graphs_to_rdf(data_list)