code: def remove_new_lines(text: str) -> str:
      """Used to preprocess away new lines in the middle of words. This function
         is intended to be called on a raw string before it is passed through a
         spaCy pipeline
  
      @param text: a string of text to be processed
      """
      text = text.replace("-\n\n", "")
      text = text.replace("- \n\n", "")
      text = text.replace("-\n", "")
      text = text.replace("- \n", "")
      return text
  
file_path: scispacy/scispacy/custom_tokenizer.py
imports: from typing import List
  from spacy.lang import char_classes
  from spacy.symbols import ORTH
  from spacy.tokenizer import Tokenizer
  from spacy.util import compile_prefix_regex, compile_infix_regex, compile_suffix_regex
  from spacy.language import Language
  from scispacy.consts import ABBREVIATIONS
label_desc: Use image node_id 1 for calling a global function with example usage: remove_new_lines(text) and returns: text