* Add usage note for multi-threading

This commit is contained in:
Matthew Honnibal 2016-02-06 14:43:07 +01:00
parent 7f24229f10
commit 963ccc2aee

View File

@ -9,6 +9,10 @@ mixin example(name)
pre.language-python: code pre.language-python: code
include ../../code/home.load_resources_and_process_text include ../../code/home.load_resources_and_process_text
+example("Multi-threaded generator (using OpenMP. No GIL!)")
pre.language-python: code
include ../../code/home.multithreading
+example("Get tokens and sentences") +example("Get tokens and sentences")
pre.language-python: code pre.language-python: code
include ../../code/home.get_tokens_and_sentences include ../../code/home.get_tokens_and_sentences