Repository navigation
Expand file tree
/
Copy pathbugs.js
More file actions
40 lines (35 loc) · 1.46 KB
/
Copy pathbugs.js
File metadata and controls
40 lines (35 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// let doc = nlp('i am being driven')
// let doc = nlp('i should be driven')
// let doc = nlp('i should have been driven')
// doc.verbs().toParticiple()
// doc.verbs().toPastTense()
// doc.debug()
// console.log(doc.verbs(0).conjugate())
// doc.sentences().toFutureTense().debug()
// console.log(nlp('next week').dates().json())
// nlp('you are John, Lisa, Fred').match('#FirstName{1,2}').debug()
// let doc = nlp('i could study').debug()
// doc.verbs().toParticiple()
// doc.sentences().toPastTense()
// console.log(doc.text())
// i thought he really could have.
// let doc = nlp('i did really walk')
// doc.sentences().toPresentTense()
// console.log(doc.text())
// nlp('lowered according').debug()
// nlp('it bristles outwards, brushlike.').debug()
// nlp('red-shouldered').debug()
// nlp('age of it').debug()
// nlp('so well that').debug()
// nlp('is off-white').debug()
// nlp('polyunsaturated').debug()
// nlp('favoured treat').debug()
/*
Snowboarding is a winter sport. [snowboarding = subject]
I love snowboarding. [snowboarding = object ]
I am excited by snowboarding. [snowboarding = object of a preposition]
One popular sport is snowboarding. [snowboarding = subject complement]
Right now, the athlete is snowboarding. [is snowboarding = present continuous]
He was snowboarding yesterday afternoon. [was snowboarding = past continuous]
Tomorrow, my friends and I are going to be snowboarding. [are going to be snowboarding = future
*/