File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 8686
8787# GreynirCorrect instance
8888settings = Settings ()
89- rc = GreynirCorrect (settings = settings )
89+ rc = GreynirCorrect (settings = settings ) # !!! TODO: This is out of date
9090# Define the command line arguments
9191
9292parser = argparse .ArgumentParser (
Original file line number Diff line number Diff line change 77
88
99"""
10+
11+ # Test 1
12+
1013from reynir_correct import check_single
1114sent = check_single("Páli, vini mínum, langaði að horfa á sjónnvarpið.")
1215if sent:
1619sys.exit(0)
1720"""
1821
22+ # Test 2
23+
1924def display_annotations (sent : rc .AnnotatedSentence ):
2025 print ("\n Setning:" )
2126 print (sent .text )
@@ -47,6 +52,8 @@ def display_annotations(sent: rc.AnnotatedSentence):
4752
4853sys .exit (0 )
4954
55+ # Test 3
56+
5057import time
5158
5259from reynir_correct .spelling import Corrector
You can’t perform that action at this time.
0 commit comments