<commit_before>function! g:Paste_lync()
  let lines = split(@*, "\n")
  let results = []
  for line in lines
    let text = substitute(line, '‎', '', 'g')
    let text = substitute(text, '\s\+$', '', 'g')
    call add(results, text)
  endfor
  let @0 = join(results, "\n")
  normal! "0p
  let pos = getpos(".")
  call setpos('.', pos)
endfunction
nnoremap <silent> <Space>pl :<C-u>call g:Paste_lync()<CR>

function! g:Paste_chat()
  let lines = split(@*, "\n")
  let results = []
  for line in lines
    let text = substitute(line, '\(.*\) \(\d\d:\d\d:\d\d\)$', '\2 \1', 'g')
    let text = substitute(text, '\s\+$', '', 'g')
    call add(results, text)
  endfor
  let @0 = join(results, "\n")
  normal! "0p
  let pos = getpos(".")
  call setpos('.', pos)
endfunction
nnoremap <silent> <Space>pc :<C-u>call g:Paste_chat()<CR><commit_msg>Update Paste_chat<commit_after>function! g:Paste_lync()
  let lines = split(@*, "\n")
  let results = []
  for line in lines
    let text = substitute(line, '‎', '', 'g')
    let text = substitute(text, '\s\+$', '', 'g')
    call add(results, text)
  endfor
  let @0 = join(results, "\n")
  normal! "0p
  let pos = getpos(".")
  call setpos('.', pos)
endfunction
nnoremap <silent> <Space>pl :<C-u>call g:Paste_lync()<CR>

function! g:Paste_chat()
  let lines = split(@*, "\n")
  let results = []
  for line in lines
    let text = substitute(line, '\(.*\) \(\d\d\?:\d\d:\d\d ..\)$', '\2 \1', 'g')
    let text = substitute(text, '\s\+$', '', 'g')
    call add(results, text)
  endfor
  let @0 = join(results, "\n")
  normal! "0p
  let pos = getpos(".")
  call setpos('.', pos)
endfunction
nnoremap <silent> <Space>pc :<C-u>call g:Paste_chat()<CR>
{'fraction_non_alphanumeric': 0.22697563874034463, 'fraction_numerical': 0.0071301247771836, 'mean_word_length': 3.3402061855670104, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5913557', 'n_tokens_mistral': 671, 'n_tokens_neox': 670, 'n_words': 180}