|
@@ -13,10 +13,11 @@ from spacy import displacy
|
|
|
[
|
|
|
# 'Regex for redacted phone numbers with extra info for PlayStation',
|
|
|
# 'Two days ago i was shocked by a red pair of trousers',
|
|
|
- 'Setting priority for attempting hydration',
|
|
|
+ #'Setting priority for attempting hydration',
|
|
|
# 'Attempting to set hydration priority',
|
|
|
# 'file Cache Provider get Cache Dir',
|
|
|
- #'Setters Value Animator Animator Update Listener'
|
|
|
+ #'Setters Value Animator Animator Update Listener',
|
|
|
+ 'Stick element after scroll has passed the element'
|
|
|
]
|
|
|
)
|
|
|
def test_antonyms(snapshot, text):
|
|
@@ -29,5 +30,9 @@ def test_antonyms(snapshot, text):
|
|
|
text_results.append([token.lemma_ for token in suggestion])
|
|
|
|
|
|
presented_results = generator.present()
|
|
|
- # displacy.serve(generator.doc, port=5001)
|
|
|
+ displacy.serve(generator.doc, port=5001)
|
|
|
print(presented_results)
|
|
|
+
|
|
|
+
|
|
|
+# ADVCL
|
|
|
+# follow adverbial clauses and discard the verb
|