Skip to content

Commit

Permalink
$NOBD in place of backslash to escape non-sentence-ending punctuation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kscanne committed Sep 27, 2004
1 parent b8ef78f commit 7a24660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile-xx.in
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ locale_ok : $(PERLDOK)
cat "$<" | LC_ALL="C" $(PERL) $(GRAMDIR)/gin.meta.pl `sed -n '/<[A-Z] /{s/^[0-9]* <\([A-Z]\).*/\1/; p;}' pos-$(TEANGA).txt | sort -u | tr -d "\n"` | LC_ALL="C" $(PERL) -p macra-${TEANGA}.meta.pl | LC_ALL="C" $(PERL) -p $(GRAMDIR)/`$(ECHO) $< | sed 's/-.*//'`.meta.pl | sed 's/^/\t/' > $@

giorr-$(TEANGA).pl : giorr-$(TEANGA).txt giorr-$(TEANGA).pre
(cat giorr-$(TEANGA).pre | $(EGREP) '^s/' | sed 's/^/\t/'; cat giorr-$(TEANGA).txt | sed 's/ .*//' | sed 's/.*/\ts\/([^@BDCHARS@@INTCHARS@]&)\\.\/$$1\\\\.\/g;/') > $@
(cat giorr-$(TEANGA).pre | $(EGREP) '^s/' | sed 's/^/\t/'; cat giorr-$(TEANGA).txt | sed 's/ .*//' | sed 's/.*/\ts\/([^@BDCHARS@@INTCHARS@]&)\\.\/$$1$$NOBD.\/g;/') > $@

unigram-$(TEANGA).pl : unigram-$(TEANGA).pre unigram-$(TEANGA).txt
(cat unigram-$(TEANGA).pre | $(EGREP) '^s/' | sed 's/^/\t/'; cat unigram-$(TEANGA).txt | sed 's/^\(<\([A-Z]\)[^>]*\)>/\ts\/<B><Z>(?:<[^>]*>)*\1.>(?:<[^>]*>)*<\\\/Z>([^<]+)<\\\/B>\/\1>$$1<\\\/\2>\/g;/') > $@
Expand Down

0 comments on commit 7a24660

Please sign in to comment.