robfelty.com


testing 3

Posted in wordpress

Quarter note = 09172023 robfelty
Treble clef 4/4 Time

testing 2

Posted in wordpress

Quarter note = 09172023 robfelty
Treble clef 4/4 Time

testing 1

Posted in wordpress

Quarter note = 09172023 robfelty
Treble clef 4/4 Time

UNIX Tip of the day: Strange behavior editing PHP files with vim

Posted in wordpress

Quarter note = 10252020 robfelty
Treble clef 4/4 Time
I have been struggling with this weird behavior in vim for the last month or so. I just re-joined Automattic in September. I have been using vim on many different computers and environments (linux, max, cygwin) for over 15 years, and I have never experienced this before. I only seem to have this issue when using vim on my development server. I tried searching the interwebs several times over the last month without avail. Today I finally decided to ask […] (Read more)

UNIX tip of the day —
duplicate and replace lines with awk

Posted in linguistics, UNIX

Quarter note = 01182019 robfelty
Treble clef 4/4 Time
Today I got some data I wanted to add to my machine learning training datasets for named entity recognition. My system is designed to be used with output from automatic speech recognition (ASR). It is frequently difficult to be certain whether ASR output will contain hyphens or not, e.g. (email, vs e-mail) so frequently I include both variants to be robust. I was able to automatically add these variants with a quick awk oneliner awk ‘/-/ {print; gsub(“-“, ” “)} […] (Read more)