http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#Head http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://www.nanopub.org/nschema#hasAssertion http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#assertion http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://www.nanopub.org/nschema#hasProvenance http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#provenance http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://www.nanopub.org/nschema#hasPublicationInfo http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#pubinfo http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#assertion http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://purl.org/dc/terms/description import string import re from cleantext import clean def cleanText(text): s= clean(text, fix_unicode=True, to_ascii=True, lower=False, no_line_breaks=True, lang="en" ) s= re.sub(r'\|+', '|', s) s= s.replace('|', '\r\n') return s http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://purl.org/dc/terms/language http://purl.org/plex#ComputerLanguage_Python_3.7 http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://purl.org/net/p-plan#hasInputVar http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#input_text http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://purl.org/net/p-plan#hasOutputVar http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#output http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://edamontology.org/operation_2409 http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Step http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#cleanText http://www.w3.org/2000/01/rdf-schema#label cleanText http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#input_text http://www.w3.org/2000/01/rdf-schema#label text http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#provenance http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0001-7769-4272 http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38#pubinfo http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://purl.org/dc/terms/created 2020-03-11T09:06:10.873+01:00 http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 http://purl.org/np/RAwE920by4-7ZrpVziYs7auc_-tLDV8frasalysx56_38 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/nanopub/x/ExampleNanopub