Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cittena
cittena
Commits
084f6bd9
Commit
084f6bd9
authored
Aug 15, 2019
by
Niels-Oliver Walkowski
Browse files
feat(doc): Add doc to Corpus class
Add documentation for the basedir attribute.
parent
5fc6a926
Changes
1
Hide whitespace changes
Inline
Side-by-side
itten/corpus.py
View file @
084f6bd9
...
...
@@ -10,6 +10,12 @@ SUMMARY = {'seqmean': {'monochromatic': ['luminance'],
class
Corpus
(
object
):
"""Main class for working with a corpus of movies and movie data
Attributes:
basedir (pathlib.Path) -- The root directory in which all moviefolders
together with their data reside.
"""
def
__init__
(
self
,
path
=
'./'
,
summary
=
False
):
self
.
basedir
=
pathlib
.
Path
(
path
)
self
.
summary
=
summary
if
summary
else
SUMMARY
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment