Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2c32200c
Commit
2c32200c
authored
May 28, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated text per Alex's e-mail.
parent
6be9463e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
common/lib/xmodule/xmodule/word_cloud_module.py
+5
-5
No files found.
common/lib/xmodule/xmodule/word_cloud_module.py
View file @
2c32200c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
generate and view word cloud.
generate and view word cloud.
On the client side we show:
On the client side we show:
If student does not yet anwered - `num_inputs` numbers of text inputs.
If student does not yet an
s
wered - `num_inputs` numbers of text inputs.
If student have answered - words he entered and cloud.
If student have answered - words he entered and cloud.
"""
"""
...
@@ -34,21 +34,21 @@ class WordCloudFields(object):
...
@@ -34,21 +34,21 @@ class WordCloudFields(object):
"""XFields for word cloud."""
"""XFields for word cloud."""
num_inputs
=
StringyInteger
(
num_inputs
=
StringyInteger
(
display_name
=
"Inputs"
,
display_name
=
"Inputs"
,
help
=
"Number of
input
s."
,
help
=
"Number of
text boxes for student to input words/sentence
s."
,
scope
=
Scope
.
settings
,
scope
=
Scope
.
settings
,
default
=
5
,
default
=
5
,
values
=
{
"min"
:
1
}
values
=
{
"min"
:
1
}
)
)
num_top_words
=
StringyInteger
(
num_top_words
=
StringyInteger
(
display_name
=
"Maximum Words"
,
display_name
=
"Maximum Words"
,
help
=
"
Number of max words, which will be displaye
d."
,
help
=
"
Maximum number of words to be displayed in generated word clou
d."
,
scope
=
Scope
.
settings
,
scope
=
Scope
.
settings
,
default
=
250
,
default
=
250
,
values
=
{
"min"
:
1
}
values
=
{
"min"
:
1
}
)
)
display_student_percents
=
StringyBoolean
(
display_student_percents
=
StringyBoolean
(
display_name
=
"Show
Usage
"
,
display_name
=
"Show
Percents
"
,
help
=
"
Display usage percents for each word?
"
,
help
=
"
Show statistics for entered words near every word separately at the top.
"
,
scope
=
Scope
.
settings
,
scope
=
Scope
.
settings
,
default
=
True
default
=
True
)
)
...
...
Write
Preview
Markdown
is supported
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