Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
markov
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Brady James Garvin
markov
Commits
f5f27ed3
Commit
f5f27ed3
authored
8 years ago
by
Brady James Garvin
Browse files
Options
Downloads
Patches
Plain Diff
Declared encodings to support Python 2.
parent
9e9f2dec
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
markov.py
+2
-0
2 additions, 0 deletions
markov.py
text.py
+2
-0
2 additions, 0 deletions
text.py
with
4 additions
and
0 deletions
markov.py
+
2
−
0
View file @
f5f27ed3
# -*- coding: utf-8; -*-
from
__future__
import
print_function
from
__future__
import
print_function
import
random
import
random
...
...
This diff is collapsed.
Click to expand it.
text.py
+
2
−
0
View file @
f5f27ed3
# -*- coding: utf-8; -*-
corpus = 'looking back to all that has occurred to me since that eventful day ' \
corpus = 'looking back to all that has occurred to me since that eventful day ' \
', i am scarcely able to believe in the reality of my adventures . they ' \
', i am scarcely able to believe in the reality of my adventures . they ' \
'were truly so wonderful that even now i am bewildered when i think of ' \
'were truly so wonderful that even now i am bewildered when i think of ' \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment