<commit_before>//The API of your application

module.exports = {
  "get_para_sim_score"         : get_para_sim_score
  "merge_doc_into_lecture"     : merge_doc_into_lecture
  "construct_lecture_from_doc" : construct_lecture_from_doc
}

//Turn doc into array of arrays
function construct_lecture_from_doc(doc) {
  //Function input args example
  //doc = "here is one paragraph.\n\nhere is a second paragraph.\n\nhere is a third paragraph.";
  
  //Array of paras
  doc_arr = doc.split( "\n\n" );
  
  //Form out arr
  doc_arr_arr   = [];
  doc_len       = doc_arr.length;
  for(i=0;i<doc_len;i++) {
    doc_arr_arr[i] = [doc_arr[i]];
  }
  
  return doc_arr_arr<commit_msg>fix commas in parse<commit_after>//The API of your application

module.exports = {
  "get_para_sim_score"         : get_para_sim_score,
  "merge_doc_into_lecture"     : merge_doc_into_lecture,
  "construct_lecture_from_doc" : construct_lecture_from_doc
}

//Turn doc into array of arrays
function construct_lecture_from_doc(doc) {
  //Function input args example
  //doc = "here is one paragraph.\n\nhere is a second paragraph.\n\nhere is a third paragraph.";
  
  //Array of paras
  doc_arr = doc.split( "\n\n" );
  
  //Form out arr
  doc_arr_arr   = [];
  doc_len       = doc_arr.length;
  for(i=0;i<doc_len;i++) {
    doc_arr_arr[i] = [doc_arr[i]];
  }
  
  return doc_arr_arr
{'fraction_non_alphanumeric': 0.11390532544378698, 'fraction_numerical': 0.0014792899408284023, 'mean_word_length': 3.3365384615384617, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5726215', 'n_tokens_mistral': 505, 'n_tokens_neox': 502, 'n_words': 110}