Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
MODIFIED: minor dict tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
upthebuzzard committed Jul 23, 2016
1 parent 8258398 commit d1949c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rhyme/cmudict-0.7b_my_additions
Expand Up @@ -169,14 +169,15 @@ MAP:STURGEON'S STURGEONS
WORD:% \%
WORD:'s \w+['’][sStdmM]
WORD:'s \w+['’](re|RE|ve|VE|ll|LL)
WORD:& &
WORD:& &
;;;
;;; Extension 3:
;;; This allows matched words to be transformed, e.g. to ensure the apostophe matches that used in the phoneme keys
;;; TRANSFORM:FROM TO --> the text matching FROM will be transformed to TO.
;;; NB: the ToUpper step is invoked *after* all the TRANSFORM:... steps
TRANSFORM:(\w+)’([sStTdDmM]) $1'$2
TRANSFORM:(\w+)’(re|RE|ve|VE|ll|LL) $1'$2
TRANSFORM:& AND
;;;
;;; Extension 4:
;;; This marks a word as being considered as a 'bad' word, unsuited to terminating a phrase in poetry
Expand Down

0 comments on commit d1949c7

Please sign in to comment.