File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,9 @@ Example:
6868
6969.. code :: python
7070
71- import frog
71+ from frog import Frog, FrogOptions
7272
73- frog = frog. Frog(frog. FrogOptions(parser = False ))
73+ frog = Frog(FrogOptions(parser = False ))
7474 output = frog.process_raw(" Dit is een test" )
7575 print (" RAW OUTPUT=" ,output)
7676 output = frog.process(" Dit is nog een test." )
@@ -124,14 +124,14 @@ used:
124124
125125.. code :: python
126126
127- frog = frog. Frog(frog. FrogOptions(parser = False ), " /path/to/your/frog.cfg" )
127+ frog = Frog(FrogOptions(parser = False ), " /path/to/your/frog.cfg" )
128128
129129 A third parameter, a dictionary, can be used to override specific configuration values (same syntax as Frog's
130130``--override `` option), you may want to leave the second parameter empty if you want to load the default configuration:
131131
132132.. code :: python
133133
134- frog = frog. Frog(frog. FrogOptions(parser = False ), " " , { " tokenizer.rulesFile" : " tokconfig-nld-twitter" })
134+ frog = Frog(FrogOptions(parser = False ), " " , { " tokenizer.rulesFile" : " tokconfig-nld-twitter" })
135135
136136 FoLiA support
137137------------------
You can’t perform that action at this time.
0 commit comments