This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; kind of a stupid implementation but with | |
(define-syntax define-macro | |
(er-macro-transformer | |
(lambda (exp rename compare) | |
(if (symbol? (cadr exp)) | |
(let ((name (cadr exp)) | |
(expndr (caddr exp)) | |
(-exp (gensym)) (-rename (gensym)) (-compare (gensym))) | |
`(define-syntax ,name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import spacy | |
from spacy.matcher import Matcher | |
Active = "Harry ate six shrimp at dinner.\ | |
Beautiful giraffes roam the savannah.\ | |
Sue changed the flat tire.\ | |
We are going to watch a movie tonight.\ | |
I ran the obstacle course in record time.\ | |
The crew paved the entire stretch of highway.\ | |
Mom read the novel in one day.\ |