You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+7-2
Original file line number
Diff line number
Diff line change
@@ -18,18 +18,23 @@ software, released under the MIT license.
18
18
19
19
spaCy finally supports another language, in addition to English. We're lucky to have Wolfgang Seeker on the team, and the new German model is just the beginning.
20
20
Now that there are multiple languages, you should consider loading spaCy via the load() function. This function also makes it easier to load extra word vector data for English:
To support use of the load function, there are also two new helper functions: spacy.get_lang_class and spacy.set_lang_class.
28
29
Once the German model is loaded, you can use it just like the English model:
29
30
31
+
.. code:: python
32
+
30
33
doc = nlp(u'''Wikipedia ist ein Projekt zum Aufbau einer Enzyklopädie aus freien Inhalten, zu dem du mit deinem Wissen beitragen kannst. Seit Mai 2001 sind 1.936.257 Artikel in deutscher Sprache entstanden.''')
0 commit comments