-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from FHaase/feature/jupyter
jupyter and ipython code-blocks
- Loading branch information
Showing
4 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia | ||
deserunt mollit anim id est laborum. | ||
>>> # extract 100 LDA topics, using default parameters | ||
>>> lda = LdaModel(corpus=mm, id2word=id2word, num_topics=100, distributed=True) | ||
Allow non code between blocks of code | ||
and also allow wrapping with ... | ||
>>> # extract 100 LDA topics, using default parameters | ||
>>> lda = LdfModel(corpus=cm, id2word=id2word, | ||
... num_topics=100, distributed=lda) | ||
Only check for code, not results: | ||
>>> print('This line is highlighted.') | ||
This line is highlighted. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
('test_precisely', | ||
[('F821', 21, 10, "undefined name 'LdaModel'", None), | ||
('F821', 21, 26, "undefined name 'mm'", None), | ||
('F821', 21, 38, "undefined name 'id2word'", None), | ||
('F821', 23, 10, "undefined name 'LdfModel'", None), | ||
('F821', 23, 26, "undefined name 'cm'", None), | ||
('F821', 23, 38, "undefined name 'id2word'", None)], | ||
{'logical lines': 5, 'physical lines': 6, 'tokens': 52}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
('test_precisely', | ||
[('F821', 21, 10, "undefined name 'LdaModel'", None), | ||
('F821', 21, 26, "undefined name 'mm'", None), | ||
('F821', 21, 38, "undefined name 'id2word'", None), | ||
('F821', 23, 10, "undefined name 'LdfModel'", None), | ||
('F821', 23, 26, "undefined name 'cm'", None), | ||
('F821', 23, 38, "undefined name 'id2word'", None)], | ||
{'logical lines': 5, 'physical lines': 6, 'tokens': 52}) |