Closed benfoley closed 5 years ago
Currently using bash, with sort -u. This is problematic because the order is significant, so that for example, aa can take precedence over a in the example below:
aa
a
aa a: a a
Current script is:
cmd = f"grep -v '^#' < {self.pron_dict.l2s_path} | cut -d' ' -f2 | grep -v '^$' | sort -u"
Should be able to do it with python!
Fixed with fa349bfbf6789b286bc4d408e85715ccb1b4f843
Currently using bash, with sort -u. This is problematic because the order is significant, so that for example,
aa
can take precedence overa
in the example below:Current script is:
Should be able to do it with python!