hexsha
string | size
int64 | ext
string | lang
string | max_stars_repo_path
string | max_stars_repo_name
string | max_stars_repo_head_hexsha
string | max_stars_repo_licenses
list | max_stars_count
int64 | max_stars_repo_stars_event_min_datetime
string | max_stars_repo_stars_event_max_datetime
string | max_issues_repo_path
string | max_issues_repo_name
string | max_issues_repo_head_hexsha
string | max_issues_repo_licenses
list | max_issues_count
int64 | max_issues_repo_issues_event_min_datetime
string | max_issues_repo_issues_event_max_datetime
string | max_forks_repo_path
string | max_forks_repo_name
string | max_forks_repo_head_hexsha
string | max_forks_repo_licenses
list | max_forks_count
int64 | max_forks_repo_forks_event_min_datetime
string | max_forks_repo_forks_event_max_datetime
string | content
string | avg_line_length
float64 | max_line_length
int64 | alphanum_fraction
float64 | qsc_code_num_words_quality_signal
int64 | qsc_code_num_chars_quality_signal
float64 | qsc_code_mean_word_length_quality_signal
float64 | qsc_code_frac_words_unique_quality_signal
float64 | qsc_code_frac_chars_top_2grams_quality_signal
float64 | qsc_code_frac_chars_top_3grams_quality_signal
float64 | qsc_code_frac_chars_top_4grams_quality_signal
float64 | qsc_code_frac_chars_dupe_5grams_quality_signal
float64 | qsc_code_frac_chars_dupe_6grams_quality_signal
float64 | qsc_code_frac_chars_dupe_7grams_quality_signal
float64 | qsc_code_frac_chars_dupe_8grams_quality_signal
float64 | qsc_code_frac_chars_dupe_9grams_quality_signal
float64 | qsc_code_frac_chars_dupe_10grams_quality_signal
float64 | qsc_code_frac_chars_replacement_symbols_quality_signal
float64 | qsc_code_frac_chars_digital_quality_signal
float64 | qsc_code_frac_chars_whitespace_quality_signal
float64 | qsc_code_size_file_byte_quality_signal
float64 | qsc_code_num_lines_quality_signal
float64 | qsc_code_num_chars_line_max_quality_signal
float64 | qsc_code_num_chars_line_mean_quality_signal
float64 | qsc_code_frac_chars_alphabet_quality_signal
float64 | qsc_code_frac_chars_comments_quality_signal
float64 | qsc_code_cate_xml_start_quality_signal
float64 | qsc_code_frac_lines_dupe_lines_quality_signal
float64 | qsc_code_cate_autogen_quality_signal
float64 | qsc_code_frac_lines_long_string_quality_signal
float64 | qsc_code_frac_chars_string_length_quality_signal
float64 | qsc_code_frac_chars_long_word_length_quality_signal
float64 | qsc_code_frac_lines_string_concat_quality_signal
float64 | qsc_code_cate_encoded_data_quality_signal
float64 | qsc_code_frac_chars_hex_words_quality_signal
float64 | qsc_code_frac_lines_prompt_comments_quality_signal
float64 | qsc_code_frac_lines_assert_quality_signal
float64 | qsc_codepython_cate_ast_quality_signal
float64 | qsc_codepython_frac_lines_func_ratio_quality_signal
float64 | qsc_codepython_cate_var_zero_quality_signal
bool | qsc_codepython_frac_lines_pass_quality_signal
float64 | qsc_codepython_frac_lines_import_quality_signal
float64 | qsc_codepython_frac_lines_simplefunc_quality_signal
float64 | qsc_codepython_score_lines_no_logic_quality_signal
float64 | qsc_codepython_frac_lines_print_quality_signal
float64 | qsc_code_num_words
int64 | qsc_code_num_chars
int64 | qsc_code_mean_word_length
int64 | qsc_code_frac_words_unique
null | qsc_code_frac_chars_top_2grams
int64 | qsc_code_frac_chars_top_3grams
int64 | qsc_code_frac_chars_top_4grams
int64 | qsc_code_frac_chars_dupe_5grams
int64 | qsc_code_frac_chars_dupe_6grams
int64 | qsc_code_frac_chars_dupe_7grams
int64 | qsc_code_frac_chars_dupe_8grams
int64 | qsc_code_frac_chars_dupe_9grams
int64 | qsc_code_frac_chars_dupe_10grams
int64 | qsc_code_frac_chars_replacement_symbols
int64 | qsc_code_frac_chars_digital
int64 | qsc_code_frac_chars_whitespace
int64 | qsc_code_size_file_byte
int64 | qsc_code_num_lines
int64 | qsc_code_num_chars_line_max
int64 | qsc_code_num_chars_line_mean
int64 | qsc_code_frac_chars_alphabet
int64 | qsc_code_frac_chars_comments
int64 | qsc_code_cate_xml_start
int64 | qsc_code_frac_lines_dupe_lines
int64 | qsc_code_cate_autogen
int64 | qsc_code_frac_lines_long_string
int64 | qsc_code_frac_chars_string_length
int64 | qsc_code_frac_chars_long_word_length
int64 | qsc_code_frac_lines_string_concat
null | qsc_code_cate_encoded_data
int64 | qsc_code_frac_chars_hex_words
int64 | qsc_code_frac_lines_prompt_comments
int64 | qsc_code_frac_lines_assert
int64 | qsc_codepython_cate_ast
int64 | qsc_codepython_frac_lines_func_ratio
int64 | qsc_codepython_cate_var_zero
int64 | qsc_codepython_frac_lines_pass
int64 | qsc_codepython_frac_lines_import
int64 | qsc_codepython_frac_lines_simplefunc
int64 | qsc_codepython_score_lines_no_logic
int64 | qsc_codepython_frac_lines_print
int64 | effective
string | hits
int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ee200c0bd1b6dc44194ce43e272adb66b847d6f
| 5,837
|
py
|
Python
|
flextensor/testing/others/hand-craft/config_yolo24_cpu.py
|
imxian/FlexTensor
|
311af3362856ea1b0073404fffad42c54585c205
|
[
"MIT"
] | 135
|
2020-03-15T11:28:48.000Z
|
2022-03-26T00:54:32.000Z
|
flextensor/testing/others/hand-craft/config_yolo24_cpu.py
|
KnowingNothing/FlexTensor-Micro
|
6de200326d4999c56af3f3343282149bc5758c15
|
[
"MIT"
] | 11
|
2020-03-23T11:06:38.000Z
|
2022-01-24T06:25:41.000Z
|
flextensor/testing/others/hand-craft/config_yolo24_cpu.py
|
KnowingNothing/FlexTensor-Micro
|
6de200326d4999c56af3f3343282149bc5758c15
|
[
"MIT"
] | 32
|
2020-03-17T05:12:59.000Z
|
2022-03-26T00:54:33.000Z
|
"""
Configurations of high performance schedules for conv2d_nchw
YOLO convolution layer 24
Target Intel CPU
====================================
**Author**: `Size Zheng`
the terms used below:
------------------------------------
method: fuse_and_bind --> only use parallel
spatial_order: flatten --> bo, ko, po, qo, bm, km, pm, qm, bi, ki, pi, qi...
reduce_order: flatten --> rco, ryo, rxo, rcm, rym, rxm, rci, ryi, rxi...
spatial_reduce_relation: reduce_before_spatial --> ...rci, ryi, rxi, bi, ki, pi, qi
cache_write_at: last_thread --> compute_at(stage, tx_axis)
"""
yolo_conv24_nchw_b1_cpu = {
"method": "fuse_and_bind",
"b_factors": [1, 1, 1],
"k_factors": [1024, 1, 1],
"p_factors": [1, 1, 7],
"q_factors": [1, 1, 7],
"rc_factors": [1, 16, 64],
"ry_factors": [1, 1, 3],
"rx_factors": [1, 1, 3],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [17.2176128, 11.015653610229492], # [tvm vs. pytorch with MKL enabled]
"Xeon-E5-2630-v4": [15.639831100000002, 10.886478424072266],
"Xeon-E5-2690-v4": [11.5555504, 11.779093742370605],
}
}
yolo_conv24_nchw_b2_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
yolo_conv24_nchw_b4_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
yolo_conv24_nchw_b8_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
yolo_conv24_nchw_b16_cpu = {
"method": "fuse_and_bind",
"b_factors": [16, 1, 1],
"k_factors": [512, 1, 2],
"p_factors": [1, 1, 7],
"q_factors": [1, 1, 7],
"rc_factors": [1, 32, 32],
"ry_factors": [1, 1, 3],
"rx_factors": [1, 1, 3],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [287.4641678, 74.42233562469482], # [tvm vs. pytorch with MKL enabled]
"Xeon-E5-2630-v4": [202.33267189999998, 47.089266777038574],
"Xeon-E5-2690-v4": [123.31580509999999, 23.560667037963867],
}
}
yolo_conv24_nchw_b32_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
yolo_conv24_nchw_b64_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
yolo_conv24_nchw_b128_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
yolo_conv24_nchw_b256_cpu = {
"method": "fuse_and_bind",
"b_factors": [],
"k_factors": [],
"p_factors": [],
"q_factors": [],
"rc_factors": [],
"ry_factors": [],
"rx_factors": [],
"spatial_order": "flatten",
"reduce_order": "flatten",
"spatial_reduce_relation": "reduce_before_spatial",
"cache_write_at": "last_thread",
"auto_unroll_max_step": 1500,
"peformances": {
"Core-i7-6700K": [], # [tvm vs. pytorch]
"Xeon-E5-2630-v4": [],
"Xeon-E5-2690-v4": [],
}
}
| 27.403756
| 100
| 0.565873
| 691
| 5,837
| 4.434153
| 0.193922
| 0.078329
| 0.042428
| 0.055483
| 0.807115
| 0.799935
| 0.78688
| 0.768603
| 0.768603
| 0.768603
| 0
| 0.101372
| 0.225972
| 5,837
| 212
| 101
| 27.533019
| 0.576804
| 0.130204
| 0
| 0.783333
| 0
| 0
| 0.474807
| 0.078245
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
94c72a79aa986addd715749343ebbba4a82ec803
| 5,267
|
py
|
Python
|
tests/src/test_behavior_full.py
|
U8NWXD/scorevideo_lib
|
2af8c9ce6adc43af502aaa2a987ecc349b8ac16c
|
[
"BSD-3-Clause"
] | null | null | null |
tests/src/test_behavior_full.py
|
U8NWXD/scorevideo_lib
|
2af8c9ce6adc43af502aaa2a987ecc349b8ac16c
|
[
"BSD-3-Clause"
] | 1
|
2018-08-06T00:00:43.000Z
|
2018-08-06T00:00:43.000Z
|
tests/src/test_behavior_full.py
|
U8NWXD/scorevideo_lib
|
2af8c9ce6adc43af502aaa2a987ecc349b8ac16c
|
[
"BSD-3-Clause"
] | 1
|
2020-06-05T00:38:23.000Z
|
2020-06-05T00:38:23.000Z
|
# This file is part of scorevideo_lib: A library for working with scorevideo
# This file is part of scorevideo_lib: A library for working with scorevideo
# Use of this file is governed by the license in LICENSE.txt.
"""Unit tests for the :py:class:BehaviorFull class
"""
import pytest
from scorevideo_lib.parse_log import BehaviorFull
# pragma pylint: disable=missing-docstring
def test_init_invalid_time_two_decimal_points():
with pytest.raises(TypeError):
BehaviorFull(" 171 0.05.70 Pot entry exit either")
def test_init_invalid_raw_behavior():
with pytest.raises(TypeError):
BehaviorFull("53946 29:58.20 C")
def test_init_invalid_time_no_decimal_points():
with pytest.raises(TypeError):
BehaviorFull(" 171 0:05:70 Pot entry exit either")
def test_init_invalid_no_description():
with pytest.raises(TypeError):
BehaviorFull(" 171 0:05.70 either")
def test_init_valid_negative_frame():
BehaviorFull(" -171 0:05.70 Pot entry exit either")
def test_init_valid_negative_time():
BehaviorFull(" 171 -0:05.70 Pot entry exit either")
def test_init_invalid_nonnumeric_frame():
with pytest.raises(TypeError):
BehaviorFull(" 17a1 0:05.70 Pot entry exit either")
def test_init_invalid_nonnumeric_time():
with pytest.raises(TypeError):
BehaviorFull(" 171 a0:05.70 Pot entry exit either")
def test_init_invalid_no_frame():
with pytest.raises(TypeError):
BehaviorFull(" 0:05.70 Pot entry exit either")
def test_init_invalid_no_time():
with pytest.raises(TypeError):
BehaviorFull(" 171 Pot entry exit either")
def test_init_invalid_no_either():
with pytest.raises(TypeError):
BehaviorFull(" 171 0:05.70 Pot entry exit ")
def test_init_invalid_one_space():
with pytest.raises(TypeError):
BehaviorFull(" 171 0:05.70 Pot entry exit either")
def test_init_invalid_5_elems():
with pytest.raises(TypeError):
BehaviorFull("| 171 0:05.70 Pot entry exit either ")
def test_init_invalid_behavior():
with pytest.raises(TypeError):
BehaviorFull(" 171 0:05.70 Pot entry exit! either")
def test_init_invalid_subject():
with pytest.raises(TypeError):
BehaviorFull(" 171 0:05.70 Pot entry exit both")
def test_init_valid_normal():
BehaviorFull(" 171 28:52.70 Pot entry exit either")
def test_init_valid_short_time():
BehaviorFull(" 171 0:05.70 Pot entry exit either")
def test_init_valid_long_time():
BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
def test_lt_frame_positive():
one = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
two = BehaviorFull(" 173 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_frame_negative():
one = BehaviorFull(" -173 0:01:05.70 Pot entry exit either")
two = BehaviorFull(" -171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_frame_both_signs():
one = BehaviorFull(" -171 0:01:05.70 Pot entry exit either")
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_time_positive():
one = BehaviorFull(" 171 0:00:05.70 Pot entry exit either")
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_time_negative():
one = BehaviorFull(" 171 -0:01:05.70 Pot entry exit either")
two = BehaviorFull(" 171 -0:00:05.70 Pot entry exit either")
assert one < two
def test_lt_time_both_signs():
one = BehaviorFull(" 171 -0:01:05.70 Pot entry exit either")
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_description():
one = BehaviorFull(" 171 0:01:05.70 Aot entry exit either")
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_description_lexicographic():
one = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
two = BehaviorFull(" 171 0:01:05.70 pot entry exit either")
assert one < two
def test_lt_subject():
one = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
one.subject = "aeither" # Needed to avoid validator rejecting subject
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_subject_lexicographic():
one = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
one.subject = "Either" # Needed to avoid validator rejecting subject
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one < two
def test_lt_equal():
one = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
two = BehaviorFull(" 171 0:01:05.70 Pot entry exit either")
assert one >= two
| 29.757062
| 77
| 0.629011
| 720
| 5,267
| 4.45
| 0.130556
| 0.106742
| 0.138577
| 0.157303
| 0.885144
| 0.865481
| 0.810861
| 0.775593
| 0.773408
| 0.736267
| 0
| 0.095829
| 0.280805
| 5,267
| 176
| 78
| 29.926136
| 0.75
| 0.073476
| 0
| 0.402062
| 0
| 0
| 0.405178
| 0
| 0
| 0
| 0
| 0
| 0.113402
| 1
| 0.298969
| false
| 0
| 0.020619
| 0
| 0.319588
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
94e00741769d472e48a16d9d070914d0e2b98304
| 145
|
py
|
Python
|
pinax/submissions/compat.py
|
pinax/pinax-submissions
|
a3f3568f3a652a552661ed24a197d21b082d3df9
|
[
"MIT"
] | 11
|
2015-10-16T19:31:57.000Z
|
2022-02-16T06:41:49.000Z
|
pinax/submissions/compat.py
|
pinax/pinax-submissions
|
a3f3568f3a652a552661ed24a197d21b082d3df9
|
[
"MIT"
] | 6
|
2015-11-12T16:34:48.000Z
|
2020-03-21T02:24:29.000Z
|
pinax/pages/compat.py
|
pinax/pinax-pages
|
ad4101f390bf001a5d1c7bfd7a224d8f5acb3d7e
|
[
"MIT"
] | 6
|
2016-07-02T21:11:21.000Z
|
2021-03-17T16:16:09.000Z
|
try:
from account.decorators import login_required
except ImportError:
from django.contrib.auth.decorators import login_required # noqa
| 29
| 69
| 0.8
| 18
| 145
| 6.333333
| 0.722222
| 0.280702
| 0.368421
| 0.508772
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.151724
| 145
| 4
| 70
| 36.25
| 0.926829
| 0.027586
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
a209e599a9f47e45ff861d4a0293b29328103b7d
| 31,632
|
py
|
Python
|
tests/common_tests/function_tests/test_collectors_manipulation.py
|
haihabi/model_optimization
|
97372a9596378bb2287c59f1180b5059f741b2d6
|
[
"Apache-2.0"
] | null | null | null |
tests/common_tests/function_tests/test_collectors_manipulation.py
|
haihabi/model_optimization
|
97372a9596378bb2287c59f1180b5059f741b2d6
|
[
"Apache-2.0"
] | null | null | null |
tests/common_tests/function_tests/test_collectors_manipulation.py
|
haihabi/model_optimization
|
97372a9596378bb2287c59f1180b5059f741b2d6
|
[
"Apache-2.0"
] | null | null | null |
# Copyright 2021 Sony Semiconductors Israel, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
import unittest
import numpy as np
from model_compression_toolkit.common.collectors.statistics_collector import StatsCollector
from model_compression_toolkit.common.collectors.statistics_collector import scale_statistics
from model_compression_toolkit.common.collectors.statistics_collector import shift_statistics
from model_compression_toolkit.common.framework_info import ChannelAxis
def init_stats_container(num_of_input_channels, init_min=None, init_max=None):
sc = StatsCollector(init_min_value=init_min, init_max_value=init_max, output_channel_index=ChannelAxis.NHWC)
x = np.random.rand(1, 2, 3, num_of_input_channels)
for i in range(100):
sc.update_statistics(x)
return sc
def scale_stats_container(sc, num_of_scaling_factors):
scaling_factor = np.random.random(num_of_scaling_factors)
scaled_sc = scale_statistics(sc, scaling_factor)
return scaled_sc, scaling_factor
def shift_stats_container(sc, num_of_shifting_factors):
shifting_factor = np.random.random(num_of_shifting_factors)
shifted_sc = shift_statistics(sc, shifting_factor)
return shifted_sc, shifting_factor
class TestCollectorsManipulations(unittest.TestCase):
########### Test scaling ###########
def test_mean_scale_per_channel(self, num_of_scaling_factors=10):
sc = init_stats_container(num_of_scaling_factors)
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_scaling_factors)
scaled_mean = scaled_sc.get_mean()
self.assertTrue(np.allclose(scaled_mean / scaling_factor, mean))
def test_mean_scale_per_tensor(self, num_of_scaling_factors=1):
sc = init_stats_container(num_of_scaling_factors)
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_scaling_factors)
scaled_mean = scaled_sc.get_mean()
self.assertTrue(np.allclose(scaled_mean / scaling_factor, mean))
def test_histogram_scale_per_channel(self, num_of_scaling_factors=10):
sc = init_stats_container(num_of_scaling_factors)
bins, _ = sc.hc.get_histogram()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_scaling_factors)
with self.assertRaises(Exception):
scaled_sc.hc.get_histogram() # data is corrupted. expect exception
def test_histogram_scale_per_tensor(self, num_of_scaling_factors=1):
sc = init_stats_container(num_of_scaling_factors)
bins, _ = sc.hc.get_histogram()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_scaling_factors)
scaled_bins, _ = scaled_sc.hc.get_histogram()
self.assertTrue(np.allclose(scaled_bins / scaling_factor, bins))
def test_min_max_scale_per_channel(self, num_of_scaling_factors=10):
sc = init_stats_container(num_of_scaling_factors)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_scaled, max_pc_scaled = scaled_sc.mpcc.min_per_channel, scaled_sc.mpcc.max_per_channel
self.assertTrue(np.allclose(min_pc_scaled / scaling_factor, min_pc))
self.assertTrue(np.allclose(max_pc_scaled / scaling_factor, max_pc))
def test_min_max_scale_per_tensor(self, num_of_scaling_factors=1):
sc = init_stats_container(num_of_scaling_factors)
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_scaling_factors)
self.assertTrue(np.allclose(scaled_sc.get_min_max_values() / scaling_factor, sc.get_min_max_values()))
########### Test shifting ############
def test_mean_shift_per_channel(self, num_of_shifting_factors=10):
sc = init_stats_container(num_of_shifting_factors)
mean = sc.get_mean()
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
shifted_mean = shifted_sc.get_mean()
self.assertTrue(np.allclose(shifted_mean - shifting_factor, mean))
def test_mean_shift_per_tensor(self, num_of_shifting_factors=1):
sc = init_stats_container(num_of_shifting_factors)
mean = sc.get_mean()
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
shifted_mean = shifted_sc.get_mean()
self.assertTrue(np.allclose(shifted_mean - shifting_factor, mean))
def test_histogram_shift_per_channel(self, num_of_shifting_factors=10):
sc = init_stats_container(num_of_shifting_factors)
bins, _ = sc.hc.get_histogram()
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
with self.assertRaises(Exception):
shifted_sc.hc.get_histogram() # data is corrupted. expect exception
def test_histogram_shift_per_tensor(self, num_of_shifting_factors=1):
sc = init_stats_container(num_of_shifting_factors)
bins, _ = sc.hc.get_histogram()
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
shifted_bins, _ = shifted_sc.hc.get_histogram()
self.assertTrue(np.allclose(shifted_bins - shifting_factor, bins))
def test_min_max_shift_per_channel(self, num_of_shifting_factors=10):
sc = init_stats_container(num_of_shifting_factors)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_shifted, max_pc_shifted = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
self.assertTrue(np.allclose(min_pc_shifted - shifting_factor, min_pc))
self.assertTrue(np.allclose(max_pc_shifted - shifting_factor, max_pc))
def test_min_max_shift_per_tensor(self, num_of_shifting_factors=1):
sc = init_stats_container(num_of_shifting_factors)
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
self.assertTrue(np.allclose(shifted_sc.get_min_max_values() - shifting_factor, sc.get_min_max_values()))
########### Test scaling -> shifting (same granularity) ###########
def test_mean_scale_shift_per_channel(self, num_of_input_channels=10):
sc = init_stats_container(num_of_input_channels)
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_mean = final_sc.get_mean()
restored_mean = (final_mean - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_mean_scale_shift_per_tensor(self, num_of_input_channels=1):
sc = init_stats_container(num_of_input_channels)
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_mean = final_sc.get_mean()
restored_mean = (final_mean - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_histogram_scale_shift_per_channel(self, num_of_input_channels=10):
sc = init_stats_container(num_of_input_channels)
bins, _ = sc.hc.get_histogram()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
with self.assertRaises(Exception):
final_sc.hc.get_histogram()
def test_histogram_scale_shift_per_tensor(self, num_of_input_channels=1):
sc = init_stats_container(num_of_input_channels)
bins, _ = sc.hc.get_histogram()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_bins, _ = final_sc.hc.get_histogram()
restored_bins = (final_bins - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_bins, bins))
def test_minmax_scale_shift_per_channel(self, num_of_input_channels=10):
sc = init_stats_container(num_of_input_channels)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = (min_pc_final - shifting_factor) / scaling_factor
restored_max_pc = (max_pc_final - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_scale_shift_per_tensor(self, num_of_input_channels=1):
sc = init_stats_container(num_of_input_channels)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = (min_pc_final - shifting_factor) / scaling_factor
restored_max_pc = (max_pc_final - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
########### Test scaling -> shifting -> scaling (same granularity) ###########
def test_mean_scale_shift_scale_per_channel(self, num_of_input_channels=10):
sc = init_stats_container(num_of_input_channels)
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
shifted_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_sc, scaling_factor2 = scale_stats_container(shifted_sc, num_of_input_channels)
final_mean = final_sc.get_mean()
restored_mean = (final_mean / scaling_factor2 - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_mean_scale_shift_scale_per_tensor(self, num_of_input_channels=1):
sc = init_stats_container(num_of_input_channels)
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
shifted_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_sc, scaling_factor2 = scale_stats_container(shifted_sc, num_of_input_channels)
final_mean = final_sc.get_mean()
restored_mean = (final_mean / scaling_factor2 - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_histogram_scale_shift_scale_per_channel(self, num_of_input_channels=10):
sc = init_stats_container(num_of_input_channels)
bins, _ = sc.hc.get_histogram()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
shifted_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_sc, scaling_factor2 = scale_stats_container(shifted_sc, num_of_input_channels)
with self.assertRaises(Exception):
final_sc.hc.get_histogram()
def test_histogram_scale_shift_scale_per_tensor(self, num_of_input_channels=1):
sc = init_stats_container(num_of_input_channels)
bins, _ = sc.hc.get_histogram()
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
shifted_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_sc, scaling_factor2 = scale_stats_container(shifted_sc, num_of_input_channels)
final_bins, _ = final_sc.hc.get_histogram()
restored_bins = (final_bins / scaling_factor2 - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_bins, bins))
def test_minmax_scale_shift_scale_per_channel(self, num_of_input_channels=10):
sc = init_stats_container(num_of_input_channels)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
shifted_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_sc, scaling_factor2 = scale_stats_container(shifted_sc, num_of_input_channels)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = (min_pc_final / scaling_factor2 - shifting_factor) / scaling_factor
restored_max_pc = (max_pc_final / scaling_factor2 - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_scale_shift_scale_per_tensor(self, num_of_input_channels=1):
sc = init_stats_container(num_of_input_channels)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_of_input_channels)
shifted_sc, shifting_factor = shift_stats_container(scaled_sc, num_of_input_channels)
final_sc, scaling_factor2 = scale_stats_container(shifted_sc, num_of_input_channels)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = (min_pc_final / scaling_factor2 - shifting_factor) / scaling_factor
restored_max_pc = (max_pc_final / scaling_factor2 - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
########### Test scaling -> shifting (different granularity) ###########
def test_mean_scale_per_channel_shift_per_tensor(self, num_scale_factors=10, num_shift_factors=1):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_scale_factors)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_shift_factors)
final_mean = final_sc.get_mean()
restored_mean = (final_mean - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_mean_scale_per_tensor_shift_per_channel(self, num_scale_factors=1, num_shift_factors=10):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
mean = sc.get_mean()
scaled_sc, scaling_factor = scale_stats_container(sc, num_scale_factors)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_shift_factors)
final_mean = final_sc.get_mean()
restored_mean = (final_mean - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_histogram_scale_per_channel_shift_per_tensor(self, num_scale_factors=10, num_shift_factors=1):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
scaled_sc, scaling_factor = scale_stats_container(sc, num_scale_factors)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_shift_factors)
with self.assertRaises(Exception):
final_sc.hc.get_histogram()
def test_histogram_scale_per_tensor_shift_per_channel(self, num_scale_factors=1, num_shift_factors=10):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
scaled_sc, scaling_factor = scale_stats_container(sc, num_scale_factors)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_shift_factors)
with self.assertRaises(Exception):
final_sc.hc.get_histogram()
def test_minmax_scale_per_channel_shift_per_tensor(self, num_scale_factors=10, num_shift_factors=1):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_scale_factors)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_shift_factors)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = (min_pc_final - shifting_factor) / scaling_factor
restored_max_pc = (max_pc_final - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_scale_per_tensor_shift_per_channel(self, num_scale_factors=1, num_shift_factors=10):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
scaled_sc, scaling_factor = scale_stats_container(sc, num_scale_factors)
final_sc, shifting_factor = shift_stats_container(scaled_sc, num_shift_factors)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = (min_pc_final - shifting_factor) / scaling_factor
restored_max_pc = (max_pc_final - shifting_factor) / scaling_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
########### Test shifting -> scaling (different granularity) ###########
def test_mean_shift_per_channel_scale_per_tensor(self, num_scale_factors=10, num_shift_factors=1):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
mean = sc.get_mean()
shifted_sc, shifting_factor = shift_stats_container(sc, num_shift_factors)
final_sc, scaling_factor = scale_stats_container(shifted_sc, num_scale_factors)
final_mean = final_sc.get_mean()
restored_mean = final_mean / scaling_factor - shifting_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_mean_shift_per_tensor_scale_per_channel(self, num_scale_factors=1, num_shift_factors=10):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
mean = sc.get_mean()
shifted_sc, shifting_factor = shift_stats_container(sc, num_shift_factors)
final_sc, scaling_factor = scale_stats_container(shifted_sc, num_scale_factors)
final_mean = final_sc.get_mean()
restored_mean = final_mean / scaling_factor - shifting_factor
self.assertTrue(np.allclose(restored_mean, mean))
def test_histogram_shift_per_channel_scale_per_tensor(self, num_scale_factors=10, num_shift_factors=1):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
shifted_sc, shifting_factor = shift_stats_container(sc, num_shift_factors)
final_sc, scaling_factor = scale_stats_container(shifted_sc, num_scale_factors)
with self.assertRaises(Exception):
final_sc.hc.get_histogram()
def test_histogram_shift_per_tensor_scale_per_channel(self, num_scale_factors=1, num_shift_factors=10):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
shifted_sc, shifting_factor = shift_stats_container(sc, num_shift_factors)
final_sc, scaling_factor = scale_stats_container(shifted_sc, num_scale_factors)
with self.assertRaises(Exception):
final_sc.hc.get_histogram()
def test_minmax_shift_per_channel_scale_per_tensor(self, num_scale_factors=10, num_shift_factors=1):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_shift_factors)
final_sc, scaling_factor = scale_stats_container(shifted_sc, num_scale_factors)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / scaling_factor - shifting_factor
restored_max_pc = max_pc_final / scaling_factor - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_shift_per_tensor_scale_per_channel(self, num_scale_factors=1, num_shift_factors=10):
sc = init_stats_container(max(num_scale_factors, num_shift_factors))
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_shift_factors)
final_sc, scaling_factor = scale_stats_container(shifted_sc, num_scale_factors)
min_pc_final, max_pc_final = final_sc.mpcc.min_per_channel, final_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / scaling_factor - shifting_factor
restored_max_pc = max_pc_final / scaling_factor - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
########### Test shifting for collector with init values ###########
def test_minmax_shift_per_channel_init_min(self, num_of_shifting_factors=10):
sc = init_stats_container(num_of_shifting_factors, init_min=0)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final - shifting_factor
restored_max_pc = max_pc_final - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
min_final, max_final = shifted_sc.get_min_max_values()
self.assertTrue(np.allclose(min_final, np.min(min_pc + shifting_factor)))
self.assertTrue(np.allclose(max_final, np.max(max_pc + shifting_factor)))
def test_minmax_shift_per_channel_init_max(self, num_of_shifting_factors=10):
sc = init_stats_container(num_of_shifting_factors, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final - shifting_factor
restored_max_pc = max_pc_final - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
min_final, max_final = shifted_sc.get_min_max_values()
# init values should be ignored as stats were shifted per-channel
self.assertTrue(np.allclose(max_final, np.max(max_pc + shifting_factor)))
self.assertTrue(np.allclose(min_final, np.min(min_pc + shifting_factor)))
def test_minmax_shift_per_tensor_init_min(self, num_of_shifting_factors=1):
sc = init_stats_container(num_of_shifting_factors, init_min=0)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final - shifting_factor
restored_max_pc = max_pc_final - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_shift_per_tensor_init_max(self, num_of_shifting_factors=1):
sc = init_stats_container(num_of_shifting_factors, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final - shifting_factor
restored_max_pc = max_pc_final - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_shift_per_channel_init_minmax(self, num_of_shifting_factors=10):
sc = init_stats_container(num_of_shifting_factors, init_min=0, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final - shifting_factor
restored_max_pc = max_pc_final - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
min_final, max_final = shifted_sc.get_min_max_values()
# init values should be ignored as stats were shifted per-channel
self.assertTrue(np.allclose(min_final, np.min(min_pc + shifting_factor)))
self.assertTrue(np.allclose(max_final, np.max(max_pc + shifting_factor)))
def test_minmax_shift_per_tensor_init_minmax(self, num_of_shifting_factors=1):
sc = init_stats_container(num_of_shifting_factors, init_min=0, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = shift_stats_container(sc, num_of_shifting_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final - shifting_factor
restored_max_pc = max_pc_final - shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
########### Test scaling for collector with init values ###########
def test_minmax_scale_per_channel_init_min(self, num_of_scaling_factors=10):
sc = init_stats_container(num_of_scaling_factors, init_min=0)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / shifting_factor
restored_max_pc = max_pc_final / shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
min_final, max_final = shifted_sc.get_min_max_values()
self.assertTrue(np.allclose(min_final, np.min(min_pc * shifting_factor)))
self.assertTrue(np.allclose(max_final, np.max(max_pc * shifting_factor)))
def test_minmax_scale_per_channel_init_max(self, num_of_scaling_factors=10):
sc = init_stats_container(num_of_scaling_factors, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / shifting_factor
restored_max_pc = max_pc_final / shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
min_final, max_final = shifted_sc.get_min_max_values()
self.assertTrue(np.allclose(max_final, np.max(max_pc * shifting_factor)))
self.assertTrue(np.allclose(min_final, np.min(min_pc * shifting_factor)))
def test_minmax_scale_per_tensor_init_min(self, num_of_scaling_factors=1):
sc = init_stats_container(num_of_scaling_factors, init_min=0)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / shifting_factor
restored_max_pc = max_pc_final / shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_scale_per_tensor_init_max(self, num_of_scaling_factors=1):
sc = init_stats_container(num_of_scaling_factors, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / shifting_factor
restored_max_pc = max_pc_final / shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
def test_minmax_scale_per_channel_init_minmax(self, num_of_scaling_factors=10):
sc = init_stats_container(num_of_scaling_factors, init_min=0, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / shifting_factor
restored_max_pc = max_pc_final / shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
min_final, max_final = shifted_sc.get_min_max_values()
self.assertTrue(np.allclose(min_final, np.min(min_pc * shifting_factor)))
self.assertTrue(np.allclose(max_final, np.max(max_pc * shifting_factor)))
def test_minmax_scale_per_tensor_init_minmax(self, num_of_scaling_factors=1):
sc = init_stats_container(num_of_scaling_factors, init_min=0, init_max=99)
min_pc, max_pc = sc.mpcc.min_per_channel, sc.mpcc.max_per_channel
shifted_sc, shifting_factor = scale_stats_container(sc, num_of_scaling_factors)
min_pc_final, max_pc_final = shifted_sc.mpcc.min_per_channel, shifted_sc.mpcc.max_per_channel
restored_min_pc = min_pc_final / shifting_factor
restored_max_pc = max_pc_final / shifting_factor
self.assertTrue(np.allclose(restored_min_pc, min_pc))
self.assertTrue(np.allclose(restored_max_pc, max_pc))
if __name__ == '__main__':
unittest.main()
| 56.892086
| 112
| 0.75509
| 4,615
| 31,632
| 4.68234
| 0.033803
| 0.031006
| 0.054792
| 0.082188
| 0.946828
| 0.936323
| 0.924152
| 0.90777
| 0.89671
| 0.883567
| 0
| 0.005323
| 0.162652
| 31,632
| 555
| 113
| 56.994595
| 0.810511
| 0.037589
| 0
| 0.794326
| 0
| 0
| 0.000265
| 0
| 0
| 0
| 0
| 0
| 0.193853
| 1
| 0.120567
| false
| 0
| 0.014184
| 0
| 0.144208
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
bfd7ae63b85aa9dd95767f903456daf3c6bbada9
| 9,104
|
py
|
Python
|
unit_tests/test_evaluate_f1_update_confusion_matrix.py
|
fensta/bracid2019
|
ad9bf0b4e44c19f66c1597e857ef6cf70f56a646
|
[
"MIT"
] | null | null | null |
unit_tests/test_evaluate_f1_update_confusion_matrix.py
|
fensta/bracid2019
|
ad9bf0b4e44c19f66c1597e857ef6cf70f56a646
|
[
"MIT"
] | null | null | null |
unit_tests/test_evaluate_f1_update_confusion_matrix.py
|
fensta/bracid2019
|
ad9bf0b4e44c19f66c1597e857ef6cf70f56a646
|
[
"MIT"
] | null | null | null |
from unittest import TestCase
from collections import Counter
import pandas as pd
from scripts.utils import evaluate_f1_update_confusion_matrix, Data, Bounds
import scripts.vars as my_vars
class TestEvaluateF1UpdateConfusionMatrix(TestCase):
"""Tests evaluate_f1_update_confusion_matrix() in utils.py"""
def test_evaluate_f1_update_confusion_matrix_updated(self):
"""Tests what happens if input has a numeric and a nominal feature and a rule that predicts an example is
updated"""
df = pd.DataFrame({"A": ["low", "low", "high", "low", "low", "high"], "B": [1, 1, 4, 1.5, 0.5, 0.75],
"C": [3, 2, 1, .5, 3, 2],
"Class": ["apple", "apple", "banana", "banana", "banana", "banana"]})
class_col_name = "Class"
lookup = \
{
"A":
{
'high': 2,
'low': 4,
my_vars.CONDITIONAL:
{
'high':
Counter({
'banana': 2
}),
'low':
Counter({
'banana': 2,
'apple': 2
})
}
}
}
classes = ["apple", "banana"]
min_max = pd.DataFrame({"B": {"min": 1, "max": 5}, "C": {"min": 1, "max": 11}})
my_vars.minority_class = "apple"
rules = [
pd.Series({"A": "low", "B": Bounds(lower=1, upper=1), "C": Bounds(lower=3, upper=3), "Class": "apple"},
name=0),
pd.Series({"A": "low", "B": Bounds(lower=1, upper=1), "C": Bounds(lower=2, upper=2), "Class": "apple"},
name=1),
pd.Series({"A": "high", "B": Bounds(lower=4, upper=4), "C": Bounds(lower=1, upper=1),
"Class": "banana"}, name=2),
pd.Series({"A": "low", "B": Bounds(lower=1.5, upper=1.5), "C": Bounds(lower=0.5, upper=0.5),
"Class": "banana"}, name=3),
pd.Series({"A": "low", "B": Bounds(lower=0.5, upper=0.5), "C": Bounds(lower=3, upper=3),
"Class": "banana"}, name=4),
pd.Series({"A": "high", "B": Bounds(lower=0.75, upper=0.75), "C": Bounds(lower=2, upper=2),
"Class": "banana"}, name=5)
]
my_vars.closest_rule_per_example = {
0: Data(rule_id=1, dist=0.010000000000000002),
1: Data(rule_id=0, dist=0.010000000000000002),
2: Data(rule_id=5, dist=0.67015625),
3: Data(rule_id=1, dist=0.038125),
4: Data(rule_id=0, dist=0.015625),
5: Data(rule_id=2, dist=0.67015625)}
my_vars.examples_covered_by_rule = {}
my_vars.closest_examples_per_rule = {0: {1, 4}, 1: {0, 3}, 2: {5}, 5: {2}}
my_vars.seed_rule_example = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5}
my_vars.seed_example_rule = {0: {0}, 1: {1}, 2: {2}, 3: {3}, 4: {4}, 5: {5}}
my_vars.all_rules = {0: rules[0], 1: rules[1], 2: rules[2], 3: rules[3], 4: rules[4], 5: rules[5]}
my_vars.conf_matrix = {my_vars.TP: {0, 1}, my_vars.FP: {3, 4}, my_vars.TN: {2, 5}, my_vars.FN: set()}
new_rule = pd.Series({"A": "low", "B": Bounds(lower=0.5, upper=1.0), "C": Bounds(lower=3, upper=3),
"Class": "banana"}, name=0)
# tagged, initial_rules = add_tags_and_extract_rules(df, 2, class_col_name, lookup, min_max, classes)
correct_f1 = 0.8
f1 = evaluate_f1_update_confusion_matrix(df, new_rule, class_col_name, lookup, min_max, classes)
correct_closest_rule_per_example = {
0: Data(rule_id=1, dist=0.010000000000000002),
1: Data(rule_id=0, dist=0.010000000000000002),
2: Data(rule_id=5, dist=0.67015625),
3: Data(rule_id=1, dist=0.038125),
4: Data(rule_id=0, dist=0.0),
5: Data(rule_id=2, dist=0.67015625)}
print(f1, correct_f1)
self.assertTrue(f1 == correct_f1)
for example_id in my_vars.closest_rule_per_example:
rule_id, dist = my_vars.closest_rule_per_example[example_id]
self.assertTrue(rule_id == correct_closest_rule_per_example[example_id][0] and
abs(dist - correct_closest_rule_per_example[example_id][1]) < 0.001)
correct_conf_matrix = {my_vars.TP: {0, 1}, my_vars.FP: {3}, my_vars.TN: {2, 4, 5}, my_vars.FN: set()}
self.assertTrue(my_vars.conf_matrix == correct_conf_matrix)
def test_evaluate_f1_update_confusion_matrix_not_updated(self):
"""Tests what happens if input has a numeric and a nominal feature and a rule that predicts an example is
not updated as F1 score doesn't improve"""
df = pd.DataFrame({"A": ["low", "low", "high", "low", "low", "high"], "B": [1, 1, 4, 1.5, 0.5, 0.75],
"C": [3, 2, 1, .5, 3, 2],
"Class": ["apple", "apple", "banana", "banana", "banana", "banana"]})
class_col_name = "Class"
lookup = \
{
"A":
{
'high': 2,
'low': 4,
my_vars.CONDITIONAL:
{
'high':
Counter({
'banana': 2
}),
'low':
Counter({
'banana': 2,
'apple': 2
})
}
}
}
classes = ["apple", "banana"]
min_max = pd.DataFrame({"B": {"min": 1, "max": 5}, "C": {"min": 1, "max": 11}})
my_vars.minority_class = "apple"
rules = [
pd.Series({"A": "low", "B": Bounds(lower=1, upper=1), "C": Bounds(lower=3, upper=3), "Class": "apple"},
name=0),
pd.Series({"A": "low", "B": Bounds(lower=1, upper=1), "C": Bounds(lower=2, upper=2), "Class": "apple"},
name=1),
pd.Series({"A": "high", "B": Bounds(lower=4, upper=4), "C": Bounds(lower=1, upper=1),
"Class": "banana"}, name=2),
pd.Series({"A": "low", "B": Bounds(lower=1.5, upper=1.5), "C": Bounds(lower=0.5, upper=0.5),
"Class": "banana"}, name=3),
pd.Series({"A": "low", "B": Bounds(lower=0.5, upper=0.5), "C": Bounds(lower=3, upper=3),
"Class": "banana"}, name=4),
pd.Series({"A": "high", "B": Bounds(lower=0.75, upper=0.75), "C": Bounds(lower=2, upper=2),
"Class": "banana"}, name=5)
]
my_vars.examples_covered_by_rule = {}
my_vars.closest_examples_per_rule = {0: {1, 4}, 1: {0, 3}, 2: {5}, 5: {2}}
my_vars.seed_rule_example = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5}
my_vars.seed_example_rule = {0: {0}, 1: {1}, 2: {2}, 3: {3}, 4: {4}, 5: {5}}
my_vars.all_rules = {0: rules[0], 1: rules[1], 2: rules[2], 3: rules[3], 4: rules[4], 5: rules[5]}
my_vars.closest_rule_per_example = {
0: Data(rule_id=1, dist=0.010000000000000002),
1: Data(rule_id=0, dist=0.010000000000000002),
2: Data(rule_id=5, dist=0.67015625),
3: Data(rule_id=1, dist=0.038125),
4: Data(rule_id=0, dist=0.015625),
5: Data(rule_id=2, dist=0.67015625)}
my_vars.conf_matrix = {my_vars.TP: {0, 1}, my_vars.FP: set(), my_vars.TN: {2, 5}, my_vars.FN: {3, 4}}
new_rule = pd.Series({"A": "low", "B": (0.5, 0.5), "C": (3, 3), "Class": "banana"}, name=4)
correct_f1 = 2*1*0.5/1.5
f1 = evaluate_f1_update_confusion_matrix(df, new_rule, class_col_name, lookup, min_max, classes)
correct_closest_rule_per_example = {
0: Data(rule_id=1, dist=0.010000000000000002),
1: Data(rule_id=0, dist=0.010000000000000002),
2: Data(rule_id=5, dist=0.67015625),
3: Data(rule_id=1, dist=0.038125),
4: Data(rule_id=0, dist=0.015625),
5: Data(rule_id=2, dist=0.67015625)}
self.assertTrue(f1 == correct_f1)
for example_id in my_vars.closest_rule_per_example:
rule_id, dist = my_vars.closest_rule_per_example[example_id]
self.assertTrue(rule_id == correct_closest_rule_per_example[example_id][0] and
abs(dist - correct_closest_rule_per_example[example_id][1]) < 0.001)
correct_conf_matrix = {my_vars.TP: {0, 1}, my_vars.FP: set(), my_vars.TN: {2, 5}, my_vars.FN: {3, 4}}
self.assertTrue(my_vars.conf_matrix == correct_conf_matrix)
| 54.190476
| 115
| 0.483634
| 1,212
| 9,104
| 3.457096
| 0.090759
| 0.058711
| 0.057279
| 0.060143
| 0.921241
| 0.898807
| 0.898807
| 0.874224
| 0.854893
| 0.824344
| 0
| 0.105495
| 0.350286
| 9,104
| 167
| 116
| 54.51497
| 0.602874
| 0.045035
| 0
| 0.782895
| 0
| 0
| 0.057262
| 0
| 0
| 0
| 0
| 0
| 0.039474
| 1
| 0.013158
| false
| 0
| 0.032895
| 0
| 0.052632
| 0.006579
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
44a2c0157e63705912d7ffc94fe3c015fa77dbee
| 211
|
py
|
Python
|
pybrain/rl/environments/twoplayergames/__init__.py
|
sveilleux1/pybrain
|
1e1de73142c290edb84e29ca7850835f3e7bca8b
|
[
"BSD-3-Clause"
] | 2,208
|
2015-01-02T02:14:41.000Z
|
2022-03-31T04:45:46.000Z
|
pybrain/rl/environments/twoplayergames/__init__.py
|
sveilleux1/pybrain
|
1e1de73142c290edb84e29ca7850835f3e7bca8b
|
[
"BSD-3-Clause"
] | 91
|
2015-01-08T16:42:16.000Z
|
2021-12-11T19:16:35.000Z
|
pybrain/rl/environments/twoplayergames/__init__.py
|
sveilleux1/pybrain
|
1e1de73142c290edb84e29ca7850835f3e7bca8b
|
[
"BSD-3-Clause"
] | 786
|
2015-01-02T15:18:20.000Z
|
2022-02-23T23:42:40.000Z
|
from pybrain.rl.environments.twoplayergames.capturegame import CaptureGame
from pybrain.rl.environments.twoplayergames.gomoku import GomokuGame
from pybrain.rl.environments.twoplayergames.tasks.__init__ import *
| 70.333333
| 74
| 0.881517
| 24
| 211
| 7.583333
| 0.458333
| 0.181319
| 0.214286
| 0.412088
| 0.642857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.052133
| 211
| 3
| 75
| 70.333333
| 0.91
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
44b2e5db3aa95b14081b897841a6e599a44beaaa
| 7,922
|
py
|
Python
|
src_manage/payload.py
|
MarcusJones/kaggle_petfinder_adoption
|
2d745b48405f4d4211b523eae272b9169fcf9fa2
|
[
"MIT"
] | 1
|
2019-01-24T04:22:39.000Z
|
2019-01-24T04:22:39.000Z
|
src_manage/payload.py
|
MarcusJones/kaggle_petfinder_adoption
|
2d745b48405f4d4211b523eae272b9169fcf9fa2
|
[
"MIT"
] | 1
|
2021-09-08T01:14:02.000Z
|
2021-09-08T01:14:02.000Z
|
src_manage/payload.py
|
bmj-hackathon/kaggle_airbus_ship_detection
|
ea2c655418e13452fd9dcfe51ae99d703e16d758
|
[
"MIT"
] | null | null | null |
from pathlib import Path
import bz2
from jinja2 import Template
import logging
logging.getLogger().setLevel(logging.info)
#%% Collect all imported tools
# UTILS_DIR = Path('~/kaggle/kaggle_utils/kaggle_utils/').expanduser()
# TEST_LINES_OUT_DIR = Path('').cwd() / '..' / 'tempdel.txt'
# TEST_ZIP_OUT_DIR = Path('').cwd() / '..' / 'tempdel.bz2'
#%% TEMPLATES
PATH_TEMPLATE_HEAD = Path().cwd()/'src_dawkins'/'manage'/'templates'/'head.py'
with PATH_TEMPLATE_HEAD.open() as fh:
TEMPLATE_HEAD = Template(fh.read())
PATH_TEMPLATE_PAYLOADS= Path().cwd()/'src_dawkins'/'manage'/'templates'/'payloads.py'
with PATH_TEMPLATE_PAYLOADS.open() as fh:
TEMPLATE_PAYLOADS = Template(fh.read())
PATH_TEMPLATE_BASE= Path().cwd()/'src_dawkins'/'manage'/'templates'/'base.py'
with PATH_TEMPLATE_BASE.open() as fh:
TEMPLATE_BASE = Template(fh.read())
TEMPLATE_CELL = Template('payload["{{ key }}"]="{{ payload_chars }}"')
#%% Payloads
payloads = dict()
payloads['transformers'] = {
'path': Path('~/kaggle/kaggle_utils/kaggle_utils/').expanduser() / 'transformers.py',
'payload_chars' : None,
'cell' : None,
}
#%%
def bz2_hex_string(path_input):
assert path_input.exists(), "Can't find {}. Ensure PosixPath!".format(path_input)
with path_input.open() as fh:
ascii_lines = fh.read()
zipped_lines = bz2.compress(bytes(ascii_lines, 'utf8'))
hex_string = zipped_lines.hex()
logging.info("Generated size {} hex string from {}".format(len(hex_string), path_input))
return hex_string
# def wrap_cell(key, payload_chars):
# cell_text =
# return cell_text
for payload_key in payloads:
# path_transformers = UTILS_DIR / 'transformers.py'
payload = bz2_hex_string(payloads[payload_key]['path'])
payloads[payload_key]['payload_chars'] = payload
payloads[payload_key]['cell'] = TEMPLATE_CELL.render(key=payload_key, payload_chars=payloads[payload_key]['payload_chars'])
print( payloads[payload_key]['cell'] )
#%% Input files
assert path_transformers.exists()
with path_transformers.open() as fh:
utils_lines = fh.readlines()
with path_transformers.open() as fh:
utils_lines = fh.read()
bz2.decompress(payload)
payload_hex_str = '425a68393141592653590a663e1c000a9a5f8044507afff013ff7f5feebfeffffa600b2fba1b770fa1cba3deda3e5d0cd6adb5ada4ab262da7d1d541e18a694f44c8d26c907a4d3200d00007a8c9a06d4002114f1326a6d20c8000000000000001a68253d46111a341901a001a340000000126a449aa7b050d354f34a7a46806d4f50d1906100000044a29e854fca7a486c91809a3d427a69a46689a31300004122421a4c102649e4860a9ea78993694f694d34fd4d43d4c8193d1e00208aa2480aebf0ad9df6ec93c64ddb2c584ca4619647b24212ebc1bce1f47f9c8b79cc0c35612b30a44f091278c10c6834885a0d0eefad214bad579aa34c091ed55f1adad171328aaecd223ccb1402daa015125b329951bed718b87ddae245d184409b5a06ca0f3d9107dea9b9fc1487b2ab4e122c8c0244da9c981e08f4b1b1e5c37ffabfa80492570805d6d080d576beee83bf462a950fa59ec17434acdace9c357c3cee732cfaf9fd779a58750c2fd8379174cd5111d630db677ca971d9d939a198384520963741216a0f6639c4f880a481d5271deb596031d362c3d2be8cd35462ee334b335f5d79c34dec3bc19201376259105220711540354eb798b033688c0f99353b305a05505300e0e19b434bf4731f2a580c11209440351dae1ef6955cb35797336086b552cce365da6fb7bedacbaeb2bf0e73948785f8efc8edcff19dd7fa1ea384e4d9b605d012459b08fb450d9b95faa96e364e5652db6f829010fa6e80a2a0e916c449035e3102d8ab4f3672a20b95ab60e307895b0722ddb23118ca1ae52252ae25743945b73a09b537cc5ceb754ce65d7c2633ab650dcc777b587839143bfe69441e94f9304da501527db97030513d9eaf8e9786f2cc818b2f7a13f18818290d2d24409b00f625c92a0384467d67ab91c367a8e1fc3a8767095a793ba7e14b7f30bec72e3ca0bb42d7c1306e189f15119a2899fb4194638f7598133a7bec295910e255732244987fbad2c682440050949348a2491a6496e0b75c9e0e5e4bd9368f0ec85ae78e98c5d4d18653798b05a198bbe0c56219ee28aed99ca552b510e818d005d37887228b22d695a9a4658be59677dbb941f2215770cae32c0de22a91bf1707325f208bcb49ac2a1be88a92a808a215c7960e9a482290194522c403234283091d7ae68631a0896b9c8cb2b65b928c6f9a0c6de32415e9527be319d99cb7f5882739c70bcb52dd3a486a3da61a05172ac0b634b2b89b241bc680999e762bdd03d2ccc60ad29a291bf4c6cf47a0e5b8ec0702a401548e04f56c89d132a249b21613a5745f2861bd3019b6cff6e70b3ada8849224202122bb7cbc0f1b9590e6840885e28592419ab2ddec83e2797664af6fc8910ba5f341f120f11e2aeb644b4413a1424686021190e028370f8fa7a8c8388442d903154360e3c1809fe0b83833c0e31442f2f2dc255a65241157bddc9033e9e62d5bcfd2eb0fd30233f342f6ae4c77cc2622e418afc252e880f22f08496de5debbfe3d4ecf9afe5ae53496989dbdd1b44318db1a1fa403e754134b7c0e993bed17c63398d6510a05504608c1455145018360cad4788f6a54ce09c20f4ea6d03d725980be0d082495e232a519710e136dd85099f333a2c35a5860540f991bf1cc702e8ff8f9e924378da3efcc6d1fabc33b816913eb1410c4834dea49208ede262964143b64721eaa8791bb9a6677e3c1a3f5483c10595bc178ae932597434d871067815789d050448926b758833b791ac90642b960905b3f00217ff555ce9911d410bb148a86c4ece40f51a5d0ae2eb4d87d522ebd24d836a6c88c8b2982d2405050a815eb77ec78cbd61b8de4b499b17974d714c19365c11877d5ba0643a0c3b6b334475e9f8f98723a5135412f307ac38b513719229d1075b4652568dca8b3012b51b74346d70aec3b9385510dcf6081749491c97194ffb527cb859cddad5c75bfb3ba940aa68f64041ae3195e9841012c9346521b103a8a284bcca625e05c2c9092cc45e6a9ad357ebd8aa3a25f4acea7ba774db9aa66a018d7a966005d0aa96795d6ba736e71105e02d0b69c5d5e70c9c2eb35b6bccce2566d0c65a21806d19010e6a865f3a495c8a8c970977a1180b894e28906522e46004a6203dd83684191a3e13c35c4060bb33dda39041884a2d2e02ac90508b31a5158c158400889a1bf01748bc854235a908dbf74df3cbaca51401e12a84d31cb1abea73eec6d312152186b5b5a0f6c1905ea6967c63e4c032eda3b27a83b370b5c908e37764a19858bd5da8a46281c3a3be7b6371cc6612771085c4dc6c2935d650bfafae341c5c83ce54a03605634b581e6eae0a99a8116e016731f47ba4c4481734f707c1059619369057087fa2873f1375e52f62908d460ab42c726a873d7b0d2fdf060ebd1bd37d9b1b2e11146b9388688bcad2d984315b9a89dbbca904c39897bea40f4f3a207211620b2fbc848926808c61201012118c4181118ab8b601cf0bd945464844d637b9dc07e193fea82e99eb4cd519653981f0a48652e496446ccdf56817bc6a2500ca3433100e4c95b5049f7b2924df2f6795528e26b0dfacb4b96242a18ee3b941416c70d84562482c11605450834a9c55a94c3499824835a6152a5888681d6416227391729a0ee03f880ce6ea362665ef89b74448845ef7695e760a85db648928740250a9d44b2d8c85d65363fc06d894afe4e6d1bc1c39e02f6c8a06c1b0d4fe5c748c3753c56e2841f0997bc33a3239d8df11990751d42505eb81c7a264856ab587035181df1097a0eefd9a0b4d8ca6c90adbba1e0b26b553365554a1115b1e7688da0682aa523508a9c09a6990749a15d8a938cc308ce1ceb96e4e2503541c641109f4f65ac22f7e9ce739540390548251904a9026b820460c0b07da9119bae980b150882e2284ce6c3b0a71e7b0634c910594ba35a26e9060c97d62fb8c026344b2b90e624d04ca339a8868a40c06075fb187ddc7ab05ebf236815044923478bb25ac5c6a80aa560f91bc8b6b3825ef0aa8db6ce49d730b1cf240acb01c26d7a15ce0301b5a052820f7d57de81a2a4d405a5e94aef5b36a94c9ca53eae1da51b986233fded98dc334a5de906a442b1a5c0636bc9117229082d265b78686d9c984ee22e4a50219306345015e08ce517621c07ab3a534863c605165381896858378c24996b8434c2e80ef1e354749b27f899c054d046bcc9a983051cacbcddae458549080dc62d26db0de5cb65a1c17dac5ad423c539da1a8fe789e05c223ee46a368ca8152508f603da9014d7b833841beea678207c81ef3e60db420ee5a2d12bb8b450e1105505541a10c0cb3da4b84309c51ce184ddc9018c48b02237d284ce9738373fc5dc914e142402998f8700'
len(payload_hex_str)
clean_lines = list()
for line in utils_lines:
out_line = line.replace('#%%', "#")
out_line = out_line.replace('# %%', "#")
clean_lines.append(out_line)
del utils_lines
head = """
"""
clean_lines.insert(0, "#%% TRANSFORMERS\ntransfomers_module = r'''\n")
clean_lines.append("'''\n")
clean_lines.append("#%%\n")
clean_lines.append("from pathlib import Path\n")
clean_lines.append("util_outpath = Path.cwd() / 'transformers.py'\n")
clean_lines.append("with util_outpath.open('w') as fh: fh.writelines(transfomers_module)\n")
clean_lines.append("print('*** Wrote {}'.format(util_outpath))")
clean_lines.append("#%%\n")
# %%
with open(TEST_LINES_OUT_DIR, 'w') as fh:
fh.writelines(clean_lines)
# %%
len(payload)
with open(TEST_ZIP_OUT_DIR, 'wb') as fh:
fh.write(payload)
logging.info("Wrote {:0.1f}kb to {}".format(len(payload)/1000, TEST_ZIP_OUT_DIR))
| 78.435644
| 4,846
| 0.88412
| 425
| 7,922
| 16.232941
| 0.24
| 0.015944
| 0.018553
| 0.014785
| 0.079577
| 0.045079
| 0.031164
| 0.018988
| 0.011596
| 0
| 0
| 0.431869
| 0.048599
| 7,922
| 101
| 4,847
| 78.435644
| 0.483481
| 0.048094
| 0
| 0.0625
| 0
| 0
| 0.723034
| 0.660866
| 0
| 1
| 0
| 0
| 0.03125
| 1
| 0.015625
| false
| 0
| 0.078125
| 0
| 0.109375
| 0.03125
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
44be45e5fa02670a668bab1575bf64db1d6ecaec
| 4,282
|
py
|
Python
|
LocalDeploy/invoke_hardcoded.py
|
lobrien/AzureMachineLearning_Scratch
|
b0eee5900afb0576bad6ef3032f598ad5e9837ea
|
[
"MIT"
] | null | null | null |
LocalDeploy/invoke_hardcoded.py
|
lobrien/AzureMachineLearning_Scratch
|
b0eee5900afb0576bad6ef3032f598ad5e9837ea
|
[
"MIT"
] | null | null | null |
LocalDeploy/invoke_hardcoded.py
|
lobrien/AzureMachineLearning_Scratch
|
b0eee5900afb0576bad6ef3032f598ad5e9837ea
|
[
"MIT"
] | null | null | null |
import requests
normalized_pixel_values = "[\
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.7, 1.0, 1.0, 0.6, 0.4, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.9, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7, 1.0, 1.0, 1.0, 0.8, 0.6, 0.7, 1.0, 1.0, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2, 1.0, 1.0, 0.8, 0.1, 0.0, 0.0, 0.0, 0.8, 1.0, 0.5, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 1.0, 0.8, 0.1, 0.0, 0.0, 0.0, 0.5, 1.0, 1.0, 0.3, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1, 0.1, 0.0, 0.0, 0.0, 0.0, 0.8, 1.0, 1.0, 0.3, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5, 1.0, 1.0, 0.8, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 1.0, 1.0, 0.9, 0.2, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5, 1.0, 1.0, 0.6, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7, 1.0, 1.0, 0.6, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1, 0.9, 1.0, 0.9, 0.1, \
0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8, 1.0, 1.0, 0.6, \
0.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 1.0, 1.0, 0.7, \
0.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1, 0.8, 1.0, 1.0, \
1.0, 0.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5, 1.0, 1.0, \
1.0, 0.7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, \
1.0, 1.0, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, \
1.0, 1.0, 1.0, 0.2, 0.1, 0.1, 0.1, 0.1, 0.0, 0.0, 0.0, 0.1, 0.1, 0.1, 0.6, 0.6, 0.6, 0.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.7, 0.6, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.7, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.7, 0.5, 0.5, 0.2, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, 0.5, 0.7, 1.0, 1.0, 1.0, 0.6, 0.5, 0.5, 0.2, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]"
input_data = "{\"data\": [" + normalized_pixel_values + "]}"
headers = {'Content-Type': 'application/json'}
resp = requests.post("http://localhost:6789/score", input_data, headers=headers)
print("Should be predicted as '2'")
print("prediction:", resp.text)
| 107.05
| 141
| 0.416861
| 1,605
| 4,282
| 1.108411
| 0.021807
| 1.418775
| 2.045531
| 2.671164
| 0.879146
| 0.879146
| 0.878583
| 0.870714
| 0.867903
| 0.861158
| 0
| 0.457533
| 0.197104
| 4,282
| 40
| 142
| 107.05
| 0.059919
| 0
| 0
| 0.171429
| 0
| 0.8
| 0.023115
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.028571
| 0
| 0.028571
| 0.057143
| 0
| 0
| 1
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 14
|
44d1e502b840edbf0c5b81acc30e121ea7642451
| 248
|
py
|
Python
|
coffea/striped/__init__.py
|
hepaccelerate/coffea
|
153061d6dd69a646fcd0a5b019168188595f6130
|
[
"BSD-3-Clause"
] | 1
|
2019-06-26T12:40:13.000Z
|
2019-06-26T12:40:13.000Z
|
coffea/striped/__init__.py
|
hepaccelerate/coffea
|
153061d6dd69a646fcd0a5b019168188595f6130
|
[
"BSD-3-Clause"
] | null | null | null |
coffea/striped/__init__.py
|
hepaccelerate/coffea
|
153061d6dd69a646fcd0a5b019168188595f6130
|
[
"BSD-3-Clause"
] | 1
|
2019-07-05T14:49:12.000Z
|
2019-07-05T14:49:12.000Z
|
from .StripedColumnTransformer import ColumnGroup
from .StripedColumnTransformer import PhysicalColumnGroup
from .ColumnGroup2JaggedTable import jaggedFromColumnGroup
from .Callback import HistCollectorCallback
from .UprootAdaptor import UprootJob
| 41.333333
| 58
| 0.899194
| 20
| 248
| 11.15
| 0.55
| 0.251121
| 0.304933
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004386
| 0.080645
| 248
| 5
| 59
| 49.6
| 0.973684
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
44d291e7ae6a18f60c52f1c6a04265d0aa6de437
| 11,452
|
py
|
Python
|
tests/test_model.py
|
Remi-Gau/rsatoolbox
|
2b4b57fa4cee9d9b819c43ac0436278c696e2402
|
[
"MIT"
] | 80
|
2015-03-02T15:11:37.000Z
|
2022-03-21T17:25:36.000Z
|
tests/test_model.py
|
Remi-Gau/rsatoolbox
|
2b4b57fa4cee9d9b819c43ac0436278c696e2402
|
[
"MIT"
] | 150
|
2019-10-07T13:04:14.000Z
|
2021-04-21T21:39:41.000Z
|
tests/test_model.py
|
Remi-Gau/rsatoolbox
|
2b4b57fa4cee9d9b819c43ac0436278c696e2402
|
[
"MIT"
] | 64
|
2015-03-02T15:11:17.000Z
|
2022-03-28T12:05:32.000Z
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the model subpackage
"""
import unittest
import rsatoolbox.model as model
import numpy as np
from numpy.testing import assert_allclose
class TestModel(unittest.TestCase):
""" Tests for the Model superclass
"""
def test_creation(self):
_ = model.Model('Test Model')
class TestModelFixed(unittest.TestCase):
""" Tests for the fixed model class
"""
def test_creation(self):
rdm = np.array(np.ones(6))
m = model.ModelFixed('Test Model', rdm)
m.fit([])
pred = m.predict()
assert np.all(pred == rdm)
def test_creation_rdm(self):
from rsatoolbox.rdm import RDMs
rdm = np.array(np.ones(6))
rdm_obj = RDMs(np.array([rdm]))
m = model.ModelFixed('Test Model', rdm_obj)
m.fit(rdm_obj)
pred = m.predict()
assert np.all(pred == rdm)
pred_obj = m.predict_rdm()
assert isinstance(pred_obj, RDMs)
class TestModelSelect(unittest.TestCase):
""" Tests for the fixed model class
"""
def test_creation(self):
rdm = np.random.rand(2, 6)
m = model.ModelSelect('Test Model', rdm)
pred = m.predict()
assert np.all(pred == rdm[0])
def test_creation_rdm(self):
from rsatoolbox.rdm import RDMs
rdm = np.random.rand(2, 6)
pattern_descriptors = {'test': ['a', 'b', 'c', 'd']}
rdm_obj = RDMs(rdm, dissimilarity_measure='euclid',
pattern_descriptors=pattern_descriptors)
m = model.ModelSelect('Test Model', rdm_obj)
pred = m.predict()
assert np.all(pred == rdm[0])
pred_obj = m.predict_rdm()
assert isinstance(pred_obj, RDMs)
assert pred_obj.n_rdm == 1
assert pred_obj.pattern_descriptors == pattern_descriptors
def test_fit(self):
from rsatoolbox.rdm import RDMs
rdm = np.random.rand(2, 6)
pattern_descriptors = {'test': ['a', 'b', 'c', 'd']}
rdm_descriptors = {'ind': np.array([1, 2])}
rdm_obj = RDMs(rdm, dissimilarity_measure='euclid',
pattern_descriptors=pattern_descriptors,
rdm_descriptors=rdm_descriptors)
m = model.ModelSelect('Test Model', rdm_obj)
train = rdm_obj.subset('ind', 2)
theta = m.fit(train)
assert theta == 1
class TestModelWeighted(unittest.TestCase):
""" Tests for the fixed model class
"""
def test_creation(self):
rdm = np.random.rand(4, 15)
m = model.ModelWeighted('Test Model', rdm)
pred = m.predict([1, 0, 0, 0])
assert np.all(pred == rdm[0])
def test_creation_rdm(self):
from rsatoolbox.rdm import RDMs
rdm = np.random.rand(2, 6)
pattern_descriptors = {'test': ['a', 'b', 'c', 'd']}
rdm_obj = RDMs(rdm, dissimilarity_measure='euclid',
pattern_descriptors=pattern_descriptors)
m = model.ModelWeighted('Test Model', rdm_obj)
pred = m.predict(np.array([1, 0]))
assert np.all(pred == rdm[0])
pred_obj = m.predict_rdm()
assert isinstance(pred_obj, RDMs)
assert pred_obj.n_rdm == 1
assert pred_obj.pattern_descriptors == pattern_descriptors
def test_fit(self):
from rsatoolbox.rdm import RDMs
rdm = np.random.rand(2, 6)
pattern_descriptors = {'test': ['a', 'b', 'c', 'd']}
rdm_descriptors = {'ind': np.array([1, 2])}
rdm_obj = RDMs(rdm, dissimilarity_measure='euclid',
pattern_descriptors=pattern_descriptors,
rdm_descriptors=rdm_descriptors)
m = model.ModelWeighted('Test Model', rdm_obj)
train = rdm_obj.subset('ind', 2)
theta = m.fit(train)
class TestModelInterpolate(unittest.TestCase):
""" Tests for the fixed model class
"""
def test_creation(self):
rdm = np.random.rand(4, 15)
m = model.ModelInterpolate('Test Model', rdm)
pred = m.predict([1, 0, 0, 0])
assert np.all(pred == rdm[0])
def test_creation_rdm(self):
from rsatoolbox.rdm import RDMs
rdm = np.random.rand(2, 6)
pattern_descriptors = {'test': ['a', 'b', 'c', 'd']}
rdm_obj = RDMs(rdm, dissimilarity_measure='euclid',
pattern_descriptors=pattern_descriptors)
m = model.ModelInterpolate('Test Model', rdm_obj)
pred = m.predict(np.array([1, 0]))
assert np.all(pred == rdm[0])
pred_obj = m.predict_rdm()
assert isinstance(pred_obj, RDMs)
assert pred_obj.n_rdm == 1
assert pred_obj.pattern_descriptors == pattern_descriptors
def test_fit(self):
from rsatoolbox.rdm import RDMs
rdm = np.random.rand(5, 15)
pattern_descriptors = {'test': ['a', 'b', 'c', 'd', 'e', 'f']}
rdm_descriptors = {'ind': np.array([1, 2, 3, 1, 2])}
rdm_obj = RDMs(rdm, dissimilarity_measure='euclid',
pattern_descriptors=pattern_descriptors,
rdm_descriptors=rdm_descriptors)
m = model.ModelInterpolate('Test Model', rdm_obj)
train = rdm_obj.subset('ind', 2)
theta = m.fit(train)
_ = m.predict(theta)
class TestConsistency(unittest.TestCase):
""" Tests which compare different model types and fitting methods,
which should be equivalent
"""
def setUp(self):
from rsatoolbox.data import Dataset
from rsatoolbox.rdm import calc_rdm
from rsatoolbox.rdm import concat
rdms = []
for _ in range(5):
data = np.random.rand(6, 20)
data_s = Dataset(data)
rdms.append(calc_rdm(data_s))
self.rdms = concat(rdms)
def test_two_rdms(self):
from rsatoolbox.model import ModelInterpolate, ModelWeighted
from rsatoolbox.model.fitter import fit_regress, fit_optimize_positive
from rsatoolbox.rdm import concat, compare
model_rdms = concat([self.rdms[0], self.rdms[1]])
model_weighted = ModelWeighted(
'm_weighted',
model_rdms)
model_interpolate = ModelInterpolate(
'm_interpolate',
model_rdms)
for i_method in ['cosine', 'corr', 'cosine_cov', 'corr_cov']:
theta_m_i = model_interpolate.fit(self.rdms, method=i_method)
theta_m_w = model_weighted.fit(self.rdms, method=i_method)
theta_m_w_pos = fit_optimize_positive(
model_weighted, self.rdms, method=i_method)
theta_m_w_linear = fit_regress(
model_weighted, self.rdms, method=i_method)
eval_m_i = np.mean(compare(model_weighted.predict_rdm(
theta_m_i), self.rdms, method=i_method))
eval_m_w = np.mean(compare(model_weighted.predict_rdm(
theta_m_w), self.rdms, method=i_method))
eval_m_w_pos = np.mean(compare(model_weighted.predict_rdm(
theta_m_w_pos), self.rdms, method=i_method))
eval_m_w_linear = np.mean(compare(model_weighted.predict_rdm(
theta_m_w_linear), self.rdms, method=i_method))
self.assertAlmostEqual(
eval_m_i, eval_m_w_pos,
places=4, msg='weighted fit differs from interpolation fit!'
+ '\nfor %s' % i_method)
self.assertAlmostEqual(
eval_m_w, eval_m_w_linear,
places=4, msg='regression fit differs from optimization fit!'
+ '\nfor %s' % i_method)
def test_two_rdms_nan(self):
from rsatoolbox.model import ModelInterpolate, ModelWeighted
from rsatoolbox.model.fitter import fit_regress, fit_optimize_positive
from rsatoolbox.rdm import concat, compare
rdms = self.rdms.subsample_pattern('index', [0, 1, 1, 3, 4, 5])
model_rdms = concat([rdms[0], rdms[1]])
model_weighted = ModelWeighted(
'm_weighted',
model_rdms)
model_interpolate = ModelInterpolate(
'm_interpolate',
model_rdms)
for i_method in ['cosine', 'corr', 'cosine_cov', 'corr_cov']:
theta_m_i = model_interpolate.fit(rdms, method=i_method)
theta_m_w = model_weighted.fit(rdms, method=i_method)
theta_m_w_pos = fit_optimize_positive(
model_weighted, rdms, method=i_method)
theta_m_w_linear = fit_regress(
model_weighted, rdms, method=i_method)
eval_m_i = np.mean(compare(model_weighted.predict_rdm(
theta_m_i), rdms, method=i_method))
eval_m_w = np.mean(compare(model_weighted.predict_rdm(
theta_m_w), rdms, method=i_method))
eval_m_w_pos = np.mean(compare(model_weighted.predict_rdm(
theta_m_w_pos), rdms, method=i_method))
eval_m_w_linear = np.mean(compare(model_weighted.predict_rdm(
theta_m_w_linear), rdms, method=i_method))
self.assertAlmostEqual(
eval_m_i, eval_m_w_pos,
places=4, msg='weighted fit differs from interpolation fit!'
+ '\nfor %s' % i_method)
self.assertAlmostEqual(
eval_m_w, eval_m_w_linear,
places=4, msg='regression fit differs from optimization fit!'
+ '\nfor %s' % i_method)
class TestNNLS(unittest.TestCase):
""" Tests that the non-negative least squares give results consistent
with other solutions where they apply
"""
def test_nnls_scipy(self):
from scipy.optimize import nnls
from rsatoolbox.model.fitter import _nn_least_squares
A = np.random.rand(10, 3)
b = A @ np.array([1, -0.1, -0.1])
x_scipy, loss_scipy = nnls(A, b)
x_rsatoolbox, loss_rsatoolbox = _nn_least_squares(A, b)
assert_allclose(
x_scipy, x_rsatoolbox,
err_msg='non-negative-least squares different from scipy')
self.assertAlmostEqual(
loss_scipy, np.sqrt(loss_rsatoolbox),
places=5, msg='non-negative-least squares different from scipy')
def test_nnls_eye(self):
from rsatoolbox.model.fitter import _nn_least_squares
A = np.random.rand(10, 3)
b = A @ np.array([1, -0.1, -0.1])
x_rsatoolbox, loss_rsatoolbox = _nn_least_squares(A, b)
x_rsatoolbox_v, loss_rsatoolbox_v = _nn_least_squares(A, b, V=np.eye(10))
assert_allclose(
x_rsatoolbox, x_rsatoolbox_v,
err_msg='non-negative-least squares changes with V=np.eye')
self.assertAlmostEqual(
loss_rsatoolbox_v, loss_rsatoolbox,
places=5, msg='nnls loss changes with np.eye')
def test_nnls_eye_ridge(self):
from rsatoolbox.model.fitter import _nn_least_squares
A = np.random.rand(10, 3)
b = A @ np.array([1, -0.1, -0.1])
x_rsatoolbox, loss_rsatoolbox = _nn_least_squares(A, b, ridge_weight=1)
x_rsatoolbox_v, loss_rsatoolbox_v = _nn_least_squares(
A, b, ridge_weight=1, V=np.eye(10))
assert_allclose(
x_rsatoolbox, x_rsatoolbox_v,
err_msg='non-negative-least squares changes with V=np.eye')
self.assertAlmostEqual(
loss_rsatoolbox_v, loss_rsatoolbox,
places=5, msg='nnls loss changes with np.eye')
| 39.626298
| 81
| 0.608016
| 1,470
| 11,452
| 4.508844
| 0.104082
| 0.065178
| 0.026554
| 0.041038
| 0.843543
| 0.831322
| 0.809747
| 0.801298
| 0.764031
| 0.754828
| 0
| 0.01338
| 0.282134
| 11,452
| 288
| 82
| 39.763889
| 0.792848
| 0.039469
| 0
| 0.723404
| 0
| 0
| 0.072173
| 0
| 0
| 0
| 0
| 0
| 0.12766
| 1
| 0.076596
| false
| 0
| 0.102128
| 0
| 0.208511
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
780585a979d975f2b8c0dc651e9434f80ef86dca
| 6,980
|
py
|
Python
|
components/paper/reference.py
|
JnkDog/i-rheo-web
|
8b1e0a0ef297e1e67f34368aed54f1e5a5028123
|
[
"MIT"
] | 1
|
2021-06-09T14:07:07.000Z
|
2021-06-09T14:07:07.000Z
|
components/paper/reference.py
|
JnkDog/i-rheno-web
|
8b1e0a0ef297e1e67f34368aed54f1e5a5028123
|
[
"MIT"
] | 1
|
2021-07-13T20:40:34.000Z
|
2021-07-13T20:40:34.000Z
|
components/paper/reference.py
|
JnkDog/i-rheno-web
|
8b1e0a0ef297e1e67f34368aed54f1e5a5028123
|
[
"MIT"
] | 2
|
2021-07-12T19:37:41.000Z
|
2021-12-09T00:13:09.000Z
|
import dash
from dash.dependencies import Input, Output, State, ClientsideFunction
import dash_core_components as dcc
import dash_html_components as html
import dash_bootstrap_components as dbc
# Disgusting code
# Paper1 = html.P("1. R. Rivas-Barbosa, M. Escobedo-Sánchez, M. Tassieri, and M. Laurati, “i-Rheo: determining the linear viscoelastic moduli of colloidal dispersions from step-stress measurements”, \
# Phys.Chem.Chem.Phys., 22, 3839 (2020).")
# Paper2 = html.P("2. J.A. Moreno-Guerra, I.C. Romero-Sánchez, A. Martinez-Borquez, M. Tassieri, E. Stiakakis and M. Laurati, “Model free Rheo-AFM probes the viscoelasticity of tunable DNA soft colloids”, \
# Small, (2019), DOI: 10.1002/smll.201904136.")
# Paper3 = html.P("3. M. Tassieri, “Microrheology with Optical Tweezers: Peaks & Troughs”, \
# Curr. Opin. Colloid Interface Sci (2019).")
# Paper4 = html.P("4. L. G. Rizzi and M. Tassieri, “Microrheology of Biological Specimens”, \
# Encyclopedia of Analytical Chemistry: Applications, Theory and Instrumentation (2018).")
# Paper5 = html.P("5. Y. H. Chim, L. M. Mason, N. Rath, M. F. Olson, M. Tassieri & H. Yin, “A one-step procedure to probe the viscoelastic properties of cells by Atomic Force Microscopy”,\
# Scientific Reports, 8, 14462 (2018).")
# Paper6 = html.P("6. M. Tassieri, “Comment on “A symmetrical method to obtain shear moduli from microrheology” by Kengo Nishi, Maria L. Kilfoil, Christoph F. Schmidt, and F. C. MacKintosh, Soft Matter, 2018, 14, 3716”, published as Comment in \
# Soft Matter, 14, 8666 (2018).")
# Paper7 = html.P("7. M.Tassieri, J.Ramirez, N.Ch.Karayiannis, S.K.SukumaranandY.Masubuchi, “i-RheoGT: Transforming from time- to frequency-domain without artefacts”, \
# Macromolecules, 51, 14, 5055 (2018).")
# Paper8 = html.P("8. M.Tassierietal.,“i-Rheo:Measuringthematerials’linearviscoelasticproperties‘inastep’”, \
# Journal of Rheology, 60, 649 (2016). It has been the \
# 2016's most read article in the Journal of Rheology.")
# Paper9 = html.P("9. Book: “Microrheology with Optical Tweezers: Principles and Applications”, edited by M.Tassieri, June (2016), \
# published by Pan Stanford.")
# Paper10 = html.P("10. M. Tassieri, “Linear Microrheology with Optical Tweezers of living cells ‘is not an option’!”, published as Opinion in \
# Soft Matter, 11, (2015).")
# Paper11 = html.P("11. M. Tassieri et al., “Microrheology with Optical Tweezers: Measuring the relative viscosity of solutions ‘at a glance’”, \
# Scientific Reports, 5, 8831 (2015).")
# Paper12 = html.P("12. M. Tassieri et al., “Microrheology with optical tweezers: data analysis”, \
# New J. of Physics,14, 115032 (2012).")
# Paper13 = html.P("13. D. Preece, R.L. Warren, G.M. Gibson, R.M.L. Evans, M.J. Padgett, J.M. Cooper, and M.Tassieri, “Optical tweezers: wideband microrheology”, \
# J. Optics, 13, 044022 (2011).")
# Paper14 = html.P("14. M. Tassieri et al., “Analysis of the linear viscoelasticity of polyelectrolytes by magnetic microrheometry-Pulsed creep experiments and the one particle response”, \
# J. Rheol., 54, 117(2010).")
# Paper15 = html.P("15. M. Tassieri, G.M. Gibson, R.M.L. Evans, A.M. Yao, R. Warren, M.J. Padgett, and J.M.Cooper “Measuring storage and loss moduli using optical tweezers: broadband microrheology”, \
# Phys. Rev. E, 81, (2010).")
# Paper16 = html.P("16. R.M.L. Evans, M. Tassieri, D. Auhl and T.A. Waigh, “Direct conversion of rheological compliance measurements into storage and loss moduli”, \
# Phys. Rev. E, 80, 012501 (2009).")
# Paper17 = html.P("17. A.M. Yao, M. Tassieri, M.J. Padgett, J.M. Cooper, “Microrheology with optical tweezers”, \
# LoC, 9, 2568 (2009).")
# AllPapers = [
# Paper1, Paper2, Paper3, Paper4, Paper5, Paper6, Paper7, Paper8,
# Paper9, Paper10, Paper11, Paper12, Paper13, Paper14, Paper15, Paper16,
# Paper17, PaperT
# ]
AllPapers = []
PaperMarkDown = dcc.Markdown('''
1. R. Rivas-Barbosa, M. Escobedo-Sánchez, **M. Tassieri**, and M. Laurati, “i-Rheo: determining the linear viscoelastic moduli of colloidal dispersions from step-stress measurements”, Phys.Chem.Chem.Phys., 22, 3839 (2020).
2. J.A. Moreno-Guerra, I.C. Romero-Sánchez, A. Martinez-Borquez, **M. Tassieri**, E. Stiakakis and M. Laurati, “Model free Rheo-AFM probes the viscoelasticity of tunable DNA soft colloids”, Small, (2019), DOI: 10.1002/smll.201904136.
3. **M. Tassieri**, “Microrheology with Optical Tweezers: Peaks & Troughs”, Curr. Opin. Colloid Interface Sci (2019).
4. L. G. Rizzi and **M. Tassieri**, “Microrheology of Biological Specimens”, Encyclopedia of Analytical Chemistry: Applications, Theory and Instrumentation (2018).
5. Y. H. Chim, L. M. Mason, N. Rath, M. F. Olson, **M. Tassieri** & H. Yin, “A one-step procedure to probe the viscoelastic properties of cells by Atomic Force Microscopy”, Scientific Reports, 8, 14462 (2018).
6. **M. Tassieri**, “Comment on “A symmetrical method to obtain shear moduli from microrheology” by Kengo Nishi, Maria L. Kilfoil, Christoph F. Schmidt, and F. C. MacKintosh, Soft Matter, 2018, 14, 3716”, published as Comment in Soft Matter, 14, 8666 (2018).
7. **M. Tassieri**, J.Ramirez, N.Ch.Karayiannis, S.K.Sukumaran and Y.Masubuchi, “i-RheoGT: Transforming from time- to frequency-domain without artefacts”, Macromolecules, 51, 14, 5055 (2018).
8. **M. Tassieri** et al.,“i-Rheo:Measuringthematerials’linearviscoelasticproperties‘inastep’”, Journal of Rheology, 60, 649 (2016). It has been the 2016's most read article in the Journal of Rheology.
9. Book: “Microrheology with Optical Tweezers: Principles and Applications”, edited by **M. Tassieri**, June (2016), published by Pan Stanford.
10. **M. Tassieri**, “Linear Microrheology with Optical Tweezers of living cells ‘is not an option’!”, published as Opinion in Soft Matter, 11, (2015).
11. **M. Tassieri** et al., “Microrheology with Optical Tweezers: Measuring the relative viscosity of solutions ‘at a glance’”, Scientific Reports, 5, 8831 (2015).
12. **M. Tassieri** et al., “Microrheology with optical tweezers: data analysis”, New J. of Physics, 14, 115032 (2012).
13. D. Preece, R.L. Warren, G.M. Gibson, R.M.L. Evans, M.J. Padgett, J.M. Cooper, and **M. Tassieri**, “Optical tweezers: wideband microrheology”, J. Optics, 13, 044022 (2011).
14. **M. Tassieri** et al., “Analysis of the linear viscoelasticity of polyelectrolytes by magnetic microrheometry-Pulsed creep experiments and the one particle response”, J. Rheol., 54, 117(2010).
15. **M. Tassieri**, G.M. Gibson, R.M.L. Evans, A.M. Yao, R. Warren, M.J. Padgett, and J.M. Cooper “Measuring storage and loss moduli using optical tweezers: broadband microrheology”, Phys. Rev. E, 81, (2010).
16. R.M.L. Evans, **M. Tassieri**, D. Auhl and T.A. Waigh, “Direct conversion of rheological compliance measurements into storage and loss moduli”, Phys. Rev. E, 80, 012501 (2009).
17. A.M. Yao, **M. Tassieri**, M.J. Padgett, J.M. Cooper, “Microrheology with optical tweezers”, LoC, 9, 2568 (2009).
''')
| 68.431373
| 258
| 0.715186
| 1,042
| 6,980
| 4.785029
| 0.263916
| 0.059567
| 0.057762
| 0.077016
| 0.882872
| 0.882872
| 0.882872
| 0.882872
| 0.882872
| 0.882872
| 0
| 0.074236
| 0.146991
| 6,980
| 102
| 259
| 68.431373
| 0.763184
| 0.508453
| 0
| 0
| 0
| 0.68
| 0.90944
| 0.040708
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
7827706735c25e09a9ebee9b79c9855176e2410e
| 335
|
py
|
Python
|
exercicios/ex108.py
|
Siqueira-Vinicius/Python
|
bd1f7e2bcdfd5481724d32db387f51636bb4ad60
|
[
"MIT"
] | null | null | null |
exercicios/ex108.py
|
Siqueira-Vinicius/Python
|
bd1f7e2bcdfd5481724d32db387f51636bb4ad60
|
[
"MIT"
] | null | null | null |
exercicios/ex108.py
|
Siqueira-Vinicius/Python
|
bd1f7e2bcdfd5481724d32db387f51636bb4ad60
|
[
"MIT"
] | null | null | null |
import moeda
p = float(input(f'Digite um preço: {moeda.preço()}'))
print(f'a metade de {moeda.preço(p)} é {moeda.metade(p)}')
print(f'o dobro de {moeda.preço(p)} é {moeda.dobro(p)}')
print(f'o preço de {moeda.preço(p)} reduzido em 10% é {moeda.desconto(p)}')
print(f'e o preço de {moeda.preço(p)} aumentado em 13% é {moeda.juros(p)}')
| 47.857143
| 75
| 0.671642
| 66
| 335
| 3.409091
| 0.363636
| 0.222222
| 0.213333
| 0.231111
| 0.337778
| 0.337778
| 0
| 0
| 0
| 0
| 0
| 0.013514
| 0.116418
| 335
| 6
| 76
| 55.833333
| 0.746622
| 0
| 0
| 0
| 0
| 0.333333
| 0.764179
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.166667
| 0
| 0.166667
| 0.666667
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
7877daf6e30df1131d32ba127616387f96084632
| 12,163
|
py
|
Python
|
src/antlr4_verilog/systemverilog/SystemVerilogPreParserListener.py
|
mtdsousa/antlr4-verilog
|
c2238beb56a38ac098cd6e06e0ac8d7de7c1eaad
|
[
"MIT"
] | 3
|
2022-02-15T15:51:43.000Z
|
2022-02-21T13:18:09.000Z
|
src/antlr4_verilog/systemverilog/SystemVerilogPreParserListener.py
|
mtdsousa/antlr4-verilog
|
c2238beb56a38ac098cd6e06e0ac8d7de7c1eaad
|
[
"MIT"
] | 1
|
2022-02-21T12:35:10.000Z
|
2022-02-21T16:45:56.000Z
|
src/antlr4_verilog/systemverilog/SystemVerilogPreParserListener.py
|
mtdsousa/antlr4-verilog-python
|
c2238beb56a38ac098cd6e06e0ac8d7de7c1eaad
|
[
"MIT"
] | null | null | null |
# Generated from /home/mtdsousa/workspace/antlr4-verilog-python/extra/grammars-v4-2/verilog/systemverilog/SystemVerilogPreParser.g4 by ANTLR 4.9
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SystemVerilogPreParser import SystemVerilogPreParser
else:
from SystemVerilogPreParser import SystemVerilogPreParser
# This class defines a complete listener for a parse tree produced by SystemVerilogPreParser.
class SystemVerilogPreParserListener(ParseTreeListener):
# Enter a parse tree produced by SystemVerilogPreParser#source_text.
def enterSource_text(self, ctx:SystemVerilogPreParser.Source_textContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#source_text.
def exitSource_text(self, ctx:SystemVerilogPreParser.Source_textContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#compiler_directive.
def enterCompiler_directive(self, ctx:SystemVerilogPreParser.Compiler_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#compiler_directive.
def exitCompiler_directive(self, ctx:SystemVerilogPreParser.Compiler_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#file_directive.
def enterFile_directive(self, ctx:SystemVerilogPreParser.File_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#file_directive.
def exitFile_directive(self, ctx:SystemVerilogPreParser.File_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#line_directive_.
def enterLine_directive_(self, ctx:SystemVerilogPreParser.Line_directive_Context):
pass
# Exit a parse tree produced by SystemVerilogPreParser#line_directive_.
def exitLine_directive_(self, ctx:SystemVerilogPreParser.Line_directive_Context):
pass
# Enter a parse tree produced by SystemVerilogPreParser#begin_keywords_directive.
def enterBegin_keywords_directive(self, ctx:SystemVerilogPreParser.Begin_keywords_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#begin_keywords_directive.
def exitBegin_keywords_directive(self, ctx:SystemVerilogPreParser.Begin_keywords_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#celldefine_directive.
def enterCelldefine_directive(self, ctx:SystemVerilogPreParser.Celldefine_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#celldefine_directive.
def exitCelldefine_directive(self, ctx:SystemVerilogPreParser.Celldefine_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#default_nettype_directive.
def enterDefault_nettype_directive(self, ctx:SystemVerilogPreParser.Default_nettype_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#default_nettype_directive.
def exitDefault_nettype_directive(self, ctx:SystemVerilogPreParser.Default_nettype_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#endcelldefine_directive.
def enterEndcelldefine_directive(self, ctx:SystemVerilogPreParser.Endcelldefine_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#endcelldefine_directive.
def exitEndcelldefine_directive(self, ctx:SystemVerilogPreParser.Endcelldefine_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#end_keywords_directive.
def enterEnd_keywords_directive(self, ctx:SystemVerilogPreParser.End_keywords_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#end_keywords_directive.
def exitEnd_keywords_directive(self, ctx:SystemVerilogPreParser.End_keywords_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#ifdef_directive.
def enterIfdef_directive(self, ctx:SystemVerilogPreParser.Ifdef_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#ifdef_directive.
def exitIfdef_directive(self, ctx:SystemVerilogPreParser.Ifdef_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#ifndef_directive.
def enterIfndef_directive(self, ctx:SystemVerilogPreParser.Ifndef_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#ifndef_directive.
def exitIfndef_directive(self, ctx:SystemVerilogPreParser.Ifndef_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#include_directive.
def enterInclude_directive(self, ctx:SystemVerilogPreParser.Include_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#include_directive.
def exitInclude_directive(self, ctx:SystemVerilogPreParser.Include_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#line_directive.
def enterLine_directive(self, ctx:SystemVerilogPreParser.Line_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#line_directive.
def exitLine_directive(self, ctx:SystemVerilogPreParser.Line_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#nounconnected_drive_directive.
def enterNounconnected_drive_directive(self, ctx:SystemVerilogPreParser.Nounconnected_drive_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#nounconnected_drive_directive.
def exitNounconnected_drive_directive(self, ctx:SystemVerilogPreParser.Nounconnected_drive_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#pragma_directive.
def enterPragma_directive(self, ctx:SystemVerilogPreParser.Pragma_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#pragma_directive.
def exitPragma_directive(self, ctx:SystemVerilogPreParser.Pragma_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#resetall_directive.
def enterResetall_directive(self, ctx:SystemVerilogPreParser.Resetall_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#resetall_directive.
def exitResetall_directive(self, ctx:SystemVerilogPreParser.Resetall_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#text_macro_definition.
def enterText_macro_definition(self, ctx:SystemVerilogPreParser.Text_macro_definitionContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#text_macro_definition.
def exitText_macro_definition(self, ctx:SystemVerilogPreParser.Text_macro_definitionContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#text_macro_usage.
def enterText_macro_usage(self, ctx:SystemVerilogPreParser.Text_macro_usageContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#text_macro_usage.
def exitText_macro_usage(self, ctx:SystemVerilogPreParser.Text_macro_usageContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#timescale_directive.
def enterTimescale_directive(self, ctx:SystemVerilogPreParser.Timescale_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#timescale_directive.
def exitTimescale_directive(self, ctx:SystemVerilogPreParser.Timescale_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#unconnected_drive_directive.
def enterUnconnected_drive_directive(self, ctx:SystemVerilogPreParser.Unconnected_drive_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#unconnected_drive_directive.
def exitUnconnected_drive_directive(self, ctx:SystemVerilogPreParser.Unconnected_drive_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#undef_directive.
def enterUndef_directive(self, ctx:SystemVerilogPreParser.Undef_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#undef_directive.
def exitUndef_directive(self, ctx:SystemVerilogPreParser.Undef_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#undefineall_directive.
def enterUndefineall_directive(self, ctx:SystemVerilogPreParser.Undefineall_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#undefineall_directive.
def exitUndefineall_directive(self, ctx:SystemVerilogPreParser.Undefineall_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#elsif_directive.
def enterElsif_directive(self, ctx:SystemVerilogPreParser.Elsif_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#elsif_directive.
def exitElsif_directive(self, ctx:SystemVerilogPreParser.Elsif_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#else_directive.
def enterElse_directive(self, ctx:SystemVerilogPreParser.Else_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#else_directive.
def exitElse_directive(self, ctx:SystemVerilogPreParser.Else_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#endif_directive.
def enterEndif_directive(self, ctx:SystemVerilogPreParser.Endif_directiveContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#endif_directive.
def exitEndif_directive(self, ctx:SystemVerilogPreParser.Endif_directiveContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#text_macro_identifier.
def enterText_macro_identifier(self, ctx:SystemVerilogPreParser.Text_macro_identifierContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#text_macro_identifier.
def exitText_macro_identifier(self, ctx:SystemVerilogPreParser.Text_macro_identifierContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#ifdef_group_of_lines.
def enterIfdef_group_of_lines(self, ctx:SystemVerilogPreParser.Ifdef_group_of_linesContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#ifdef_group_of_lines.
def exitIfdef_group_of_lines(self, ctx:SystemVerilogPreParser.Ifdef_group_of_linesContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#ifndef_group_of_lines.
def enterIfndef_group_of_lines(self, ctx:SystemVerilogPreParser.Ifndef_group_of_linesContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#ifndef_group_of_lines.
def exitIfndef_group_of_lines(self, ctx:SystemVerilogPreParser.Ifndef_group_of_linesContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#elsif_group_of_lines.
def enterElsif_group_of_lines(self, ctx:SystemVerilogPreParser.Elsif_group_of_linesContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#elsif_group_of_lines.
def exitElsif_group_of_lines(self, ctx:SystemVerilogPreParser.Elsif_group_of_linesContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#else_group_of_lines.
def enterElse_group_of_lines(self, ctx:SystemVerilogPreParser.Else_group_of_linesContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#else_group_of_lines.
def exitElse_group_of_lines(self, ctx:SystemVerilogPreParser.Else_group_of_linesContext):
pass
# Enter a parse tree produced by SystemVerilogPreParser#macro_text.
def enterMacro_text(self, ctx:SystemVerilogPreParser.Macro_textContext):
pass
# Exit a parse tree produced by SystemVerilogPreParser#macro_text.
def exitMacro_text(self, ctx:SystemVerilogPreParser.Macro_textContext):
pass
del SystemVerilogPreParser
| 41.797251
| 144
| 0.796761
| 1,272
| 12,163
| 7.386006
| 0.106132
| 0.040234
| 0.067057
| 0.120703
| 0.891006
| 0.891006
| 0.886535
| 0.722938
| 0.717084
| 0.338797
| 0
| 0.000681
| 0.15506
| 12,163
| 291
| 145
| 41.797251
| 0.913496
| 0.39094
| 0
| 0.473282
| 1
| 0
| 0.000137
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.473282
| false
| 0.473282
| 0.022901
| 0
| 0.503817
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 9
|
1542dd7930cb526237b3ce1c08c959f8e45bb83a
| 102
|
py
|
Python
|
snl/util/__init__.py
|
mackelab/SNL_py3port
|
3da9ec0e03239646dce8b17f3b2ee22e56bc26c9
|
[
"MIT"
] | 2
|
2019-10-14T03:47:16.000Z
|
2019-12-15T15:28:02.000Z
|
snl/util/__init__.py
|
mackelab/SNL_py3port
|
3da9ec0e03239646dce8b17f3b2ee22e56bc26c9
|
[
"MIT"
] | null | null | null |
snl/util/__init__.py
|
mackelab/SNL_py3port
|
3da9ec0e03239646dce8b17f3b2ee22e56bc26c9
|
[
"MIT"
] | 4
|
2019-02-06T23:42:21.000Z
|
2020-05-16T14:24:28.000Z
|
import snl.util.io
import snl.util.math
import snl.util.misc
import snl.util.ml
import snl.util.plot
| 14.571429
| 20
| 0.794118
| 20
| 102
| 4.05
| 0.4
| 0.555556
| 0.802469
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107843
| 102
| 6
| 21
| 17
| 0.89011
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
15bfed425e577bd79ccb624fc28d456f83bfc93e
| 40,241
|
py
|
Python
|
integration/python/integration_api/api/baas_api.py
|
ShekharPaatni/SDK
|
6534ffdb63af87c02c431df9add05a90370183cb
|
[
"Apache-2.0"
] | 11
|
2019-04-16T02:11:17.000Z
|
2021-12-16T22:51:40.000Z
|
integration/python/integration_api/api/baas_api.py
|
ShekharPaatni/SDK
|
6534ffdb63af87c02c431df9add05a90370183cb
|
[
"Apache-2.0"
] | 81
|
2019-11-19T23:24:28.000Z
|
2022-03-28T11:35:47.000Z
|
integration/python/integration_api/api/baas_api.py
|
ShekharPaatni/SDK
|
6534ffdb63af87c02c431df9add05a90370183cb
|
[
"Apache-2.0"
] | 11
|
2020-07-08T02:29:56.000Z
|
2022-03-28T10:05:33.000Z
|
# coding: utf-8
"""
Hydrogen Integration API
The Hydrogen Integration API # noqa: E501
OpenAPI spec version: 1.3.1
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from integration_api.api_client import ApiClient
class BaasApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_baas_account_using_post(self, baas_account_co, **kwargs): # noqa: E501
"""create a Baas account # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_account_using_post(baas_account_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param BaasAccountCO baas_account_co: baasAccountCO (required)
:return: BaasAccountVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_baas_account_using_post_with_http_info(baas_account_co, **kwargs) # noqa: E501
else:
(data) = self.create_baas_account_using_post_with_http_info(baas_account_co, **kwargs) # noqa: E501
return data
def create_baas_account_using_post_with_http_info(self, baas_account_co, **kwargs): # noqa: E501
"""create a Baas account # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_account_using_post_with_http_info(baas_account_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param BaasAccountCO baas_account_co: baasAccountCO (required)
:return: BaasAccountVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['baas_account_co'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_baas_account_using_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'baas_account_co' is set
if self.api_client.client_side_validation and ('baas_account_co' not in params or
params['baas_account_co'] is None): # noqa: E501
raise ValueError("Missing the required parameter `baas_account_co` when calling `create_baas_account_using_post`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'baas_account_co' in params:
body_params = params['baas_account_co']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/account', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasAccountVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_baas_business_using_post(self, baas_business_co, **kwargs): # noqa: E501
"""Create a Baas Business # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_business_using_post(baas_business_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param CreateBaasBusinessCO baas_business_co: baasBusinessCO (required)
:return: BaasBusinessVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_baas_business_using_post_with_http_info(baas_business_co, **kwargs) # noqa: E501
else:
(data) = self.create_baas_business_using_post_with_http_info(baas_business_co, **kwargs) # noqa: E501
return data
def create_baas_business_using_post_with_http_info(self, baas_business_co, **kwargs): # noqa: E501
"""Create a Baas Business # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_business_using_post_with_http_info(baas_business_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param CreateBaasBusinessCO baas_business_co: baasBusinessCO (required)
:return: BaasBusinessVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['baas_business_co'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_baas_business_using_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'baas_business_co' is set
if self.api_client.client_side_validation and ('baas_business_co' not in params or
params['baas_business_co'] is None): # noqa: E501
raise ValueError("Missing the required parameter `baas_business_co` when calling `create_baas_business_using_post`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'baas_business_co' in params:
body_params = params['baas_business_co']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/business', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasBusinessVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_baas_client_using_post(self, baas_client_co, **kwargs): # noqa: E501
"""Create a Baas Client # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_client_using_post(baas_client_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param CreateBaasClientCO baas_client_co: baasClientCO (required)
:return: BaasClientVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_baas_client_using_post_with_http_info(baas_client_co, **kwargs) # noqa: E501
else:
(data) = self.create_baas_client_using_post_with_http_info(baas_client_co, **kwargs) # noqa: E501
return data
def create_baas_client_using_post_with_http_info(self, baas_client_co, **kwargs): # noqa: E501
"""Create a Baas Client # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_client_using_post_with_http_info(baas_client_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param CreateBaasClientCO baas_client_co: baasClientCO (required)
:return: BaasClientVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['baas_client_co'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_baas_client_using_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'baas_client_co' is set
if self.api_client.client_side_validation and ('baas_client_co' not in params or
params['baas_client_co'] is None): # noqa: E501
raise ValueError("Missing the required parameter `baas_client_co` when calling `create_baas_client_using_post`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'baas_client_co' in params:
body_params = params['baas_client_co']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/client', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasClientVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_baas_sub_account_using_post(self, baas_sub_account_co, **kwargs): # noqa: E501
"""create a Baas subaccount # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_sub_account_using_post(baas_sub_account_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param BaasSubAccountCO baas_sub_account_co: baasSubAccountCO (required)
:return: BaasSubAccountVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_baas_sub_account_using_post_with_http_info(baas_sub_account_co, **kwargs) # noqa: E501
else:
(data) = self.create_baas_sub_account_using_post_with_http_info(baas_sub_account_co, **kwargs) # noqa: E501
return data
def create_baas_sub_account_using_post_with_http_info(self, baas_sub_account_co, **kwargs): # noqa: E501
"""create a Baas subaccount # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_baas_sub_account_using_post_with_http_info(baas_sub_account_co, async_req=True)
>>> result = thread.get()
:param async_req bool
:param BaasSubAccountCO baas_sub_account_co: baasSubAccountCO (required)
:return: BaasSubAccountVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['baas_sub_account_co'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_baas_sub_account_using_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'baas_sub_account_co' is set
if self.api_client.client_side_validation and ('baas_sub_account_co' not in params or
params['baas_sub_account_co'] is None): # noqa: E501
raise ValueError("Missing the required parameter `baas_sub_account_co` when calling `create_baas_sub_account_using_post`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'baas_sub_account_co' in params:
body_params = params['baas_sub_account_co']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/subaccount', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasSubAccountVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_baas_account_statement_using_get(self, end_date, nucleus_account_id, start_date, **kwargs): # noqa: E501
"""Get a Baas account statement # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_baas_account_statement_using_get(end_date, nucleus_account_id, start_date, async_req=True)
>>> result = thread.get()
:param async_req bool
:param date end_date: end_date (required)
:param str nucleus_account_id: nucleus_account_id (required)
:param date start_date: start_date (required)
:param str statement_type: statement_type
:return: BaasStatementsVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_baas_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, **kwargs) # noqa: E501
else:
(data) = self.get_baas_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, **kwargs) # noqa: E501
return data
def get_baas_account_statement_using_get_with_http_info(self, end_date, nucleus_account_id, start_date, **kwargs): # noqa: E501
"""Get a Baas account statement # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_baas_account_statement_using_get_with_http_info(end_date, nucleus_account_id, start_date, async_req=True)
>>> result = thread.get()
:param async_req bool
:param date end_date: end_date (required)
:param str nucleus_account_id: nucleus_account_id (required)
:param date start_date: start_date (required)
:param str statement_type: statement_type
:return: BaasStatementsVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['end_date', 'nucleus_account_id', 'start_date', 'statement_type'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_baas_account_statement_using_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'end_date' is set
if self.api_client.client_side_validation and ('end_date' not in params or
params['end_date'] is None): # noqa: E501
raise ValueError("Missing the required parameter `end_date` when calling `get_baas_account_statement_using_get`") # noqa: E501
# verify the required parameter 'nucleus_account_id' is set
if self.api_client.client_side_validation and ('nucleus_account_id' not in params or
params['nucleus_account_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `nucleus_account_id` when calling `get_baas_account_statement_using_get`") # noqa: E501
# verify the required parameter 'start_date' is set
if self.api_client.client_side_validation and ('start_date' not in params or
params['start_date'] is None): # noqa: E501
raise ValueError("Missing the required parameter `start_date` when calling `get_baas_account_statement_using_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'nucleus_account_id' in params:
path_params['nucleus_account_id'] = params['nucleus_account_id'] # noqa: E501
query_params = []
if 'end_date' in params:
query_params.append(('end_date', params['end_date'])) # noqa: E501
if 'start_date' in params:
query_params.append(('start_date', params['start_date'])) # noqa: E501
if 'statement_type' in params:
query_params.append(('statement_type', params['statement_type'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/statement/{nucleus_account_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasStatementsVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_baas_portfolio_balance_using_get(self, nucleus_portfolio_id, **kwargs): # noqa: E501
"""Get a Baas portfolio balance # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_baas_portfolio_balance_using_get(nucleus_portfolio_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_portfolio_id: nucleus_portfolio_id (required)
:param date end_date: end_date
:param date start_date: start_date
:return: BaasBalanceVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_baas_portfolio_balance_using_get_with_http_info(nucleus_portfolio_id, **kwargs) # noqa: E501
else:
(data) = self.get_baas_portfolio_balance_using_get_with_http_info(nucleus_portfolio_id, **kwargs) # noqa: E501
return data
def get_baas_portfolio_balance_using_get_with_http_info(self, nucleus_portfolio_id, **kwargs): # noqa: E501
"""Get a Baas portfolio balance # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_baas_portfolio_balance_using_get_with_http_info(nucleus_portfolio_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_portfolio_id: nucleus_portfolio_id (required)
:param date end_date: end_date
:param date start_date: start_date
:return: BaasBalanceVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['nucleus_portfolio_id', 'end_date', 'start_date'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_baas_portfolio_balance_using_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'nucleus_portfolio_id' is set
if self.api_client.client_side_validation and ('nucleus_portfolio_id' not in params or
params['nucleus_portfolio_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `nucleus_portfolio_id` when calling `get_baas_portfolio_balance_using_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'nucleus_portfolio_id' in params:
path_params['nucleus_portfolio_id'] = params['nucleus_portfolio_id'] # noqa: E501
query_params = []
if 'end_date' in params:
query_params.append(('end_date', params['end_date'])) # noqa: E501
if 'start_date' in params:
query_params.append(('start_date', params['start_date'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/balance/{nucleus_portfolio_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasBalanceVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_baas_portfolio_transaction_using_get(self, nucleus_portfolio_id, **kwargs): # noqa: E501
"""Get a Baas portfolio transaction # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_baas_portfolio_transaction_using_get(nucleus_portfolio_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_portfolio_id: nucleus_portfolio_id (required)
:param date end_date: end_date
:param date start_date: start_date
:return: BaasTransactionsVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_baas_portfolio_transaction_using_get_with_http_info(nucleus_portfolio_id, **kwargs) # noqa: E501
else:
(data) = self.get_baas_portfolio_transaction_using_get_with_http_info(nucleus_portfolio_id, **kwargs) # noqa: E501
return data
def get_baas_portfolio_transaction_using_get_with_http_info(self, nucleus_portfolio_id, **kwargs): # noqa: E501
"""Get a Baas portfolio transaction # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_baas_portfolio_transaction_using_get_with_http_info(nucleus_portfolio_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_portfolio_id: nucleus_portfolio_id (required)
:param date end_date: end_date
:param date start_date: start_date
:return: BaasTransactionsVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['nucleus_portfolio_id', 'end_date', 'start_date'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_baas_portfolio_transaction_using_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'nucleus_portfolio_id' is set
if self.api_client.client_side_validation and ('nucleus_portfolio_id' not in params or
params['nucleus_portfolio_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `nucleus_portfolio_id` when calling `get_baas_portfolio_transaction_using_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'nucleus_portfolio_id' in params:
path_params['nucleus_portfolio_id'] = params['nucleus_portfolio_id'] # noqa: E501
query_params = []
if 'end_date' in params:
query_params.append(('end_date', params['end_date'])) # noqa: E501
if 'start_date' in params:
query_params.append(('start_date', params['start_date'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/transaction/{nucleus_portfolio_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasTransactionsVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_baas_business_using_put(self, nucleus_business_id, **kwargs): # noqa: E501
"""Update a Baas business # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_baas_business_using_put(nucleus_business_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_business_id: nucleus_business_id (required)
:param UpdateBaasBusinessCO baas_business_co: baasBusinessCO
:return: BaasBusinessVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_baas_business_using_put_with_http_info(nucleus_business_id, **kwargs) # noqa: E501
else:
(data) = self.update_baas_business_using_put_with_http_info(nucleus_business_id, **kwargs) # noqa: E501
return data
def update_baas_business_using_put_with_http_info(self, nucleus_business_id, **kwargs): # noqa: E501
"""Update a Baas business # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_baas_business_using_put_with_http_info(nucleus_business_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_business_id: nucleus_business_id (required)
:param UpdateBaasBusinessCO baas_business_co: baasBusinessCO
:return: BaasBusinessVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['nucleus_business_id', 'baas_business_co'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_baas_business_using_put" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'nucleus_business_id' is set
if self.api_client.client_side_validation and ('nucleus_business_id' not in params or
params['nucleus_business_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `nucleus_business_id` when calling `update_baas_business_using_put`") # noqa: E501
collection_formats = {}
path_params = {}
if 'nucleus_business_id' in params:
path_params['nucleus_business_id'] = params['nucleus_business_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'baas_business_co' in params:
body_params = params['baas_business_co']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/business/{nucleus_business_id}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasBusinessVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_baas_client_using_put(self, nucleus_client_id, **kwargs): # noqa: E501
"""Update a Baas client # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_baas_client_using_put(nucleus_client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_client_id: nucleus_client_id (required)
:param UpdateBaasClientCO baas_client_co: baasClientCO
:return: BaasClientVO
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_baas_client_using_put_with_http_info(nucleus_client_id, **kwargs) # noqa: E501
else:
(data) = self.update_baas_client_using_put_with_http_info(nucleus_client_id, **kwargs) # noqa: E501
return data
def update_baas_client_using_put_with_http_info(self, nucleus_client_id, **kwargs): # noqa: E501
"""Update a Baas client # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_baas_client_using_put_with_http_info(nucleus_client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str nucleus_client_id: nucleus_client_id (required)
:param UpdateBaasClientCO baas_client_co: baasClientCO
:return: BaasClientVO
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['nucleus_client_id', 'baas_client_co'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_baas_client_using_put" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'nucleus_client_id' is set
if self.api_client.client_side_validation and ('nucleus_client_id' not in params or
params['nucleus_client_id'] is None): # noqa: E501
raise ValueError("Missing the required parameter `nucleus_client_id` when calling `update_baas_client_using_put`") # noqa: E501
collection_formats = {}
path_params = {}
if 'nucleus_client_id' in params:
path_params['nucleus_client_id'] = params['nucleus_client_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'baas_client_co' in params:
body_params = params['baas_client_co']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
return self.api_client.call_api(
'/baas/client/{nucleus_client_id}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='BaasClientVO', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 42.809574
| 155
| 0.631396
| 4,701
| 40,241
| 5.063603
| 0.037864
| 0.046043
| 0.028735
| 0.027222
| 0.962569
| 0.954587
| 0.937195
| 0.923836
| 0.911359
| 0.902285
| 0
| 0.014898
| 0.284436
| 40,241
| 939
| 156
| 42.855165
| 0.811773
| 0.306727
| 0
| 0.756335
| 1
| 0
| 0.204768
| 0.059296
| 0
| 0
| 0
| 0
| 0
| 1
| 0.037037
| false
| 0
| 0.007797
| 0
| 0.099415
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
ec6f4b0e8ea00a1d9e836e0ce9dd4bfe7fc0f269
| 169
|
py
|
Python
|
src/__init__.py
|
caja-matematica/chimera-embedding
|
637a3c1823d608e24c04ee355ae43b2590388216
|
[
"Apache-2.0"
] | 26
|
2016-05-13T22:17:13.000Z
|
2022-01-16T16:48:44.000Z
|
src/__init__.py
|
caja-matematica/chimera-embedding
|
637a3c1823d608e24c04ee355ae43b2590388216
|
[
"Apache-2.0"
] | 1
|
2019-06-20T16:49:00.000Z
|
2019-06-20T16:49:00.000Z
|
src/__init__.py
|
caja-matematica/chimera-embedding
|
637a3c1823d608e24c04ee355ae43b2590388216
|
[
"Apache-2.0"
] | 23
|
2016-10-14T18:08:53.000Z
|
2022-01-16T16:48:57.000Z
|
try:
from polynomialembedder import processor, random_processor
except ImportError:
from chimera_embedding.polynomialembedder import processor, random_processor
| 33.8
| 80
| 0.846154
| 17
| 169
| 8.235294
| 0.588235
| 0.342857
| 0.471429
| 0.557143
| 0.685714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.12426
| 169
| 4
| 81
| 42.25
| 0.945946
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
01ffaedab6f3ca7889d6a7e9a4c2516ee6baecfa
| 2,098
|
py
|
Python
|
src/test/string_instructions.py
|
cgjones/rr
|
dcdde9c497cad27618b27f6754c11b0693894178
|
[
"MIT"
] | null | null | null |
src/test/string_instructions.py
|
cgjones/rr
|
dcdde9c497cad27618b27f6754c11b0693894178
|
[
"MIT"
] | null | null | null |
src/test/string_instructions.py
|
cgjones/rr
|
dcdde9c497cad27618b27f6754c11b0693894178
|
[
"MIT"
] | null | null | null |
from rrutil import *
send_gdb('break string_store\n')
expect_gdb('Breakpoint 1')
# string_store 1-byte forwards
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('finish\n')
send_gdb('watch -l p[1000000]\n')
expect_gdb('watchpoint')
send_gdb('reverse-continue\n')
expect_gdb('Old value = 97')
expect_gdb('New value = 0')
send_gdb('p p[999999]\n')
expect_gdb('= 97')
send_gdb('p p[1000000]\n')
expect_gdb('= 0')
send_gdb('p p[1000001]\n')
expect_gdb('= 0')
send_gdb('disable\n')
send_gdb('enable 1\n')
# string_store 1-byte backwards
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('finish\n')
send_gdb('watch -l p[1000000]\n')
expect_gdb('watchpoint')
send_gdb('reverse-continue\n')
expect_gdb('Old value = 98')
expect_gdb('New value = 97')
send_gdb('p p[1000001]\n')
expect_gdb('= 98')
send_gdb('p p[1000000]\n')
expect_gdb('= 97')
send_gdb('p p[999999]\n')
expect_gdb('= 97')
send_gdb('disable\n')
send_gdb('enable 1\n')
# string_store 2-bytes forwards
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('finish\n')
send_gdb('watch -l p[1000001]\n')
expect_gdb('watchpoint')
send_gdb('reverse-continue\n')
expect_gdb('Old value = 97')
expect_gdb('New value = 0')
send_gdb('p p[999999]\n')
expect_gdb('= 97')
send_gdb('p p[1000000]\n')
expect_gdb('= 0')
send_gdb('p p[1000001]\n')
expect_gdb('= 0')
send_gdb('disable\n')
send_gdb('enable 1\n')
# string_store 2-bytes backwards
# Check that a watch at the end of the loop is OK
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('finish\n')
send_gdb('watch -l p[0]\n')
expect_gdb('watchpoint')
send_gdb('reverse-continue\n')
expect_gdb('Old value = 98')
expect_gdb('New value = 97')
send_gdb('p p[0]\n')
expect_gdb('= 97')
send_gdb('disable\n')
send_gdb('enable 1\n')
# string_store 4-bytes forwards
# Just check that the late-watchpoint quirk is suppressed
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('watch -l p[800000]\n')
expect_gdb('watchpoint')
send_gdb('continue\n')
expect_gdb('Old value = 0')
expect_gdb('New value = 97')
send_gdb('p p[800003]\n')
expect_gdb('= 97')
send_gdb('p p[800004]\n')
expect_gdb('= 0')
ok()
| 23.311111
| 57
| 0.706864
| 384
| 2,098
| 3.65625
| 0.140625
| 0.19943
| 0.19943
| 0.076923
| 0.85114
| 0.824786
| 0.787037
| 0.787037
| 0.740028
| 0.720085
| 0
| 0.080169
| 0.096282
| 2,098
| 89
| 58
| 23.573034
| 0.660338
| 0.120591
| 0
| 0.84
| 0
| 0
| 0.425694
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.013333
| 0
| 0.013333
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
bd63ceb382d5ee184d8d6f6f53d3a166347f2f5d
| 132
|
py
|
Python
|
exit.py
|
sid1689/parking_lot_gate_final
|
d097c811aee706f23f1f1c83d130aa8e6654c7a8
|
[
"MIT"
] | null | null | null |
exit.py
|
sid1689/parking_lot_gate_final
|
d097c811aee706f23f1f1c83d130aa8e6654c7a8
|
[
"MIT"
] | null | null | null |
exit.py
|
sid1689/parking_lot_gate_final
|
d097c811aee706f23f1f1c83d130aa8e6654c7a8
|
[
"MIT"
] | null | null | null |
from exit_camera import ExitCamera
from utils import GATE_CAMERA_1, GATE_CAMERA_2, GATE_CAMERA_3, WEBCAM
ExitCamera(GATE_CAMERA_1)
| 26.4
| 69
| 0.863636
| 22
| 132
| 4.772727
| 0.5
| 0.380952
| 0.209524
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.033613
| 0.098485
| 132
| 4
| 70
| 33
| 0.84874
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
da180a85518dbf933bcb617d3b6ada19c27298a7
| 1,928
|
py
|
Python
|
dacbench/challenge_benchmarks/state_space_challenge/random_states.py
|
ndangtt/LeadingOnesDAC
|
953747d8702f179851d7973c65779a1f830e03a1
|
[
"Apache-2.0"
] | 11
|
2020-11-09T10:50:31.000Z
|
2022-02-19T09:23:44.000Z
|
dacbench/challenge_benchmarks/state_space_challenge/random_states.py
|
ndangtt/LeadingOnesDAC
|
953747d8702f179851d7973c65779a1f830e03a1
|
[
"Apache-2.0"
] | 95
|
2020-11-18T09:37:30.000Z
|
2022-02-17T10:05:33.000Z
|
dacbench/challenge_benchmarks/state_space_challenge/random_states.py
|
ndangtt/LeadingOnesDAC
|
953747d8702f179851d7973c65779a1f830e03a1
|
[
"Apache-2.0"
] | 11
|
2020-11-15T15:24:27.000Z
|
2022-03-14T14:51:43.000Z
|
import numpy as np
def small_random_luby_state(self):
core_state = self.get_default_state(None)
num_random_elements = 20 - len(core_state)
for i in range(num_random_elements):
core_state.append(np.random.normal(3, 2.5))
return core_state
def random_luby_state(self):
core_state = self.get_default_state(None)
num_random_elements = 250 - len(core_state)
for i in range(num_random_elements):
core_state.append(np.random.normal(3, 2.5))
return core_state
def small_random_sigmoid_state(self):
core_state = self.get_default_state(None)
num_random_elements = 50 - len(core_state)
state = []
for i in range(50):
if num_random_elements > 0 and len(core_state) > 0:
append_random = np.random.choice([0, 1])
if append_random:
state.append(np.random.normal(2, 1.5))
num_random_elements -= 1
else:
state.append(core_state[0])
core_state = core_state[1:]
elif len(core_state) == 0:
state.append(np.random.normal(2, 1.5))
else:
state.append(core_state[0])
core_state = core_state[1:]
return state
def random_sigmoid_state(self):
core_state = self.get_default_state(None)
num_random_elements = 500 - len(core_state)
state = []
for i in range(500):
if num_random_elements > 0 and len(core_state) > 0:
append_random = np.random.choice([0, 1])
if append_random:
state.append(np.random.normal(2, 1.5))
num_random_elements -= 1
else:
state.append(core_state[0])
core_state = core_state[1:]
elif len(core_state) == 0:
state.append(np.random.normal(2, 1.5))
else:
state.append(core_state[0])
core_state = core_state[1:]
return state
| 32.133333
| 59
| 0.604772
| 270
| 1,928
| 4.059259
| 0.144444
| 0.229927
| 0.155109
| 0.104015
| 0.958029
| 0.958029
| 0.958029
| 0.958029
| 0.906934
| 0.906934
| 0
| 0.038856
| 0.292531
| 1,928
| 59
| 60
| 32.677966
| 0.764663
| 0
| 0
| 0.784314
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.078431
| false
| 0
| 0.019608
| 0
| 0.176471
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
da461498208022c63d566b06b25d172000c5b03b
| 8,549
|
py
|
Python
|
src/test/pythonFiles/typeFormatFiles/elseBlocks2.py
|
ChaseKnowlden/vscode-jupyter
|
9bdaf87f0b6dcd717c508e9023350499a6093f97
|
[
"MIT"
] | 695
|
2019-05-06T23:49:37.000Z
|
2022-03-30T01:56:00.000Z
|
src/test/pythonFiles/typeFormatFiles/elseBlocks2.py
|
ChaseKnowlden/vscode-jupyter
|
9bdaf87f0b6dcd717c508e9023350499a6093f97
|
[
"MIT"
] | 8,428
|
2020-11-11T22:06:43.000Z
|
2022-03-31T23:42:34.000Z
|
src/test/pythonFiles/typeFormatFiles/elseBlocks2.py
|
vasili8m/vscode-python
|
846eee870e8b7bab38172600836faedb5fb80166
|
[
"MIT"
] | 158
|
2020-11-12T07:49:02.000Z
|
2022-03-27T20:50:20.000Z
|
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
for n in range(2, 10):
for x in range(2, n):
if n % x == 0:
print n, 'equals', x, '*', n/x
break
else:
# loop fell through without finding a factor
print n, 'is a prime number'
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#except should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def test():
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
for n in range(2, 10):
for x in range(2, n):
if n % x == 0:
print n, 'equals', x, '*', n/x
break
else:
# loop fell through without finding a factor
print n, 'is a prime number'
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#except should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def ask_ok(prompt, retries=4, complaint='Yes or no, please!'):
while True:
ok = raw_input(prompt)
if ok in ('y', 'ye', 'yes'):
return True
if ok in ('n', 'no', 'nop', 'nope'):
return False
retries = retries - 1
if retries < 0:
raise IOError('refusenik user')
print complaint
else:
pass
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#else should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def minus():
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#except should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#else should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def two():
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
# else should be in same level as except
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
# else should be in same level as except
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def divide(x, y):
try:
result = x / y
except ZeroDivisionError:
print("division by zero!")
else:
print("result is", result)
finally:
print("executing finally clause")
class DoSomething():
def test():
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
for n in range(2, 10):
for x in range(2, n):
if n % x == 0:
print n, 'equals', x, '*', n/x
break
else:
# loop fell through without finding a factor
print n, 'is a prime number'
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#except should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def ask_ok(prompt, retries=4, complaint='Yes or no, please!'):
while True:
ok = raw_input(prompt)
if ok in ('y', 'ye', 'yes'):
return True
if ok in ('n', 'no', 'nop', 'nope'):
return False
retries = retries - 1
if retries < 0:
raise IOError('refusenik user')
print complaint
else:
pass
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#else should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def minus():
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#except should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
#else should be in same level as try
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def two():
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
# else should be in same level as except
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError:
print('cannot open', arg)
# else should be in same level as except
else:
print(arg, 'has', len(f.readlines()), 'lines')
f.close()
def divide(x, y):
try:
result = x / y
except ZeroDivisionError:
print("division by zero!")
else:
print("result is", result)
finally:
print("executing finally clause")
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print "1 - Got a true expression value"
print var
if var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
| 23.357923
| 64
| 0.553866
| 1,252
| 8,549
| 3.778754
| 0.073482
| 0.037201
| 0.186007
| 0.213908
| 0.996195
| 0.996195
| 0.996195
| 0.996195
| 0.996195
| 0.996195
| 0
| 0.036733
| 0.331267
| 8,549
| 365
| 65
| 23.421918
| 0.790799
| 0
| 0
| 0.99373
| 0
| 0
| 0.240187
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.00627
| 0
| null | null | 0.401254
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 11
|
da4b9ad0ca6cdb8cb1b1de17d0b8b5af337b5e81
| 210
|
py
|
Python
|
init_map/admin.py
|
PavelMostovoy/map.aqa.science
|
9a6e9a68228af54f98f37c2e3db3bb66b22b653c
|
[
"Apache-2.0"
] | null | null | null |
init_map/admin.py
|
PavelMostovoy/map.aqa.science
|
9a6e9a68228af54f98f37c2e3db3bb66b22b653c
|
[
"Apache-2.0"
] | null | null | null |
init_map/admin.py
|
PavelMostovoy/map.aqa.science
|
9a6e9a68228af54f98f37c2e3db3bb66b22b653c
|
[
"Apache-2.0"
] | null | null | null |
from leaflet.admin import LeafletGeoAdmin
from django.contrib import admin
from .models import Spot, Polygon
admin.site.register((Polygon, Spot), LeafletGeoAdmin)
# admin.site.register(Polygon,LeafletGeoAdmin)
| 35
| 53
| 0.828571
| 26
| 210
| 6.692308
| 0.461538
| 0.103448
| 0.195402
| 0.275862
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.085714
| 210
| 6
| 54
| 35
| 0.90625
| 0.209524
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
e53a4e58537968f6d340737293b38acf2e824ab3
| 564
|
py
|
Python
|
tests/test_all_imports.py
|
connor-mccarthy/snappy
|
58b890ddffe46ea2de37c40bf8ab971788649b17
|
[
"MIT"
] | null | null | null |
tests/test_all_imports.py
|
connor-mccarthy/snappy
|
58b890ddffe46ea2de37c40bf8ab971788649b17
|
[
"MIT"
] | null | null | null |
tests/test_all_imports.py
|
connor-mccarthy/snappy
|
58b890ddffe46ea2de37c40bf8ab971788649b17
|
[
"MIT"
] | null | null | null |
# flake8: noqa
# type: ignore
from snappy.cli.application import *
from snappy.cli.commands import *
from snappy.cli.config import *
from snappy.cli.constants import *
from snappy.cli.helpers.aws.ecr import *
from snappy.cli.helpers.aws.general import *
from snappy.cli.helpers.aws.iam import *
from snappy.cli.helpers.aws.lambda_function import *
from snappy.cli.helpers.common import *
from snappy.cli.helpers.yaml_helpers import *
from snappy.cli.styles import *
from snappy.lambda_handler import *
from snappy.types import *
def test_all_imports():
pass
| 28.2
| 52
| 0.785461
| 85
| 564
| 5.152941
| 0.341176
| 0.296804
| 0.438356
| 0.43379
| 0.383562
| 0.26484
| 0
| 0
| 0
| 0
| 0
| 0.002012
| 0.118794
| 564
| 19
| 53
| 29.684211
| 0.879276
| 0.044326
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.066667
| true
| 0.066667
| 0.933333
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
e57200d198394d43c342a29c7f204b1d6bf807d3
| 20,398
|
py
|
Python
|
code/DataLoader.py
|
wenhuchen/KGPT
|
f898577d8e0ebbf48ea84915777c7b01e616ca3a
|
[
"MIT"
] | 119
|
2020-10-06T08:21:21.000Z
|
2022-03-25T12:00:10.000Z
|
code/DataLoader.py
|
wenhuchen/KGPT
|
f898577d8e0ebbf48ea84915777c7b01e616ca3a
|
[
"MIT"
] | 7
|
2020-10-29T09:34:14.000Z
|
2021-12-28T14:27:27.000Z
|
code/DataLoader.py
|
wenhuchen/KGPT
|
f898577d8e0ebbf48ea84915777c7b01e616ca3a
|
[
"MIT"
] | 16
|
2020-10-07T18:58:48.000Z
|
2022-02-23T07:42:29.000Z
|
import torch
import os
import numpy as np
import json
import torch
import random
import pandas
import re
import copy
from torch.utils.data import Dataset
def safe_setting(matrix, x_start, x_end, y_start, y_end):
if x_start >= matrix.shape[0] or y_start >= matrix.shape[0]:
return
matrix[x_start:min(matrix.shape[0], x_end), y_start:min(matrix.shape[1], y_end)] = 1
return
class KBDataset(Dataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact, forbid_duplicate_relation=True, percent=1.0):
super(KBDataset, self).__init__()
with open(file_path, 'r') as f:
self.data = json.load(f)
if percent > 1:
self.data = self.data[:int(percent)]
else:
selected_size = int(len(self.data) * percent)
self.data = self.data[:selected_size]
self.tokenizer = tokenizer
self.max_entity = max_entity
self.max_fact = max_fact
self.forbid_duplicate_relation = forbid_duplicate_relation
def linearize_v2(self, entity, lower_case=False):
if lower_case:
string = self.tokenizer.encode('[ENT] {}'.format(entity[0].lower()), add_special_tokens=False)
else:
string = self.tokenizer.encode('[ENT] {}'.format(entity[0]), add_special_tokens=False)
triple_id = [1] * len(string)
if lower_case:
words = self.tokenizer.encode('[TRIPLE] [PRED] description [SUB] {} [TRIPLE]'.format(entity[1].lower()), add_special_tokens=False)
else:
words = self.tokenizer.encode('[TRIPLE] [PRED] description [SUB] {} [TRIPLE]'.format(entity[1]), add_special_tokens=False)
string += words
triple_id += [triple_id[-1] + 1] * len(words)
added = set()
for rel in entity[2]:
if self.forbid_duplicate_relation and rel[0] in added:
pass
else:
if lower_case:
words = self.tokenizer.encode('[PRED] {} [SUB] {} [TRIPLE]'.format(rel[0].lower(), rel[1].lower()), add_special_tokens=False)
else:
words = self.tokenizer.encode('[PRED] {} [SUB] {} [TRIPLE]'.format(rel[0], rel[1]), add_special_tokens=False)
string += words
triple_id += [triple_id[-1] + 1] * len(words)
added.add(rel[0])
if len(added) >= self.max_fact:
break
return string, triple_id
def __len__(self):
return len(self.data)
def __getitem__(self):
raise NotImplementedError
class WikiDataDataset(KBDataset):
def __init__(self, file_path, knowledge_path, tokenizer, max_entity, max_fact=12, max_enc_len=1024, max_dec_len=50, encoder=None, lower_case=False):
super(WikiDataDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, True)
with open(knowledge_path, 'r') as f:
self.knowledge = json.load(f)
print("Total samples = {}; Total entities = {}".format(len(self.data), len(self.knowledge)))
self.max_enc_len = max_enc_len
self.max_dec_len = max_dec_len
self.lower_case = lower_case
self.tokenizer = tokenizer
self.pad_idx = tokenizer.pad_token_id
self.encoder = encoder
def get_reference(self, idx, lower_case=False):
if self.lower_case:
return [[_.lower() for _ in self.data[idx]['text']]]
else:
return [self.data[idx]['text']]
def get_entities(self, idx):
entry = self.data[idx]
entities = []
for _ in entry['kblinks']:
if _ is not None and _ in self.knowledge and _ not in entities:
entities.append(_)
if 'title' in entry:
entities.insert(0, "TITLE:::" + entry['title_kb_id'])
return entities
def __getitem__(self, idx):
entry = self.data[idx]
sentence = ' '.join(entry['text'])
if self.lower_case:
sentence = sentence.lower()
entities = []
for _ in entry['kblinks']:
if _ is not None and _ in self.knowledge and _ not in entities:
entities.append(_)
if self.encoder == 'sequence':
strings = []
entity_ids = []
triple_ids = []
if 'title' in entry:
entity = self.knowledge[entry['title_kb_id']]
string, triple_id = self.linearize_v2(entity, self.lower_case)
strings += string
entity_ids += [0] * len(string)
triple_ids += triple_id
for i, entity_id in enumerate(entities):
if i + 1 >= self.max_entity:
break
entity = self.knowledge[entity_id]
string, triple_id = self.linearize_v2(entity, self.lower_case)
strings += string
entity_ids += [i + 1] * len(string)
triple_ids += triple_id
position_ids = list(range(len(strings)))
assert len(strings) == len(entity_ids) == len(triple_ids) == len(position_ids)
if len(strings) >= self.max_enc_len:
input_ids = torch.LongTensor(strings[:self.max_enc_len])
entity_ids = torch.LongTensor(entity_ids[:self.max_enc_len])
triple_ids = torch.LongTensor(triple_ids[:self.max_enc_len])
position_ids = torch.LongTensor(position_ids[:self.max_enc_len])
else:
input_ids = torch.LongTensor(strings + [self.pad_idx] * (self.max_enc_len - len(strings)))
entity_ids = torch.LongTensor(entity_ids + [0] * (self.max_enc_len - len(strings)))
triple_ids = torch.LongTensor(triple_ids + [0] * (self.max_enc_len - len(strings)))
position_ids = torch.LongTensor(position_ids + [0] * (self.max_enc_len - len(strings)))
sentence = self.tokenizer.encode('[SOS] {} [EOS]'.format(sentence), add_special_tokens=False)
if len(sentence) >= self.max_dec_len:
output_ids = torch.LongTensor(sentence[:self.max_dec_len])
else:
output_ids = torch.LongTensor(sentence[:self.max_dec_len] + [self.pad_idx] * (self.max_dec_len - len(sentence)))
return input_ids, entity_ids, triple_ids, position_ids, output_ids[:-1], output_ids[1:]
elif self.encoder == 'graph':
strings = []
term_level_mask = torch.eye(self.max_enc_len).bool()
triple_level_mask = torch.eye(self.max_enc_len).bool()
entity_level_mask = torch.eye(self.max_enc_len).bool()
fact_level_mask = torch.eye(self.max_enc_len).bool()
gather_level_mask = torch.eye(self.max_enc_len).bool()
offset = 0
entity_positions = []
if 'title' in entry:
entities.insert(0, entry['title_kb_id'])
for i, entity_id in enumerate(entities):
if i >= self.max_entity:
break
entity = self.knowledge[entity_id]
string = self.tokenizer.encode('[ENT]')
entity_positions.append(offset)
offset += 1
entity[2].insert(0, ['description', entity[1]])
triple_positions = []
added = set()
for rel in entity[2]:
if offset >= self.max_enc_len - 1:
break
elif self.forbid_duplicate_relation and rel[0] in added:
continue
else:
words = self.tokenizer.encode('[TRIPLE]', add_special_tokens=False)
triple_positions.append(offset)
string += words
offset += len(words)
words = self.tokenizer.encode('{} [PRED] {} [SUB] {}'.format(entity[0], rel[0], rel[1]), add_special_tokens=False)
string += words
safe_setting(term_level_mask, offset, offset + len(words), offset, offset + len(words))
offset += len(words)
safe_setting(triple_level_mask, triple_positions[-1], triple_positions[-1] + 1, triple_positions[-1] + 1, offset)
added.add(rel[0])
if len(added) >= self.max_fact:
break
entity_level_mask[entity_positions[-1], triple_positions] = 1
strings += string
# Reserve at least 4 tokens for the next entity
if offset >= self.max_enc_len - 5:
break
for entity_position in entity_positions:
fact_level_mask[entity_position, entity_positions] = 1
for i in range(len(entity_positions) - 1):
gather_level_mask[entity_positions[i] + 1 : entity_positions[i + 1], entity_positions] = 1
gather_level_mask[entity_positions[-1] + 1:offset, entity_positions] = 1
if len(strings) >= self.max_enc_len:
input_ids = torch.LongTensor(strings[:self.max_enc_len])
else:
input_ids = torch.LongTensor(strings + [self.pad_idx] * (self.max_enc_len - len(strings)))
sentence = self.tokenizer.encode('[SOS] {} [EOS]'.format(sentence), add_special_tokens=False)
if len(sentence) >= self.max_dec_len:
output_ids = torch.LongTensor(sentence[:self.max_dec_len])
else:
output_ids = torch.LongTensor(sentence[:self.max_dec_len] + [self.pad_idx] * (self.max_dec_len - len(sentence)))
term_level_mask = ~term_level_mask
triple_level_mask = ~triple_level_mask
entity_level_mask = ~entity_level_mask
fact_level_mask = ~fact_level_mask
gather_level_mask = ~gather_level_mask
return input_ids, term_level_mask, triple_level_mask, entity_level_mask, fact_level_mask, gather_level_mask, output_ids[:-1], output_ids[1:]
else:
raise NotImplementedError
class DownStreamDataset(KBDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, encoder=None, forbid_duplicate_relation=True, percent=1.0):
super(DownStreamDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, forbid_duplicate_relation, percent)
print("Total samples = {}".format(len(self.data)))
self.max_enc_len = max_enc_len
self.max_dec_len = max_dec_len
self.tokenizer = tokenizer
self.pad_idx = tokenizer.pad_token_id
self.encoder = encoder
def get_reference(self, idx, do_lower_case=False):
if do_lower_case:
return [_.lower().split(' ') for _ in self.data[idx]['text']]
else:
return [_.split(' ') for _ in self.data[idx]['text']]
def get_entities(self, idx):
return list(self.data[idx]['kbs'].keys())
def __getitem__(self, idx):
entry = self.data[idx]
sentence = random.choice(entry['text'])
KBs = entry['kbs']
if self.encoder == 'sequence':
strings = []
entity_ids = []
triple_ids = []
for i, entity_label in enumerate(KBs):
if i + 1 >= self.max_entity:
break
entity = KBs[entity_label]
string, triple_id = self.linearize_v2(entity)
strings += string
entity_ids += [i + 1] * len(string)
triple_ids += triple_id
position_ids = list(range(len(strings)))
assert len(strings) == len(entity_ids) == len(triple_ids) == len(position_ids)
if len(strings) >= self.max_enc_len:
input_ids = torch.LongTensor(strings[:self.max_enc_len])
entity_ids = torch.LongTensor(entity_ids[:self.max_enc_len])
triple_ids = torch.LongTensor(triple_ids[:self.max_enc_len])
position_ids = torch.LongTensor(position_ids[:self.max_enc_len])
else:
input_ids = torch.LongTensor(strings + [self.pad_idx] * (self.max_enc_len - len(strings)))
entity_ids = torch.LongTensor(entity_ids + [0] * (self.max_enc_len - len(strings)))
triple_ids = torch.LongTensor(triple_ids + [0] * (self.max_enc_len - len(strings)))
position_ids = torch.LongTensor(position_ids + [0] * (self.max_enc_len - len(strings)))
sentence = self.tokenizer.encode('[SOS] {} [EOS]'.format(sentence), add_special_tokens=False)
if len(sentence) >= self.max_dec_len:
output_ids = torch.LongTensor(sentence[:self.max_dec_len])
else:
output_ids = torch.LongTensor(sentence[:self.max_dec_len] + [self.pad_idx] * (self.max_dec_len - len(sentence)))
return input_ids, entity_ids, triple_ids, position_ids, output_ids[:-1], output_ids[1:]
elif self.encoder == 'graph':
strings = []
term_level_mask = torch.eye(self.max_enc_len).bool()
triple_level_mask = torch.eye(self.max_enc_len).bool()
entity_level_mask = torch.eye(self.max_enc_len).bool()
fact_level_mask = torch.eye(self.max_enc_len).bool()
gather_level_mask = torch.eye(self.max_enc_len).bool()
offset = 0
entity_positions = []
for i, entity_label in enumerate(KBs):
if i >= self.max_entity:
break
entity = KBs[entity_label]
string = self.tokenizer.encode('[ENT]')
entity_positions.append(offset)
offset += 1
triple_positions = []
entity[2].insert(0, ['description', entity[1]])
added = set()
for rel in entity[2]:
if offset >= self.max_enc_len - 1:
break
elif self.forbid_duplicate_relation and rel[0] in added:
continue
else:
words = self.tokenizer.encode('[TRIPLE]', add_special_tokens=False)
triple_positions.append(offset)
string += words
offset += len(words)
words = self.tokenizer.encode('{} [PRED] {} [SUB] {}'.format(entity[0], rel[0], rel[1]), add_special_tokens=False)
string += words
safe_setting(term_level_mask, offset, offset + len(words), offset, offset + len(words))
offset += len(words)
safe_setting(triple_level_mask, triple_positions[-1], triple_positions[-1] + 1, triple_positions[-1] + 1, offset)
added.add(rel[0])
if len(added) >= self.max_fact:
break
entity_level_mask[entity_positions[-1], triple_positions] = 1
strings += string
# Reserve at least 4 tokens for the next entity
if offset >= self.max_enc_len - 5:
break
for entity_position in entity_positions:
fact_level_mask[entity_position, entity_positions] = 1
for i in range(len(entity_positions) - 1):
gather_level_mask[entity_positions[i] + 1 : entity_positions[i + 1], entity_positions] = 1
gather_level_mask[entity_positions[-1] + 1:offset, entity_positions] = 1
if len(strings) >= self.max_enc_len:
input_ids = torch.LongTensor(strings[:self.max_enc_len])
else:
input_ids = torch.LongTensor(strings + [self.pad_idx] * (self.max_enc_len - len(strings)))
sentence = self.tokenizer.encode('[SOS] {} [EOS]'.format(sentence), add_special_tokens=False)
if len(sentence) >= self.max_dec_len:
output_ids = torch.LongTensor(sentence[:self.max_dec_len])
else:
output_ids = torch.LongTensor(sentence[:self.max_dec_len] + [self.pad_idx] * (self.max_dec_len - len(sentence)))
term_level_mask = ~term_level_mask
triple_level_mask = ~triple_level_mask
entity_level_mask = ~entity_level_mask
fact_level_mask = ~fact_level_mask
gather_level_mask = ~gather_level_mask
return input_ids, term_level_mask, triple_level_mask, entity_level_mask, fact_level_mask, gather_level_mask, output_ids[:-1], output_ids[1:]
else:
raise NotImplementedError
class WebNLGDataset(DownStreamDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, encoder=False, percent=1.0):
super(WebNLGDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, max_enc_len, max_dec_len, encoder, True, percent)
class WebNLGChallengeDataset(DownStreamDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, encoder=False, percent=1.0):
super(WebNLGChallengeDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, max_enc_len, max_dec_len, encoder, True, percent)
class E2ENLGDataset(DownStreamDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, encoder=False, percent=1.0):
super(E2ENLGDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, max_enc_len, max_dec_len, encoder, True, percent)
class LogicNLGDataset(DownStreamDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, encoder=False, percent=1.0):
super(LogicNLGDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, max_enc_len, max_dec_len, encoder, False, percent)
class WikiBioNLGDataset(DownStreamDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, encoder=False, percent=1.0):
super(WikiBioNLGDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, max_enc_len, max_dec_len, encoder, True, percent)
class GPTDataset(KBDataset):
def __init__(self, file_path, tokenizer, max_entity, max_fact=12, max_enc_len=128, max_dec_len=30, percent=1.0):
super(GPTDataset, self).__init__(file_path, tokenizer, max_entity, max_fact, percent=percent)
print("Total samples = {}".format(len(self.data)))
self.pad_idx = tokenizer.pad_token_id
self.max_enc_len = max_enc_len
self.max_dec_len = max_dec_len
def get_reference(self, idx):
return [_.split(' ') for _ in self.data[idx]['text']]
def get_entities(self, idx):
return list(self.data[idx]['kbs'].keys())
def __getitem__(self, idx):
entry = self.data[idx]
sentence = random.choice(entry['text'])
KBs = entry['kbs']
strings = ''
for i, entity_label in enumerate(KBs):
entity = KBs[entity_label]
name = entity[0]
for rel in entity[-1]:
strings += ' {} {} {} . '.format(name, rel[0], rel[1])
KB_ids = self.tokenizer.encode(strings, add_special_tokens=False)
if len(KB_ids) < self.max_enc_len:
KB_ids = [self.pad_idx] * (self.max_enc_len - len(KB_ids)) + KB_ids
else:
KB_ids = KB_ids[:self.max_enc_len]
inputs = torch.LongTensor(KB_ids)
sentence = self.tokenizer.encode('[SOS] {} [EOS]'.format(sentence), add_special_tokens=False)
if len(sentence) >= self.max_dec_len:
output_ids = torch.LongTensor(sentence[:self.max_dec_len])
else:
output_ids = torch.LongTensor(sentence[:self.max_dec_len] + [self.pad_idx] * (self.max_dec_len - len(sentence)))
return inputs, output_ids[:-1], output_ids[1:]
| 43.772532
| 162
| 0.585548
| 2,472
| 20,398
| 4.531958
| 0.066343
| 0.047487
| 0.048201
| 0.051058
| 0.857627
| 0.851111
| 0.835044
| 0.816746
| 0.792823
| 0.745515
| 0
| 0.013094
| 0.303608
| 20,398
| 465
| 163
| 43.866667
| 0.775572
| 0.004461
| 0
| 0.761905
| 0
| 0
| 0.027236
| 0
| 0
| 0
| 0
| 0
| 0.005602
| 1
| 0.061625
| false
| 0.002801
| 0.028011
| 0.011204
| 0.162465
| 0.008403
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e5ad7824694b522e6da97d8fd7dfc74973ed460c
| 5,867
|
py
|
Python
|
code/utils/functions/hypothesis.py
|
berkeley-stat159/project-alpha
|
330d025c4eda94d390a82e86deecb791086c9dbf
|
[
"BSD-3-Clause"
] | 4
|
2015-10-30T23:08:32.000Z
|
2021-06-24T03:44:02.000Z
|
code/utils/functions/hypothesis.py
|
berkeley-stat159/project-alpha
|
330d025c4eda94d390a82e86deecb791086c9dbf
|
[
"BSD-3-Clause"
] | 179
|
2015-10-25T15:59:56.000Z
|
2017-10-31T02:40:24.000Z
|
code/utils/functions/hypothesis.py
|
berkeley-stat159/project-alpha
|
330d025c4eda94d390a82e86deecb791086c9dbf
|
[
"BSD-3-Clause"
] | 11
|
2015-10-20T19:15:10.000Z
|
2019-02-23T19:33:03.000Z
|
#hypothesis testing function
from __future__ import absolute_import, division, print_function
from scipy.stats import t as t_dist
from glm import glm, glm_multiple
import numpy as np
import numpy.linalg as npl
def t_stat(data_4d, convolved, c = [0,1]):
"""
Return four values, the estimated beta, t-value,
degrees of freedom, and p-value for the given t-value
Parameters
----------
data_4d: numpy array of 4 dimensions
The image data of one subject
convolved: numpy array of 1 dimension
The convolved time course
c: numpy array of 1 dimension
The contrast vector fo the weights of the beta vector.
Default is [0,1] which corresponds to beta_1
Note that the fourth dimension of `data_4d` (time or the number
of volumes) must be the same as the length of `convolved`.
Returns
-------
beta: estimated beta values
t: numpy array of 1 dimension
t-value of the betas
df: int
degrees of freedom
p: numpy array of 1 dimension
p-value corresponding to the t-value and degrees of freedom
"""
# Make sure y, X, c are all arrays
beta, X = glm(data_4d, convolved)
c = np.atleast_2d(c).T # As column vector
# Calculate the parameters - b hat
beta = np.reshape(beta, (-1, beta.shape[-1])).T
fitted = X.dot(beta)
# Residual error
y = np.reshape(data_4d, (-1, data_4d.shape[-1]))
errors = y.T - fitted
# Residual sum of squares
RSS = (errors**2).sum(axis=0)
df = X.shape[0] - npl.matrix_rank(X)
# Mean residual sum of squares
MRSS = RSS / df
# calculate bottom half of t statistic
SE = np.sqrt(MRSS * c.T.dot(npl.pinv(X.T.dot(X)).dot(c)))
zeros = np.where(SE==0)
SE[zeros] = 1
t = c.T.dot(beta) / SE
t[:,zeros] =0
# Get p value for t value using cumulative density dunction
# (CDF) of t distribution
ltp = t_dist.cdf(abs(t), df) # lower tail p
p = 1 - ltp # upper tail p
return beta, t, df, p
def t_stat_mult_regression_single(data_4d, X, c = () ):
"""
Return four values, the estimated beta, t-value,
degrees of freedom, and p-value for the given t-value
Parameters
----------
data_4d: numpy array of 4 dimensions
The image data of one subject
X: numpy array
the matrix to be put into the glm_mutiple function
c: numpy array of 1 dimension
The contrast vector fo the weights of the beta vector.
If not entered, it will be set as np.array([0,1,...]) which corresponds
to beta_1
Note that the fourth dimension of `data_4d` (time or the number
of volumes) must be the same as the number of rows that X has.
Returns
-------
beta: estimated beta values
t: numpy array of 1 dimension (spe)
t-value of the betas
df: int
degrees of freedom
p: numpy array of 1 dimension
p-value corresponding to the t-value and degrees of freedom
"""
# Make sure y, X, c are all arrays
beta, X = glm_multiple(data_4d, X)
# dealing with no c put in
if c is ():
c = np.zeros(X.shape[-1])
c[1]=1
c = np.atleast_2d(c).T # As column vector
# Calculate the parameters - b hat
beta = np.reshape(beta, (-1, beta.shape[-1])).T
fitted = X.dot(beta)
# Residual error
y = np.reshape(data_4d, (-1, data_4d.shape[-1]))
errors = y.T - fitted
# Residual sum of squares
RSS = (errors**2).sum(axis=0)
df = X.shape[0] - npl.matrix_rank(X)
# Mean residual sum of squares
MRSS = RSS / df
# calculate bottom half of t statistic
SE = np.sqrt(MRSS * c.T.dot(npl.pinv(X.T.dot(X)).dot(c)))
zeros = np.where(SE==0)
SE[zeros] = 1
t = c.T.dot(beta) / SE
t[:,zeros] =0
# Get p value for t value using cumulative density dunction
# (CDF) of t distribution
ltp = t_dist.cdf(abs(t), df) # lower tail p
p = 1 - ltp # upper tail p
return beta.T, t, df, p
def t_stat_mult_regression(data_4d, X):
"""
Return four values, the estimated beta, t-value,
degrees of freedom, and p-value for the given t-value
Parameters
----------
data_4d: numpy array of 4 dimensions
The image data of one subject
X: numpy array
the matrix to be put into the glm_mutiple function
Note that the fourth dimension of `data_4d` (time or the number
of volumes) must be the same as the number of rows that X has.
Returns
-------
beta: estimated beta values
t: numpy array of 2 dimensions
t-value of the betas
df: int
degrees of freedom
p: numpy array of 2 dimensions
p-value corresponding to the t-value and degrees of freedom
"""
beta, X = glm_multiple(data_4d, X)
# Calculate the parameters - b hat
beta = np.reshape(beta, (-1, beta.shape[-1])).T
fitted = X.dot(beta)
# Residual error
y = np.reshape(data_4d, (-1, data_4d.shape[-1]))
errors = y.T - fitted
# Residual sum of squares
RSS = (errors**2).sum(axis=0)
df = X.shape[0] - npl.matrix_rank(X)
# Mean residual sum of squares
MRSS = RSS / df
# calculate bottom half of t statistic
Cov_beta=npl.pinv(X.T.dot(X))
SE =np.zeros(beta.shape)
for i in range(X.shape[-1]):
c = np.zeros(X.shape[-1])
c[i]=1
c = np.atleast_2d(c).T
SE[i,:]= np.sqrt(MRSS* c.T.dot(npl.pinv(X.T.dot(X)).dot(c)))
zeros = np.where(SE==0)
SE[zeros] = 1
t = beta / SE
t[:,zeros] =0
# Get p value for t value using cumulative density dunction
# (CDF) of t distribution
ltp = t_dist.cdf(abs(t), df) # lower tail p
p = 1 - ltp # upper tail p
return beta.T, t, df, p
| 27.162037
| 80
| 0.603204
| 950
| 5,867
| 3.672632
| 0.154737
| 0.030954
| 0.041273
| 0.026082
| 0.887934
| 0.881628
| 0.870737
| 0.846088
| 0.832617
| 0.832617
| 0
| 0.019259
| 0.291972
| 5,867
| 215
| 81
| 27.288372
| 0.820655
| 0.527527
| 0
| 0.731343
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.044776
| false
| 0
| 0.074627
| 0
| 0.164179
| 0.014925
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
008f5dace6c6c532cb842667e200fc48bee42f01
| 235
|
py
|
Python
|
pymusicdl_termux/modules/__init__.py
|
insaiyancvk/pymusicdl-termux
|
556f0bd1a99f6b219253ca905ba93a2e82fc0beb
|
[
"MIT"
] | 1
|
2021-12-04T01:40:00.000Z
|
2021-12-04T01:40:00.000Z
|
pymusicdl_termux/modules/__init__.py
|
insaiyancvk/pymusicdl-termux
|
556f0bd1a99f6b219253ca905ba93a2e82fc0beb
|
[
"MIT"
] | null | null | null |
pymusicdl_termux/modules/__init__.py
|
insaiyancvk/pymusicdl-termux
|
556f0bd1a99f6b219253ca905ba93a2e82fc0beb
|
[
"MIT"
] | null | null | null |
from pymusicdl_termux.modules.common import common
from pymusicdl_termux.modules.spotify_downloader import spotify_downloader
from pymusicdl_termux.modules.ytDownloader import yt_downloader
from pymusicdl_termux.modules.picker import *
| 58.75
| 74
| 0.897872
| 30
| 235
| 6.8
| 0.366667
| 0.254902
| 0.372549
| 0.509804
| 0.352941
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.06383
| 235
| 4
| 75
| 58.75
| 0.927273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
970559de9265fd276822fbcf92f97e39fd6f9b3e
| 38,876
|
py
|
Python
|
code/models.py
|
modichirag/cosmic-rim
|
3b621e676fe9aaa6cdc84adc92bb9b9d8bbe5f25
|
[
"MIT"
] | null | null | null |
code/models.py
|
modichirag/cosmic-rim
|
3b621e676fe9aaa6cdc84adc92bb9b9d8bbe5f25
|
[
"MIT"
] | null | null | null |
code/models.py
|
modichirag/cosmic-rim
|
3b621e676fe9aaa6cdc84adc92bb9b9d8bbe5f25
|
[
"MIT"
] | null | null | null |
###list of models:
import numpy as np
import os
#os.environ["CUDA_VISIBLE_DEVICES"]="1"
#
import tensorflow as tf
import tensorflow.contrib.slim as slim
from tensorflow.contrib.slim import add_arg_scope
from layers import wide_resnet, wide_resnet_snorm, valid_resnet
from layers import wide_resnet_snorm
from pixelcnn3d import *
from tfops import specnormconv3d, dynamic_deconv3d
import tensorflow_hub as hub
import tensorflow_probability
import tensorflow_probability as tfp
tfd = tensorflow_probability.distributions
tfd = tfp.distributions
tfb = tfp.bijectors
### Model
def _mdn_model_fn(features, labels, nchannels, n_y, n_mixture, dropout, optimizer, mode, pad, distribution='logistic'):
# Check for training mode
is_training = mode == tf.estimator.ModeKeys.TRAIN
def _module_fn():
"""
Function building the module
"""
feature_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, nchannels], name='input')
obs_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, n_y], name='observations')
# Builds the neural network
if pad == 0:
net = slim.conv3d(feature_layer, 16, 5, activation_fn=tf.nn.leaky_relu, padding='same')
elif pad == 2:
net = slim.conv3d(feature_layer, 16, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
if pad == 4:
net = slim.conv3d(feature_layer, 16, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
net = slim.conv3d(net, 16, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
#net = wide_resnet(feature_layer, 8, activation_fn=tf.nn.leaky_relu, is_training=is_training)
net = wide_resnet(net, 16, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = wide_resnet(net, 32, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = wide_resnet(net, 32, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
if distribution == 'logistic': net = slim.conv3d(net, 32, 3, activation_fn=tf.nn.tanh)
else: net = slim.conv3d(net, 32, 3, activation_fn=tf.nn.leaky_relu)
# Define the probabilistic layer
net = slim.conv3d(net, n_mixture*3*n_y, 1, activation_fn=None)
cube_size = tf.shape(obs_layer)[1]
net = tf.reshape(net, [-1, cube_size, cube_size, cube_size, n_y, n_mixture*3])
# net = tf.reshape(net, [None, None, None, None, n_y, n_mixture*3])
loc, unconstrained_scale, logits = tf.split(net,
num_or_size_splits=3,
axis=-1)
scale = tf.nn.softplus(unconstrained_scale)
# Form mixture of discretized logistic distributions. Note we shift the
# logistic distribution by -0.5. This lets the quantization capture "rounding"
# intervals, `(x-0.5, x+0.5]`, and not "ceiling" intervals, `(x-1, x]`.
if distribution == 'logistic':
discretized_logistic_dist = tfd.QuantizedDistribution(
distribution=tfd.TransformedDistribution(
distribution=tfd.Logistic(loc=loc, scale=scale),
bijector=tfb.AffineScalar(shift=-0.5)),
low=0.,
high=2.**3-1)
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=discretized_logistic_dist)
elif distribution == 'normal':
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=tfd.Normal(loc=loc, scale=scale))
# Define a function for sampling, and a function for estimating the log likelihood
#sample = tf.squeeze(mixture_dist.sample())
sample = mixture_dist.sample()
loglik = mixture_dist.log_prob(obs_layer)
hub.add_signature(inputs={'features':feature_layer, 'labels':obs_layer},
outputs={'sample':sample, 'loglikelihood':loglik,
'loc':loc, 'scale':scale, 'logits':logits})
# Create model and register module if necessary
spec = hub.create_module_spec(_module_fn)
module = hub.Module(spec, trainable=True)
if isinstance(features,dict):
predictions = module(features, as_dict=True)
else:
predictions = module({'features':features, 'labels':labels}, as_dict=True)
if mode == tf.estimator.ModeKeys.PREDICT:
hub.register_module_for_export(module, "likelihood")
return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
loglik = predictions['loglikelihood']
# Compute and register loss function
neg_log_likelihood = -tf.reduce_sum(loglik, axis=-1)
neg_log_likelihood = tf.reduce_mean(neg_log_likelihood)
tf.losses.add_loss(neg_log_likelihood)
total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
train_op = None
eval_metric_ops = None
# Define optimizer
if mode == tf.estimator.ModeKeys.TRAIN:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
global_step=tf.train.get_global_step()
boundaries = list(np.array([1e4, 2e4, 4e4, 5e4, 6e4]).astype(int))
values = [1e-3, 5e-4, 1e-4, 5e-5, 1e-5, 1e-6]
learning_rate = tf.train.piecewise_constant(global_step, boundaries, values)
train_op = optimizer(learning_rate=learning_rate).minimize(loss=total_loss, global_step=global_step)
tf.summary.scalar('rate', learning_rate)
tf.summary.scalar('loss', neg_log_likelihood)
elif mode == tf.estimator.ModeKeys.EVAL:
eval_metric_ops = { "log_p": neg_log_likelihood}
return tf.estimator.EstimatorSpec(mode=mode,
predictions=predictions,
loss=total_loss,
train_op=train_op,
eval_metric_ops=eval_metric_ops)
def _mdn_mask_model_fn(features, labels, nchannels, n_y, n_mixture, dropout, optimizer, mode, pad, lr0=1e-3, distribution='logistic', masktype='constant'):
# Check for training mode
is_training = mode == tf.estimator.ModeKeys.TRAIN
def _module_fn():
"""
Function building the module
"""
feature_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, nchannels], name='input')
obs_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, n_y], name='observations')
mask_layer = tf.clip_by_value(obs_layer, 0, 0.001)*1000
#
# Builds the neural network
if pad == 0:
net = slim.conv3d(feature_layer, 16, 5, activation_fn=tf.nn.leaky_relu, padding='same')
elif pad == 2:
net = slim.conv3d(feature_layer, 16, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
#net = wide_resnet(feature_layer, 8, activation_fn=tf.nn.leaky_relu, is_training=is_training)
net = wide_resnet(net, 16, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = wide_resnet(net, 32, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = wide_resnet(net, 32, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
if distribution == 'logistic': net = slim.conv3d(net, 32, 3, activation_fn=tf.nn.tanh)
else: net = slim.conv3d(net, 32, 3, activation_fn=tf.nn.leaky_relu)
#Predicted mask
masknet = slim.conv3d(net, 8, 1, activation_fn=tf.nn.leaky_relu)
out_mask = slim.conv3d(masknet, 1, 1, activation_fn=None)
pred_mask = tf.nn.sigmoid(out_mask)
# Define the probabilistic layer
likenet = slim.conv3d(net, 64, 1, activation_fn=tf.nn.leaky_relu)
net = slim.conv3d(likenet, n_mixture*3*n_y, 1, activation_fn=None)
cube_size = tf.shape(obs_layer)[1]
net = tf.reshape(net, [-1, cube_size, cube_size, cube_size, n_y, n_mixture*3])
# net = tf.reshape(net, [None, None, None, None, n_y, n_mixture*3])
loc, unconstrained_scale, logits = tf.split(net,
num_or_size_splits=3,
axis=-1)
scale = tf.nn.softplus(unconstrained_scale) + 1e-3
# Form mixture of discretized logistic distributions. Note we shift the
# logistic distribution by -0.5. This lets the quantization capture "rounding"
# intervals, `(x-0.5, x+0.5]`, and not "ceiling" intervals, `(x-1, x]`.
if distribution == 'logistic':
discretized_logistic_dist = tfd.QuantizedDistribution(
distribution=tfd.TransformedDistribution(
distribution=tfd.Logistic(loc=loc, scale=scale),
bijector=tfb.AffineScalar(shift=-0.5)),
low=0.,
high=2.**3-1)
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=discretized_logistic_dist)
elif distribution == 'normal':
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=tfd.Normal(loc=loc, scale=scale))
# Define a function for sampling, and a function for estimating the log likelihood
#sample = tf.squeeze(mixture_dist.sample())
rawsample = mixture_dist.sample()
sample = rawsample*pred_mask
rawloglik = mixture_dist.log_prob(obs_layer)
print(rawloglik)
print(out_mask)
print(mask_layer)
#loss1 = - rawloglik* out_mask #This can be constant mask as well if we use mask_layer instead
if masktype == 'constant': loss1 = - rawloglik* mask_layer
elif masktype == 'vary': loss1 = - rawloglik* pred_mask
loss2 = tf.nn.sigmoid_cross_entropy_with_logits(logits=out_mask,
labels=mask_layer)
loglik = - (loss1 + loss2)
hub.add_signature(inputs={'features':feature_layer, 'labels':obs_layer},
outputs={'sample':sample, 'loglikelihood':loglik,
'loc':loc, 'scale':scale, 'logits':logits,
'rawsample':rawsample, 'pred_mask':pred_mask, 'out_mask':out_mask,
'rawloglik':rawloglik, 'loss1':loss1, 'loss2':loss2})
# Create model and register module if necessary
spec = hub.create_module_spec(_module_fn)
module = hub.Module(spec, trainable=True)
if isinstance(features,dict):
predictions = module(features, as_dict=True)
else:
predictions = module({'features':features, 'labels':labels}, as_dict=True)
if mode == tf.estimator.ModeKeys.PREDICT:
hub.register_module_for_export(module, "likelihood")
return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
rawloglik = tf.reduce_mean(predictions['rawloglik'])
loss1 = tf.reduce_mean(predictions['loss1'])
loss2 = tf.reduce_mean(predictions['loss2'])
# Compute and register loss function
loglik = predictions['loglikelihood']
# Compute and register loss function
neg_log_likelihood = -tf.reduce_sum(loglik, axis=-1)
neg_log_likelihood = tf.reduce_mean(neg_log_likelihood)
tf.losses.add_loss(neg_log_likelihood)
total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
#loss = tf.reduce_mean(loss)
#tf.losses.add_loss(loss)
#total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
train_op = None
eval_metric_ops = None
# Define optimizer
if mode == tf.estimator.ModeKeys.TRAIN:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
global_step=tf.train.get_global_step()
boundaries = list(np.array([1e4, 2e4, 4e4, 5e4, 6e4]).astype(int))
#values = [1e-3, 5e-4, 1e-4, 5e-5, 1e-5, 1e-6]
values = [lr0, lr0/2, lr0/10, lr0/20, lr0/100, lr0/1000]
learning_rate = tf.train.piecewise_constant(global_step, boundaries, values)
train_op = optimizer(learning_rate=learning_rate).minimize(loss=total_loss, global_step=global_step)
logging_hook = tf.train.LoggingTensorHook({"iter":global_step, "negloglik" : neg_log_likelihood,
"rawloglik" : rawloglik, "loss1" : loss1, "loss2" : loss2 }, every_n_iter=50)
tf.summary.scalar('rate', learning_rate)
tf.summary.scalar('loglik', neg_log_likelihood)
elif mode == tf.estimator.ModeKeys.EVAL:
eval_metric_ops = { "log_p": neg_log_likelihood}
return tf.estimator.EstimatorSpec(mode=mode,
predictions=predictions,
loss=total_loss,
train_op=train_op,
eval_metric_ops=eval_metric_ops, training_hooks = [logging_hook])
def _mdn_pixmodel_fn(features, labels, nchannels, n_y, n_mixture, dropout, optimizer, mode, pad,
cfilter_size=None, f_map=8, distribution='normal'):
# Check for training mode
is_training = mode == tf.estimator.ModeKeys.TRAIN
def _module_fn():
"""
Function building the module
"""
feature_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, nchannels], name='input')
obs_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, n_y], name='observations')
conditional_im = wide_resnet(feature_layer, 16, activation_fn=tf.nn.leaky_relu,
keep_prob=dropout, is_training=is_training)
conditional_im = wide_resnet(conditional_im, 16, activation_fn=tf.nn.leaky_relu,
keep_prob=dropout, is_training=is_training)
conditional_im = wide_resnet(conditional_im, 1, activation_fn=tf.nn.leaky_relu,
keep_prob=dropout, is_training=is_training)
conditional_im = tf.concat((feature_layer, conditional_im), -1)
# Builds the neural network
ul = [[obs_layer]]
for i in range(10):
#ul.append(PixelCNN3Dlayer(i, ul[i], f_map=f_map, full_horizontal=True, h=None,
# conditional_im=conditional_im, cfilter_size=cfilter_size, gatedact='sigmoid'))
ul.append(PixelCNN3Dlayer(i, ul[i], f_map=f_map, full_horizontal=True, h=None,
#conditional_im = conditional_im,
convconditional=conditional_im,
cfilter_size=cfilter_size, gatedact='sigmoid'))
h_stack_in = ul[-1][-1]
with tf.variable_scope("fc_1"):
fc1 = GatedCNN([1, 1, 1, 1], h_stack_in, orientation=None, gated=False, mask='b').output()
with tf.variable_scope("fc_2"):
fc2 = GatedCNN([1, 1, 1, n_mixture*3*n_y], fc1, orientation=None,
gated=False, mask='b', activation=False).output()
cube_size = tf.shape(obs_layer)[1]
net = tf.reshape(fc2, [-1, cube_size, cube_size, cube_size, n_y, n_mixture*3])
loc, unconstrained_scale, logits = tf.split(net,
num_or_size_splits=3,
axis=-1)
scale = tf.nn.softplus(unconstrained_scale) + 1e-3
# Form mixture of discretized logistic distributions. Note we shift the
# logistic distribution by -0.5. This lets the quantization capture "rounding"
# intervals, `(x-0.5, x+0.5]`, and not "ceiling" intervals, `(x-1, x]`.
if distribution == 'logistic':
discretized_logistic_dist = tfd.QuantizedDistribution(
distribution=tfd.TransformedDistribution(
distribution=tfd.Logistic(loc=loc, scale=scale),
bijector=tfb.AffineScalar(shift=-0.5)),
low=0.,
high=2.**3-1)
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=discretized_logistic_dist)
elif distribution == 'normal':
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=tfd.Normal(loc=loc, scale=scale))
# Define a function for sampling, and a function for estimating the log likelihood
#sample = tf.squeeze(mixture_dist.sample())
sample = mixture_dist.sample()
loglik = mixture_dist.log_prob(obs_layer)
hub.add_signature(inputs={'features':feature_layer, 'labels':obs_layer},
outputs={'sample':sample, 'loglikelihood':loglik,
'loc':loc, 'scale':scale, 'logits':logits})
# Create model and register module if necessary
spec = hub.create_module_spec(_module_fn)
module = hub.Module(spec, trainable=True)
if isinstance(features,dict):
predictions = module(features, as_dict=True)
else:
predictions = module({'features':features, 'labels':labels}, as_dict=True)
if mode == tf.estimator.ModeKeys.PREDICT:
hub.register_module_for_export(module, "likelihood")
return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
loglik = predictions['loglikelihood']
# Compute and register loss function
neg_log_likelihood = -tf.reduce_sum(loglik, axis=-1)
neg_log_likelihood = tf.reduce_mean(neg_log_likelihood)
tf.losses.add_loss(neg_log_likelihood)
total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
train_op = None
eval_metric_ops = None
# Define optimizer
if mode == tf.estimator.ModeKeys.TRAIN:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
global_step=tf.train.get_global_step()
boundaries = list(np.array([2e3, 5e3, 1e4, 2e4, 3e4]).astype(int))
values = [1e-3, 5e-4, 1e-4, 5e-5, 1e-5, 1e-6]
learning_rate = tf.train.piecewise_constant(global_step, boundaries, values)
train_op = optimizer(learning_rate=learning_rate).minimize(loss=total_loss, global_step=global_step)
tf.summary.scalar('rate', learning_rate)
tf.summary.scalar('loss', neg_log_likelihood)
elif mode == tf.estimator.ModeKeys.EVAL:
eval_metric_ops = { "log_p": neg_log_likelihood}
return tf.estimator.EstimatorSpec(mode=mode,
predictions=predictions,
loss=total_loss,
train_op=train_op,
eval_metric_ops=eval_metric_ops)
def _mdn_inv_model_fn(features, labels, nchannels, n_y, n_mixture, dropout, optimizer, mode, logoffset=1e-3, log=True):
'''Train inverse model i.e. go from the halo field to matter overdensity
'''
# Check for training mode
is_training = mode == tf.estimator.ModeKeys.TRAIN
def _module_fn():
"""
Function building the module
"""
feature_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, nchannels], name='input')
obs_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, n_y], name='observations')
# Builds the neural network
net = slim.conv3d(feature_layer, 16, 5, activation_fn=tf.nn.leaky_relu, padding='same')
#net = wide_resnet(feature_layer, 8, activation_fn=tf.nn.leaky_relu, is_training=is_training)
net = wide_resnet(net, 16, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = wide_resnet(net, 32, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = wide_resnet(net, 32, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = slim.conv3d(net, 32, 3, activation_fn=tf.nn.leaky_relu)
# Define the probabilistic layer
net = slim.conv3d(net, 3*n_mixture*nchannels, 1, activation_fn=None)
cube_size = tf.shape(obs_layer)[1]
net = tf.reshape(net, [-1, cube_size, cube_size, cube_size, nchannels, n_mixture*3])
logits, loc, unconstrained_scale = tf.split(net, num_or_size_splits=3,
axis=-1)
print('\nloc :\n', loc)
scale = tf.nn.softplus(unconstrained_scale[...]) + 1e-3
distribution = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits[...]),
#components_distribution=tfd.MultivariateNormalDiag(loc=loc[...,0], scale_diag=scale))
components_distribution=tfd.Normal(loc=loc[...], scale=scale))
print('\ngmm\n', distribution)
# Define a function for sampling, and a function for estimating the log likelihood
if log :
print('Logged it')
sample = tf.exp(distribution.sample()) - logoffset
print('\ninf dist sample :\n', distribution.sample())
logfeature = tf.log(tf.add(logoffset, obs_layer), 'logfeature')
print('\nlogfeature :\n', logfeature)
prob = distribution.prob(logfeature[...])
loglik = distribution.log_prob(logfeature[...])
else:
print('UnLogged it')
sample = distribution.sample()
print('\ninf dist sample :\n', distribution.sample())
loglik = distribution.log_prob(obs_layer[...])
hub.add_signature(inputs={'features':feature_layer, 'labels':obs_layer},
outputs={'sample':sample, 'loglikelihood':loglik, 'sigma':scale, 'mean':loc, 'logits':logits})
# Create model and register module if necessary
spec = hub.create_module_spec(_module_fn)
module = hub.Module(spec, trainable=True)
if isinstance(features,dict):
predictions = module(features, as_dict=True)
features_ = features['features']
else:
predictions = module({'features':features, 'labels':labels}, as_dict=True)
features_ = features
samples = predictions['sample']
print('\nsamples :\n', samples)
if mode == tf.estimator.ModeKeys.PREDICT:
hub.register_module_for_export(module, "likelihood")
return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
loglik = predictions['loglikelihood']
print('\nloglik :\n', loglik)
####Compute and register loss function
neg_log_likelihood = -tf.reduce_sum(loglik, axis=-1)
neg_log_likelihood = tf.reduce_mean(neg_log_likelihood)
tf.losses.add_loss(neg_log_likelihood)
total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
train_op = None
eval_metric_ops = None
# Define optimizer
if mode == tf.estimator.ModeKeys.TRAIN:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
global_step=tf.train.get_global_step()
boundaries = list(np.array([1e4, 2e4, 4e4, 5e4]).astype(int))
values = [1e-3, 5e-4, 1e-4, 5e-5, 1e-5]
learning_rate = tf.train.piecewise_constant(global_step, boundaries, values)
train_op = optimizer(learning_rate=learning_rate).minimize(loss=total_loss, global_step=global_step)
tf.summary.scalar('rate', learning_rate)
tf.summary.scalar('total_loss', total_loss)
tf.summary.scalar('loss', neg_log_likelihood)
elif mode == tf.estimator.ModeKeys.EVAL:
eval_metric_ops = { "log_p": neg_log_likelihood}
return tf.estimator.EstimatorSpec(mode=mode,
predictions=predictions,
loss=total_loss,
train_op=train_op,
eval_metric_ops=eval_metric_ops)
def _mdn_nozero_model_fn(features, labels, nchannels, n_y, n_mixture, dropout, optimizer, mode, pad, lr0=1e-3, dsitribution='logistic'):
# Check for training mode
is_training = mode == tf.estimator.ModeKeys.TRAIN
def _module_fn():
"""
Function building the module
"""
feature_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, nchannels], name='input')
obs_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, n_y], name='observations')
mask_layer = tf.clip_by_value(obs_layer, 0, 1)
#
# Builds the neural network
net = slim.conv3d(feature_layer, 16, 3, activation_fn=tf.nn.leaky_relu, padding='valid')
subnet = tf.identity(net[:, 3:-3, 3:-3, 3:-3, :])
net = valid_resnet(net, 16, activation_fn=tf.nn.leaky_relu, keep_prob=dropout, is_training=is_training)
net = slim.conv3d(net, 16, 3, activation_fn=tf.nn.leaky_relu, padding='valid')
net = net+subnet
# Define the probabilistic layer
likenet = slim.conv3d(net, 64, 1, activation_fn=tf.nn.leaky_relu)
net = slim.conv3d(likenet, n_mixture*3*n_y, 1, activation_fn=None)
# Define the probabilistic layer
cube_size = tf.shape(obs_layer)[1]
net = tf.reshape(net, [-1, cube_size, cube_size, cube_size, n_y, n_mixture*3])
# net = tf.reshape(net, [None, None, None, None, n_y, n_mixture*3])
loc, unconstrained_scale, logits = tf.split(net,
num_or_size_splits=3,
axis=-1)
scale = tf.nn.softplus(unconstrained_scale) + 1e-3
# Form mixture of discretized logistic distributions. Note we shift the
# logistic distribution by -0.5. This lets the quantization capture "rounding"
# intervals, `(x-0.5, x+0.5]`, and not "ceiling" intervals, `(x-1, x]`.
if distribution == 'logistic':
discretized_logistic_dist = tfd.QuantizedDistribution(
distribution=tfd.TransformedDistribution(
distribution=tfd.Logistic(loc=loc, scale=scale),
bijector=tfb.AffineScalar(shift=-0.5)),
low=0.,
high=2.**3-1)
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=discretized_logistic_dist)
elif distribution == 'normal':
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=tfd.Normal(loc=loc, scale=scale))
# Define a function for sampling, and a function for estimating the log likelihood
#sample = tf.squeeze(mixture_dist.sample())
sample = mixture_dist.sample()
loglik = mixture_dist.log_prob(obs_layer)
hub.add_signature(inputs={'features':feature_layer, 'labels':obs_layer},
outputs={'sample':sample, 'loglikelihood':loglik,
'loc':loc, 'scale':scale, 'logits':logits})
# Create model and register module if necessary
spec = hub.create_module_spec(_module_fn)
module = hub.Module(spec, trainable=True)
if isinstance(features,dict):
predictions = module(features, as_dict=True)
else:
predictions = module({'features':features, 'labels':labels}, as_dict=True)
if mode == tf.estimator.ModeKeys.PREDICT:
hub.register_module_for_export(module, "likelihood")
return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
loss = -predictions['loglikelihood']
# Compute and register loss function
loss = tf.reduce_mean(loss)
tf.losses.add_loss(loss)
total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
train_op = None
eval_metric_ops = None
# Define optimizer
if mode == tf.estimator.ModeKeys.TRAIN:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
global_step=tf.train.get_global_step()
boundaries = list(np.array([1e4, 2e4, 4e4, 5e4, 6e4]).astype(int))
values = [lr0, lr0/2, lr0/10, lr0/20, lr0/100, lr0/1000]
#values = [1e-3, 5e-4, 1e-4, 5e-5, 1e-5, 1e-6]
learning_rate = tf.train.piecewise_constant(global_step, boundaries, values)
train_op = optimizer(learning_rate=learning_rate).minimize(loss=total_loss, global_step=global_step)
tf.summary.scalar('rate', learning_rate)
logging_hook = tf.train.LoggingTensorHook({"iter":global_step, "loss" : loss}, every_n_iter=50)
tf.summary.scalar('loss', loss)
elif mode == tf.estimator.ModeKeys.EVAL:
eval_metric_ops = { "log_p": neg_log_likelihood}
return tf.estimator.EstimatorSpec(mode=mode,
predictions=predictions,
loss=total_loss,
train_op=train_op,
eval_metric_ops=eval_metric_ops, training_hooks = [logging_hook])
### Model
def _mdn_unetmodel_fn(features, labels, nchannels, n_y, n_mixture, dropout, optimizer, mode, pad, fsize=8, nsub=2, distribution='logistic'):
# Check for training mode
is_training = mode == tf.estimator.ModeKeys.TRAIN
def _module_fn():
"""
Function building the module
"""
feature_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, nchannels], name='input')
obs_layer = tf.placeholder(tf.float32, shape=[None, None, None, None, n_y], name='observations')
# Builds the neural network
if pad == 0:
d00 = slim.conv3d(feature_layer, fsize, 5, activation_fn=tf.nn.leaky_relu, padding='same')
elif pad == 2:
d00 = slim.conv3d(feature_layer, fsize, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
if pad == 4:
d00 = slim.conv3d(feature_layer, fsize, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
d00 = slim.conv3d(d00, fsize*2, 5, activation_fn=tf.nn.leaky_relu, padding='valid')
## #downsample
## dd = [[d00]]
## cfsize = fsize
## for i in range(nsub):
## d0 = dd[-1][-1]
## d1 = wide_resnet(d0, cfsize, activation_fn=tf.nn.leaky_relu)
## d2 = wide_resnet(d1, cfsize, activation_fn=tf.nn.leaky_relu)
## dsub = slim.max_pool3d(d2, kernel_size=3, stride=2, padding='SAME')
## dd.append([d1, d2, dsub])
## cfsize *= 2
##
## #lower layer
## d0 = dd[-1][-1]
## d1 = wide_resnet(d0, cfsize, activation_fn=tf.nn.leaky_relu)
## d2 = wide_resnet(d1, cfsize, activation_fn=tf.nn.leaky_relu)
##
## up = [[d1, d2]]
## #upsample
## for i in range(nsub):
## cfsize = cfsize // 2
## usub = up[-1][-1]
## dup = dd.pop()
## u0 = dynamic_deconv3d('up%d'%i, usub, shape=[3,3,3,cfsize], activation=tf.nn.leaky_relu)
## #u0 = slim.conv3d_transpose(usub, fsize, kernel_size=3, stride=2)
## uc = tf.concat([u0, dup[1]], axis=-1)
## u1 = wide_resnet(uc, cfsize, activation_fn=tf.nn.leaky_relu)
## u2 = wide_resnet(u1, cfsize, activation_fn=tf.nn.leaky_relu)
## up.append([u0, u1, u1c, u2])
##
## u0 = up[-1][-1]
## net = slim.conv3d(u0, 1, 3, activation_fn=tf.nn.tanh)
##
#downsample #restructure code while doubling filter size
cfsize = fsize
d1 = wide_resnet(d00, cfsize, activation_fn=tf.nn.leaky_relu)
d2 = wide_resnet(d1, cfsize, activation_fn=tf.nn.leaky_relu)
dd = [d2]
for i in range(nsub):
cfsize *= 2
print(i, cfsize)
dsub = slim.max_pool3d(dd[-1], kernel_size=3, stride=2, padding='SAME')
d1 = wide_resnet(dsub, cfsize, activation_fn=tf.nn.leaky_relu)
d2 = wide_resnet(d1, cfsize, activation_fn=tf.nn.leaky_relu)
dd.append(d2)
print(len(dd))
#upsample
usub = dd.pop()
for i in range(nsub):
u0 = dynamic_deconv3d('up%d'%i, usub, shape=[3,3,3,cfsize], activation=tf.identity)
cfsize = cfsize // 2
print(i, cfsize)
u0 = slim.conv3d(u0, cfsize, 1, activation_fn=tf.identity, padding='same')
#u0 = slim.conv3d_transpose(usub, fsize, kernel_size=3, stride=2)
uc = tf.concat([u0, dd.pop()], axis=-1)
u1 = wide_resnet(uc, cfsize, activation_fn=tf.nn.leaky_relu)
u2 = wide_resnet(u1, cfsize, activation_fn=tf.nn.leaky_relu)
usub = u2
print(len(dd))
net = slim.conv3d(usub, 1, 3, activation_fn=tf.nn.tanh)
# Define the probabilistic layer
net = slim.conv3d(net, n_mixture*3*n_y, 1, activation_fn=None)
cube_size = tf.shape(obs_layer)[1]
net = tf.reshape(net, [-1, cube_size, cube_size, cube_size, n_y, n_mixture*3])
# net = tf.reshape(net, [None, None, None, None, n_y, n_mixture*3])
loc, unconstrained_scale, logits = tf.split(net,
num_or_size_splits=3,
axis=-1)
scale = tf.nn.softplus(unconstrained_scale) + 1e-3
# Form mixture of discretized logistic distributions. Note we shift the
# logistic distribution by -0.5. This lets the quantization capture "rounding"
# intervals, `(x-0.5, x+0.5]`, and not "ceiling" intervals, `(x-1, x]`.
if distribution == 'logistic':
discretized_logistic_dist = tfd.QuantizedDistribution(
distribution=tfd.TransformedDistribution(
distribution=tfd.Logistic(loc=loc, scale=scale),
bijector=tfb.AffineScalar(shift=-0.5)),
low=0.,
high=2.**3-1)
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=discretized_logistic_dist)
elif distribution == 'normal':
mixture_dist = tfd.MixtureSameFamily(
mixture_distribution=tfd.Categorical(logits=logits),
components_distribution=tfd.Normal(loc=loc, scale=scale))
# Define a function for sampling, and a function for estimating the log likelihood
#sample = tf.squeeze(mixture_dist.sample())
sample = mixture_dist.sample()
loglik = mixture_dist.log_prob(obs_layer)
hub.add_signature(inputs={'features':feature_layer, 'labels':obs_layer},
outputs={'sample':sample, 'loglikelihood':loglik,
'loc':loc, 'scale':scale, 'logits':logits})
# Create model and register module if necessary
spec = hub.create_module_spec(_module_fn)
module = hub.Module(spec, trainable=True)
if isinstance(features,dict):
predictions = module(features, as_dict=True)
else:
predictions = module({'features':features, 'labels':labels}, as_dict=True)
if mode == tf.estimator.ModeKeys.PREDICT:
hub.register_module_for_export(module, "likelihood")
return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
loglik = predictions['loglikelihood']
# Compute and register loss function
neg_log_likelihood = -tf.reduce_sum(loglik, axis=-1)
neg_log_likelihood = tf.reduce_mean(neg_log_likelihood)
tf.losses.add_loss(neg_log_likelihood)
total_loss = tf.losses.get_total_loss(add_regularization_losses=True)
train_op = None
eval_metric_ops = None
# Define optimizer
if mode == tf.estimator.ModeKeys.TRAIN:
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
global_step=tf.train.get_global_step()
boundaries = list(np.array([1e4, 2e4, 4e4, 5e4, 6e4]).astype(int))
values = [1e-3, 5e-4, 1e-4, 5e-5, 1e-5, 1e-6]
learning_rate = tf.train.piecewise_constant(global_step, boundaries, values)
train_op = optimizer(learning_rate=learning_rate).minimize(loss=total_loss, global_step=global_step)
tf.summary.scalar('rate', learning_rate)
tf.summary.scalar('loss', neg_log_likelihood)
elif mode == tf.estimator.ModeKeys.EVAL:
eval_metric_ops = { "log_p": neg_log_likelihood}
return tf.estimator.EstimatorSpec(mode=mode,
predictions=predictions,
loss=total_loss,
train_op=train_op,
eval_metric_ops=eval_metric_ops)
| 46.007101
| 155
| 0.601219
| 4,597
| 38,876
| 4.884925
| 0.074614
| 0.010688
| 0.032419
| 0.036338
| 0.888582
| 0.87647
| 0.867385
| 0.854115
| 0.841913
| 0.838039
| 0
| 0.022126
| 0.290822
| 38,876
| 844
| 156
| 46.061611
| 0.792383
| 0.168587
| 0
| 0.757874
| 0
| 0
| 0.036938
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.023622
| false
| 0
| 0.023622
| 0
| 0.070866
| 0.031496
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
97093e1c15216677839306e4f7a46a60c1560a39
| 8,585
|
py
|
Python
|
prysm/polynomials/hermite.py
|
Lixiaoxin-HIT/prysm
|
42d95bd0352778d73555fc18f9b927706f841ae1
|
[
"MIT"
] | 1
|
2022-03-29T02:10:14.000Z
|
2022-03-29T02:10:14.000Z
|
prysm/polynomials/hermite.py
|
Lixiaoxin-HIT/prysm
|
42d95bd0352778d73555fc18f9b927706f841ae1
|
[
"MIT"
] | null | null | null |
prysm/polynomials/hermite.py
|
Lixiaoxin-HIT/prysm
|
42d95bd0352778d73555fc18f9b927706f841ae1
|
[
"MIT"
] | null | null | null |
"""Hermite Polynomials."""
from prysm.mathops import np
def hermite_He(n, x):
"""Probabilist's Hermite polynomial He of order n at points x.
Parameters
----------
n : int
polynomial order
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
numpy.ndarray
He_n(x)
"""
# note: A, B, C = 1, 0, n
# avoid a "recurrence_abc_He" function call on each loop to do these inline,
# and avoiding adding zero to an array (waste work)
if n == 0:
return np.ones_like(x)
if n == 1:
return x
# if n not in (0,1), then n >= 2
# standard three-term recurrence relation
# Pn+1 = (An x + Bn) Pn - Cn Pn-1
# notation here does Pn = (An-1 ...)
# Pnm2 = Pn-2
# Pnm1 = Pn-1
# i.e., starting from P2 = (A1 x + B1) P1 - C1 P0
#
# given that, we optimize P2 significantly by seeing that:
# P0 = 1
# A, B, C = 1, 0, n
# P2 = x P1 - 1
# -> P2 == x^2 - 1
P2 = x * x - 1
if n == 2:
return P2
Pnm2 = x
Pnm1 = P2
for nn in range(3, n+1):
# it would look like this without optimization
# Pn = (A * x + B) * Pnm1 - C * Pnm2
# A, B, C = 1, 0, n
Pn = x * Pnm1 - (nn-1) * Pnm2
Pnm2, Pnm1 = Pnm1, Pn
return Pn
def hermite_He_sequence(ns, x):
"""Probabilist's Hermite polynomials He of orders ns at points x.
Parameters
----------
ns : iterable of int
rising polynomial orders, assumed to be sorted
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
generator of numpy.ndarray
equivalent to array of shape (len(ns), len(x))
"""
# this function includes all the optimizations in the hermite_He func,
# but excludes the note comments. Read that first if you're looking for
# clarity
# see also: prysm.polynomials.jacobi.jacobi_sequence for the meta machinery
# in use here
ns = list(ns)
min_i = 0
if ns[min_i] == 0:
yield np.ones_like(x)
min_i += 1
if min_i == len(ns):
return
if ns[min_i] == 1:
yield x
min_i += 1
if min_i == len(ns):
return
P1 = x
P2 = x * x - 1
if ns[min_i] == 2:
yield P2
min_i += 1
if min_i == len(ns):
return
Pnm2, Pnm1 = P1, P2
max_n = ns[-1]
for nn in range(3, max_n+1):
Pn = x * Pnm1 - (nn-1) * Pnm2
Pnm2, Pnm1 = Pnm1, Pn
if ns[min_i] == nn:
yield Pn
min_i += 1
def hermite_He_der(n, x):
"""First derivative of He_n with respect to x, at points x.
Parameters
----------
n : int
polynomial order
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
numpy.ndarray
d/dx[He_n(x)]
"""
if n == 0:
return np.zeros_like(x)
return n * hermite_He(n-1, x)
def hermite_He_der_sequence(ns, x):
"""First derivative of He_[ns] with respect to x, at points x.
Parameters
----------
ns : iterable of int
rising polynomial orders, assumed to be sorted
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
generator of numpy.ndarray
equivalent to array of shape (len(ns), len(x))
"""
# this function includes all the optimizations in the hermite_He func,
# but excludes the note comments. Read that first if you're looking for
# clarity
# see also: prysm.polynomials.jacobi.jacobi_sequence for the meta machinery
# in use here
ns = list(ns)
min_i = 0
if ns[min_i] == 0:
yield np.zeros_like(x)
min_i += 1
if min_i == len(ns):
return
if ns[min_i] == 1:
yield np.ones_like(x)
min_i += 1
if min_i == len(ns):
return
P1 = x
P2 = x * x - 1
if ns[min_i] == 2:
yield 2 * x
min_i += 1
if min_i == len(ns):
return
Pnm2, Pnm1 = P1, P2
max_n = ns[-1]
for nn in range(3, max_n+1):
Pn = x * Pnm1 - (nn-1) * Pnm2
if ns[min_i] == nn:
yield nn * Pnm1
min_i += 1
Pnm2, Pnm1 = Pnm1, Pn
def hermite_H(n, x):
"""Physicist's Hermite polynomial H of order n at points x.
Parameters
----------
n : int
polynomial order
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
numpy.ndarray
H_n(x)
"""
if n == 0:
return np.ones_like(x)
if n == 1:
return 2 * x
# if n not in (0,1), then n >= 2
# standard three-term recurrence relation
# Pn+1 = (An x + Bn) Pn - Cn Pn-1
# notation here does Pn = (An-1 ...)
# Pnm2 = Pn-2
# Pnm1 = Pn-1
# i.e., starting from P2 = (A1 x + B1) P1 - C1 P0
#
# given that, we optimize P2 significantly by seeing that:
# P0 = 1
# A, B, C = 2, 0, 2n
# P2 = x P1 - 1
# -> P2 == 4^2 - 2
# another optimization: Ax == 2x == P1, so we compute that just once
x2 = 2 * x
P2 = 4 * (x * x) - 2
if n == 2:
return P2
Pnm2 = x2
Pnm1 = P2
for nn in range(3, n+1):
# it would look like this without optimization
# Pn = (A * x + B) * Pnm1 - C * Pnm2
# A, B, C = 2, 0, 2n
Pn = x2 * Pnm1 - (2 * (nn-1)) * Pnm2
Pnm2, Pnm1 = Pnm1, Pn
return Pn
def hermite_H_sequence(ns, x):
"""Physicist's Hermite polynomials H of orders ns at points x.
Parameters
----------
ns : iterable of int
rising polynomial orders, assumed to be sorted
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
generator of numpy.ndarray
equivalent to array of shape (len(ns), len(x))
"""
# this function includes all the optimizations in the hermite_He func,
# but excludes the note comments. Read that first if you're looking for
# clarity
# see also: prysm.polynomials.jacobi.jacobi_sequence for the meta machinery
# in use here
ns = list(ns)
min_i = 0
if ns[min_i] == 0:
yield np.ones_like(x)
min_i += 1
if min_i == len(ns):
return
x2 = 2 * x
if ns[min_i] == 1:
yield x2
min_i += 1
if min_i == len(ns):
return
P1 = x2
P2 = 4 * (x * x) - 2
if ns[min_i] == 2:
yield P2
min_i += 1
if min_i == len(ns):
return
Pnm2, Pnm1 = P1, P2
max_n = ns[-1]
for nn in range(3, max_n+1):
Pn = x2 * Pnm1 - (2*(nn-1)) * Pnm2
Pnm2, Pnm1 = Pnm1, Pn
if ns[min_i] == nn:
yield Pn
min_i += 1
def hermite_H_der(n, x):
"""First derivative of H_n with respect to x, at points x.
Parameters
----------
n : int
polynomial order
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
numpy.ndarray
d/dx[H_n(x)]
"""
if n == 0:
return np.zeros_like(x)
return 2 * n * hermite_H(n-1, x)
def hermite_H_der_sequence(ns, x):
"""First derivative of He_[ns] with respect to x, at points x.
Parameters
----------
ns : iterable of int
rising polynomial orders, assumed to be sorted
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-------
generator of numpy.ndarray
equivalent to array of shape (len(ns), len(x))
"""
# this function includes all the optimizations in the hermite_He func,
# but excludes the note comments. Read that first if you're looking for
# clarity
# see also: prysm.polynomials.jacobi.jacobi_sequence for the meta machinery
# in use here
ns = list(ns)
min_i = 0
if ns[min_i] == 0:
yield np.zeros_like(x)
min_i += 1
if min_i == len(ns):
return
if ns[min_i] == 1:
yield 2 * np.ones_like(x)
min_i += 1
if min_i == len(ns):
return
x2 = 2 * x
P1 = x2
P2 = 4 * (x * x) - 2
if ns[min_i] == 2:
yield 4 * P1
min_i += 1
if min_i == len(ns):
return
Pnm2, Pnm1 = P1, P2
max_n = ns[-1]
for nn in range(3, max_n+1):
Pn = x2 * Pnm1 - (2*(nn-1)) * Pnm2
if ns[min_i] == nn:
yield 2 * nn * Pnm1
min_i += 1
Pnm2, Pnm1 = Pnm1, Pn
| 22.356771
| 80
| 0.528014
| 1,327
| 8,585
| 3.339111
| 0.116805
| 0.043331
| 0.027082
| 0.028887
| 0.905665
| 0.894606
| 0.868427
| 0.868427
| 0.867524
| 0.84947
| 0
| 0.042058
| 0.354688
| 8,585
| 383
| 81
| 22.415144
| 0.757762
| 0.49668
| 0
| 0.855263
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.052632
| false
| 0
| 0.006579
| 0
| 0.217105
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
974287d09250c7455846f7bf454bd8478b6d7d1c
| 1,232
|
py
|
Python
|
lista2/Q1-Q14/Q7.py
|
AlexandrePeBrito/Python
|
79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0
|
[
"MIT"
] | null | null | null |
lista2/Q1-Q14/Q7.py
|
AlexandrePeBrito/Python
|
79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0
|
[
"MIT"
] | null | null | null |
lista2/Q1-Q14/Q7.py
|
AlexandrePeBrito/Python
|
79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0
|
[
"MIT"
] | null | null | null |
#Faça um Programa que leia três números e mostre o maior e o menor deles
num1 = int(input("Informe o primeiro numero: "))
num2 = int(input("Informe o segundo numero: "))
num3 = int(input("Informe o terceiro numero: "))
if((num1>num2)and(num1>num3)):
print("O Primeiro numero que tem o valor %.0f eh o maior dentre os 3 numeros."%num1)
if(num2<num3):
print("O Segundo numero que tem o valor %.0f eh o menor dentre os 3 numeros."%num2)
elif(num3<num2):
print("O Terceiro numero que tem o valor %.0f eh o menor dentre os 3 numeros."%num3)
elif((num2>num1)and(num2>num3)):
print("O Segundo numero que tem o valor %.0f eh o maior dentre os 3 numeros."%num2)
if(num1<num3):
print("O Primeiro numero que tem o valor %.0f eh o menor dentre os 3 numeros."%num1)
elif(num3<num1):
print("O Terceiro numero que tem o valor %.0f eh o menor dentre os 3 numeros."%num3)
else:
print("O Terceiro numero que tem o valor %.0f eh o maior dentre os 3 numeros."%num3)
if(num1<num2):
print("O Primeiro numero que tem o valor %.0f eh o menor dentre os 3 numeros."%num1)
elif(num2<num1):
print("O Segundo numero que tem o valor %.0f eh o menor dentre os 3 numeros."%num2)
| 51.333333
| 92
| 0.671266
| 220
| 1,232
| 3.759091
| 0.163636
| 0.065296
| 0.130593
| 0.141475
| 0.719468
| 0.704958
| 0.704958
| 0.704958
| 0.704958
| 0.704958
| 0
| 0.051706
| 0.215097
| 1,232
| 24
| 93
| 51.333333
| 0.803516
| 0.05763
| 0
| 0.285714
| 0
| 0
| 0.608958
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.428571
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
974779bebf3db40d2eca9dfa4c198763794ecb9c
| 11,937
|
py
|
Python
|
tests/ui_tests/test_mixed_ui_options.py
|
AKhodus/adcm
|
98dbf22af3f1c6afa94505e9acaff0ac4088a602
|
[
"Apache-2.0"
] | null | null | null |
tests/ui_tests/test_mixed_ui_options.py
|
AKhodus/adcm
|
98dbf22af3f1c6afa94505e9acaff0ac4088a602
|
[
"Apache-2.0"
] | null | null | null |
tests/ui_tests/test_mixed_ui_options.py
|
AKhodus/adcm
|
98dbf22af3f1c6afa94505e9acaff0ac4088a602
|
[
"Apache-2.0"
] | null | null | null |
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import allure
import pytest
from adcm_client.objects import ADCMClient
from adcm_pytest_plugin.utils import parametrize_by_data_subdirs
from tests.ui_tests.app.configuration import Configuration
from .utils import prepare_cluster_and_get_config, check_that_all_fields_and_groups_invisible
pytestmark = [pytest.mark.usefixtures("login_to_adcm_over_api")]
@allure.step("Check invisible and advanced for groups false for fields true")
def _check_invisible_and_advanced_for_groups_false_for_fields_true(sdk_client: ADCMClient, path, app):
_, config = prepare_cluster_and_get_config(sdk_client, path, app)
fields = config.get_field_groups()
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
group_names = config.get_group_elements()
assert group_names, group_names
config.show_advanced()
assert config.advanced
fields = config.get_field_groups()
group_names = config.get_group_elements()
assert group_names
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
@allure.step("Check that fields and groups visible only if advanced enabled")
def _check_groups_and_fields_visible_if_advanced_enabled(sdk_client: ADCMClient, path, app):
_, config = prepare_cluster_and_get_config(sdk_client, path, app)
fields = config.get_field_groups()
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
group_names = config.get_group_elements()
assert not group_names, group_names
config.show_advanced()
assert config.advanced
fields = config.get_field_groups()
group_names = config.get_group_elements()
assert group_names
for field in fields:
assert field.is_displayed(), field.get_attribute("class")
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_false_field_advanced_false_invisible_false")
def test_all_false(sdk_client_fs: ADCMClient, path, app_fs):
"""Check group and field ui options when advanced and invisible is false
Scenario:
1. Create cluster
2. Get list of fields
3. Check that 1 field is visible
4. Check that 1 group visible
5. Enable advanced
6. Check that 1 field is visible
7. Check that 1 group is visible
"""
bundle = sdk_client_fs.upload_from_fs(path)
cluster_name = path.split("/")[-1]
cluster = bundle.cluster_create(name=cluster_name)
config = Configuration(app_fs.driver, "{}/cluster/{}/config".format(app_fs.adcm.url, cluster.cluster_id))
groups = config.get_field_groups()
for group in groups:
assert group.is_displayed(), group.get_attribute("class")
group_names = config.get_group_elements()
with allure.step('Check that 1 field and 1 group is visible'):
assert len(group_names) == 1
assert group_names[0].text == cluster_name
assert group_names, group_names
config.show_advanced()
assert config.advanced
group_names = config.get_group_elements()
with allure.step('Check that 1 field and 1 group is visible'):
assert group_names, group_names
assert len(group_names) == 1
assert group_names[0].text == cluster_name
groups = config.get_field_groups()
for group in groups:
assert group.is_displayed(), group.get_attribute("class")
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_true_field_advanced_true_invisible_true")
def test_all_true(sdk_client_fs: ADCMClient, path, app_fs):
_, config = prepare_cluster_and_get_config(sdk_client_fs, path, app_fs)
groups = config.get_field_groups()
for group in groups:
assert not group.is_displayed(), group.get_attribute("class")
group_names = config.get_group_elements()
assert not group_names, group_names
config.show_advanced()
assert config.advanced
with allure.step('Check group and field ui options when advanced and invisible is true'):
groups = config.get_field_groups()
group_names = config.get_group_elements()
assert not group_names
for group in groups:
assert not group.is_displayed(), group.get_attribute("class")
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_false_field_advanced_true_invisible_true")
def test_groups_false_fields_true(sdk_client_fs: ADCMClient, path, app_fs):
"""Invisible and advanced for groups false for fields true."""
_check_invisible_and_advanced_for_groups_false_for_fields_true(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_true_field_advanced_false_invisible_false")
def test_groups_true_fields_false(sdk_client_fs: ADCMClient, path, app_fs):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_true_field_advanced_false_invisible_true")
def test_invisible_true_advanced_false(sdk_client_fs: ADCMClient, path, app_fs):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_false_field_advanced_true_invisible_false")
def test_invisible_false_advanced_true(sdk_client_fs: ADCMClient, path, app_fs):
"""Fields and groups visible only if advanced enabled."""
_check_groups_and_fields_visible_if_advanced_enabled(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_false_field_advanced_false_invisible_true")
def test_group_advanced_false_invisible_false_field_advanced_false_invisible_true(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Invisible and advanced for groups false for fields true"""
_check_invisible_and_advanced_for_groups_false_for_fields_true(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_false_field_advanced_true_invisible_false")
def test_group_advanced_false_invisible_false_field_advanced_true_invisible_false(
sdk_client_fs: ADCMClient, path, app_fs
):
_, config = prepare_cluster_and_get_config(sdk_client_fs, path, app_fs)
fields = config.get_field_groups()
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
group_names = config.get_group_elements()
assert group_names, group_names
config.show_advanced()
assert config.advanced
with allure.step('Check groups are visible always, field only if advanced enabled'):
fields = config.get_field_groups()
group_names = config.get_group_elements()
assert group_names
for field in fields:
assert field.is_displayed(), field.get_attribute("class")
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_true_field_advanced_false_invisible_false")
def test_group_advanced_false_invisible_true_field_advanced_false_invisible_false(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_true_field_advanced_true_invisible_false")
def test_group_advanced_false_invisible_true_field_advanced_true_invisible_false(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_false_invisible_true_field_advanced_true_invisible_true")
def test_group_advanced_false_invisible_true_field_advanced_true_invisible_true(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_false_field_advanced_false_invisible_false")
def test_group_advanced_true_invisible_false_field_advanced_false_invisible_false(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Fields and groups visible only if advanced enabled."""
_check_groups_and_fields_visible_if_advanced_enabled(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_false_field_advanced_false_invisible_true")
def test_group_advanced_true_invisible_false_field_advanced_false_invisible_true(
sdk_client_fs: ADCMClient, path, app_fs
):
_, config = prepare_cluster_and_get_config(sdk_client_fs, path, app_fs)
fields = config.get_field_groups()
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
group_names = config.get_group_elements()
assert not group_names, group_names
config.show_advanced()
assert config.advanced
with allure.step('Check that only group is visible if advanced enabled'):
fields = config.get_field_groups()
group_names = config.get_group_elements()
assert group_names
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_false_field_advanced_true_invisible_true")
def test_group_advanced_true_invisible_false_field_advanced_true_invisible_true(
sdk_client_fs: ADCMClient, path, app_fs
):
_, config = prepare_cluster_and_get_config(sdk_client_fs, path, app_fs)
fields = config.get_field_groups()
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
group_names = config.get_group_elements()
assert not group_names, group_names
config.show_advanced()
assert config.advanced
with allure.step('Check that group is visible with advanced option and field is invisible'):
fields = config.get_field_groups()
group_names = config.get_group_elements()
assert group_names
for field in fields:
assert not field.is_displayed(), field.get_attribute("class")
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_true_field_advanced_false_invisible_true")
def test_group_advanced_true_invisible_true_field_advanced_false_invisible_true(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
@parametrize_by_data_subdirs(__file__, "group_advanced_true_invisible_true_field_advanced_true_invisible_false")
def test_group_advanced_true_invisible_true_field_advanced_true_invisible_false(
sdk_client_fs: ADCMClient, path, app_fs
):
"""Invisible and advanced for groups true for fields false.
In this case no elements presented on page
"""
check_that_all_fields_and_groups_invisible(sdk_client_fs, path, app_fs)
| 44.375465
| 115
| 0.783195
| 1,694
| 11,937
| 5.068477
| 0.084416
| 0.046587
| 0.040997
| 0.047519
| 0.866993
| 0.860238
| 0.854647
| 0.850454
| 0.840904
| 0.832867
| 0
| 0.00236
| 0.148111
| 11,937
| 268
| 116
| 44.541045
| 0.841971
| 0.143085
| 0
| 0.707865
| 0
| 0
| 0.169716
| 0.115132
| 0
| 0
| 0
| 0
| 0.219101
| 1
| 0.101124
| false
| 0
| 0.033708
| 0
| 0.134831
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9752dcfddfc7819d1fc49d848538d725ec7890b0
| 4,249
|
py
|
Python
|
tests/test_Autoloader_update_inventory.py
|
Robpol86/tape_bulk_eject
|
13b49565d5180925938b1182469bafb2929e0648
|
[
"MIT"
] | 2
|
2018-03-08T21:49:06.000Z
|
2019-07-03T20:39:04.000Z
|
tests/test_Autoloader_update_inventory.py
|
Robpol86/tape_bulk_eject
|
13b49565d5180925938b1182469bafb2929e0648
|
[
"MIT"
] | 1
|
2016-01-06T22:10:33.000Z
|
2016-02-18T23:33:11.000Z
|
tests/test_Autoloader_update_inventory.py
|
Robpol86/tape_bulk_eject
|
13b49565d5180925938b1182469bafb2929e0648
|
[
"MIT"
] | 1
|
2019-06-30T19:07:14.000Z
|
2019-06-30T19:07:14.000Z
|
import StringIO
import pytest
from tape_bulk_eject import Autoloader, HandledError
def test_bad_html(monkeypatch, caplog):
def urlopen(_):
return StringIO.StringIO('This is not HTML.')
monkeypatch.setattr('urllib2.urlopen', urlopen)
autoloader = Autoloader('host', '', '')
with pytest.raises(HandledError):
autoloader.update_inventory()
log = caplog.records()[-1].message
assert log == 'Invalid HTML, found no regex matches.'
def test_bad_attrs(monkeypatch, caplog):
def urlopen(_):
html = '<img src="ign" onclick="from_to(slot1)"><center><img src="" title="" onclick="x">'
return StringIO.StringIO(html)
monkeypatch.setattr('urllib2.urlopen', urlopen)
autoloader = Autoloader('host', '', '')
with pytest.raises(HandledError):
autoloader.update_inventory()
log = caplog.records()[-1].message
assert log == 'Attribute "onclick" in img tag is invalid: x'
def test_valid(monkeypatch):
def urlopen(_):
html = """
<img src="ignore.me" title="ignore" onclick="from_to(slot1)" />
<center>
<img src="ignore_me.too" onclick="from_to(slot1)" />
<img src="tape.gif" title="00001FA" onclick="from_to(slot1)" />
<img src="tape.gif" title="00002FA" onclick="from_to(slot2)" />
<img src="tape.gif" title="00003FA" onclick="from_to(slot3)" />
<img src="tape.gif" title="00004FA" onclick="from_to(slot4)" />
<img src="tape.gif" title="00005FA" onclick="from_to(slot5)" />
<img src="tape.gif" title="00006FA" onclick="from_to(slot6)" />
<img src="tape.gif" title="00007FA" onclick="from_to(slot7)" />
<img src="tape.gif" title="00008FA" onclick="from_to(slot8)" />
<img src="tape.gif" title="000016FA" onclick="from_to(slot16)" />
<img src="tape.gif" title="000017FA" onclick="from_to(mailslot)" />
<img src="tape.gif" title="000018FA" onclick="from_to(picker)" />
<img src="tape.gif" title="000019FA" onclick="from_to(drive)" />
</center>
"""
return StringIO.StringIO(html)
monkeypatch.setattr('urllib2.urlopen', urlopen)
monkeypatch.setattr(Autoloader, 'DELAY', 0.01)
autoloader = Autoloader('host', '', '')
autoloader.update_inventory()
expected = {
'00001FA': '1',
'00002FA': '2',
'00003FA': '3',
'00004FA': '4',
'00005FA': '5',
'00006FA': '6',
'00007FA': '7',
'00008FA': '8',
'000016FA': '16',
'000019FA': 'drive',
'000018FA': 'picker',
'000017FA': 'mailslot',
}
assert autoloader.inventory == expected
def urlopen(_):
html = """
<center>
<img src="tape.gif" title="00001FA" onclick="from_to(slot1)" />
<img src="tape.gif" title="00002FA" onclick="from_to(slot2)" />
<img src="tape.gif" title="00003FA" onclick="from_to(slot3)" />
<img src="tape.gif" title="00004FA" onclick="from_to(slot4)" />
<img src="tape.gif" title="00005FA" onclick="from_to(slot5)" />
<img src="tape.gif" title="00006FA" onclick="from_to(slot6)" />
<img src="tape.gif" title="00007FA" onclick="from_to(slot7)" />
<img src="tape.gif" title="00008FA" onclick="from_to(slot8)" />
<img src="tape.gif" title="10016FA" onclick="from_to(slot16)" />
<img src="tape.gif" title="Empty" onclick="from_to(mailslot)" />
<img src="tape.gif" title="Empty" onclick="from_to(picker)" />
<img src="tape.gif" title="Empty" onclick="from_to(drive)" />
</center>
"""
return StringIO.StringIO(html)
monkeypatch.setattr('urllib2.urlopen', urlopen)
autoloader.update_inventory()
expected = {
'00001FA': '1',
'00002FA': '2',
'00003FA': '3',
'00004FA': '4',
'00005FA': '5',
'00006FA': '6',
'00007FA': '7',
'00008FA': '8',
'10016FA': '16',
}
assert autoloader.inventory == expected
| 39.342593
| 98
| 0.560367
| 468
| 4,249
| 4.995727
| 0.196581
| 0.071856
| 0.150128
| 0.133447
| 0.762618
| 0.745509
| 0.745509
| 0.719846
| 0.719846
| 0.609068
| 0
| 0.086733
| 0.267357
| 4,249
| 107
| 99
| 39.71028
| 0.664311
| 0
| 0
| 0.702128
| 0
| 0.010638
| 0.617322
| 0.15792
| 0
| 0
| 0
| 0
| 0.042553
| 1
| 0.074468
| false
| 0
| 0.031915
| 0.010638
| 0.148936
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9756fac96650732649ed769608ff66f725f28767
| 24,477
|
py
|
Python
|
src/api/datahub/access/tests/fixture/access.py
|
Chromico/bk-base
|
be822d9bbee544a958bed4831348185a75604791
|
[
"MIT"
] | 84
|
2021-06-30T06:20:23.000Z
|
2022-03-22T03:05:49.000Z
|
src/api/datahub/access/tests/fixture/access.py
|
Chromico/bk-base
|
be822d9bbee544a958bed4831348185a75604791
|
[
"MIT"
] | 7
|
2021-06-30T06:21:16.000Z
|
2022-03-29T07:36:13.000Z
|
src/api/datahub/access/tests/fixture/access.py
|
Chromico/bk-base
|
be822d9bbee544a958bed4831348185a75604791
|
[
"MIT"
] | 40
|
2021-06-30T06:21:26.000Z
|
2022-03-29T12:42:26.000Z
|
# -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
License for BK-BASE 蓝鲸基础平台:
--------------------------------------------------------------------
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
import pytest
from ...tests import db_helper
@pytest.fixture(scope="session")
def django_db_setup():
"""Avoid creating/setting up the test database"""
pass
@pytest.fixture()
def init_access():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_raw_data"
"(id,bk_biz_id, raw_data_name, raw_data_alias, data_source, data_scenario, bk_app_code,"
"storage_channel_id, created_by, updated_by, description, maintainer)"
'values (123,2,"test","test","business_server","db","bkdata",'
'1002,"admin","admin","","admin" '
");",
)
db_helper.execute(
cur,
"""insert into access_operation_log
(id,raw_data_id,args,created_by, updated_by, description, status)
values (1,123,"{}","admin","admin","","stopped");""",
)
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description)"
'values (1, 123, \'{"scope_config": {"paths": [{"path":["/tmp/*.log"], '
'"system":"linux"}]}, "module_scope": [{"bk_obj_id": '
'"xxxx", "bk_inst_id": 123}], "host_scope": [{"ip": "x.x.x.x",'
' "bk_cloud_id": 222}]}\','
' "incr", 0, null ,0 ,null, null, \'{"fields": [{"index": 1,'
' "logic_op": "and", "value": "111", "op": "=11111"}], "delimiter": "|"}\',"" '
");",
)
db_helper.insert(
cur,
"access_raw_data_task",
id=data_id,
task_id=1,
raw_data_id="123",
created_by="admin",
created_at="2019-01-01 00:00:00",
updated_by="admin",
updated_at="2019-01-01 00:00:00",
description="description",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data")
db_helper.execute(cur, "DELETE FROM access_operation_log")
db_helper.execute(cur, "DELETE FROM access_resource_info")
db_helper.execute(cur, "DELETE FROM access_raw_data_task")
@pytest.fixture()
def init_access_raw_data():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_raw_data"
"(id,bk_biz_id, raw_data_name, raw_data_alias, data_source, data_scenario, bk_app_code,"
"storage_channel_id, created_by, updated_by, description, maintainer)"
'values (123,2,"test","test","business_server","db","bkdata",'
'1002,"admin","admin","","admin" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data where id = 123")
@pytest.fixture()
def init_access_operation_log():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"""insert into access_operation_log
(id,raw_data_id,args,created_by, updated_by, description, status)
values (1,123,"{}","admin","admin","","success");""",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_operation_log")
@pytest.fixture
def init_access_raw_data_task():
data_id = 1
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.insert(
cur,
"access_raw_data_task",
id=data_id,
task_id=1,
raw_data_id="123",
created_by="admin",
created_at="2019-01-01 00:00:00",
updated_by="admin",
updated_at="2019-01-01 00:00:00",
description="description",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data_task where id = 1")
@pytest.fixture
def init_access_task():
data_id = 1
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.insert(
cur,
"access_task",
id=data_id,
data_scenario="db",
bk_biz_id=591,
deploy_plans="",
logs=u"INFO|2019-01-25 14:43:44|start",
logs_en="",
context="",
result="success",
action="deploy",
created_at="2019-01-01 00:00:00",
updated_by="admin",
created_by="admin",
updated_at="2019-01-01 00:00:00",
description="description",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_task where id = 1")
@pytest.fixture()
def init_tqos_zone_conf():
tqos_zone_id = 11
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_tqos_zone_config "
"(tqos_zone_id, tqos_zone_name, ip_set,description) "
'VALUES (11,"测试大区ID","x.x.x.x","测试大区ID");',
)
try:
yield tqos_zone_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_tqos_zone_config where tqos_zone_id = 11")
@pytest.fixture()
def init_db_access_raw_data():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_raw_data"
"(id,bk_biz_id, raw_data_name, raw_data_alias, data_source, data_scenario, bk_app_code,"
"storage_channel_id, created_by, updated_by, description, maintainer)"
'values (123,2,"test","test","business_server","log","bkdata",'
'1002,"admin","admin","","admin" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data where id = 123")
@pytest.fixture()
def init_script_access_raw_data():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_raw_data"
"(id,bk_biz_id, raw_data_name, raw_data_alias, data_source, data_scenario, bk_app_code,"
"storage_channel_id, created_by, updated_by, description, maintainer)"
'values (123,2,"test","test","business_server","script","bkdata",'
'1002,"admin","admin","","admin" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data where id = 123")
@pytest.fixture()
def init_http_access_raw_data():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_raw_data"
"(id,bk_biz_id, raw_data_name, raw_data_alias, data_source, data_scenario, bk_app_code,"
"storage_channel_id, created_by, updated_by, description, maintainer)"
'values (123,2,"test","test","business_server","http","bkdata",'
'1002,"admin","admin","","admin" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data where id = 123")
@pytest.fixture()
def init_log_access_raw_data():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_raw_data"
"(id, bk_biz_id, raw_data_name, raw_data_alias, data_source, data_encoding,"
"data_scenario, bk_app_code, storage_channel_id,"
"created_by, updated_by, description, maintainer)"
'values (123,2,"test","test","business_server", "gbk", "log","bkdata",'
'1002,"admin","admin","","admin" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_raw_data where id = 123")
@pytest.fixture()
def init_access_log_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description)"
'values (11, 123, \'{"scope_config": {"paths": [{"path":["/tmp/*.log"], '
'"system":"linux"}]}, "module_scope": [{"bk_obj_id": '
'"xxxx", "bk_inst_id": 123}], "host_scope": [{"ip": "x.x.x.x",'
' "bk_cloud_id": 222}]}\','
' "incr", 0, null ,0 ,null, null, \'{"fields": [{"index": 1,'
' "logic_op": "and", "value": "111", "op": "=11111"}], "delimiter": "|"}\',"" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_tqos_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description)"
'values (11, 123, \'{"scope_config": {"paths": [{"path":["/tmp/*.log"], '
'"system":"linux"}]}, "module_scope": [{"bk_obj_id": '
'"xxxx", "bk_inst_id": 123}], "host_scope": [{"ip": "x.x.x.x",'
' "bk_cloud_id": 222}]}\','
' "incr", 0, null ,0 ,null, null,null,"" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_ondition_format_error():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description)"
'values (11, 123, \'{"scope_config": {"paths": ["/tmp/*.log", "/tmp/*.l",'
' "/tmp/*.aaaz"]}, "module_scope": [{"bk_obj_id": "xxxx", '
'"bk_inst_id": 123}], "host_scope": [{"ip": "x.x.x.x",'
' "bk_cloud_id": 222}]}\','
' "incr", 0, null ,0 ,"yyyy-MM-dd HH:mm:ss", '
'null, \'{"fields": [{"inxxdex": 1, "logxic_op": "and",'
' "valxue": "111", "oxp": "=11111"}], "delimiter": "|"}\',"" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_time_db_resource_filter():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description )"
'values (11, 123, \'{"db_host": "x.x.x.x", '
'"db_port": 10000, "db_user": "user", "db_pass": "XXX",'
' "db_name": "bkdata_basic", "table_name": "access_db_info",'
' "db_type_id": 1}\','
' "time", 0, "create_at" ,0 ,"yyyy-MM-dd HH:mm:ss", 100, \'[{"key":"key","op":"="'
',"logic_op":"and","value":"val"}]\', ""'
");",
)
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description )"
'values (12, 123, \'{"db_host": "x.x.x.x", '
'"db_port": 10000, "db_user": "user", "db_pass": "XXX",'
' "db_name": "bkdata_basic", "table_name": "access_db_info",'
' "db_type_id": 1}\','
' "time", 0, "create_at" ,0 ,"yyyy-MM-dd HH:mm:ss", 100, \'[{"key":"key","op":"="'
',"logic_op":"and","value":"val"}]\', ""'
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id in (11,12)")
@pytest.fixture()
def init_access_script_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description )"
'values (11, 123, "",'
' "time", 0, "create_at" ,0 ,"yyyy-MM-dd HH:mm:ss", 100, "", ""'
");",
)
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description )"
'values (12, 123, "",'
' "time", 0, "create_at" ,0 ,"yyyy-MM-dd HH:mm:ss", 100, "", ""'
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id in (11,12)")
@pytest.fixture()
def init_access_pri_db_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions)"
'values (11, 123, \'{"db_host": "x.x.x.x", '
'"db_port": 10000, "db_user": "user", "db_pass": "pwd", '
'"db_name": "bkdata_basic", "table_name": "access_db_info",'
' "db_type_id": 1}\','
' "pri", 0, "pid" ,0 ,"", 100, "" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_all_db_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions)"
'values (11, 123, \'{"db_host": "x.x.x.x",'
' "db_port": 10000, "db_user": "user", "db_pass": "pwd", '
'"db_name": "bkdata_basic", "table_name": "access_db_info", '
'"db_type_id": 1}\','
' "all", 0, null ,0 ,"", 100, "" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_db_no_poll_type():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions)"
'values (11, 123, \'{"db_host": "x.x.x.x",'
' "db_port": 10000, "db_user": "user",'
'"db_pass": "pwd", "db_name": "bkdata_basic", '
'"table_name": "access_db_info", "db_type_id": 1}\','
' "unknow", 0, null ,0 ,"", 100, "" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
def clean_access_db_info():
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_db_info")
@pytest.fixture()
def init_access_get_http_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions, description)"
'values (11, 123, \'{"url": "http://xxx", "method": "get"}\','
' null, 0, "create_at" ,0 ,"yyyy-MM-dd HH:mm:ss", 100, "", "" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_post_http_resource():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"insert into access_resource_info"
"(id, raw_data_id, resource, collection_type, start_at, increment_field, period, time_format,"
"before_time, conditions)"
'values (11, 123, \'{"url": "http://xxx", "method": "post", "body":"x"}\','
' null, 0, "create_at" ,0 ,"yyyy-MM-dd HH:mm:ss", 100, "" '
");",
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_resource_info where id = 11")
@pytest.fixture()
def init_access_tlog():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_tlog_info "
"(id, raw_data_id, scope_type, scope_objects, scope_config, conditions, "
"created_by, updated_by, description) "
'VALUES (11, 123, "module", '
'\'[{"bk_obj_id": "set", "bk_inst_id": 123}, {"bk_obj_id": "module", "bk_inst_id": 321}]\', '
'\'{"paths": ["/tmp/*.log"]}\', '
'\'{"delimiter":"|","fields":[{"index":1,"op":"=","value":"111","logic_op":""}]}\', '
'"admin", "admin", "");',
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"""
DELETE FROM access_tlog_info WHERE id = %(data_id)s
""",
data_id=data_id,
)
@pytest.fixture()
def init_task_log():
type_id = 1
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_task "
"(id, data_scenario, bk_biz_id, deploy_plans, logs, logs_en, context, result, created_by, "
"description) "
'VALUES (100, "log", 591, "{}", "", "", "", "", "", "");',
)
try:
yield type_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_task where id = 100")
@pytest.fixture()
def init_log_type():
type_id = 1
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_host_config "
"(action, ip, data_scenario,operator, description) "
'VALUES ("package","x.x.x.x","log","admin","log接入host信息");',
)
try:
yield type_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_host_config")
@pytest.fixture()
def init_tlog_type():
type_id = 1
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_host_config "
"(action, ip, data_scenario,operator, description) "
'VALUES ("package","x.x.x.x","tlog","admin","tlog接入host信息");',
)
try:
yield type_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_host_config")
@pytest.fixture()
def init_access_log():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_log_info "
"(id, raw_data_id, scope_type, scope_objects, scope_config, conditions, "
"created_by, updated_by, description) "
'VALUES (999, 123, "module", '
'\'[{"bk_obj_id": "set", "bk_inst_id": 123}, {"bk_obj_id": "module", "bk_inst_id": 321}]\', '
'\'{"paths": ["/tmp/*.log"]}\', '
'\'{"delimiter":"|","fields":[{"fieldindex":1,"op":"=","word":"111","logic_op":""}]}\', '
'"admin", "admin", "");',
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"""
DELETE FROM access_log_info WHERE id = %(data_id)s
""",
data_id=data_id,
)
@pytest.fixture()
def init_access_log_end_with_patten():
data_id = 123
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(
cur,
"INSERT INTO access_log_info "
"(id, raw_data_id, scope_type, scope_objects, scope_config, conditions, "
"created_by, updated_by, description) "
'VALUES (999, 123, "module", '
'\'[{"bk_obj_id": "set", "bk_inst_id": 123}, {"bk_obj_id": "module", "bk_inst_id": 321}]\', '
'\'{"paths": ["/tmp/*.log*"]}\', '
'\'{"delimiter":"|","fields":[{"fieldindex":1,"op":"=","word":"111","logic_op":""}]}\', '
'"admin", "admin", "");',
)
try:
yield data_id
finally:
with db_helper.open_cursor("mapleleaf") as cur:
db_helper.execute(cur, "DELETE FROM access_log_info")
| 36.10177
| 111
| 0.567226
| 2,998
| 24,477
| 4.356237
| 0.096731
| 0.070444
| 0.066616
| 0.079939
| 0.858499
| 0.852067
| 0.848851
| 0.841271
| 0.837519
| 0.829556
| 0
| 0.030738
| 0.284921
| 24,477
| 677
| 112
| 36.155096
| 0.71542
| 0.057523
| 0
| 0.770318
| 0
| 0.010601
| 0.434228
| 0.035233
| 0
| 0
| 0
| 0
| 0
| 1
| 0.04947
| false
| 0.010601
| 0.003534
| 0
| 0.053004
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
977029b94deded3231dea257c689363167f5b914
| 224
|
py
|
Python
|
p0001/test_p0001.py
|
th3-z/euler
|
cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2
|
[
"MIT"
] | null | null | null |
p0001/test_p0001.py
|
th3-z/euler
|
cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2
|
[
"MIT"
] | null | null | null |
p0001/test_p0001.py
|
th3-z/euler
|
cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2
|
[
"MIT"
] | null | null | null |
from p0001 import mult35range
def test_mult35range():
assert sum(mult35range(0,1000)) == 233168
assert sum(mult35range(99,100)) == 99
assert sum(mult35range(0,100)) == 2318
assert sum(mult35range(0,1)) == 0
| 28
| 45
| 0.6875
| 31
| 224
| 4.935484
| 0.483871
| 0.235294
| 0.522876
| 0.411765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.243243
| 0.174107
| 224
| 7
| 46
| 32
| 0.583784
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.666667
| 1
| 0.166667
| true
| 0
| 0.166667
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
979bfe1038ba05e8dce925f73cc068565b73548f
| 32,206
|
py
|
Python
|
kapua-client/python-client/swagger_client/api/users_api.py
|
liang-faan/SmartIOT-Diec
|
8336a4b558295295f10a82cf350d8b7ff3fb9f5c
|
[
"MIT"
] | 5
|
2019-05-30T02:55:16.000Z
|
2020-03-03T14:18:23.000Z
|
kapua-client/python-client/swagger_client/api/users_api.py
|
liang-faan/SmartIOT-Diec
|
8336a4b558295295f10a82cf350d8b7ff3fb9f5c
|
[
"MIT"
] | 3
|
2019-12-27T00:53:23.000Z
|
2020-02-17T05:29:19.000Z
|
kapua-client/python-client/swagger_client/api/users_api.py
|
liang-faan/SmartIOT-Diec
|
8336a4b558295295f10a82cf350d8b7ff3fb9f5c
|
[
"MIT"
] | 4
|
2019-06-04T06:26:14.000Z
|
2021-01-07T04:25:32.000Z
|
# coding: utf-8
"""
Eclipse Kapua REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from swagger_client.api_client import ApiClient
class UsersApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def user_count(self, scope_id, body, **kwargs): # noqa: E501
"""Counts the Users # noqa: E501
Counts the Users with the given UserQuery parameter returning the number of matching Users # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_count(scope_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to count results (required)
:param UserQuery body: The UserQuery to use to filter count results (required)
:return: CountResult
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_count_with_http_info(scope_id, body, **kwargs) # noqa: E501
else:
(data) = self.user_count_with_http_info(scope_id, body, **kwargs) # noqa: E501
return data
def user_count_with_http_info(self, scope_id, body, **kwargs): # noqa: E501
"""Counts the Users # noqa: E501
Counts the Users with the given UserQuery parameter returning the number of matching Users # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_count_with_http_info(scope_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to count results (required)
:param UserQuery body: The UserQuery to use to filter count results (required)
:return: CountResult
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_count" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_count`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_count`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/xml', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/xml', 'application/json']) # noqa: E501
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users/_count', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CountResult', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_create(self, scope_id, body, **kwargs): # noqa: E501
"""Create an User # noqa: E501
Creates a new User based on the information provided in UserCreator parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_create(scope_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to create the User (required)
:param UserCreator body: Provides the information for the new User to be created (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_create_with_http_info(scope_id, body, **kwargs) # noqa: E501
else:
(data) = self.user_create_with_http_info(scope_id, body, **kwargs) # noqa: E501
return data
def user_create_with_http_info(self, scope_id, body, **kwargs): # noqa: E501
"""Create an User # noqa: E501
Creates a new User based on the information provided in UserCreator parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_create_with_http_info(scope_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to create the User (required)
:param UserCreator body: Provides the information for the new User to be created (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_create" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_create`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_create`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/xml', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/xml', 'application/json']) # noqa: E501
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_delete(self, scope_id, user_id, **kwargs): # noqa: E501
"""Delete an User # noqa: E501
Deletes the User specified by the \"userId\" path parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_delete(scope_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId of the User to delete. (required)
:param str user_id: The id of the User to be deleted (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_delete_with_http_info(scope_id, user_id, **kwargs) # noqa: E501
else:
(data) = self.user_delete_with_http_info(scope_id, user_id, **kwargs) # noqa: E501
return data
def user_delete_with_http_info(self, scope_id, user_id, **kwargs): # noqa: E501
"""Delete an User # noqa: E501
Deletes the User specified by the \"userId\" path parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_delete_with_http_info(scope_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId of the User to delete. (required)
:param str user_id: The id of the User to be deleted (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_delete" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_delete`") # noqa: E501
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `user_delete`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
if 'user_id' in params:
path_params['userId'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users/{userId}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_find(self, scope_id, user_id, **kwargs): # noqa: E501
"""Get an User # noqa: E501
Returns the User specified by the \"userId\" path parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_find(scope_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId of the requested User. (required)
:param str user_id: The id of the requested User (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_find_with_http_info(scope_id, user_id, **kwargs) # noqa: E501
else:
(data) = self.user_find_with_http_info(scope_id, user_id, **kwargs) # noqa: E501
return data
def user_find_with_http_info(self, scope_id, user_id, **kwargs): # noqa: E501
"""Get an User # noqa: E501
Returns the User specified by the \"userId\" path parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_find_with_http_info(scope_id, user_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId of the requested User. (required)
:param str user_id: The id of the requested User (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'user_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_find" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_find`") # noqa: E501
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `user_find`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
if 'user_id' in params:
path_params['userId'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/xml']) # noqa: E501
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users/{userId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_query(self, scope_id, body, **kwargs): # noqa: E501
"""Queries the Users # noqa: E501
Queries the Users with the given UserQuery parameter returning all matching Users # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_query(scope_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to search results. (required)
:param UserQuery body: The UserQuery to use to filter results. (required)
:return: UserListResult
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_query_with_http_info(scope_id, body, **kwargs) # noqa: E501
else:
(data) = self.user_query_with_http_info(scope_id, body, **kwargs) # noqa: E501
return data
def user_query_with_http_info(self, scope_id, body, **kwargs): # noqa: E501
"""Queries the Users # noqa: E501
Queries the Users with the given UserQuery parameter returning all matching Users # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_query_with_http_info(scope_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to search results. (required)
:param UserQuery body: The UserQuery to use to filter results. (required)
:return: UserListResult
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_query" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_query`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_query`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/xml', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/xml', 'application/json']) # noqa: E501
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users/_query', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserListResult', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_simple_query(self, scope_id, **kwargs): # noqa: E501
"""Gets the User list in the scope # noqa: E501
Returns the list of all the users associated to the current selected scope. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_simple_query(scope_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to search results. (required)
:param str name: The user name to filter results.
:param int offset: The result set offset.
:param int limit: The result set limit.
:return: UserListResult
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_simple_query_with_http_info(scope_id, **kwargs) # noqa: E501
else:
(data) = self.user_simple_query_with_http_info(scope_id, **kwargs) # noqa: E501
return data
def user_simple_query_with_http_info(self, scope_id, **kwargs): # noqa: E501
"""Gets the User list in the scope # noqa: E501
Returns the list of all the users associated to the current selected scope. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_simple_query_with_http_info(scope_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId in which to search results. (required)
:param str name: The user name to filter results.
:param int offset: The result set offset.
:param int limit: The result set limit.
:return: UserListResult
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'name', 'offset', 'limit'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_simple_query" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_simple_query`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
query_params = []
if 'name' in params:
query_params.append(('name', params['name'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
if 'limit' in params:
query_params.append(('limit', params['limit'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/xml']) # noqa: E501
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserListResult', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_update(self, scope_id, user_id, body, **kwargs): # noqa: E501
"""Update an User # noqa: E501
Updates a new User based on the information provided in the User parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_update(scope_id, user_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId of the requested User. (required)
:param str user_id: The id of the requested User (required)
:param User body: The modified User whose attributes needs to be updated (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_update_with_http_info(scope_id, user_id, body, **kwargs) # noqa: E501
else:
(data) = self.user_update_with_http_info(scope_id, user_id, body, **kwargs) # noqa: E501
return data
def user_update_with_http_info(self, scope_id, user_id, body, **kwargs): # noqa: E501
"""Update an User # noqa: E501
Updates a new User based on the information provided in the User parameter. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_update_with_http_info(scope_id, user_id, body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str scope_id: The ScopeId of the requested User. (required)
:param str user_id: The id of the requested User (required)
:param User body: The modified User whose attributes needs to be updated (required)
:return: User
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['scope_id', 'user_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_update" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'scope_id' is set
if ('scope_id' not in params or
params['scope_id'] is None):
raise ValueError("Missing the required parameter `scope_id` when calling `user_update`") # noqa: E501
# verify the required parameter 'user_id' is set
if ('user_id' not in params or
params['user_id'] is None):
raise ValueError("Missing the required parameter `user_id` when calling `user_update`") # noqa: E501
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_update`") # noqa: E501
collection_formats = {}
path_params = {}
if 'scope_id' in params:
path_params['scopeId'] = params['scope_id'] # noqa: E501
if 'user_id' in params:
path_params['userId'] = params['user_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/xml', 'application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/xml', 'application/json']) # noqa: E501
# Authentication setting
auth_settings = ['kapuaAccessToken'] # noqa: E501
return self.api_client.call_api(
'/{scopeId}/users/{userId}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='User', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 41.289744
| 120
| 0.609855
| 3,891
| 32,206
| 4.82678
| 0.051915
| 0.05069
| 0.020872
| 0.026836
| 0.964379
| 0.958948
| 0.956871
| 0.948565
| 0.945956
| 0.944625
| 0
| 0.016172
| 0.299199
| 32,206
| 779
| 121
| 41.342747
| 0.81595
| 0.350556
| 0
| 0.804762
| 1
| 0
| 0.201007
| 0.030265
| 0
| 0
| 0
| 0
| 0
| 1
| 0.035714
| false
| 0
| 0.009524
| 0
| 0.097619
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c13f47790a54888e3446fe3e754a740ee8912178
| 34,255
|
py
|
Python
|
pyswmm/lidlayers.py
|
kmmacro/pyswmm
|
028fc9a2c731bed4129ee100e295900d989867fd
|
[
"BSD-2-Clause"
] | 186
|
2015-06-12T13:24:02.000Z
|
2022-03-24T10:19:43.000Z
|
pyswmm/lidlayers.py
|
kmmacro/pyswmm
|
028fc9a2c731bed4129ee100e295900d989867fd
|
[
"BSD-2-Clause"
] | 256
|
2015-02-16T02:47:20.000Z
|
2022-03-18T16:08:09.000Z
|
pyswmm/lidlayers.py
|
kmmacro/pyswmm
|
028fc9a2c731bed4129ee100e295900d989867fd
|
[
"BSD-2-Clause"
] | 99
|
2015-01-11T17:06:44.000Z
|
2022-03-15T09:26:44.000Z
|
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2018 Jennifer Wu
#
# Licensed under the terms of the BSD2 License
# See LICENSE.txt for details
# -----------------------------------------------------------------------------
from pyswmm.toolkitapi import LidLayers, LidLayersProperty
class Surface(object):
"""
+--------------------+--------------------+--------------------+--------------------+
| Layer | Parameter | Setter Before Sim | Setter During Sim |
+====================+====================+====================+====================+
| Surface | thickness | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Surface | void_fraction | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Surface | roughness | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Surface | slope | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Surface | side_slope | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Surface | alpha | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
"""
def __init__(self, model, lidcontrol):
self._model = model
self._lidcontrol = lidcontrol
self._lidcontrolid = lidcontrol._lidcontrolid
@property
def thickness(self):
"""
Get lid control surface layer thickness
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.thickness.value)
@thickness.setter
def thickness(self, param):
"""Set lid control surface layer thickness"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.thickness.value,
param)
@property
def void_fraction(self):
"""
Get lid control surface layer available fraction of storage volume
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.voidFrac.value)
@void_fraction.setter
def void_fraction(self, param):
"""Set lid control surface layer available fraction of storage volume"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.voidFrac.value,
param)
@property
def roughness(self):
"""
Get lid control surface layer surface Mannings n
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.roughness.value)
@roughness.setter
def roughness(self, param):
"""Set lid control surface layer surface Mannings n"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.roughness.value,
param)
@property
def slope(self):
"""
Get lid control surface layer land surface slope (fraction)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.surfSlope.value)
@slope.setter
def slope(self, param):
"""Set lid control surface layer land surface slope (fraction)"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.surfSlope.value,
param)
@property
def side_slope(self):
"""
Get lid control surface layer swale side slope (run/rise)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.sideSlope.value)
@side_slope.setter
def side_slope(self, param):
"""Set lid control surface layer swale side slope (run/rise)"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.sideSlope.value,
param)
@property
def alpha(self):
"""
Get lid control surface layer swale side slope (run/rise)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.surface.value,
LidLayersProperty.alpha.value)
class Soil(object):
"""
+--------------------+--------------------+--------------------+--------------------+
| Layer | Parameter | Setter Before Sim | Setter During Sim |
+====================+====================+====================+====================+
| Soil | thickness | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Soil | porosity | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Soil | field_capacity | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Soil | wilting_point | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Soil | k_saturated | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Soil | k_slope | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Soil | suction_head | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
"""
def __init__(self, model, lidcontrol):
self._model = model
self._lidcontrol = lidcontrol
self._lidcontrolid = lidcontrol._lidcontrolid
@property
def thickness(self):
"""
Get lid control soil layer thickness
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.thickness.value)
@thickness.setter
def thickness(self, param):
"""Set lid control soil layer thickness """
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.thickness.value,
param)
@property
def porosity(self):
"""
Get lid control soil layer void volume / total volume
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.porosity.value)
@porosity.setter
def porosity(self, param):
"""Set lid control soil layer void volume / total volume"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.porosity.value,
param)
@property
def field_capacity(self):
"""
Get lid control soil layer field capacity
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.fieldCap.value)
@field_capacity.setter
def field_capacity(self, param):
"""Set lid control soil layer field capacity"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.fieldCap.value,
param)
@property
def wilting_point(self):
"""
Get lid control soil layer wilting point
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.wiltPoint.value)
@wilting_point.setter
def wilting_point(self, param):
"""Set lid control soil layer wilting point"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.wiltPoint.value,
param)
@property
def k_saturated(self):
"""
Get lid control soil layer saturated hydraulic conductivity
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.kSat.value)
@k_saturated.setter
def k_saturated(self, param):
"""Set lid control soil layer saturated hydraulic conductivity"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.kSat.value,
param)
@property
def k_slope(self):
"""
Get lid control soil layer slope of log(k) v. moisture content curve
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.kSlope.value)
@k_slope.setter
def k_slope(self, param):
"""Set lid control soil layer slope of log(k) v. moisture content curve"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.kSlope.value,
param)
@property
def suction_head(self):
"""
Get lid control soil layer suction head at wetting front
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.suction.value)
@suction_head.setter
def suction_head(self, param):
"""Set lid control soil layer suction head at wetting front"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.soil.value,
LidLayersProperty.suction.value,
param)
class Storage(object):
"""
+--------------------+--------------------+--------------------+--------------------+
| Layer | Parameter | Setter Before Sim | Setter During Sim |
+====================+====================+====================+====================+
| Storage | thickness | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Storage | void_fraction | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Storage | k_saturated | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Storage | clog_factor | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
"""
def __init__(self, model, lidcontrol):
self._model = model
self._lidcontrol = lidcontrol
self._lidcontrolid = lidcontrol._lidcontrolid
@property
def thickness(self):
"""
Get lid control storage layer thickness
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.thickness.value)
@thickness.setter
def thickness(self, param):
"""Set lid control storage layer thickness"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.thickness.value,
param)
@property
def void_fraction(self):
"""
Get lid control storage layer void volume / total volume
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.voidFrac.value)
@void_fraction.setter
def void_fraction(self, param):
"""Set lid control storage layer void volume / total volume"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.voidFrac.value,
param)
@property
def k_saturated(self):
"""
Get lid control storage layer saturated hydraulic conductivity
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.kSat.value)
@k_saturated.setter
def k_saturated(self, param):
"""Set lid control storage layer saturated hydraulic conductivity"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.kSat.value,
param)
@property
def clog_factor(self):
"""
Get lid control storage layer clogging factor
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.clogFactor.value)
@clog_factor.setter
def clog_factor(self, param):
"""Set lid control storage layer clogging factor"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.storage.value,
LidLayersProperty.clogFactor.value,
param)
class Pavement(object):
"""
+--------------------+--------------------+--------------------+--------------------+
| Layer | Parameter | Setter Before Sim | Setter During Sim |
+====================+====================+====================+====================+
| Pavement | thickness | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Pavement | void_fraction | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Pavement | impervious_fraction| enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Pavement | k_saturated | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Pavement | clog_factor | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Pavement | regeneration | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| Pavement | regeneration_degree| enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
"""
def __init__(self, model, lidcontrol):
self._model = model
self._lidcontrol = lidcontrol
self._lidcontrolid = lidcontrol._lidcontrolid
@property
def thickness(self):
"""
Get lid control pavement layer thickness
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.thickness.value)
@thickness.setter
def thickness(self, param):
"""Get lid control pavement layer thickness"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.thickness.value,
param)
@property
def void_fraction(self):
"""
Get lid control pavement layer void volume / total volume
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.voidFrac.value)
@void_fraction.setter
def void_fraction(self, param):
"""Set lid control pavement layer void volume / total volume"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.voidFrac.value,
param)
@property
def impervious_fraction(self):
"""
Get lid control pavement layer impervious area fraction
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.impervFrac.value)
@impervious_fraction.setter
def impervious_fraction(self, param):
"""Set lid control pavement layer impervious area fraction"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.impervFrac.value,
param)
@property
def k_saturated(self):
"""
Get lid control pavement layer permeability
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.kSat.value)
@k_saturated.setter
def k_saturated(self, param):
"""Get lid control pavement layer permeability """
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.kSat.value,
param)
@property
def clog_factor(self):
"""
Get lid control pavement layer clogging factor
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.clogFactor.value)
@clog_factor.setter
def clog_factor(self, param):
"""Get lid control pavement layer clogging factor"""
return self._model.setLidCParam(self._sim._isStarted,
self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.clogFactor.value,
param)
@property
def regeneration(self):
"""
Get lid control pavement layer clogging regeneration interval (days)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.regenDays.value)
@regeneration.setter
def regeneration(self, param):
"""Get lid control pavement layer clogging regeneration interval (days)"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.regenDays.value,
param)
@property
def regeneration_degree(self):
"""
Get lid control pavement layer clogging regeneration degree
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.regenDegree.value)
@regeneration_degree.setter
def regeneration_degree(self, param):
"""Get lid control pavement layer clogging regeneration degree"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.pavement.value,
LidLayersProperty.regenDegree.value,
param)
class Drain(object):
"""
+--------------------+--------------------+--------------------+--------------------+
| Layer | Parameter | Setter Before Sim | Setter During Sim |
+====================+====================+====================+====================+
| Drain | coefficient | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Drain | exponent | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Drain | offset | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Drain | delay | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Drain | open_head | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| Drain | close_head | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
"""
def __init__(self, model, lidcontrol):
self._model = model
self._lidcontrol = lidcontrol
self._lidcontrolid = lidcontrol._lidcontrolid
@property
def coefficient(self):
"""
Get lid control drain layer underdrain flow coefficient
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.coeff.value)
@coefficient.setter
def coefficient(self, param):
"""Set lid control drain layer underdrain flow coefficient"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.coeff.value,
param)
@property
def exponent(self):
"""
Get lid control drain layer underdrain head exponent
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.expon.value)
@exponent.setter
def exponent(self, param):
"""Set lid control drain layer underdrain head exponent"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.expon.value,
param)
@property
def offset(self):
"""
Get lid control drain layer offset height of underdrain
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.offset.value)
@offset.setter
def offset(self, param):
"""Set lid control drain layer offset height of underdrain"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.offset.value,
param)
@property
def delay(self):
"""
Get lid control drain layer rain barrel drain delay time (sec)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.delay.value)
@delay.setter
def delay(self, param):
"""Set lid control drain layer rain barrel drain delay time (sec)"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.delay.value,
param)
@property
def open_head(self):
"""
Get lid control drain layer head when drain opens (ft)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.hOpen.value)
@open_head.setter
def open_head(self, param):
"""Set lid control drain layer head when drain opens (ft)"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.hOpen.value,
param)
@property
def close_head(self):
"""
Get lid control drain layer head when drain closes (ft)
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.hClose.value)
@close_head.setter
def close_head(self, param):
"""Set lid control drain layer drain closes (ft)"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drain.value,
LidLayersProperty.hClose.value,
param)
class DrainMat(object):
"""
+--------------------+--------------------+--------------------+--------------------+
| Layer | Parameter | Setter Before Sim | Setter During Sim |
+====================+====================+====================+====================+
| DrainMat | thickness | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| DrainMat | void_fraction | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
| DrainMat | roughness | enabled | enabled |
+--------------------+--------------------+--------------------+--------------------+
| DrainMat | alpha | enabled | disabled |
+--------------------+--------------------+--------------------+--------------------+
"""
def __init__(self, model, lidcontrol):
self._model = model
self._lidcontrol = lidcontrol
self._lidcontrolid = lidcontrol._lidcontrolid
@property
def thickness(self):
"""
Get lid control drainmat layer thickness
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.thickness.value)
@thickness.setter
def thickness(self, param):
"""Set lid control drainmat layer thickness"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.thickness.value,
param)
@property
def void_fraction(self):
"""
Get lid control drainmat layer void volume / total volume
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.voidFrac.value)
@void_fraction.setter
def void_fraction(self, param):
"""Set lid control drainmat layer void volume / total volume"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.voidFrac.value,
param)
@property
def roughness(self):
"""
Get lid control drainmat layer Mannings n for green roof drainage mats
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.roughness.value)
@roughness.setter
def roughness(self, param):
"""Set lid control drainmat layer Mannings n for green roof drainage mats"""
return self._model.setLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.roughness.value,
param)
@property
def alpha(self):
"""
Get lid control drainmat layer slope/roughness term in Manning equation
:return: Parameter Value
:rtype: double
"""
return self._model.getLidCParam(self._lidcontrolid,
LidLayers.drainMat.value,
LidLayersProperty.alpha.value)
| 41.77439
| 89
| 0.432316
| 2,273
| 34,255
| 6.403432
| 0.063792
| 0.048231
| 0.068018
| 0.039711
| 0.867262
| 0.862384
| 0.85572
| 0.823772
| 0.74799
| 0.692546
| 0
| 0.000287
| 0.390337
| 34,255
| 819
| 90
| 41.825397
| 0.696658
| 0.369056
| 0
| 0.774112
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.182741
| false
| 0
| 0.002538
| 0
| 0.36802
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
a9b6765c1213c1a28cbaa18d03a0f87f3016764a
| 816
|
py
|
Python
|
Hangman drawings.py
|
Chief-kith/Pringles
|
1490c9449588452c8464094d605d97794369b3e7
|
[
"CC0-1.0"
] | null | null | null |
Hangman drawings.py
|
Chief-kith/Pringles
|
1490c9449588452c8464094d605d97794369b3e7
|
[
"CC0-1.0"
] | null | null | null |
Hangman drawings.py
|
Chief-kith/Pringles
|
1490c9449588452c8464094d605d97794369b3e7
|
[
"CC0-1.0"
] | null | null | null |
HANGMAN = (
"""
-----
| |
|
|
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
|
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| -+-
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-\
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-\
| |
|
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-\
| |
| |
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-\
| |
| |
| |
|
|
--------
""",
"""
-----
| |
| 0
| /-+-\
| |
| |
| |
| |
|
--------
""",
"""
-----
| |
| 0
| /-+-\
| |
| |
| | |
| |
|
--------
""",
"""
-----
| |
| 0
| /-+-\
| |
| |
| | |
| | |
|
--------
""")
| 6.089552
| 12
| 0.020833
| 11
| 816
| 1.545455
| 0.181818
| 1.058824
| 1.411765
| 1.647059
| 0.588235
| 0.588235
| 0.588235
| 0.588235
| 0.588235
| 0
| 0
| 0.024938
| 0.508578
| 816
| 134
| 13
| 6.089552
| 0.017456
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e71a96de81fedf59936796923ed3df77c3fec33c
| 4,579
|
py
|
Python
|
tests/test_likenumpy.py
|
kgizdov/awkward-0.x
|
11953017a5495527169d3a031a5e866904d824a2
|
[
"BSD-3-Clause"
] | 224
|
2018-07-01T00:28:27.000Z
|
2020-11-16T11:00:25.000Z
|
tests/test_likenumpy.py
|
kgizdov/awkward-0.x
|
11953017a5495527169d3a031a5e866904d824a2
|
[
"BSD-3-Clause"
] | 196
|
2018-07-12T06:48:42.000Z
|
2020-11-01T17:18:51.000Z
|
tests/test_likenumpy.py
|
kgizdov/awkward-0.x
|
11953017a5495527169d3a031a5e866904d824a2
|
[
"BSD-3-Clause"
] | 42
|
2018-06-28T11:36:55.000Z
|
2020-10-23T03:24:31.000Z
|
#!/usr/bin/env python
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-0.x/blob/master/LICENSE
import unittest
import numpy
import awkward0
class Test(unittest.TestCase):
def runTest(self):
pass
def test_likenumpy_slices(self):
print()
np = numpy.array([[1, 10, 100], [2, 20, 200], [3, 30, 300]])
aw = awkward0.fromiter(np)
assert np.tolist() == aw.tolist()
assert np[:2].tolist() == aw[:2].tolist()
assert np[:2, :2].tolist() == aw[:2, :2].tolist()
assert np[:2, 2].tolist() == aw[:2, 2].tolist()
assert np[2, :2].tolist() == aw[2, :2].tolist()
assert np[:2, [0, 1]].tolist() == aw[:2, [0, 1]].tolist()
assert np[[0, 1], :2].tolist() == aw[[0, 1], :2].tolist()
assert np[:2, [0, 1, 2]].tolist() == aw[:2, [0, 1, 2]].tolist()
assert np[[0, 1, 2], :2].tolist() == aw[[0, 1, 2], :2].tolist()
assert np[[0, 1], [0, 1]].tolist() == aw[[0, 1], [0, 1]].tolist()
assert np[[0, 1, 2], [0, 1, 2]].tolist() == aw[[0, 1, 2], [0, 1, 2]].tolist()
assert np[:2, [True, False, True]].tolist() == aw[:2, [True, False, True]].tolist()
assert np[[True, False, True], :2].tolist() == aw[[True, False, True], :2].tolist()
assert np[[True, False, True], [True, False, True]].tolist() == aw[[True, False, True], [True, False, True]].tolist()
np = numpy.array([[[1, 10, 100], [2, 20, 200], [3, 30, 300]], [[4, 40, 400], [5, 50, 500], [6, 60, 600]], [[7, 70, 700], [8, 80, 800], [9, 90, 900]]])
aw = awkward0.fromiter(np)
assert np.tolist() == aw.tolist()
assert np[:2].tolist() == aw[:2].tolist()
assert np[:2, :2].tolist() == aw[:2, :2].tolist()
assert np[:2, 2].tolist() == aw[:2, 2].tolist()
assert np[2, :2].tolist() == aw[2, :2].tolist()
assert np[:2, [0, 1]].tolist() == aw[:2, [0, 1]].tolist()
assert np[[0, 1], :2].tolist() == aw[[0, 1], :2].tolist()
assert np[:2, [0, 1, 2]].tolist() == aw[:2, [0, 1, 2]].tolist()
assert np[[0, 1, 2], :2].tolist() == aw[[0, 1, 2], :2].tolist()
assert np[[0, 1], [0, 1]].tolist() == aw[[0, 1], [0, 1]].tolist()
assert np[[0, 1, 2], [0, 1, 2]].tolist() == aw[[0, 1, 2], [0, 1, 2]].tolist()
assert np[:2, [True, False, True]].tolist() == aw[:2, [True, False, True]].tolist()
assert np[[True, False, True], :2].tolist() == aw[[True, False, True], :2].tolist()
assert np[[True, False, True], [True, False, True]].tolist() == aw[[True, False, True], [True, False, True]].tolist()
assert np[:2, :2, 0].tolist() == aw[:2, :2, 0].tolist()
assert np[:2, 2, 0].tolist() == aw[:2, 2, 0].tolist()
assert np[2, :2, 0].tolist() == aw[2, :2, 0].tolist()
assert np[:2, [0, 1], 0].tolist() == aw[:2, [0, 1], 0].tolist()
assert np[[0, 1], :2, 0].tolist() == aw[[0, 1], :2, 0].tolist()
assert np[:2, [0, 1, 2], 0].tolist() == aw[:2, [0, 1, 2], 0].tolist()
assert np[[0, 1, 2], :2, 0].tolist() == aw[[0, 1, 2], :2, 0].tolist()
assert np[[0, 1], [0, 1], 0].tolist() == aw[[0, 1], [0, 1], 0].tolist()
assert np[[0, 1, 2], [0, 1, 2], 0].tolist() == aw[[0, 1, 2], [0, 1, 2], 0].tolist()
assert np[:2, [True, False, True], 0].tolist() == aw[:2, [True, False, True], 0].tolist()
assert np[[True, False, True], :2, 0].tolist() == aw[[True, False, True], :2, 0].tolist()
assert np[[True, False, True], [True, False, True], 0].tolist() == aw[[True, False, True], [True, False, True], 0].tolist()
assert np[:2, :2, 1].tolist() == aw[:2, :2, 1].tolist()
assert np[:2, 2, 1].tolist() == aw[:2, 2, 1].tolist()
assert np[2, :2, 1].tolist() == aw[2, :2, 1].tolist()
assert np[:2, [0, 1], 1].tolist() == aw[:2, [0, 1], 1].tolist()
assert np[[0, 1], :2, 1].tolist() == aw[[0, 1], :2, 1].tolist()
assert np[:2, [0, 1, 2], 1].tolist() == aw[:2, [0, 1, 2], 1].tolist()
assert np[[0, 1, 2], :2, 1].tolist() == aw[[0, 1, 2], :2, 1].tolist()
assert np[[0, 1], [0, 1], 1].tolist() == aw[[0, 1], [0, 1], 1].tolist()
assert np[[0, 1, 2], [0, 1, 2], 1].tolist() == aw[[0, 1, 2], [0, 1, 2], 1].tolist()
assert np[:2, [True, False, True], 1].tolist() == aw[:2, [True, False, True], 1].tolist()
assert np[[True, False, True], :2, 1].tolist() == aw[[True, False, True], :2, 1].tolist()
assert np[[True, False, True], [True, False, True], 1].tolist() == aw[[True, False, True], [True, False, True], 1].tolist()
| 57.962025
| 158
| 0.481109
| 754
| 4,579
| 2.919098
| 0.088859
| 0.058155
| 0.318037
| 0.177192
| 0.894139
| 0.894139
| 0.844162
| 0.752385
| 0.665152
| 0.607906
| 0
| 0.109531
| 0.232365
| 4,579
| 78
| 159
| 58.705128
| 0.516643
| 0.023586
| 0
| 0.46875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.8125
| 1
| 0.03125
| false
| 0.015625
| 0.046875
| 0
| 0.09375
| 0.015625
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
e72b38dc0ffb26d33e89fe5da8d51fd9b287e94f
| 4,465
|
py
|
Python
|
templates/handlers.py
|
hubenchang0515/AutoCRUD
|
0a8b9a59506dac4f6118fd6d7404d02aa8b09481
|
[
"MIT"
] | null | null | null |
templates/handlers.py
|
hubenchang0515/AutoCRUD
|
0a8b9a59506dac4f6118fd6d7404d02aa8b09481
|
[
"MIT"
] | null | null | null |
templates/handlers.py
|
hubenchang0515/AutoCRUD
|
0a8b9a59506dac4f6118fd6d7404d02aa8b09481
|
[
"MIT"
] | null | null | null |
###########################################
# Generated by AutoCRUD #
# #
# This file is used to create public #
# handlers #
###########################################
from flask import Flask, request, jsonify
from common import app, db, getJson
from .methods import *
@app.route("/api/{{MODULE_NAME.lower()}}/create", methods=["POST"])
def handler_create_{{MODULE_NAME}}():
try:
json = getJson()
{%- for COLUMN in COLUMNS %}
{{ COLUMN["name"] }} = json['{{COLUMN["name"]}}']
{%- endfor %}
ret = create_{{MODULE_NAME}}(
{%- for COLUMN in COLUMNS %}
{{ COLUMN["name"] }}
{%- if not loop.last -%}
,
{%- endif -%}
{%- endfor %}
)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
@app.route("/api/{{MODULE_NAME.lower()}}/delete", methods=["POST"])
def handler_delete_{{MODULE_NAME}}():
try:
json = getJson()
id = json["id"]
ret = delete_{{MODULE_NAME}}(id)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
@app.route("/api/{{MODULE_NAME.lower()}}/update", methods=["POST"])
def handler_update_{{MODULE_NAME}}():
try:
json = getJson()
id = json["id"]
{%- for COLUMN in COLUMNS %}
{{ COLUMN["name"] }} = json['{{COLUMN["name"]}}']
{%- endfor %}
ret = update_{{MODULE_NAME}}(
id,
{%- for COLUMN in COLUMNS %}
{{ COLUMN["name"] }}
{%- if not loop.last -%}
,
{%- endif -%}
{%- endfor %}
)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
@app.route("/api/{{MODULE_NAME.lower()}}/get", methods=["POST"])
def handler_get_{{MODULE_NAME}}():
try:
json = getJson()
id = json["id"]
ret = get_{{MODULE_NAME}}(id)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
@app.route("/api/{{MODULE_NAME.lower()}}/list", methods=["POST"])
def handler_list_{{MODULE_NAME}}():
try:
json = getJson({"page":1, "perPage":10})
page = json["page"]
perPage = json["perPage"]
ret = list_{{MODULE_NAME}}(page, perPage)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
{% for COLUMN in COLUMNS -%}
{%- if not COLUMN["props"]["private"] -%}
@app.route("/api/{{MODULE_NAME.lower()}}/find_by_{{ COLUMN["name"] }}", methods=["POST"])
def handler_find_{{MODULE_NAME}}_by_{{ COLUMN["name"] }}():
try:
json = getJson({"page":1, "perPage":10})
page = json["page"]
perPage = json["perPage"]
{{ COLUMN["name"] }} = json["{{ COLUMN["name"] }}"]
ret = find_{{MODULE_NAME}}_by_{{ COLUMN["name"] }}({{ COLUMN["name"] }}, page, perPage)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
{%- endif %}
{% endfor %}
{% for COLUMN in COLUMNS -%}
{%- if not COLUMN["props"]["private"] -%}
@app.route("/api/{{MODULE_NAME.lower()}}/search_by_{{ COLUMN["name"] }}", methods=["POST"])
def handler_search_{{MODULE_NAME}}_by_{{ COLUMN["name"] }}():
try:
json = getJson({"page":1, "perPage":10})
page = json["page"]
perPage = json["perPage"]
{{ COLUMN["name"] }} = json["{{ COLUMN["name"] }}"]
ret = search_{{MODULE_NAME}}_by_{{ COLUMN["name"] }}({{ COLUMN["name"] }}, page, perPage)
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
{%- endif %}
{% endfor %}
{% for COLUMN in COLUMNS -%}
{%- if not COLUMN["props"]["private"] -%}
@app.route("/api/{{MODULE_NAME.lower()}}/update_{{ COLUMN["name"] }}", methods=["POST"])
def handler_update_{{MODULE_NAME}}_prop_{{ COLUMN["name"] }}():
try:
json = getJson()
id = json["id"]
{{ COLUMN["name"] }} = json["{{ COLUMN["name"] }}"]
ret = update_{{MODULE_NAME}}_prop_{{ COLUMN["name"] }}(id, {{ COLUMN["name"] }})
return toJson(ret)
except Exception as e:
print(e)
return toJson({"error": repr(e)})
{%- endif %}
{% endfor %}
| 32.355072
| 97
| 0.505039
| 482
| 4,465
| 4.543568
| 0.134855
| 0.109589
| 0.040183
| 0.0621
| 0.848402
| 0.834703
| 0.778539
| 0.700913
| 0.686301
| 0.654338
| 0
| 0.002778
| 0.274356
| 4,465
| 138
| 98
| 32.355072
| 0.673148
| 0.029339
| 0
| 0.735537
| 1
| 0
| 0.153992
| 0.068441
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.024793
| null | null | 0.066116
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
e756726c46f7469eaac90628168168163e6f6d3b
| 123
|
py
|
Python
|
tests/__init__.py
|
barroca/prime-number-table
|
96704cde4cf889ba254f882d91756ed685aae685
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
barroca/prime-number-table
|
96704cde4cf889ba254f882d91756ed685aae685
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
barroca/prime-number-table
|
96704cde4cf889ba254f882d91756ed685aae685
|
[
"MIT"
] | null | null | null |
from tests.test_prime_number_generator import PrimeNumberGeneratorTest
from tests.test_prime_matrix import PrimeMatrixTest
| 41
| 70
| 0.918699
| 15
| 123
| 7.2
| 0.666667
| 0.166667
| 0.240741
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.065041
| 123
| 2
| 71
| 61.5
| 0.93913
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
99b06ff4e413535fff430d1fb4650a9be9a45258
| 104
|
py
|
Python
|
torch_burn/traininer/__init__.py
|
Kitsunetic/torch_burn
|
08810bc429ba793cbcfe7d3a997e9ffdc724f7b5
|
[
"MIT"
] | null | null | null |
torch_burn/traininer/__init__.py
|
Kitsunetic/torch_burn
|
08810bc429ba793cbcfe7d3a997e9ffdc724f7b5
|
[
"MIT"
] | null | null | null |
torch_burn/traininer/__init__.py
|
Kitsunetic/torch_burn
|
08810bc429ba793cbcfe7d3a997e9ffdc724f7b5
|
[
"MIT"
] | null | null | null |
from .predict import Predictor
from .trainer2 import Trainer2
from .trainer2 import Trainer2 as Trainer
| 26
| 41
| 0.836538
| 14
| 104
| 6.214286
| 0.5
| 0.275862
| 0.413793
| 0.597701
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.044444
| 0.134615
| 104
| 3
| 42
| 34.666667
| 0.922222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
99b4e9f2f3a6eb8c2d9b8ef0823929c44e500265
| 122
|
py
|
Python
|
src/Classification/knn.py
|
yangbochang/FoolishMachineLearning
|
41a3e6cff7e9630914be55ec91d43aed7e188c82
|
[
"MIT"
] | null | null | null |
src/Classification/knn.py
|
yangbochang/FoolishMachineLearning
|
41a3e6cff7e9630914be55ec91d43aed7e188c82
|
[
"MIT"
] | null | null | null |
src/Classification/knn.py
|
yangbochang/FoolishMachineLearning
|
41a3e6cff7e9630914be55ec91d43aed7e188c82
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
knn
"""
def run_knn():
''' run knn '''
print('\n' + '-' * 30 + '\n It\'s knn!')
| 12.2
| 44
| 0.360656
| 16
| 122
| 2.6875
| 0.6875
| 0.27907
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035294
| 0.303279
| 122
| 9
| 45
| 13.555556
| 0.470588
| 0.286885
| 0
| 0
| 0
| 0
| 0.130435
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0
| 0
| 0
| 0.5
| 0.5
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
41449190231a9781c049e6ff6cd7198e2d82840b
| 132
|
py
|
Python
|
src/models/loss_fn/__init__.py
|
kryvokhyzha/bert-for-ukranian-ner
|
48da40f09cb216ad51a97c303998157858fbe8bc
|
[
"MIT"
] | null | null | null |
src/models/loss_fn/__init__.py
|
kryvokhyzha/bert-for-ukranian-ner
|
48da40f09cb216ad51a97c303998157858fbe8bc
|
[
"MIT"
] | null | null | null |
src/models/loss_fn/__init__.py
|
kryvokhyzha/bert-for-ukranian-ner
|
48da40f09cb216ad51a97c303998157858fbe8bc
|
[
"MIT"
] | null | null | null |
from models.loss_fn.CrossEntropyLossCustom import CrossEntropyLossCustom
from models.loss_fn.FocalLossCustom import FocalLossCustom
| 44
| 72
| 0.909091
| 14
| 132
| 8.428571
| 0.5
| 0.169492
| 0.237288
| 0.271186
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.060606
| 132
| 2
| 73
| 66
| 0.951613
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
416eff06b20e0bf6312986ae66ee22243ddab566
| 152
|
py
|
Python
|
confirm/confirm.py
|
tueda/cli-confirm
|
7d6d1335c241bdacff058ab826f5b8fc8ecd9a04
|
[
"MIT"
] | null | null | null |
confirm/confirm.py
|
tueda/cli-confirm
|
7d6d1335c241bdacff058ab826f5b8fc8ecd9a04
|
[
"MIT"
] | null | null | null |
confirm/confirm.py
|
tueda/cli-confirm
|
7d6d1335c241bdacff058ab826f5b8fc8ecd9a04
|
[
"MIT"
] | null | null | null |
"""Function to confirm yes/no."""
import click
def confirm(text):
# type: (str) -> bool
"""Confirm yes/no."""
return click.confirm(text)
| 15.2
| 33
| 0.605263
| 20
| 152
| 4.6
| 0.65
| 0.217391
| 0.26087
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.210526
| 152
| 9
| 34
| 16.888889
| 0.766667
| 0.421053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
41c138a1829304e7b6cf03703866609a3fdb7e0b
| 22,655
|
py
|
Python
|
app/Archived Code for Reference Purposes/market_comp_csv_printer.py
|
hirokiden/Apprentice-Investor-Tool
|
37b1deb5374244228e436003dfb17d4d12343672
|
[
"MIT"
] | 1
|
2019-07-03T14:09:31.000Z
|
2019-07-03T14:09:31.000Z
|
app/Archived Code for Reference Purposes/market_comp_csv_printer.py
|
hirokiden/Apprentice-Investor-Tool
|
37b1deb5374244228e436003dfb17d4d12343672
|
[
"MIT"
] | null | null | null |
app/Archived Code for Reference Purposes/market_comp_csv_printer.py
|
hirokiden/Apprentice-Investor-Tool
|
37b1deb5374244228e436003dfb17d4d12343672
|
[
"MIT"
] | null | null | null |
# python market_comp_csv_printer.py
import os
import requests
import json # need this to import json string into dictionary
from datetime import datetime # taken from stackoverflow
import csv # so you can write date to .csv
# Current Time for transaction pull
date_time = datetime.now().strftime("%m/%d/%Y, %I:%M:%S%P\n") # Formatted for easy to understand human reading instead of military time
# print(date_time)
# Also, we know that we are working with $ pricing so let's get the formatting out of the way
def usd_format(my_price):
return "${0:,.2f}".format(my_price) # This UDF will change numerical denomination to currency and cents (2 digits) format when passed through
###################################### COPY FROM BELOW THIS POINT #####################################################
###################################### Section to input 3 Valid Tickers #########
print("Please enter three valid stock ticker symbols! As an example, Disney is 'DIS' and AT&T is 'T'. ")
print("The financial data for all three companies will print in three .csv files for your use.")
while True:
user_input_ticker = input()
# testuser_input_ticker = input()
if user_input_ticker.isdigit() == True: # Attributed this line of code concept to prior shopping cart usage
# more details located from https://www.tutorialspoint.com/python/string_isdigit.htm, script concept borrowed from website after research
print("Ticker cannot be a number, please try again")
elif len(user_input_ticker) > 5:
print("Ticker cannot exceed 5 characters, please try again")
else:
break
while True:
user_input_ticker2 = input()
# testuser_input_ticker = input()
if user_input_ticker2.isdigit() == True: # Attributed this line of code concept to prior shopping cart usage
print("Ticker cannot be a number, please try again")
elif len(user_input_ticker2) > 5:
print("Ticker cannot exceed 5 characters, please try again")
else:
break
while True:
user_input_ticker3 = input()
# testuser_input_ticker = input()
if user_input_ticker3.isdigit() == True: # Attributed this line of code concept to prior shopping cart usage
# more details located from https://www.tutorialspoint.com/python/string_isdigit.htm, script concept borrowed from website after research
print("Ticker cannot be a number, please try again")
elif len(user_input_ticker3) > 5:
print("Ticker cannot exceed 5 characters, please try again")
else:
break
###################################### Section to store the 3 companies' data from JSON and also assign appropriate variables
batch_financial_statement_request_url = f"https://financialmodelingprep.com/api/v3/financials/income-statement/{user_input_ticker}" #Orig
batch_financial_statement_request_url2 = f"https://financialmodelingprep.com/api/v3/financials/income-statement/{user_input_ticker2}" #2
batch_financial_statement_request_url3 = f"https://financialmodelingprep.com/api/v3/financials/income-statement/{user_input_ticker3}" #3
batch_financial_statement_response = requests.get(batch_financial_statement_request_url) #Orig
batch_financial_statement_response2 = requests.get(batch_financial_statement_request_url2) #2
batch_financial_statement_response3 = requests.get(batch_financial_statement_request_url3) #3
# print(type(response))
# print(response.status_code)
# print(response.text) # This is a string
batch_financial_statement_parsed_response = json.loads(batch_financial_statement_response.text) #this converts string format into dictionary #Orig
batch_financial_statement_parsed_response2 = json.loads(batch_financial_statement_response2.text) #this converts string format into dictionary #1
batch_financial_statement_parsed_response3 = json.loads(batch_financial_statement_response3.text) #this converts string format into dictionary #2
# print(batch_financial_statement_parsed_response["symbol"])
# print(batch_financial_statement_parsed_response2["symbol"])
# print(batch_financial_statement_parsed_response3["symbol"])
###################################### Section to ensure that 3 companies' data are properly connected, if not script will gracefully quit
try: #Orig
batch_financial_statement_parsed_response["symbol"]
except:
print("Invalid ticker(s), please rerun the script and try again")
exit()
batch_financial_symbols = batch_financial_statement_parsed_response["symbol"]
batch_financial_list = batch_financial_statement_parsed_response["financials"]
try: #1
batch_financial_statement_parsed_response2["symbol"]
except:
print("Invalid ticker(s), please rerun the script and try again")
exit()
batch_financial_symbols2 = batch_financial_statement_parsed_response2["symbol"]
batch_financial_list2 = batch_financial_statement_parsed_response2["financials"]
try: #2
batch_financial_statement_parsed_response3["symbol"]
except:
print("Invalid ticker(s), please rerun the script and try again")
exit()
batch_financial_symbols3 = batch_financial_statement_parsed_response3["symbol"]
batch_financial_list3 = batch_financial_statement_parsed_response3["financials"]
###################################### Section for Testing to ensure all is well
# # print(batch_financial_symbols)
# print(batch_financial_symbols2)
# # print(batch_financial_symbols3)
# # print(batch_financial_list)
# print(batch_financial_list2)
# # print(batch_financial_list3)
# # print(str(batch_financial_symbols).upper())
# ##############################################################################################
# ######################################################### Loop Terminal Printing Testing Area
# # for i in batch_financial_list:
# # # # print(i["date"], i["Revenue"], i["Revenue Growth"], i["Cost of Revenue"], i["Gross Profit"],
# # # # i["R&D Expenses"], i["SG&A Expense"], i["Operating Expenses"] , i["Operating Income"], i["Interest Expense"], i["Earnings before Tax"],
# # # # i["Income Tax Expense"], i["Net Income"], i["EPS"], i["EPS Diluted"], i["Dividend per Share"], i["Gross Margin"], i["EBITDA Margin"], i["EBIT Margin"],
# # # # i["Profit Margin"], i["Free Cash Flow margin"], i["EBITDA"], i[ "EBIT"], i["Consolidated Income"], i["Earnings Before Tax Margin"], i["Net Profit Margin"]
# # # # )
# # financial_statement_date = i["date"] #
# # financial_statement_revenue = i["Revenue"] #
# # financial_statement_revenue_growth = i["Revenue Growth"] #
# # financial_statement_cost_revenue = i["Cost of Revenue"] #
# # financial_statement_gross_profit = i["Gross Profit"] #
# # financial_statement_rd_exp = i["R&D Expenses"] #
# # financial_statement_sga_exp = i["SG&A Expense"] #
# # financial_statement_op_exp = i["Operating Expenses"] #
# # financial_statement_op_income = i["Operating Income"] #
# # financial_statement_int_exp = i["Interest Expense"]
# # financial_statement_earning_b4_tax = i["Earnings before Tax"]
# # financial_statement_income_tax_exp = i["Income Tax Expense"]
# # financial_statement_net_income = i["Net Income"]
# # financial_statement_eps = i["EPS"]
# # financial_statement_eps_diluted = i["EPS Diluted"]
# # financial_statement_dividend_per_share = i["Dividend per Share"]
# # financial_statement_gross_margin = i["Gross Margin"]
# # financial_statement_ebitda_margin = i["EBITDA Margin"]
# # financial_statement_ebit_margin = i["EBIT Margin"]
# # financial_statement_profit_margin = i["Profit Margin"]
# # financial_statement_free_cash_flow_margin = i["Free Cash Flow margin"]
# # financial_statement_ebidtda = i["EBITDA"]
# # financial_statement_ebit = i[ "EBIT"]
# # financial_statement_consolidated_income = i[ "EBIT"]
# # financial_statement_earnings_b4_tax_margin = i["Earnings Before Tax Margin"]
# # financial_statement_net_profit_margin = i["Net Profit Margin"]
# # print(financial_statement_date)
# # print(financial_statement_revenue)
# # print(financial_statement_revenue_growth)
# # print(financial_statement_cost_revenue)
# # print(financial_statement_gross_profit)
# # print(financial_statement_rd_exp)
# # print(financial_statement_sga_exp)
# # print(financial_statement_op_exp)
# # print(financial_statement_op_income)
# # print(financial_statement_int_exp)
# # print(financial_statement_earning_b4_tax)
# # print(financial_statement_income_tax_exp)
# # print(financial_statement_net_income)
# # print(financial_statement_eps)
# # print(financial_statement_eps_diluted)
# # print(financial_statement_dividend_per_share)
# # print(financial_statement_gross_margin)
# # print(financial_statement_ebitda_margin)
# # print( financial_statement_ebit_margin)
# # print(financial_statement_profit_margin)
# # print(financial_statement_free_cash_flow_margin)
# # print(financial_statement_ebidtda)
# # print(financial_statement_ebit)
# # print(financial_statement_consolidated_income)
# # print(financial_statement_earnings_b4_tax_margin)
# print(financial_statement_net_profit_margin)
##################### Creating .CSV File Paths for the 3 Stock Inputs ##############
# csv_file_path = os.path.join(os.path.dirname(__file__), "..", "data", "company1financials.csv") # a relative filepath
# # connect script to the .csv file located in the 'data' file
# # prior examples had ".." --> this means go above one directory. since .py file is in a separate folder 'app', we have to use ".."
csv_file_path = os.path.join(os.path.dirname(__file__), "..", "data", "company1financials.csv") # a relative filepath
csv_file_path2 = os.path.join(os.path.dirname(__file__), "..", "data", "company2financials.csv") # a relative filepath
csv_file_path3 = os.path.join(os.path.dirname(__file__), "..", "data", "company3financials.csv") # a relative filepath
# ##################### Input 1 ####################################################
with open(csv_file_path, "w") as csv_file: # "w" means "open the file for writing"
csv_headers = ["Ticker", "Date", "Revenue", "Revenue Growth", "Cost of Revenue", "Gross Profit", "R&D Expenses", "SG&A Expenses", "Operating Expenses",
"Operating Income", "Interest Expense", "Earning before Tax", "Income Tax Expense", "Income Tax Expense", "Net Income", "EPS", "EPS Diluted",
"Dividend per Share", "Gross Margin", "EBITDA Margin", "EBIT Margins", "Profit Margin", "Free Cash Flow Margin", "EBITDA", "EBIT", "Earnings Before Tax Margin",
"Net Profit Margin"
]
# list out each of the headers via variable
writer = csv.DictWriter(csv_file, fieldnames = csv_headers)
writer.writeheader() # uses fieldnames set above
for i in batch_financial_list: # This loop will take the 1st ticker and output all the details in the loop
financial_statement_date = i["date"]
financial_statement_revenue = i["Revenue"]
financial_statement_revenue_growth = i["Revenue Growth"]
financial_statement_cost_revenue = i["Cost of Revenue"]
financial_statement_gross_profit = i["Gross Profit"]
financial_statement_rd_exp = i["R&D Expenses"]
financial_statement_sga_exp = i["SG&A Expense"]
financial_statement_op_exp = i["Operating Expenses"]
financial_statement_op_income = i["Operating Income"]
financial_statement_int_exp = i["Interest Expense"]
financial_statement_earning_b4_tax = i["Earnings before Tax"]
financial_statement_income_tax_exp = i["Income Tax Expense"]
financial_statement_net_income = i["Net Income"]
financial_statement_eps = i["EPS"]
financial_statement_eps_diluted = i["EPS Diluted"]
financial_statement_dividend_per_share = i["Dividend per Share"]
financial_statement_gross_margin = i["Gross Margin"]
financial_statement_ebitda_margin = i["EBITDA Margin"]
financial_statement_ebit_margin = i["EBIT Margin"]
financial_statement_profit_margin = i["Profit Margin"]
financial_statement_free_cash_flow_margin = i["Free Cash Flow margin"]
financial_statement_ebidtda = i["EBITDA"]
financial_statement_ebit = i[ "EBIT"]
financial_statement_consolidated_income = i[ "EBIT"]
financial_statement_earnings_b4_tax_margin = i["Earnings Before Tax Margin"]
financial_statement_net_profit_margin = i["Net Profit Margin"]
writer.writerow({
"Ticker": str(batch_financial_symbols).upper(), #capitalized the user stock ticker input 1
"Date": financial_statement_date,
"Revenue": financial_statement_revenue,
"Revenue Growth": financial_statement_revenue_growth,
"Cost of Revenue": financial_statement_cost_revenue,
"Gross Profit": financial_statement_gross_profit,
"R&D Expenses": financial_statement_rd_exp,
"SG&A Expenses": financial_statement_sga_exp,
"Operating Expenses": financial_statement_op_exp,
"Operating Income": financial_statement_op_income,
"Interest Expense": financial_statement_int_exp,
"Earning before Tax": financial_statement_earning_b4_tax,
"Income Tax Expense": financial_statement_income_tax_exp,
"Net Income": financial_statement_net_income,
"EPS": financial_statement_eps,
"EPS Diluted": financial_statement_eps_diluted,
"Dividend per Share": financial_statement_dividend_per_share,
"Gross Margin": financial_statement_gross_margin,
"EBITDA Margin": financial_statement_ebitda_margin,
"EBIT Margins": financial_statement_ebit_margin,
"Profit Margin": financial_statement_profit_margin,
"Free Cash Flow Margin": financial_statement_free_cash_flow_margin,
"EBITDA": financial_statement_ebidtda,
"EBIT": financial_statement_ebit,
"Earnings Before Tax Margin": financial_statement_earnings_b4_tax_margin,
"Net Profit Margin": financial_statement_net_profit_margin,
})
##################### Input 2 ####################################################
with open(csv_file_path2, "w") as csv_file2: # "w" means "open the file for writing"
csv_headers = ["Ticker", "Date", "Revenue", "Revenue Growth", "Cost of Revenue", "Gross Profit", "R&D Expenses", "SG&A Expenses", "Operating Expenses",
"Operating Income", "Interest Expense", "Earning before Tax", "Income Tax Expense", "Income Tax Expense", "Net Income", "EPS", "EPS Diluted",
"Dividend per Share", "Gross Margin", "EBITDA Margin", "EBIT Margins", "Profit Margin", "Free Cash Flow Margin", "EBITDA", "EBIT", "Earnings Before Tax Margin",
"Net Profit Margin"
]
# list out each of the headers via variable
writer = csv.DictWriter(csv_file2, fieldnames = csv_headers)
writer.writeheader() # uses fieldnames set above
for i in batch_financial_list2: # This loop will take the 2nd ticker and output all the details in the loop
financial_statement_date = i["date"]
financial_statement_revenue = i["Revenue"]
financial_statement_revenue_growth = i["Revenue Growth"]
financial_statement_cost_revenue = i["Cost of Revenue"]
financial_statement_gross_profit = i["Gross Profit"]
financial_statement_rd_exp = i["R&D Expenses"]
financial_statement_sga_exp = i["SG&A Expense"]
financial_statement_op_exp = i["Operating Expenses"]
financial_statement_op_income = i["Operating Income"]
financial_statement_int_exp = i["Interest Expense"]
financial_statement_earning_b4_tax = i["Earnings before Tax"]
financial_statement_income_tax_exp = i["Income Tax Expense"]
financial_statement_net_income = i["Net Income"]
financial_statement_eps = i["EPS"]
financial_statement_eps_diluted = i["EPS Diluted"]
financial_statement_dividend_per_share = i["Dividend per Share"]
financial_statement_gross_margin = i["Gross Margin"]
financial_statement_ebitda_margin = i["EBITDA Margin"]
financial_statement_ebit_margin = i["EBIT Margin"]
financial_statement_profit_margin = i["Profit Margin"]
financial_statement_free_cash_flow_margin = i["Free Cash Flow margin"]
financial_statement_ebidtda = i["EBITDA"]
financial_statement_ebit = i[ "EBIT"]
financial_statement_consolidated_income = i[ "EBIT"]
financial_statement_earnings_b4_tax_margin = i["Earnings Before Tax Margin"]
financial_statement_net_profit_margin = i["Net Profit Margin"]
writer.writerow({
"Ticker": str(batch_financial_symbols2).upper(), #capitalized the user stock ticker input 2
"Date": financial_statement_date,
"Revenue": financial_statement_revenue,
"Revenue Growth": financial_statement_revenue_growth,
"Cost of Revenue": financial_statement_cost_revenue,
"Gross Profit": financial_statement_gross_profit,
"R&D Expenses": financial_statement_rd_exp,
"SG&A Expenses": financial_statement_sga_exp,
"Operating Expenses": financial_statement_op_exp,
"Operating Income": financial_statement_op_income,
"Interest Expense": financial_statement_int_exp,
"Earning before Tax": financial_statement_earning_b4_tax,
"Income Tax Expense": financial_statement_income_tax_exp,
"Net Income": financial_statement_net_income,
"EPS": financial_statement_eps,
"EPS Diluted": financial_statement_eps_diluted,
"Dividend per Share": financial_statement_dividend_per_share,
"Gross Margin": financial_statement_gross_margin,
"EBITDA Margin": financial_statement_ebitda_margin,
"EBIT Margins": financial_statement_ebit_margin,
"Profit Margin": financial_statement_profit_margin,
"Free Cash Flow Margin": financial_statement_free_cash_flow_margin,
"EBITDA": financial_statement_ebidtda,
"EBIT": financial_statement_ebit,
"Earnings Before Tax Margin": financial_statement_earnings_b4_tax_margin,
"Net Profit Margin": financial_statement_net_profit_margin,
})
##################### Input 3 ####################################################
with open(csv_file_path3, "w") as csv_file3: # "w" means "open the file for writing"
csv_headers = ["Ticker", "Date", "Revenue", "Revenue Growth", "Cost of Revenue", "Gross Profit", "R&D Expenses", "SG&A Expenses", "Operating Expenses",
"Operating Income", "Interest Expense", "Earning before Tax", "Income Tax Expense", "Income Tax Expense", "Net Income", "EPS", "EPS Diluted",
"Dividend per Share", "Gross Margin", "EBITDA Margin", "EBIT Margins", "Profit Margin", "Free Cash Flow Margin", "EBITDA", "EBIT", "Earnings Before Tax Margin",
"Net Profit Margin"
]
# list out each of the headers via variable
writer = csv.DictWriter(csv_file3, fieldnames = csv_headers)
writer.writeheader() # uses fieldnames set above
for i in batch_financial_list3: # This loop will take the 3rd ticker and output all the details in the loop
financial_statement_date = i["date"]
financial_statement_revenue = i["Revenue"]
financial_statement_revenue_growth = i["Revenue Growth"]
financial_statement_cost_revenue = i["Cost of Revenue"]
financial_statement_gross_profit = i["Gross Profit"]
financial_statement_rd_exp = i["R&D Expenses"]
financial_statement_sga_exp = i["SG&A Expense"]
financial_statement_op_exp = i["Operating Expenses"]
financial_statement_op_income = i["Operating Income"]
financial_statement_int_exp = i["Interest Expense"]
financial_statement_earning_b4_tax = i["Earnings before Tax"]
financial_statement_income_tax_exp = i["Income Tax Expense"]
financial_statement_net_income = i["Net Income"]
financial_statement_eps = i["EPS"]
financial_statement_eps_diluted = i["EPS Diluted"]
financial_statement_dividend_per_share = i["Dividend per Share"]
financial_statement_gross_margin = i["Gross Margin"]
financial_statement_ebitda_margin = i["EBITDA Margin"]
financial_statement_ebit_margin = i["EBIT Margin"]
financial_statement_profit_margin = i["Profit Margin"]
financial_statement_free_cash_flow_margin = i["Free Cash Flow margin"]
financial_statement_ebidtda = i["EBITDA"]
financial_statement_ebit = i[ "EBIT"]
financial_statement_consolidated_income = i[ "EBIT"]
financial_statement_earnings_b4_tax_margin = i["Earnings Before Tax Margin"]
financial_statement_net_profit_margin = i["Net Profit Margin"]
writer.writerow({
"Ticker": str(batch_financial_symbols3).upper(), #capitalized the user stock ticker input 3
"Date": financial_statement_date,
"Revenue": financial_statement_revenue,
"Revenue Growth": financial_statement_revenue_growth,
"Cost of Revenue": financial_statement_cost_revenue,
"Gross Profit": financial_statement_gross_profit,
"R&D Expenses": financial_statement_rd_exp,
"SG&A Expenses": financial_statement_sga_exp,
"Operating Expenses": financial_statement_op_exp,
"Operating Income": financial_statement_op_income,
"Interest Expense": financial_statement_int_exp,
"Earning before Tax": financial_statement_earning_b4_tax,
"Income Tax Expense": financial_statement_income_tax_exp,
"Net Income": financial_statement_net_income,
"EPS": financial_statement_eps,
"EPS Diluted": financial_statement_eps_diluted,
"Dividend per Share": financial_statement_dividend_per_share,
"Gross Margin": financial_statement_gross_margin,
"EBITDA Margin": financial_statement_ebitda_margin,
"EBIT Margins": financial_statement_ebit_margin,
"Profit Margin": financial_statement_profit_margin,
"Free Cash Flow Margin": financial_statement_free_cash_flow_margin,
"EBITDA": financial_statement_ebidtda,
"EBIT": financial_statement_ebit,
"Earnings Before Tax Margin": financial_statement_earnings_b4_tax_margin,
"Net Profit Margin": financial_statement_net_profit_margin,
})
| 48.304904
| 166
| 0.699316
| 2,711
| 22,655
| 5.525267
| 0.10734
| 0.27879
| 0.068896
| 0.022832
| 0.816877
| 0.763068
| 0.718473
| 0.70225
| 0.690099
| 0.690099
| 0
| 0.005335
| 0.180976
| 22,655
| 468
| 167
| 48.40812
| 0.80194
| 0.282189
| 0
| 0.785156
| 0
| 0.003906
| 0.269183
| 0.004288
| 0
| 0
| 0
| 0
| 0
| 1
| 0.003906
| false
| 0
| 0.019531
| 0.003906
| 0.027344
| 0.042969
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
68e56edd8cd5b78dd277a63a1b077a081edc3eef
| 236
|
py
|
Python
|
run.py
|
MarlaWillemse/sales-forecast
|
d9d2d4d591eeba57375694acd1720c345f29c7ee
|
[
"MIT"
] | 1
|
2020-11-13T06:07:27.000Z
|
2020-11-13T06:07:27.000Z
|
run.py
|
MarlaWillemse/sales-forecast
|
d9d2d4d591eeba57375694acd1720c345f29c7ee
|
[
"MIT"
] | null | null | null |
run.py
|
MarlaWillemse/sales-forecast
|
d9d2d4d591eeba57375694acd1720c345f29c7ee
|
[
"MIT"
] | null | null | null |
from preprocessing.data_utils import *
import sys
from preprocessing.data_prep1 import *
from preprocessing.xgboost_data import *
from models.xgboost_tune import *
from models.xgboost_preds import *
from create_report.md_func import *
| 26.222222
| 40
| 0.834746
| 33
| 236
| 5.757576
| 0.454545
| 0.210526
| 0.221053
| 0.242105
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004785
| 0.114407
| 236
| 8
| 41
| 29.5
| 0.904306
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
68fb94fdabbfeb9028407eb3272f3c551e44a51c
| 148
|
py
|
Python
|
robinhood/__init__.py
|
ChrisSowards/Robinhood
|
76056dcf922e66ebca60f2f70bfc1f5c1d203d7b
|
[
"MIT"
] | 1
|
2020-06-18T18:08:32.000Z
|
2020-06-18T18:08:32.000Z
|
robinhood/__init__.py
|
ChrisSowards/Robinhood
|
76056dcf922e66ebca60f2f70bfc1f5c1d203d7b
|
[
"MIT"
] | null | null | null |
robinhood/__init__.py
|
ChrisSowards/Robinhood
|
76056dcf922e66ebca60f2f70bfc1f5c1d203d7b
|
[
"MIT"
] | null | null | null |
import six
if six.PY3:
from .trader import Trader
else:
from .trader import Trader
from . import endpoints
from . import crypto_endpoints
| 14.8
| 30
| 0.743243
| 21
| 148
| 5.190476
| 0.428571
| 0.183486
| 0.293578
| 0.40367
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008547
| 0.209459
| 148
| 9
| 31
| 16.444444
| 0.923077
| 0
| 0
| 0.285714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.714286
| 0
| 0.714286
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
68fca2440bbc4f490c504eb96997854efc2271ae
| 676,716
|
py
|
Python
|
hyper_resource/tests.py
|
IDEHCO3/kanban-backend
|
902732f0fd569627925356d6b9d68a5ec7680b88
|
[
"MIT"
] | null | null | null |
hyper_resource/tests.py
|
IDEHCO3/kanban-backend
|
902732f0fd569627925356d6b9d68a5ec7680b88
|
[
"MIT"
] | null | null | null |
hyper_resource/tests.py
|
IDEHCO3/kanban-backend
|
902732f0fd569627925356d6b9d68a5ec7680b88
|
[
"MIT"
] | null | null | null |
import django
import rest_framework
#from rest_framework import generics
#from rest_framework.response import Response
#from rest_framework.views import APIView
#from rest_framework import permissions
#from rest_framework import permissions
from django.contrib.gis.geos import Point
from django.test import TestCase
# Create your tests here.
from django.contrib.gis.db import models
from hyper_resource.models import FeatureModel, FactoryComplexQuery
from hyper_resource.contexts import *
from hyper_resource.resources.AbstractResource import AbstractResource
from hyper_resource.resources.FeatureCollectionResource import FeatureCollectionResource
from hyper_resource.resources.AbstractCollectionResource import AbstractCollectionResource
from hyper_resource.resources.CollectionResource import CollectionResource
from django.contrib.gis.geos import GEOSGeometry
from django.test import SimpleTestCase
from controle.views import UsuarioList, UsuarioDetail
from controle.models import Usuario
import json
import requests
from django.http import HttpResponse
from django.shortcuts import get_object_or_404
from django.test.runner import DiscoverRunner
#import os
#os.environ['DJANGO_SETTINGS_MODULE'] = 'bc_edgv.settings'
#django.setup()
#python manage.py test bcim.test_utils --testrunner=bcim.test_utils.NoDbTestRunner
#python manage.py test hyper_resource.tests --testrunner=hyper_resource.tests.NoDbTestRunner
from django.contrib.gis.db.models import Q
HOST = 'luc00557196:8000/'
class NoDbTestRunner(DiscoverRunner):
""" A test runner to test without database creation/deletion """
def setup_databases(self, **kwargs):
pass
def teardown_databases(self, old_config, **kwargs):
pass
class Ponto(FeatureModel):
id_objeto = models.IntegerField(primary_key=True)
geom = models.PointField(blank=True, null=True)
class Linha(FeatureModel):
id_objeto = models.IntegerField(primary_key=True)
geom = models.LineStringField(blank=True, null=True)
class Poligono(FeatureModel):
id_objeto = models.IntegerField(primary_key=True)
geom = models.PolygonField(blank=True, null=True)
class Geometria(FeatureModel):
id_objeto = models.IntegerField(primary_key=True)
geom = models.GeometryField(blank=True, null=True)
## ativando virtual environment em: source ~/desenv/env/env_bc_edgv/bin/activate
## Testando
# python manage.py test hyper_resource.tests --testrunner=hyper_resource.tests.NoDbTestRunner
##
#python manage.py test bcim.test_utils --testrunner=bcim.test_utils.NoDbTestRunner
#python manage.py test hyper_resource.tests --testrunner=hyper_resource.tests.NoDbTestRunner
from django.test import SimpleTestCase
#from bcim.utils import APIViewHypermedia
#python manage.py test app --testrunner=app.filename.NoDbTestRunner
#python manage.py test bcim.tests --testrunner=bcim.tests.NoDbTestRunner
#python manage.py test hyper_resource.tests --testrunner=hyper_resource.tests.NoDbTestRunner
from bcim.models import ModeloTeste
class ModelTest(models.Model):
id_objeto = models.IntegerField(primary_key=True)
nome = models.CharField(max_length=100, blank=True, null=True)
nomeabrev = models.CharField(max_length=50, blank=True, null=True)
geometriaaproximada = models.CharField(max_length=3, blank=True, null=True)
operacional = models.CharField(max_length=12, blank=True, null=True)
situacaofisica = models.TextField(blank=True, null=True)
tipopostofisc = models.CharField(max_length=22, blank=True, null=True)
geometry = models.GeometryField(blank=True, null=True)
polygon = models.PolygonField(blank=True, null=True)
lineString = models.LineStringField(blank=True, null=True)
point = models.PointField(blank=True, null=True)
multipolygon = models.MultiPolygonField(blank=True, null=True)
class TesteResource(AbstractResource):
def __init__(self, a_name, params, answer):
self.name = a_name
self.parameters = params
self.return_type = answer
class FeatureModelTestCase(SimpleTestCase):
def setUp(self):
self.ponto = Ponto()
self.linha = Linha()
self.poligono = Poligono()
self.geometria = Geometria()
def url_feature(self):
return ''
def test_get_geometry_type(self):
self.assertEquals(self.ponto.get_geometry_type(), Point)
def test_fields(self):
self.assertEquals(self.ponto.fields()[0].name, 'id_objeto')
class AbstractResourceTestCase(SimpleTestCase):
def setUp(self):
self.tr = TesteResource('name', 'parameters', 'answer')
self.ar = AbstractCollectionResource()
def test_attributes(self):
pass
def test_operations(self):
pass
def test_remove_last_slash(self):
self.assertEquals(self.ar.remove_last_slash('within/__tokenurl__1/collect/geom/buffer/0.2/'), 'within/__tokenurl__1/collect/geom/buffer/0.2')
self.assertEquals(self.ar.remove_last_slash('within/__tokenurl__1/collect/geom/buffer/0.2'), 'within/__tokenurl__1/collect/geom/buffer/0.2')
self.assertEquals(self.ar.remove_last_slash('within/__tokenurl__1/collect/geom/buffer/0.2 '), 'within/__tokenurl__1/collect/geom/buffer/0.2')
def test_attribute_functions_str_splitted_by_slash(self):
res = self.ar.attribute_functions_str_splitted_by_slash('within/http://172.30.10.86:8000/ibge/bcim/municipios/3159407/*collect/geom/buffer/0.2/intersects/https://172.30.10.86:8000/instituicoes/bcim/estado/rj/*')
self.assertEquals(res[0], 'within')
self.assertEquals(res[1], 'http://172.30.10.86:8000/ibge/bcim/municipios/3159407/')
self.assertEquals(res[2], '*collect')
self.assertEquals(res[3], 'geom')
self.assertEquals(res[4], 'buffer')
self.assertEquals(res[5], '0.2')
self.assertEquals(res[6], 'intersects')
self.assertEquals(res[7], 'https://172.30.10.86:8000/instituicoes/bcim/estado/rj/')
class SpatialResourceTest(SimpleTestCase):
def test_attributeContextualized(self):
pass
'''
class FeatureResourceTest(SimpleTestCase):
def test_basic_get(self):
pass
def test_options_url_without_parameters(self):
pass
def test_options_url_with_only_attributes(self):
pass
def test_options_url_with_only_one_attribute(self):
pass
def test_options_url_with_spatia_functions(self):
pass
'''
class FactoryComplexQueryTest(SimpleTestCase):
def setUp(self):
self.fcq = FactoryComplexQuery()
def test_q_object_for_in(self):
q = self.fcq.q_object_for_in(str,'sigla', ['ES,RJ'])
self.assertEquals(Q(sigla__in=['ES,RJ']).__repr__(), q.__repr__())
def test_q_object_for_eq(self):
q = self.fcq.q_object_for_eq(str,'sigla', 'ES')
self.assertEquals(Q(sigla='ES').__repr__(), q.__repr__())
def test_q_object_for_neq(self):
q = self.fcq.q_object_for_neq(str, 'sigla', 'ES')
self.assertEquals((~Q(sigla='ES')).__repr__(), q.__repr__())
def test_q_object_by_filter_operation(self):
attribute_operation_str ='filter/sigla/in/rj,es,go/and/data/between/2017-02-01,2017-06-30/'
import datetime
start_date = datetime.date(2017, 2, 1)
end_date = datetime.date(2017, 6, 30)
q = Q(sigla__in=['rj','es','go']) & Q(data__range=(start_date, end_date))
model_class = ModeloTeste
self.fcq.q_object_serialized_by_filter_operation(attribute_operation_str, model_class)
class AbstractCollectionResourceTestCase(SimpleTestCase):
def setUp(self):
self.attributes_functions = ['filter/sigla/in/rj,es,go/', 'filter/sigla/uppercase/in/rj,es,go/and/data/between/2017-02-01,2017-06-30/', 'filter/sigla/in/rj,es,go/and/geom/within/{"type":"Polygon","coordinates":[[[-41.881710164667396,-21.297482165015307],[-28.840495695785098,-21.297482165015307],[-28.840495695785098,-17.886950999070834],[-41.881710164667396,-17.886950999070834],[-41.881710164667396,-21.297482165015307]]]}']
self.acr = AbstractCollectionResource()
def test_get_operation_name_from_path(self):
self.assertEquals(self.acr.get_operation_name_from_path('collect/geom/buffer/0.2'), 'collect')
self.assertEquals(self.acr.get_operation_name_from_path('filter/geom/buffer/0.2'), 'filter')
self.assertEquals(self.acr.get_operation_name_from_path('filter/geom/containing/http://host/aldeias-indigenas/821/*collect/nome.geom/buffer/0.2'), 'filter_collect')
self.assertEquals(self.acr.get_operation_name_from_path('collect/nome&geom/buffer/0.2/containing/http://host/aldeias-indigenas/821/*filter/nome/startswith/rio'), 'collect_filter')
self.assertEquals(self.acr.get_operation_name_from_path('count-resource'), 'count-resource')
self.assertEquals(self.acr.get_operation_name_from_path('group-by/nome'), 'group-by')
self.assertEquals(self.acr.get_operation_name_from_path('group-by-count/nome'), 'group-by-count')
self.assertEquals(self.acr.get_operation_name_from_path('distinct'), 'distinct')
self.assertEquals(self.acr.get_operation_name_from_path('offset-limit/1&10'), 'offset-limit')
self.assertEquals(self.acr.get_operation_name_from_path('nadahaver'), None)
def test_attributes_functions_str_is_filter_with_spatial_operation(self):
pass
"""
self.assertTrue(self.acr.attributes_functions_str_is_filter_with_spatial_operation('filter/sigla/in/rj,es,go/and/geom/within/Point(1,2)'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/filter'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/ast/eq/ass/geom/within/asd'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/within/eq/asd'))
self.assertTrue(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/within/eq/geom/and/geom/within/asd'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/operacao/eq/within'))
self.assertTrue(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/eq/within/abxgeom'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/filter/within/eq/abxx'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/within/geom'))
self.assertFalse(self.acr.attributes_functions_str_is_filter_with_spatial_operation('/within/filter'))
"""
def test_attributes_functions_str_splitted_by_slash(self):
self.acr.attribute_functions_str_splitted_by_slash('collect/geom/buffer/0.2') == ['collect','geom', 'buffer', '0.2']
self.acr.attribute_functions_str_splitted_by_slash('collect/geom/buffer/0.2/') == ['collect','geom', 'buffer', '0.2']
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('collect/geom/buffer/0.2'), ['collect','geom', 'buffer', '0.2'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('collect/geom/buffer/0.2/transform/3005&True/area'), ['collect', 'geom', 'buffer', '0.2', 'transform', '3005&True', 'area'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('offsetLimit/1&10/collect/geom/buffer/0.2'), ['offsetLimit', '1&10', 'collect', 'geom', 'buffer', '0.2'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('within/{"type":"Polygon","coordinates":[[[-48.759514611370854,-28.3426735036349],[-48.631647133384185,-28.3426735036349],[-48.631647133384185,-28.082673631081306],[-48.759514611370854,-28.082673631081306],[-48.759514611370854,-28.3426735036349]]]}/collect/geom/buffer/0.2'), ['within', '{"type":"Polygon","coordinates":[[[-48.759514611370854,-28.3426735036349],[-48.631647133384185,-28.3426735036349],[-48.631647133384185,-28.082673631081306],[-48.759514611370854,-28.082673631081306],[-48.759514611370854,-28.3426735036349]]]}', 'collect', 'geom', 'buffer', '0.2'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('within/http://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159407/*collect/geom/buffer/0.2/'), ['within', 'http://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159407/', '*collect', 'geom', 'buffer', '0.2'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('within/https://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159407/*collect/geom/buffer/0.2'), ['within', 'https://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159407/', '*collect', 'geom', 'buffer', '0.2'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('within/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/*collect/geom/buffer/0.2/within/http://ibge/unidades-federativas/RJ/*'), ['within', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/', '*collect', 'geom', 'buffer', '0.2', 'within','http://ibge/unidades-federativas/RJ/'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('filter/geom/within/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/*'), ['filter', 'geom', 'within', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('filter/geom/within/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom/*and/sigla/eq/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo/*'), ['filter', 'geom', 'within', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom/', '*and', 'sigla', 'eq', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo/'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('filter/geom/within/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom/*collect/collect/eq/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo/*'), ['filter', 'geom', 'within', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom/', '*collect', 'collect', 'eq', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo/'])
# self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('filter/geom/within/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom*/and/geocodigo/eq/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo/*/collect/collect/eq/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo*'),
#['filter', 'geom', 'within', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom','and','geocodigo','eq','http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom/and/geocodigo', 'collect', 'collect', 'eq', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo'])
#self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('within/WWw.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407*/collect/geom/buffer/0.2'), ['filter', 'geom', 'within', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geom', 'and', 'sigla', 'eq', 'http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/geocodigo'])
self.assertEquals(self.acr.attribute_functions_str_splitted_by_slash('filter/collect/within/http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/*collect/collect/transform/3005&True/area'),[
'filter','collect','within','http://www.ibge.gov.br:8080/instituicoes/ibge/bcim/municipios/3159407/','*collect','collect','transform', '3005&True','area'] )
def test_get_generic_operation_name(self):
prefix = 'get_objects_from_'
suffix = '_operation'
operation_name = self.acr.get_generic_operation_name('filter/geom/within/http://luc00557347.ibge.gov.br/ibge/bcim/unidades-federativas/ES/geom/buffer/0.2*/and/fclass/eq/school/*collect/geom/buffer/0.2')
self.assertEquals(operation_name, prefix + 'filter_and_collect' + suffix)
operation_name = self.acr.get_generic_operation_name('filter/sigla/in/RJ,ES/*collect/geom/transform/3005&True/area')
self.assertEquals(operation_name, prefix + 'filter_and_collect' + suffix)
operation_name = self.acr.get_generic_operation_name('collect/geom/buffer/0.2/*filter/geom/within/http://luc00557347.ibge.gov.br/ibge/bcim/unidades-federativas/ES/geom/buffer/0.2/and/fclass/eq/school*/')
self.assertEquals(operation_name, prefix + 'collect_and_filter' + suffix)
operation_name = self.acr.get_generic_operation_name('filter/geom/within/http://luc00557347.ibge.gov.br/ibge/bcim/unidades-federativas/ES/geom/buffer/0.2')
self.assertEquals(operation_name, prefix + 'filter' + suffix)
operation_name = self.acr.get_generic_operation_name('collect/geom/buffer/0.2')
self.assertEquals(operation_name, prefix + 'collect' + suffix)
operation_name = self.acr.get_generic_operation_name('groupby/geom/')
self.assertEquals(operation_name, prefix + 'groupby' + suffix)
operation_name = self.acr.get_generic_operation_name('groupbycount/geom/')
self.assertEquals(operation_name, prefix + 'groupbycount' + suffix)
operation_name = self.acr.get_generic_operation_name('offsetlimit/1:10/')
self.assertEquals(operation_name, prefix + 'offsetlimit' + suffix)
operation_name = self.acr.get_generic_operation_name('distinct')
self.assertEquals(operation_name, prefix + 'distinct' + suffix)
operation_name = self.acr.get_generic_operation_name('countresource')
self.assertEquals(operation_name, prefix + 'countresource' + suffix)
operation_name = self.acr.get_generic_operation_name('annotate/')
self.assertEquals(operation_name, prefix + 'annotate' + suffix)
#python manage.py test hyper_resource.tests.FeatureCollectionResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class FeatureCollectionResourceTest(SimpleTestCase):
def setUp(self):
self.attributes_functions = [
'filter/sigla/in/rj,es,go/',
'filter/sigla/uppercase/in/rj,es,go/and/data/between/2017-02-01,2017-06-30/',
'filter/sigla/in/rj,es,go/and/geom/within/{"type":"Polygon","coordinates":[[[-41.881710164667396,-21.297482165015307],[-28.840495695785098,-21.297482165015307],[-28.840495695785098,-17.886950999070834],[-41.881710164667396,-17.886950999070834],[-41.881710164667396,-21.297482165015307]]]}',
]
self.fc = FeatureCollectionResource()
def test_is_filter_operation(self):
self.assertTrue(self.fc.path_has_filter_operation('filter/sigla/in/rj,es,go/and/geom'))
self.assertFalse( self.fc.path_has_filter_operation('/filter'))
self.assertTrue('filter/sigla/uppercase/in/rj,es,go/and/data/between/2017-02-01,2017-06-30/')
"""
def test_q_objects_from_filter_operation(self):
result = self.fc.q_object_for_filter_expression('filter/sigla/eq/ES')
self.assertEquals(result.__repr__(), Q(sigla='ES').__repr__())
result = self.fc.q_object_for_filter_expression('filter/sigla/eq/ES/')[0]
self.assertEquals(result.__repr__(), Q(sigla='ES').__repr__())
result = self.fc.q_object_for_filter_expression('filter/sigla/in/ES,RJ')[0]
self.assertEquals(result.__repr__(), Q(sigla__in=['ES,RJ']).__repr__())
result = self.fc.q_object_for_filter_expression('filter/sigla/in/ES,RJ/')[0]
self.assertEquals(result, Q(sigla__in=['ES,RJ']))
result1 = self.fc.q_object_for_filter_expression('filter/sigla/in/ES,RJ/and/data/between/2017-02-01,2017-06-30')[0]
result2 = self.fc.q_object_for_filter_expression('filter/sigla/in/ES,RJ/and/data/between/2017-02-01,2017-06-30')[1]
self.assertEquals(result1, Q(sigla__in=['ES,RJ']))
self.assertEquals(result2, Q(data='ES,RJ'))
"""
def test_transform_path_with_spatial_operation_str_and_url_as_array(self):
self.maxDiff = None
s = 'geom/contains/http://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159407/*or/geom/contains/http://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159406'
arr = ['geom', 'contains', 'http:','172.30.10.86:8000','instituicoes','ibge','bcim','municipios','3159407', '*or', 'geom', 'contains', 'http:','172.30.10.86:8000','instituicoes','ibge','bcim','municipios','3159406']
arr1 = ['geom', 'contains', 'http://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159407/', '*or', 'geom', 'contains', 'http://172.30.10.86:8000/instituicoes/ibge/bcim/municipios/3159406/']
self.assertEquals(len(self.fc.transform_path_with_url_as_array(arr)), len(arr1))
class CollectionResourceTest(SimpleTestCase):
def setUp(self):
self.host = 'luc00557196.ibge.gov.br:8000/'
self.base_uri = "http://" + self.host + "controle-list/"
def test_simple_collection_request(self):
# requests.get(uri, headers={key: value, key: value})
res = requests.get(self.base_uri + "gasto-list/")
self.assertEquals(res.status_code, 200)
self.assertEquals(res.headers['content-type'], 'application/json')
def test_collection_request_by_attributes(self):
res = requests.get(self.base_uri + "gasto-list/id,data,valor")
self.assertEquals(res.status_code, 200)
self.assertEquals(res.headers['content-type'], 'application/json')
def test_distinct_operation_for_collection_resource(self):
res = requests.get(self.base_uri + "gasto-list/distinct/data")
self.assertEquals(res.status_code, 200)
self.assertEquals(res.headers['content-type'], 'application/json')
def test_offset_limit_operation_for_collection_resource(self):
res = requests.get(self.base_uri + "gasto-list/offsetLimit/2&3")
self.assertEquals(res.status_code, 200)
self.assertEquals(res.headers['content-type'], 'application/json')
"""
def test_groupBy_operation_for_collection_resource(self):
res = requests.get(self.base_uri + "gasto-list/groupBy/data,valor")
self.assertEquals(res.status_code, 200)
self.assertEquals(res.headers['content-type'], 'application/json')
"""
class AbstractRequestTest(SimpleTestCase):
def setUp(self):
self.bcim_base_uri = "http://" + HOST + "api/bcim/"
self.controle_base_uri = "http://" + HOST + "controle-list/"
self.raster_base_uri = "http://" + HOST + "raster/"
def aux_get_dict_from_response(self, response):
return dict( json.loads(response.text) )
def aux_get_keys_from_response(self, response):
response_dict = self.aux_get_dict_from_response(response)
return sorted( list(response_dict.keys()) )
# todo: this methods below must be moved for "AbstractOptionsRequestTest" class
def aux_get_keys_from_response_context(self, response):
response_dict = self.aux_get_dict_from_response(response)
return sorted( list(response_dict["@context"].keys()) )
def aux_get_keys_from_acontext_attrs(self, response, attr_name):
response_dict = self.aux_get_dict_from_response(response)
context_dict = response_dict["@context"]
return sorted( list( context_dict[attr_name].keys() ) )
class AbstractGetRequestTest(AbstractRequestTest):
def setUp(self):
super(AbstractGetRequestTest, self).setUp()
self.feature_collection_keys = ["features", "type"]
self.geometry_collection_keys = ["geometries", "type"]
self.feature_keys = ["geometry", "properties", "type"]
self.geometry_keys = ["coordinates", "type"]
def aux_get_list_from_response(self, response):
return list( json.loads(response.text) )
def aux_get_first_feature(self, response):
response_dict = self.aux_get_dict_from_response(response)
if "features" not in response_dict.keys():
return response_dict
return response_dict["features"][0]
def aux_get_first_feature_keys(self, response):
first_feature = self.aux_get_first_feature(response)
return sorted( list(first_feature.keys()) )
def aux_get_first_feature_properties_keys(self, response):
first_feature = self.aux_get_first_feature(response)
return sorted( list(first_feature['properties'].keys()) )
def aux_get_first_element_from_response_list(self, response):
return self.aux_get_list_from_response(response)[0]
def aux_get_first_element_keys_from_response_list(self, response):
first_element = self.aux_get_first_element_from_response_list(response)
return sorted( list(first_element.keys()) )
def aux_get_first_element_joined_length(self, response):
first_element = self.aux_get_first_element_from_response_list(response)
return len(first_element["__joined__"])
def aux_get_single_element_from_response(self, response):
response_text = json.loads(response.text)
return dict( response_text )
def aux_get_sigle_element_keys_from_response(self, response):
first_element = self.aux_get_single_element_from_response(response)
return sorted( list(first_element.keys()) )
def aux_get_first_geometry_keys_from_response_list(self, response):
response_dict = self.aux_get_dict_from_response(response)
first_geometry = response_dict["geometries"][0]
return sorted( list(first_geometry.keys()) )
def aux_get_single_feature_properties_keys_from_response(self, response):
response_dict = self.aux_get_dict_from_response(response)
return sorted( list(response_dict['properties'].keys()) )
class AbstractOptionsRequestTest(AbstractRequestTest):
def setUp(self):
super(AbstractOptionsRequestTest, self).setUp()
self.supported_operation_key = 'hydra:supportedOperations'
self.supported_property_key = 'hydra:supportedProperties'
self.term_definition_default_keys = ['hydra', 'rdfs', 'subClassOf']
self.simple_path_options_dict_keys = ['@context', '@id', '@type', 'hydra:iriTemplate', 'hydra:representationName',
self.supported_operation_key, self.supported_property_key, 'subClassOf']
self.non_simple_path_dict_keys = ["@context", '@id', '@type', self.supported_operation_key, 'subClassOf']
self.keys_from_attrs_context = ["@id", "@type"]
self.keys_from_oper_context = ["@id", "@type"]
self.expected_supported_property_keys = ["@type", "hydra:property", "hydra:readable", "hydra:required",
self.supported_operation_key, "hydra:writeable", "isExternal", "isIdentifier", "isUnique"]
self.spatial_operation_names = ['area', 'boundary', 'buffer', 'centroid', 'contains', 'convex_hull', 'coord_seq', 'coords', 'count', 'crosses',
'crs', 'difference', 'dims', 'disjoint', 'distance', 'empty', 'envelope', 'equals', 'equals_exact', 'ewkb',
'ewkt', 'extend', 'extent', 'geojson', 'geom_type', 'geom_typeid', 'get_coords', 'get_srid', 'get_x', 'get_y',
'get_z', 'has_cs', 'hasz', 'hex', 'hexewkb', 'index', 'interpolate', 'intersection', 'intersects', 'join', 'json', 'kml',
'length', 'normalize', 'num_coords', 'num_geom', 'num_points', 'ogr', 'overlaps', 'point_on_surface', 'projection',
'relate', 'relate_pattern', 'ring', 'simple', 'simplify', 'srid',
'srs', 'sym_difference', 'touches', 'transform', 'union', 'valid', 'valid_reason', 'within', 'wkb', 'wkt', 'x', 'y', 'z']
self.string_operations_names = ['capitalize', 'center', 'count', 'endswith', 'find', 'isalnum', 'isalpha', 'isdigit', 'islower', 'isupper',
'join', 'lower', 'split', 'startswith', 'upper']
self.basic_operations_names = ['join', 'projection']
self.spatial_collection_operation_names = ['bbcontains', 'bboverlaps', 'collect', 'contained', 'contains', 'contains-properly', 'count-resource',
'covers', 'covers-by', 'crosses', 'disjoint', 'distance-gt', 'distance-gte', 'distance-lt', 'distance-lte',
'distinct', 'dwithin', 'extent', 'filter', 'group-by-count', 'group-by-sum', 'intersects', 'isvalid', 'join', 'left',
'make-line', 'offset-limit', 'overlaps', 'overlaps-above', 'overlaps-below', 'overlaps-left', 'overlaps-right', 'projection',
'relate', 'right', 'strictly-above', 'strictly-below', 'touches', 'union', 'within']
self.collection_operation_names = ['collect', 'count-resource', 'distinct', 'filter', 'group-by-count', 'group-by-sum', 'join', 'offset-limit', 'projection']
self.raster_operation_names = ['bands', 'destructor', 'driver', 'extent', 'geotransform', 'height', 'info',
'metadata', 'name', 'origin', 'projection', 'ptr', 'ptr_type', 'scale', 'skew',
'srid', 'srs', 'transform', 'vsi_buffer', 'warp', 'width']
self.entrypoint_operation_names = ["collect", "count-resource", "filter", "offset-limit", "projection"]
self.collection_vocab = "http://www.w3.org/ns/hydra/core#Collection"
self.link_vocab = "http://www.w3.org/ns/hydra/core#Link"
self.entrypoint_vocab = "http://www.w3.org/ns/hydra/core#entrypoint"
def aux_get_context_keys_merged_with_default_keys(self, expected_context_keys):
expected_keys = deepcopy(expected_context_keys)
expected_keys.extend(self.term_definition_default_keys)
return sorted(expected_keys)
def aux_get_supported_property_keys(self, response):
response_dict = self.aux_get_dict_from_response(response)
supported_properties_keys = response_dict[self.supported_property_key][0].keys()
return sorted(supported_properties_keys)
def aux_get_supported_property_names(self, response):
response_dict = self.aux_get_dict_from_response(response)
supported_properties = response_dict[self.supported_property_key]
property_names = []
for sp in supported_properties:
property_names.append( sp['hydra:property'] )
return sorted(property_names)
def aux_get_supported_operations_names(self, response):
response_dict = self.aux_get_dict_from_response(response)
operations_names = [operation_dict['hydra:operation'] for operation_dict in response_dict[self.supported_operation_key]]
return sorted(operations_names)
def aux_get_supported_properties_names(self, response):
response_dict = self.aux_get_dict_from_response(response)
supp_props_names = [ supp_props["hydra:property"] for supp_props in response_dict[self.supported_property_key] ]
return sorted(supp_props_names)
class AbstractHeadRequestTest(AbstractRequestTest):
def aux_get_headers_list_from_response(self, response):
return sorted( list(response.headers.keys()) )
def aux_get_allowed_methods(self, response, allow_header):
allowed_methods = []
for method in response.headers[allow_header].split(','):
if method != '':
allowed_methods.append(method.strip())
return sorted(allowed_methods)
def aux_get_hypermidia_control_dict_from_link_header(self, response):
link_header_content = response.headers['link']
hypermidia_control_list = [hypermidia_control.strip() for hypermidia_control in link_header_content.split(',')]
hypermidia_control_dict = {}
for hypermidia_control in hypermidia_control_list:
hypermidia_control_splited = hypermidia_control.split(";")
key = hypermidia_control_splited.pop(1).strip()[5:-1] # removing rel=""
val = ";".join(hypermidia_control_splited)
hypermidia_control_dict[key] = val
return hypermidia_control_dict
def aux_get_hypermidia_control_from_link_header(self, response, hypermidia_control_rel):
return self.aux_get_hypermidia_control_dict_from_link_header(response)[hypermidia_control_rel]
# OPERATIONS SINTAX TEST
#python manage.py test hyper_resource.tests.GenericOperationsSintaxTest --testrunner=hyper_resource.tests.NoDbTestRunner
class GenericOperationsSintaxTest(SimpleTestCase):
def setUp(self):
self.generic_object = UsuarioDetail()
self.generic_object.object_model = Usuario()
def test_projection_operation_sintax(self):
self.assertTrue( self.generic_object.projection_operation_sintax_is_ok("projection/nome,email") )
self.assertTrue( self.generic_object.projection_operation_sintax_is_ok("projection/nome") )
self.assertFalse( self.generic_object.projection_operation_sintax_is_ok("projection/this_attribute_doesnt_exists") )
self.assertFalse( self.generic_object.projection_operation_sintax_is_ok("projection/") )
self.assertFalse( self.generic_object.projection_operation_sintax_is_ok("projection/this_operation_doesnt_exists") )
#python manage.py test hyper_resource.tests.CollectionOperationsSintaxTest --testrunner=hyper_resource.tests.NoDbTestRunner
class CollectionOperationsSintaxTest(SimpleTestCase):
def setUp(self):
self.collection_object = UsuarioList()
self.collection_object.object_model = Usuario()
"""gastos (referencia), id, nome, nome_usuario, data_nascimento, email, senha"""
def test_filter_operation_sintax(self):
# testing arr[0]
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filtering/nome/isnull")) # wrong name
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull")) # right version
# testing arr[1]
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/abc/isnull")) # inexistent attribute
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull")) # right version
# testing arr[2]
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/nome/xyz")) # not an boolean operator
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull")) # right version
# testing arr[3]
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull")) # arr[3] can be empty
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/")) # 'eq' needs an value
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/rio")) # right version (literal value)
#self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/geom/within/http://gabriel:8001/api/bcim/unidades-federativas/FF")) # reference to nowhere
#self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/geom/within/http://gabriel:8001/api/bcim/unidades-federativas/ES")))
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/" + HOST + "/controle-list/usuario-list/1/abc")) # reference to nowhere
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/" + HOST + "/controle-list/usuario-list/1/nome")) # right version (external value)
# testing arr[4]
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/rio/xyz/email/isnotnull")) # if arr[2] is an expression operator that expects a value, arr[4] must be AND or OR
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/rio/and/email/isnotnull")) # right version
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/between/2000-01-01/or/2010-01-01/")) # if arr[2] is 'between', arr[4] must be AND
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/between/2000-01-01/and/2010-01-01/")) # right version
# testing arr[-1] (without boolean operators AND or OR)
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/eq/not_an_operation")) # final index is not an operation nor a value that can be converted to Date type
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/eq/2000-01-01")) # final index can be converted to Date type
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull/count-resource")) # right version (has operation in the ending)
# another tests
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull"))
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/nome/isnull/and"))
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/nome")) # inssuficient arguments (at least 3)
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/between/2000-01-01/and/2010-01-01/and/nome/isnotnull"))
'''
# 1ยบ step test - testing array[:3]
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/isnull")) # filter/local_attribute/boolean_operator
# 2ยบ step test - testing array[3]
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/Rio")) # filter/local_attribute/boolean_operator/literal_value
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/http://172.30.10.86/api/bcim/unidades-federativas/ES/nome")) # filter/local_attribute/boolean_operator/external_value
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/isnull/and/nome/eq/r")) # filter/local_attribute/boolean_operator/literal_value/logical_operator
# 3ยบ step test - testing array[4]
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/r/and/data_nascimento/isnull")) # filter/local_attribute/boolean_operator/literal_value/logical_operator/...
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/isnull/and/nome/eq/r")) # filter/local_attribute/boolean_operator/logical_operator/local_attribute/...
# 4ยบ step test - testing array[5]
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/nome/eq/Rio/or/data_nascimento/isnull")) # filter/local_attribute/boolean_operator/literal_value/logical_operator/local_attribute...
self.assertTrue(self.collection_object.filter_operation_sintax_is_ok("filter/data_nascimento/isnull/or/nome/eq/Rio")) # filter/local_attribute/boolean_operator/logical_operator/local_attribute/boolean_operator...
self.assertFalse(self.collection_object.filter_operation_sintax_is_ok("filter/nome")) # less than 3 indexes
'''
def test_offset_limit_operation_sintax(self):
self.assertTrue( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/0&2") )
self.assertFalse( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/0&-2") )
self.assertFalse( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/-1&5") )
self.assertFalse( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/0&2/nome") )
self.assertFalse( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/0&2/nome,email") )
self.assertTrue( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/0&2/collect") )
self.assertFalse( self.collection_object.offset_limit_operation_sintax_is_ok("offset-limit/0") )
# SPECIFIC OPERATIONS TEST
#python manage.py test hyper_resource.tests.CollectOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class CollectOperationTest(AbstractGetRequestTest):
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
# FeatureCollection return
def test_collect_operation_with_feature_collection_return(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome&geom/buffer/0.2/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.feature_collection_keys)
first_feature_keys = self.aux_get_first_feature_keys(response)
self.assertEquals(first_feature_keys, self.feature_keys)
first_feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(first_feature_properties_keys, ['nome'])
def test_collect_operation_with_feature_collection_return_accept_header(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome&geom/buffer/0.2/",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_collect_operation_with_non_spatial_operation_and_feature_collection_return(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/geom&nome/upper")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.feature_collection_keys)
first_feature_keys = self.aux_get_first_feature_keys(response)
self.assertEquals(first_feature_keys, self.feature_keys)
first_feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(first_feature_properties_keys, ['upper']) # possible conceitual error
#response_dict = self.aux_get_dict_from_response(response)
#self.assertEquals(list(response_dict["features"][0]["properties"].keys()), ["upper"])
def test_collect_operation_with_non_spatial_operation_and_feature_collection_return_accept_header(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/geom&nome/upper",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# GeometryCollection return
def test_collect_operation_with_geometry_collection_return(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/geom/buffer/0.2/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.geometry_collection_keys)
first_geometry_keys = self.aux_get_first_geometry_keys_from_response_list(response)
self.assertEquals(first_geometry_keys, self.geometry_keys)
def test_collect_operation_with_geometry_collection_return_accept_header(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/geom/buffer/0.2/",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# list return
def test_collect_operation_with_spatial_operation_and_float_return(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome&geom/area")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ["area", "nome"])
def test_collect_operation_with_spatial_operation_and_float_return_accept_header(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome&geom/area",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_collect_operation_with_alphanumeric_operation(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome/upper")
self.assertEquals(response.status_code, 200)
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ["upper"])
def test_collect_operation_with_alphanumeric_operation_accept_header(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome/upper",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# with projection
def test_collect_operation_with_projection(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/projection/nome,geom/collect/nome&geom/buffer/0.5")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.feature_collection_keys)
first_feature_keys = self.aux_get_first_feature_keys(response)
self.assertListEqual(first_feature_keys, self.feature_keys)
first_feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(list(first_feature_properties_keys), ["nome"])
def test_collect_operation_with_projection_accept_header(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/collect/nome/upper",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_collect_operation_with_projection_different_from_collect_attrs(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/projection/geom/collect/nome&geom/buffer/0.5")
self.assertEquals(response.status_code, 400)
self.assertEquals(response.headers['content-type'], 'application/json')
# ------------------- TESTS FOR COLLECTION -------------------------------------
# list return
def test_collect_operation_with_collection_return(self):
response = requests.get(self.controle_base_uri + "usuario-list/collect/email&nome/upper/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ["email", "upper"])
def test_collect_operation_with_collection_return_with_accept_header(self):
response = requests.get(self.controle_base_uri + "usuario-list/collect/email&nome/upper/",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_collect_operation_with_collection_return_only_one_attribute(self):
response = requests.get(self.controle_base_uri + "usuario-list/collect/nome/upper/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ["upper"])
def test_collect_operation_with_collection_return_only_one_attribute_with_accept_header(self):
response = requests.get(self.controle_base_uri + "usuario-list/collect/nome/upper/",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# with projection
def test_collect_operation_with_projection_and_collection_return(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/nome,email/collect/email&nome/upper/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ["email", "upper"])
def test_collect_operation_with_projection_collection_return_and_accept_header(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/nome,email/collect/email&nome/upper/",
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_collect_operation_for_collection_with_projection_diferent_from_collect_attrs(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/email/collect/email&nome/upper/")
self.assertEquals(response.status_code, 400)
self.assertEquals(response.headers['content-type'], 'application/json')
#python manage.py test hyper_resource.tests.OptionsForCollectOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsForCollectOperationTest(AbstractOptionsRequestTest):
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
# FeatureCollection return
def test_options_collect_operation_for_feature_collection_buffer_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/sigla&geom/buffer/0.2")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "sigla", "subClassOf"])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
sigla_context_keys = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertEquals(sigla_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_collect_operation_for_feature_collection_buffer_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/sigla&geom/buffer/0.2",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "sigla", "subClassOf"])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
sigla_context_keys = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertEquals(sigla_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_collect_operation_for_feature_collection_lower_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/geom&sigla/lower/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "lower", "rdfs", "subClassOf"])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
lower_context_keys = self.aux_get_keys_from_acontext_attrs(response, "lower")
self.assertEquals(lower_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_collect_operation_for_feature_collection_lower_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/geom&sigla/lower",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "lower", "rdfs", "subClassOf"])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
lower_context_keys = self.aux_get_keys_from_acontext_attrs(response, "lower")
self.assertEquals(lower_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#FeatureCollection')
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
# GeometryCollection return
def test_options_collect_operation_for_feature_collection_only_geometry_attribute_and_buffer_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/geom/buffer/0.2")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_collect_operation_for_feature_collection_only_geometry_attribute_and_buffer_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/geom/buffer/0.2",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
# Collection return
def test_options_collect_operation_for_feature_collection_area_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/geom/area")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["area", "hydra", "rdfs", "subClassOf"])
area_context_keys = self.aux_get_keys_from_acontext_attrs(response, "area") # context for the float value, not the operation
self.assertEquals(area_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf") # context for the float value, not the operation
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collect_operation_for_feature_collection_area_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/geom/area",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["area", "hydra", "rdfs", "subClassOf"])
area_context_keys = self.aux_get_keys_from_acontext_attrs(response, "area") # context for the float value, not the operation
self.assertEquals(area_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf") # context for the float value, not the operation
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collect_operation_for_feature_collection_only_alphanumeric_attribute_and_lower_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/sigla/lower")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "lower", "rdfs", "subClassOf"])
lower_context_keys = self.aux_get_keys_from_acontext_attrs(response, "lower")
self.assertEquals(lower_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Text")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_collect_operation_for_feature_collection_only_alphanumeric_attribute_and_lower_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/collect/sigla/lower",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "lower", "rdfs", "subClassOf"])
lower_context_keys = self.aux_get_keys_from_acontext_attrs(response, "lower")
self.assertEquals(lower_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Text")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# with projection
def test_options_collect_operation_for_feature_collection_with_projection(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/projection/sigla,geom/collect/sigla&geom/buffer/0.2")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", 'rdfs', "sigla", 'subClassOf'])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
sigla_context_keys = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertEquals(sigla_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_collect_operation_for_feature_collection_with_projection_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/projection/sigla,geom/collect/sigla&geom/buffer/0.2",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", 'rdfs', "sigla", 'subClassOf'])
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
sigla_context_keys = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertEquals(sigla_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_collect_operation_for_feature_collection_with_projection_attributes_different_from_collect_attributes(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/projection/geom/collect/sigla&geom/buffer/0.2")
self.assertEquals(response.status_code, 400)
# ------------------- TESTS FOR COLLECTION -------------------------------------
# list return
# tests for collection collect operation
def test_options_collect_for_collection_with_lower_operation(self):
response = requests.options(self.controle_base_uri + 'usuario-list/collect/nome/upper')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Text")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_collect_for_collection_with_lower_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + 'usuario-list/collect/nome/upper',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Text")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collect_for_collection_with_lower_operation_two_attributes(self):
response = requests.options(self.controle_base_uri + 'usuario-list/collect/nome&email/upper')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
nome_upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_upper_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collect_for_collection_with_lower_operation_two_attributes_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + 'usuario-list/collect/nome&email/upper',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
nome_upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_upper_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# with projection
def test_options_collect_for_collection_with_lower_operation_two_attributes_and_projection(self):
response = requests.options(self.controle_base_uri + 'usuario-list/projection/nome,email/collect/nome&email/upper')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
nome_upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_upper_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collect_for_collection_with_lower_operation_two_attributes_and_projection_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + 'usuario-list/projection/nome,email/collect/nome&email/upper',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
nome_upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_upper_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collect_for_collection_with_projection_diferent_from_collect_attrs(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/email/collect/email&nome/upper/")
self.assertEquals(response.status_code, 400)
#python manage.py test hyper_resource.tests.GroupBySumOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class GroupBySumOperationTest(AbstractRequestTest):
def setUp(self):
super(GroupBySumOperationTest, self).setUp()
def test_group_by_sum_operation(self):
response = requests.get(self.controle_base_uri + "gasto-list/group-by-sum/data&valor")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
#python manage.py test hyper_resource.tests.ProjectionOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class ProjectionOperationTest(AbstractGetRequestTest):
# --------------- TESTS FOR NONSPATIAL RESOURCE ---------------------------------
def test_projection_for_non_spatial_resource(self):
implicit_projection_resp = requests.get(self.controle_base_uri + "usuario-list/1/nome,email") # implicit projection
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/json')
f_response_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(f_response_keys, ["email", "nome"])
explicit_projection_resp = requests.get(self.controle_base_uri + "usuario-list/1/projection/nome,email") # explicit projection
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/json')
s_response_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(s_response_keys, ["email", "nome"])
def test_projection_for_non_spatial_resource_accept_octet_stream(self):
implicit_projection_resp = requests.get(self.controle_base_uri + "usuario-list/1/nome,email", headers={"Accept": "application/octet-stream"}) # implicit projection
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
explicit_projection_resp = requests.get(self.controle_base_uri + "usuario-list/1/projection/nome,email", headers={"Accept": "application/octet-stream"}) # explicit projection
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
# --------------- TESTS FOR TIFF RESOURCE ---------------------------------
def test_projection_for_tiff_resource_all_attributes(self):
implicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid,rast')
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers["content-type"], 'image/tiff')
explicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/projection/rid,rast')
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers["content-type"], 'image/tiff')
def test_projection_for_tiff_resource_without_raster_attribute(self):
implicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid')
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers["content-type"], 'application/json')
f_response_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(f_response_keys, ["rid"])
explicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/projection/rid')
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers["content-type"], 'application/json')
s_response_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(s_response_keys, ["rid"])
def test_projection_for_tiff_resource_only_raster_attribute(self):
implicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rast')
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers["content-type"], 'image/tiff')
explicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/projection/rast')
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers["content-type"], 'image/tiff')
def test_projection_for_tiff_resource_all_attributes_accept_octet_stream(self):
pass
def test_projection_for_tiff_resource_without_raster_attribute_accept_octet_stream(self):
implicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid',
headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers["content-type"], 'application/octet-stream')
explicit_projection_resp = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/projection/rid',
headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers["content-type"], 'application/octet-stream')
def test_projection_for_tiff_resource_only_raster_attribute_accept_octet_stream(self):
pass
# --------------- TESTS FOR FEATURE RESOURCE ---------------------------------
def test_projection_for_feature_resource(self):
# implicit projection
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/nome,geom")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
f_response_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(f_response_keys, self.feature_keys)
f_feature_properties_keys = self.aux_get_single_feature_properties_keys_from_response(implicit_projection_resp)
self.assertEquals(f_feature_properties_keys, ["nome"])
# explicit projection
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/projection/nome,geom")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
s_response_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(s_response_keys, self.feature_keys)
s_feature_properties_keys = self.aux_get_single_feature_properties_keys_from_response(explicit_projection_resp)
self.assertEquals(s_feature_properties_keys, ["nome"])
def test_projection_for_feature_resource_without_geometric_attribute(self):
# implicit projection
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/nome,sigla")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/json')
f_feature_properties_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(f_feature_properties_keys, ["nome", "sigla"])
# explicit projection
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/projection/nome,sigla")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/json')
s_feature_properties_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(s_feature_properties_keys, ["nome", "sigla"])
def test_projection_for_feature_resource_only_geometric_attribute(self):
# implicit projection
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/geom")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
f_response_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(f_response_keys, self.geometry_keys)
# explicit projection
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/projection/geom")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
s_response_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(s_response_keys, self.geometry_keys)
def test_projection_for_feature_resource_accept_octet_stream(self):
# implicit projection
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/nome,geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/projection/nome,geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
def test_projection_for_feature_resource_without_geometric_attribute_accept_octet_stream(self):
# implicit projection
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/nome,sigla", headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/projection/nome,sigla", headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
def test_projection_for_feature_resource_only_geometric_attribute_accept_octet_stream(self):
# implicit projection
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
# explicit projection
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/ES/projection/geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
# --------------- TESTS FOR COLLECTION ---------------------------------
def test_projection_for_collection_resource(self):
implicit_projection_resp = requests.get(self.controle_base_uri + "usuario-list/nome,email/")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/json')
f_keys_from_first_element = self.aux_get_first_element_keys_from_response_list(implicit_projection_resp)
self.assertEquals(f_keys_from_first_element, ['email', 'nome'])
explicit_projection_resp = requests.get(self.controle_base_uri + "usuario-list/projection/nome,email/")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/json')
s_keys_from_first_element = self.aux_get_first_element_keys_from_response_list(explicit_projection_resp)
self.assertEquals(s_keys_from_first_element, ['email', 'nome'])
def test_projection_for_collection_resource_with_collect_operation(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/nome,email/collect/email&nome/upper")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
keys_from_frist_element = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(keys_from_frist_element, ['email', 'upper'])
def test_projection_for_collection_resource_with_collect_operation_projection_list_different_from_collect_list(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/nome,email/collect/nome/upper")
self.assertEquals(response.status_code, 400)
def test_projection_for_collection_resource_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + "usuario-list/nome,email/", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_projection_for_collection_resource_with_collect_operation_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + "usuario-list/projection/nome,email/collect/email&nome/upper", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
def test_projection_for_feature_collection(self):
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/nome,geom")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
f_first_feature_keys = self.aux_get_first_feature_keys(implicit_projection_resp)
self.assertEquals(f_first_feature_keys, self.feature_keys)
f_first_feature_properties_keys = self.aux_get_first_feature_properties_keys(implicit_projection_resp)
self.assertEquals(f_first_feature_properties_keys, ['nome'])
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/projection/nome,geom")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
s_first_feature_keys = self.aux_get_first_feature_keys(explicit_projection_resp)
self.assertEquals(s_first_feature_keys, self.feature_keys)
s_first_feature_properties_keys = self.aux_get_first_feature_properties_keys(explicit_projection_resp)
self.assertEquals(s_first_feature_properties_keys, ['nome'])
def test_projection_for_feature_collection_without_geometric_attribute(self):
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/nome")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/json')
f_first_element_keys = self.aux_get_first_element_keys_from_response_list(implicit_projection_resp)
self.assertEquals(f_first_element_keys, ['nome'])
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/projection/nome")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/json')
s_first_element_keys = self.aux_get_first_element_keys_from_response_list(explicit_projection_resp)
self.assertEquals(s_first_element_keys, ['nome'])
def test_projection_for_feature_collection_only_geometric_attribute(self):
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/geom")
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
f_first_geometry_keys = self.aux_get_first_geometry_keys_from_response_list(implicit_projection_resp)
self.assertEquals(f_first_geometry_keys, self.geometry_keys)
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/projection/geom")
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/vnd.geo+json')
s_first_geometry_keys = self.aux_get_first_geometry_keys_from_response_list(explicit_projection_resp)
self.assertEquals(s_first_geometry_keys, self.geometry_keys)
# tests just to know if projection works with collect operation (tests for collect operation must be in his specific test class)
def test_projection_for_feature_collection_with_collect_operation(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/projection/nome,geom/collect/nome&geom/buffer/0.2")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
first_feature_keys = self.aux_get_first_feature_keys(response)
self.assertEquals(first_feature_keys, self.feature_keys)
first_feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(first_feature_properties_keys, ['nome'])
def test_projection_for_feature_collection_with_collect_operation_projection_attributes_different_from_collect_attibutes(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/projection/nome,geom/collect/geom/buffer/0.2")
self.assertEquals(response.status_code, 400)
self.assertEquals(response.headers['content-type'], 'application/json')
# binary response
def test_projection_for_feature_collection_accept_octet_stream(self):
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/nome,geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/projection/nome,geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
def test_projection_for_feature_collection_without_geometric_attribute_accept_octet_stream(self):
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/nome", headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/projection/nome", headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
def test_projection_for_feature_collection_only_geometric_attribute_accept_octet_stream(self):
implicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
self.assertEquals(implicit_projection_resp.headers['content-type'], 'application/octet-stream')
explicit_projection_resp = requests.get(self.bcim_base_uri + "unidades-federativas/projection/geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
self.assertEquals(explicit_projection_resp.headers['content-type'], 'application/octet-stream')
def test_projection_for_feature_collection_with_collect_operation_accept_octet_stream(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/projection/nome,geom/collect/nome&geom/buffer/0.2",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
#python manage.py test hyper_resource.tests.OptionsForProjectionOperation --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsForProjectionOperation(AbstractOptionsRequestTest):
# --------------- TESTS FOR NONSPATIAL RESOURCE ---------------------------------
def test_options_for_non_spatial_resource_projection_operation(self):
# implicit projection
implicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/1/nome,email")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.basic_operations_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
f_email_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'email')
self.assertEquals(f_email_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'nome')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEquals(f_resp_dict['@id'], "https://schema.org/Thing")
self.assertEquals(f_resp_dict['@type'], "https://schema.org/Thing")
self.assertEquals(f_resp_dict['subClassOf'], "hydra:Resource")
# explicit projection
explicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/1/projection/nome,email")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.basic_operations_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
s_email_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'email')
self.assertEquals(s_email_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'nome')
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOd_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOd_context_keys, self.keys_from_oper_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEquals(s_resp_dict['@id'], "https://schema.org/Thing")
self.assertEquals(s_resp_dict['@type'], "https://schema.org/Thing")
self.assertEquals(s_resp_dict['subClassOf'], "hydra:Resource")
def test_options_for_non_spatial_resource_projection_operation_accept_octet_stream(self):
# implicit projection
implicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/1/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, [])
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
f_email_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'email')
self.assertEquals(f_email_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'nome')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_resp_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(f_resp_dict['@type'], 'https://schema.org/Thing')
self.assertEqual(f_resp_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/1/projection/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, [])
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
s_email_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'email')
self.assertEquals(s_email_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'nome')
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOf_context_keys, self.keys_from_attrs_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_resp_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(s_resp_dict['@type'], 'https://schema.org/Thing')
self.assertEqual(s_resp_dict['subClassOf'], 'hydra:Resource')
# --------------- TESTS FOR FEATURE RESOURCE ---------------------------------
def test_options_for_feature_resource_projection_operation(self):
# implicit project
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/ES/nome,geom/")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.spatial_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
#f_geom_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'geom')
#self.assertEquals(f_geom_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'nome')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_resp_dict['@id'], 'https://purl.org/geojson/vocab#Feature')
self.assertEqual(f_resp_dict['@type'], 'https://purl.org/geojson/vocab#Feature')
self.assertEqual(f_resp_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/ES/projection/nome,geom/")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.spatial_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
#s_geom_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'geom')
#self.assertEquals(s_geom_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'nome')
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOf_context_keys, self.keys_from_attrs_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_resp_dict['@id'], 'https://purl.org/geojson/vocab#Feature')
self.assertEqual(s_resp_dict['@type'], 'https://purl.org/geojson/vocab#Feature')
self.assertEqual(s_resp_dict['subClassOf'], 'hydra:Resource')
def test_options_for_feature_resource_projection_operation_only_geometric_attribute(self):
# implicit project
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geom/")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.spatial_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#f_geom_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'geom')
#self.assertEquals(f_geom_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_resp_dict['@id'], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEqual(f_resp_dict['@type'], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEqual(f_resp_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/ES/projection/geom/")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.spatial_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#s_geom_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'geom')
#self.assertEquals(s_geom_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOf_context_keys, self.keys_from_attrs_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_resp_dict['@id'], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEqual(s_resp_dict['@type'], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEqual(s_resp_dict['subClassOf'], 'hydra:Resource')
def test_options_for_feature_resource_projection_operation_only_alphanumeric_attribute(self):
# implicit project
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/ES/nome/")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.string_operations_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'nome')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_resp_dict['@id'], 'https://schema.org/name')
self.assertEqual(f_resp_dict['@type'], 'https://schema.org/Text')
self.assertEqual(f_resp_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/ES/projection/nome/")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.string_operations_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'nome')
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOf_context_keys, self.keys_from_attrs_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_resp_dict['@id'], 'https://schema.org/name')
self.assertEqual(s_resp_dict['@type'], 'https://schema.org/Text')
self.assertEqual(s_resp_dict['subClassOf'], 'hydra:Resource')
# --------------- TESTS FOR COLLECTION ---------------------------------
def test_options_for_collection_resource_projection_operation(self):
implicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/nome,email")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.collection_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
f_email_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'email')
self.assertEquals(f_email_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'nome')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_resp_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(f_resp_dict['@type'], self.collection_vocab)
self.assertEqual(f_resp_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/projection/nome,email")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.collection_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
s_email_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'email')
self.assertEquals(s_email_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'nome')
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOf_context_keys, self.keys_from_oper_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_resp_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(s_resp_dict['@type'], self.collection_vocab)
self.assertEqual(s_resp_dict['subClassOf'], 'hydra:Resource')
def test_options_for_collection_resource_projection_operation_with_collect_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/projection/nome,email/collect/nome&email/upper")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.collection_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
nome_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEqual(response_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(response_dict['@type'], self.collection_vocab)
self.assertEqual(response_dict['subClassOf'], 'hydra:Resource')
def test_options_for_collection_resource_projection_operation_with_collect_operation_projection_list_different_from_collect_list(self):
response = requests.options(self.controle_base_uri + "usuario-list/projection/nome/collect/nome&email/upper")
self.assertEquals(response.status_code, 400)
def test_options_for_collection_resource_projection_operation_accept_octet_stream(self):
implicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, [])
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
f_email_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'email')
self.assertEquals(f_email_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'nome')
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, 'subClassOf')
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_resp_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_resp_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(f_resp_dict['@type'], self.collection_vocab)
self.assertEqual(f_resp_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.controle_base_uri + "usuario-list/projection/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, [])
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
s_email_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'email')
self.assertEquals(s_email_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'nome')
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, 'subClassOf')
self.assertEquals(s_subClassOf_context_keys, self.keys_from_oper_context)
s_resp_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_resp_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(s_resp_dict['@type'], self.collection_vocab)
self.assertEqual(s_resp_dict['subClassOf'], 'hydra:Resource')
def test_options_for_collection_resource_projection_operation_with_collect_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/projection/nome,email/collect/nome&email/upper",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf', 'upper'])
upper_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_context_keys, self.keys_from_attrs_context)
nome_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEqual(response_dict['@id'], 'https://schema.org/Thing')
self.assertEqual(response_dict['@type'], self.collection_vocab)
self.assertEqual(response_dict['subClassOf'], 'hydra:Resource')
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
def test_options_for_feature_collection_projection_operation(self):
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/nome,geom")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.spatial_collection_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
#f_geom_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "geom")
#self.assertEquals(f_geom_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "nome")
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_response_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEquals(f_response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(f_response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(f_response_dict["subClassOf"], self.collection_vocab)
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome,geom")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.spatial_collection_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
#s_geom_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "geom")
#self.assertEquals(s_geom_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "nome")
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "subClassOf")
self.assertEquals(s_subClassOf_context_keys, self.keys_from_oper_context)
s_response_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEquals(s_response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(s_response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(s_response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_projection_operation_only_geometric_attribute(self):
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/geom")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.spatial_collection_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#f_geom_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "geom")
#self.assertEquals(f_geom_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_response_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEquals(f_response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(f_response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(f_response_dict["subClassOf"], self.collection_vocab)
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/projection/geom")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.spatial_collection_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#s_geom_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "geom")
#self.assertEquals(s_geom_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "subClassOf")
self.assertEquals(s_subClassOf_context_keys, self.keys_from_oper_context)
s_response_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEquals(s_response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(s_response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(s_response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_projection_operation_only_alphanumeric_attributes(self):
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/nome")
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.collection_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "nome")
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_response_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_response_dict['@id'], 'https://schema.org/name')
self.assertEqual(f_response_dict['@type'], self.collection_vocab)
self.assertEqual(f_response_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome")
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.collection_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "nome")
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "subClassOf")
self.assertEquals(s_subClassOf_context_keys, self.keys_from_oper_context)
s_response_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_response_dict['@id'], 'https://schema.org/name')
self.assertEqual(s_response_dict['@type'], self.collection_vocab)
self.assertEqual(s_response_dict['subClassOf'], 'hydra:Resource')
def test_options_for_feature_collection_projection_operation_with_collect_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome,geom/collect/nome&geom/buffer/0.2")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.spatial_collection_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertEquals(nome_context_keys, self.keys_from_attrs_context)
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_projection_operation_with_collect_operation_projection_list_different_from_collect_list(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome,geom/collect/geom/buffer/0.2")
self.assertEquals(response.status_code, 400)
# Accept: application/octet-stream
def test_options_for_feature_collection_projection_operation_accept_octet_stream(self):
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/nome,geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.spatial_collection_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
#f_geom_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "geom")
#self.assertEquals(f_geom_context_keys, self.keys_from_attrs_context)
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "nome")
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_response_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEquals(f_response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(f_response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(f_response_dict["subClassOf"], self.collection_vocab)
#explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome,geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.spatial_collection_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
#s_geom_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "geom")
#self.assertEquals(s_geom_context_keys, self.keys_from_attrs_context)
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "nome")
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(s_subClassOf_context_keys, self.keys_from_attrs_context)
s_response_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEquals(s_response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(s_response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(s_response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_projection_operation_only_geometric_attribute_accept_octet_stream(self):
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, self.spatial_collection_operation_names)
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#f_geom_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "geom")
#self.assertEquals(f_geom_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_response_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEquals(f_response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(f_response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(f_response_dict["subClassOf"], self.collection_vocab)
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/projection/geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, self.spatial_collection_operation_names)
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#s_geom_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "geom")
#self.assertEquals(s_geom_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "subClassOf")
self.assertEquals(s_subClassOf_context_keys, self.keys_from_oper_context)
s_response_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEquals(s_response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(s_response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(s_response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_projection_operation_only_alphanumeric_attributes_accept_octet_stream(self):
implicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(implicit_projection_resp.status_code, 200)
implicit_projection_resp_keys = self.aux_get_keys_from_response(implicit_projection_resp)
self.assertEquals(implicit_projection_resp_keys, self.non_simple_path_dict_keys)
f_supported_operations_names = self.aux_get_supported_operations_names(implicit_projection_resp)
self.assertEquals(f_supported_operations_names, [])
f_acontext_keys = self.aux_get_keys_from_response_context(implicit_projection_resp)
self.assertEquals(f_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
f_nome_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "nome")
self.assertEquals(f_nome_context_keys, self.keys_from_attrs_context)
f_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(implicit_projection_resp, "subClassOf")
self.assertEquals(f_subClassOf_context_keys, self.keys_from_attrs_context)
f_response_dict = self.aux_get_dict_from_response(implicit_projection_resp)
self.assertEqual(f_response_dict['@id'], 'https://schema.org/name')
self.assertEqual(f_response_dict['@type'], self.collection_vocab)
self.assertEqual(f_response_dict['subClassOf'], 'hydra:Resource')
# explicit projection
explicit_projection_resp = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(explicit_projection_resp.status_code, 200)
explicit_projection_resp_keys = self.aux_get_keys_from_response(explicit_projection_resp)
self.assertEquals(explicit_projection_resp_keys, self.non_simple_path_dict_keys)
s_supported_operations_names = self.aux_get_supported_operations_names(explicit_projection_resp)
self.assertEquals(s_supported_operations_names, [])
s_acontext_keys = self.aux_get_keys_from_response_context(explicit_projection_resp)
self.assertEquals(s_acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
s_nome_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "nome")
self.assertEquals(s_nome_context_keys, self.keys_from_attrs_context)
s_subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(explicit_projection_resp, "subClassOf")
self.assertEquals(s_subClassOf_context_keys, self.keys_from_attrs_context)
s_response_dict = self.aux_get_dict_from_response(explicit_projection_resp)
self.assertEqual(s_response_dict['@id'], 'https://schema.org/name')
self.assertEqual(s_response_dict['@type'], self.collection_vocab)
self.assertEqual(s_response_dict['subClassOf'], 'hydra:Resource')
def test_options_for_feature_collection_projection_operation_with_collect_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/projection/nome,geom/collect/nome&geom/buffer/0.2",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.spatial_collection_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertEquals(nome_context_keys, self.keys_from_attrs_context)
#geom_context_keys = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertEquals(geom_context_keys, self.keys_from_attrs_context)
subClassOf_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_context_keys, self.keys_from_oper_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
#python manage.py test hyper_resource.tests.FilterOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class FilterOperationTest(AbstractRequestTest):
def aux_get_attributes_from_features(self, response, attribute_name):
response_dict = self.aux_get_dict_from_response(response)
attrs_arr = [feature['properties'][attribute_name] for feature in response_dict['features'] ]
return sorted(attrs_arr)
def test_simple_filter(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/geocodigo/eq/22/")
self.assertEquals(response.status_code, 200)
names_list = self.aux_get_attributes_from_features(response, "nome")
self.assertEquals(names_list, ["Piauí"])
def test_filter_with_or_operator(self):
# Maranhão = 21
# Piauí = 22
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/geocodigo/eq/22/or/nome/eq/Maranhão/")
self.assertEquals(response.status_code, 200)
names_list = self.aux_get_attributes_from_features(response, "nome")
self.assertEquals(names_list, ["Maranhão", "Piauí"])
def test_filter_with_and_operator(self):
# Maranhão = 21
# Piauí = 22
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/geocodigo/eq/22/and/nome/eq/Maranhão/")
self.assertEquals(response.status_code, 200)
names_list = self.aux_get_attributes_from_features(response, "nome")
self.assertEquals(names_list, [])
# WARNING: This test don't pass and this problem must be solved by the url interpretor
def test_precedence_between_AND_operator_and_OR_operator(self):
'''
Independent of which order you put AND or OR operator, the result must be the same
(AND operator is always be the first to be considered)
# Maranhão = 21
# Piauí = 22
'''
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/geocodigo/eq/22/or/nome/eq/Maranhão/and/geocodigo/eq/21/")
self.assertEquals(response.status_code, 200)
names_list = self.aux_get_attributes_from_features(response, "nome")
self.assertEquals(names_list, ["Maranhão", "Piauí"])
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/nome/eq/Maranhão/and/geocodigo/eq/21/or/geocodigo/eq/22/")
self.assertEquals(response.status_code, 200)
names_list = self.aux_get_attributes_from_features(response, "nome")
self.assertEquals(names_list, ["Maranhão", "Piauí"])
#python manage.py test hyper_resource.tests.JoinOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class JoinOperationTest(AbstractGetRequestTest):
def setUp(self):
super(JoinOperationTest, self).setUp()
self.pesquisa_esporte_base_url = "http://172.30.10.86/esporte-list/"
self.munic_2015_base_uri = "http://172.30.10.86/api/munic-2015/"
self.pib_municipio_base_uri = "http://172.30.10.86/api/pib-municipio/"
self.feature_keys = ["geometry", "id", "properties", "type"]
def aux_get_first_joined_dict_attributes_from_first_feature(self, response):
first_feature = self.aux_get_first_feature(response)
first_joined_alfa_dict = first_feature['properties']['__joined__'][0]
return sorted( list(first_joined_alfa_dict.keys()) )
def aux_get_first_feature_joined_length(self, response):
first_feature = self.aux_get_first_feature(response)
return len(first_feature['properties']['__joined__'])
def aux_get_first_joined_dict_attributes_from_single_element_response(self, response):
first_element = self.aux_get_single_element_from_response(response)
return sorted( first_element["__joined__"][0].keys() )
def aux_get_first_joined_dict_attributes_from_first_element_response(self, response):
first_element = self.aux_get_first_element_from_response_list(response)
return sorted( list(first_element["__joined__"][0].keys()) )
def aux_get_single_element_joined_length(self, response):
first_element = self.aux_get_single_element_from_response(response)
return len(first_element['__joined__'])
# --------------- TESTS FOR NON SPATIAL RESOURCE ---------------------------------
def test_join_operation_for_non_spatial_resource_one_to_one_rel(self):
response = requests.get(self.controle_base_uri + "gasto-list/7/join/cod_municipio&geocodigo/" + self.munic_2015_base_uri + "variaveis-externas-list/3243")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_sigle_element_keys_from_response(response)
self.assertEquals(first_element_keys, ['__joined__', 'cod_municipio', 'data', 'id', 'tipo_gasto', 'usuario', 'valor'])
joined_dicts_len = self.aux_get_single_element_joined_length(response)
self.assertEquals(joined_dicts_len, 1)
joined_attrs_list = self.aux_get_first_joined_dict_attributes_from_single_element_response(response)
self.assertEquals(joined_attrs_list, ['classe_tama_populacao_estimada_2015', 'codfigo_uf', 'geocodigo',
'id_variaveis_externas', 'nome_municipio', 'populacao_estimada_2015',
'regiao', 'sigla_unidade_federacao'])
def test_join_operation_for_non_spatial_resource_one_to_one_rel_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + "gasto-list/7/join/cod_municipio&geocodigo/" + self.munic_2015_base_uri + "variaveis-externas-list/3243",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_join_operation_for_non_spatial_resource_one_to_many_rel(self):
response = requests.get(self.controle_base_uri + "gasto-list/7/join/cod_municipio&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/eq/3304557/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_sigle_element_keys_from_response(response)
self.assertEquals(first_element_keys, ['__joined__', 'cod_municipio', 'data', 'id', 'tipo_gasto', 'usuario', 'valor'])
joined_dicts_len = self.aux_get_single_element_joined_length(response)
self.assertEquals(joined_dicts_len, 6)
joined_attrs_list = self.aux_get_first_joined_dict_attributes_from_single_element_response(response)
self.assertEquals(joined_attrs_list, ['ano', 'cod_municipio', 'id', 'id_municipio', 'impostos_produtos',
'num_habitantes', 'valor_bruto_adm', 'valor_bruto_agro', 'valor_bruto_ind',
'valor_bruto_serv'])
def test_join_operation_for_non_spatial_resource_one_to_many_rel_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + "gasto-list/7/join/cod_municipio&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/eq/3304557/",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# --------------- TESTS FOR COLLECTION RESOURCE ---------------------------------
def test_join_operations_for_collection_resource_one_to_one_rel(self):
response = requests.get(self.controle_base_uri + "gasto-list/join/cod_municipio&geocodigo/" + self.munic_2015_base_uri + "variaveis-externas-list/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ['__joined__', 'cod_municipio', 'data', 'id', 'tipo_gasto', 'usuario', 'valor'])
joined_dicts_len = self.aux_get_first_element_joined_length(response)
self.assertEquals(joined_dicts_len, 1)
joined_attrs_list = self.aux_get_first_joined_dict_attributes_from_first_element_response(response)
self.assertEquals(joined_attrs_list, ['classe_tama_populacao_estimada_2015', 'codfigo_uf', 'geocodigo',
'id_variaveis_externas', 'nome_municipio', 'populacao_estimada_2015',
'regiao', 'sigla_unidade_federacao'])
def test_join_operations_for_collection_resource_one_to_one_rel_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + "gasto-list/join/cod_municipio&geocodigo/" + self.munic_2015_base_uri + "variaveis-externas-list/",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_join_operations_for_collection_resource_one_to_many_rel(self):
response = requests.get(self.controle_base_uri + "gasto-list/join/cod_municipio&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/in/3550308&3304557")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/json')
first_element_keys = self.aux_get_first_element_keys_from_response_list(response)
self.assertEquals(first_element_keys, ['__joined__', 'cod_municipio', 'data', 'id', 'tipo_gasto', 'usuario', 'valor'])
joined_dicts_len = self.aux_get_first_element_joined_length(response)
self.assertEquals(joined_dicts_len, 6)
joined_attrs_list = self.aux_get_first_joined_dict_attributes_from_first_element_response(response)
self.assertEquals(joined_attrs_list, ['ano', 'cod_municipio', 'id', 'id_municipio', 'impostos_produtos',
'num_habitantes', 'valor_bruto_adm', 'valor_bruto_agro', 'valor_bruto_ind',
'valor_bruto_serv'])
def test_join_operations_for_collection_resource_one_to_many_rel_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + "gasto-list/join/cod_municipio&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/in/3550308&3304557",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# --------------- TESTS FOR FEATURE RESOURCE ---------------------------------
def test_join_operation_for_feature_resource_one_to_one_rel(self):
response = requests.get(self.bcim_base_uri + "municipios/3304557/join/geocodigo&geocodigo/" + self.munic_2015_base_uri + "planejamento-urbano-list/3243/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.feature_keys)
feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(feature_properties_keys, ["__joined__", "anodereferencia", "geocodigo", "geometriaaproximada", "nome", "nomeabrev"])
joined_dicts_len = self.aux_get_first_feature_joined_length(response)
self.assertEquals(joined_dicts_len, 1)
joined_alfanumeric_attrs = self.aux_get_first_joined_dict_attributes_from_first_feature(response)
self.assertEquals(joined_alfanumeric_attrs, ['ano_lei_codigo_obras', 'ano_lei_criacao',
'ano_lei_legis_sob_area_zona_espe_inte_social',
'ano_lei_legis_sob_zona_area_espe_inter',
'ano_lei_legis_sobre_parc_solo',
'ano_lei_legis_sobre_zone_uso_ocupa_solo',
'ano_lei_legislacao_sobre_contri_melhoria',
'ano_lei_legislacao_sobre_dire_superficie',
'ano_lei_legislacao_sobre_estu_impa_vizinhanca',
'ano_lei_legislacao_sobre_estu_pre_impa_ambiental',
'ano_lei_legislacao_sobre_legitimacao_posse',
'ano_lei_legislacao_sobre_ope_urba_consorciada',
'ano_lei_legislacao_sobre_regula_fundiaria',
'ano_lei_legislacao_sobre_servi_administrativa',
'ano_lei_legislacao_sobre_solo_cria_outorga_onerosa_dir_construi',
'ano_lei_legislacao_sobre_tombamento',
'ano_lei_legislacao_sobre_uni_conservacao',
'ano_lei_legislacao_sobre_usuca_espe_imovel_urbano',
'ano_lei_legislacao_sobre_zonea_ambi_zonea_ecologico_economico',
'ano_lei_lei_perimetro_urba',
'ano_leilegislacao_sobre_conce_uso_espe_fins_moradia',
'ano_ultima_atualizacao', 'caract_orgao_gestor_plane_urba_munic',
'codigo_municipio', 'codigo_obras_existencia', 'codigo_uf',
'geocodigo', 'id_planejamento_urbano',
'informacoes_sob_gestor_escolaridade',
'legis_sobre_parc_solo_existencia',
'legislacao_sobre_area_zona_espec_inter_social_existencia',
'legislacao_sobre_conce_uso_espe_fins_moradia',
'legislacao_sobre_contri_melhoria_existencia',
'legislacao_sobre_dire_superficie',
'legislacao_sobre_estu_impa_vizinhanca_existencia',
'legislacao_sobre_estu_pre_impa_ambiental',
'legislacao_sobre_legitimacao_posse',
'legislacao_sobre_ope_urba_consorciada_existencia',
'legislacao_sobre_regula_fundiaria',
'legislacao_sobre_servi_administrativa',
'legislacao_sobre_solo_cria_outorga_onerosa_dir_construir_exist',
'legislacao_sobre_tombamento',
'legislacao_sobre_uni_conservacao',
'legislacao_sobre_usuca_espe_imovel_urbano',
'legislacao_sobre_zona_area_espe_inter_existencia',
'legislacao_sobre_zone_uso_ocupa_solo_existencia',
'legislacao_sobre_zonea_ambi_zonea_ecologico_economico',
'lei_perimetro_urba_existencia', 'nome',
'o_municipio_elabo_plano_diretor', 'plano_diretor_existencia'] )
def test_join_operation_for_feature_resource_one_to_one_rel_accept_octet_stream(self):
response = requests.get(self.bcim_base_uri + "municipios/3304557/join/geocodigo&geocodigo/" + self.munic_2015_base_uri + "planejamento-urbano-list/3243/",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_join_operation_for_feature_resource_one_to_many_rel(self):
response = requests.get(self.bcim_base_uri + "municipios/3304557/join/geocodigo&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/eq/3304557")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.feature_keys)
feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(feature_properties_keys, ['__joined__', 'anodereferencia', 'geocodigo', 'geometriaaproximada', 'nome', 'nomeabrev'])
joined_dicts_len = self.aux_get_first_feature_joined_length(response)
self.assertEquals(joined_dicts_len, 6)
joined_dict_attrs = self.aux_get_first_joined_dict_attributes_from_first_feature(response)
self.assertEquals(joined_dict_attrs, ['ano', 'cod_municipio', 'id', 'id_municipio', 'impostos_produtos',
'num_habitantes', 'valor_bruto_adm', 'valor_bruto_agro',
'valor_bruto_ind', 'valor_bruto_serv'])
def test_join_operation_for_feature_resource_one_to_many_rel_accept_octet_stream(self):
response = requests.get(self.bcim_base_uri + "municipios/3304557/join/geocodigo&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/eq/3304557",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
def test_join_operation_for_feature_collection_one_to_one_rel(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/sigla/in/RJ&ES&MG/join/geocodigo&cod_estado/" + self.pesquisa_esporte_base_url + "cond-funcionamento-list/filter/cod_estado/in/31&32&33&35/")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/vnd.geo+json')
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.feature_collection_keys)
first_feature_keys = self.aux_get_first_feature_keys(response)
self.assertEquals(first_feature_keys, self.feature_keys)
first_feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(first_feature_properties_keys, ["__joined__", "geocodigo", "geometriaaproximada", "nome", "nomeabrev", "sigla"])
joined_alfanumeric_attrs = self.aux_get_first_joined_dict_attributes_from_first_feature(response)
self.assertEquals(joined_alfanumeric_attrs, ['ano', 'autodromo_func', 'autodromo_parado', 'cod_estado',
'compl_aqua_func', 'compl_aqua_parado', 'compl_esp_func',
'compl_esp_parado', 'est_func', 'est_parado', 'gin_func',
'gin_parado', 'id', 'id_estado', 'kartodromo_func',
'kartodromo_parado'] )
def test_join_operation_for_feature_collection_one_to_one_rel_accept_octet_stream(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/filter/sigla/in/RJ&ES&MG/join/geocodigo&cod_estado/" + self.pesquisa_esporte_base_url + "cond-funcionamento-list/filter/cod_estado/in/31&32&33&35/",
headers={"accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers['content-type'], 'application/octet-stream')
def test_join_operation_for_feature_collection_one_to_many_rel(self):
response = requests.get(self.bcim_base_uri + "municipios/filter/nome/in/Rio de Janeiro&Belo Horizonte&Sรฃo Paulo/join/geocodigo&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/in/3304557&3106200&3550308&4106902")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/vnd.geo+json')
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.feature_collection_keys)
first_feature_keys = self.aux_get_first_feature_keys(response)
self.assertEquals(first_feature_keys, self.feature_keys)
first_feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertEquals(first_feature_properties_keys, ["__joined__", "anodereferencia", "geocodigo", "geometriaaproximada", "nome", "nomeabrev"])
joined_dicts_len = self.aux_get_first_feature_joined_length(response)
self.assertEquals(joined_dicts_len, 6)
joined_dict_attrs = self.aux_get_first_joined_dict_attributes_from_first_feature(response)
self.assertEquals(joined_dict_attrs, ['ano', 'cod_municipio', 'id', 'id_municipio', 'impostos_produtos',
'num_habitantes', 'valor_bruto_adm', 'valor_bruto_agro',
'valor_bruto_ind', 'valor_bruto_serv'])
def test_join_operation_for_feature_collection_one_to_many_rel_accept_octet_stream(self):
response = requests.get(self.bcim_base_uri + "municipios/filter/nome/in/Rio de Janeiro&Belo Horizonte&Sรฃo Paulo/join/geocodigo&cod_municipio/" + self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/in/3304557&3106200&3550308&4106902",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/octet-stream')
#python manage.py test hyper_resource.tests.OptionsForJoinOperationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsForJoinOperationTest(AbstractOptionsRequestTest):
def setUp(self):
super(OptionsForJoinOperationTest, self).setUp()
self.pesquisa_esporte_base_url = "http://172.30.10.86/esporte-list/"
self.munic_2015_base_uri = "http://172.30.10.86/api/munic-2015/"
self.pib_municipio_base_uri = "http://172.30.10.86/api/pib-municipio/"
self.keys_from_external_attr_context = ['@id', '@type', self.link_vocab, 'hydra:method']
# --------------- TESTS FOR FEATURE RESOURCE ---------------------------------
# todo: provisory test, full context must be implemented
def test_options_for_feature_resource_join_operation_one_to_one_rel(self):
response = requests.options(self.bcim_base_uri + "municipios/3304557/join/geocodigo&geocodigo/" + self.munic_2015_base_uri + "planejamento-urbano-list/3243/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.spatial_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['anodereferencia', 'geocodigo', 'geom', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev'])
geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertEquals(geocodigo_acontext_keys, self.keys_from_attrs_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
# todo: test for join full context
'''
response = requests.options(self.bcim_base_uri + "municipios/3304557/join/geocodigo&geocodigo/" + self.munic_2015_base_uri + "planejamento-urbano-list/3243/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.spatial_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['ano_lei_codigo_obras', 'ano_lei_criacao', 'ano_lei_legis_sob_area_zona_espe_inte_social',
'ano_lei_legis_sob_zona_area_espe_inter', 'ano_lei_legis_sobre_parc_solo',
'ano_lei_legis_sobre_zone_uso_ocupa_solo', 'ano_lei_legislacao_sobre_contri_melhoria',
'ano_lei_legislacao_sobre_dire_superficie', 'ano_lei_legislacao_sobre_estu_impa_vizinhanca',
'ano_lei_legislacao_sobre_estu_pre_impa_ambiental', 'ano_lei_legislacao_sobre_legitimacao_posse',
'ano_lei_legislacao_sobre_ope_urba_consorciada', 'ano_lei_legislacao_sobre_regula_fundiaria',
'ano_lei_legislacao_sobre_servi_administrativa', 'ano_lei_legislacao_sobre_solo_cria_outorga_onerosa_dir_construi',
'ano_lei_legislacao_sobre_tombamento', 'ano_lei_legislacao_sobre_uni_conservacao',
'ano_lei_legislacao_sobre_usuca_espe_imovel_urbano', 'ano_lei_legislacao_sobre_zonea_ambi_zonea_ecologico_economico',
'ano_lei_lei_perimetro_urba', 'ano_leilegislacao_sobre_conce_uso_espe_fins_moradia',
'ano_ultima_atualizacao', 'anodereferencia', 'caract_orgao_gestor_plane_urba_munic',
'codigo_municipio', 'codigo_obras_existencia', 'codigo_uf', 'geocodigo', 'geom',
'geometriaaproximada', 'http://172.30.10.86/api/munic-2015/planejamento-urbano-list/3243/:geocodigo',
'http://172.30.10.86/api/munic-2015/planejamento-urbano-list/3243/:nome', 'id_objeto',
'id_planejamento_urbano', 'informacoes_sob_gestor_escolaridade', 'iri_metadata',
'iri_style', 'legis_sobre_parc_solo_existencia', 'legislacao_sobre_area_zona_espec_inter_social_existencia',
'legislacao_sobre_conce_uso_espe_fins_moradia', 'legislacao_sobre_contri_melhoria_existencia',
'legislacao_sobre_dire_superficie', 'legislacao_sobre_estu_impa_vizinhanca_existencia',
'legislacao_sobre_estu_pre_impa_ambiental', 'legislacao_sobre_legitimacao_posse',
'legislacao_sobre_ope_urba_consorciada_existencia', 'legislacao_sobre_regula_fundiaria',
'legislacao_sobre_servi_administrativa', 'legislacao_sobre_solo_cria_outorga_onerosa_dir_construir_exist',
'legislacao_sobre_tombamento', 'legislacao_sobre_uni_conservacao', 'legislacao_sobre_usuca_espe_imovel_urbano',
'legislacao_sobre_zona_area_espe_inter_existencia', 'legislacao_sobre_zone_uso_ocupa_solo_existencia',
'legislacao_sobre_zonea_ambi_zonea_ecologico_economico', 'lei_perimetro_urba_existencia', 'nome',
'nomeabrev', 'o_municipio_elabo_plano_diretor', 'plano_diretor_existencia'])
# 'geocodigo' is present in the feature and in the external resourse, hence 'geocodigo' in the external resource must be preffixed
external_geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "http://172.30.10.86/api/munic-2015/planejamento-urbano-list/3243/:geocodigo")
self.assertEquals(external_geocodigo_acontext_keys, self.keys_from_external_attr_context)
external_codigo_municipio_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "codigo_municipio")
self.assertEquals(external_codigo_municipio_acontext_keys, self.keys_from_external_attr_context)
# 'geocodigo' (without preffix) comes from the feature
geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertEquals(geocodigo_acontext_keys, self.keys_from_attrs_context)
join_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "join")
self.assertEquals(join_acontext_keys, self.keys_from_oper_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@type"], "Feature")
'''
"""
def test_options_for_feature_resource_join_operation_one_to_many_rel(self):
response = requests.options(self.bcim_base_uri + "municipios/3304557/join/geocodigo&cod_municipio/" +
self.pib_municipio_base_uri + "faturamento-list/filter/cod_municipio/eq/3304557")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.spatial_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['ano_lei_codigo_obras', 'ano_lei_criacao', 'ano_lei_legis_sob_area_zona_espe_inte_social',
'ano_lei_legis_sob_zona_area_espe_inter', 'ano_lei_legis_sobre_parc_solo',
'ano_lei_legis_sobre_zone_uso_ocupa_solo', 'ano_lei_legislacao_sobre_contri_melhoria',
'ano_lei_legislacao_sobre_dire_superficie', 'ano_lei_legislacao_sobre_estu_impa_vizinhanca',
'ano_lei_legislacao_sobre_estu_pre_impa_ambiental', 'ano_lei_legislacao_sobre_legitimacao_posse',
'ano_lei_legislacao_sobre_ope_urba_consorciada', 'ano_lei_legislacao_sobre_regula_fundiaria',
'ano_lei_legislacao_sobre_servi_administrativa', 'ano_lei_legislacao_sobre_solo_cria_outorga_onerosa_dir_construi',
'ano_lei_legislacao_sobre_tombamento', 'ano_lei_legislacao_sobre_uni_conservacao',
'ano_lei_legislacao_sobre_usuca_espe_imovel_urbano', 'ano_lei_legislacao_sobre_zonea_ambi_zonea_ecologico_economico',
'ano_lei_lei_perimetro_urba', 'ano_leilegislacao_sobre_conce_uso_espe_fins_moradia', 'ano_ultima_atualizacao',
'caract_orgao_gestor_plane_urba_munic', 'codigo_municipio', 'codigo_obras_existencia',
'codigo_uf', 'http://172.30.10.86/api/pib-municipio/faturamento-list:geocodigo', 'id_planejamento_urbano',
'informacoes_sob_gestor_escolaridade', 'legis_sobre_parc_solo_existencia',
'legislacao_sobre_area_zona_espec_inter_social_existencia', 'legislacao_sobre_conce_uso_espe_fins_moradia',
'legislacao_sobre_contri_melhoria_existencia', 'legislacao_sobre_dire_superficie',
'legislacao_sobre_estu_impa_vizinhanca_existencia', 'legislacao_sobre_estu_pre_impa_ambiental',
'legislacao_sobre_legitimacao_posse', 'legislacao_sobre_ope_urba_consorciada_existencia',
'legislacao_sobre_regula_fundiaria', 'legislacao_sobre_servi_administrativa',
'legislacao_sobre_solo_cria_outorga_onerosa_dir_construir_exist', 'legislacao_sobre_tombamento',
'legislacao_sobre_uni_conservacao', 'legislacao_sobre_usuca_espe_imovel_urbano',
'legislacao_sobre_zona_area_espe_inter_existencia', 'legislacao_sobre_zone_uso_ocupa_solo_existencia',
'legislacao_sobre_zonea_ambi_zonea_ecologico_economico', 'lei_perimetro_urba_existencia', '(joined) nome', # same attribute name on different resources
'o_municipio_elabo_plano_diretor', 'plano_diretor_existencia',
'anodereferencia', 'geocodigo', 'geom', 'geometriaaproximada', 'id_objeto', 'iri_metadata', 'iri_style', 'nome', 'nomeabrev', 'spatialize'])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@type"], "Feature")
def test_options_for_feature_resource_join_operation__one_to_one_rel_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "municipios/3304557/join/geocodigo&geocodigo/" + self.munic_2015_base_uri + "planejamento-urbano-list/3243/",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.spatial_operation_names)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['(joined) ano_lei_codigo_obras', '(joined) ano_lei_criacao', '(joined) ano_lei_legis_sob_area_zona_espe_inte_social',
'(joined) ano_lei_legis_sob_zona_area_espe_inter', '(joined) ano_lei_legis_sobre_parc_solo',
'(joined) ano_lei_legis_sobre_zone_uso_ocupa_solo', '(joined) ano_lei_legislacao_sobre_contri_melhoria',
'(joined) ano_lei_legislacao_sobre_dire_superficie', '(joined) ano_lei_legislacao_sobre_estu_impa_vizinhanca',
'(joined) ano_lei_legislacao_sobre_estu_pre_impa_ambiental', '(joined) ano_lei_legislacao_sobre_legitimacao_posse',
'(joined) ano_lei_legislacao_sobre_ope_urba_consorciada', '(joined) ano_lei_legislacao_sobre_regula_fundiaria',
'(joined) ano_lei_legislacao_sobre_servi_administrativa', '(joined) ano_lei_legislacao_sobre_solo_cria_outorga_onerosa_dir_construi',
'(joined) ano_lei_legislacao_sobre_tombamento', '(joined) ano_lei_legislacao_sobre_uni_conservacao',
'(joined) ano_lei_legislacao_sobre_usuca_espe_imovel_urbano', '(joined) ano_lei_legislacao_sobre_zonea_ambi_zonea_ecologico_economico',
'(joined) ano_lei_lei_perimetro_urba', '(joined) ano_leilegislacao_sobre_conce_uso_espe_fins_moradia', '(joined) ano_ultima_atualizacao',
'(joined) caract_orgao_gestor_plane_urba_munic', '(joined) codigo_municipio', '(joined) codigo_obras_existencia',
'(joined) codigo_uf', '(joined) geocodigo', '(joined) id_planejamento_urbano',
'(joined) informacoes_sob_gestor_escolaridade', '(joined) legis_sobre_parc_solo_existencia',
'(joined) legislacao_sobre_area_zona_espec_inter_social_existencia', '(joined) legislacao_sobre_conce_uso_espe_fins_moradia',
'(joined) legislacao_sobre_contri_melhoria_existencia', '(joined) legislacao_sobre_dire_superficie',
'(joined) legislacao_sobre_estu_impa_vizinhanca_existencia', '(joined) legislacao_sobre_estu_pre_impa_ambiental',
'(joined) legislacao_sobre_legitimacao_posse', '(joined) legislacao_sobre_ope_urba_consorciada_existencia',
'(joined) legislacao_sobre_regula_fundiaria', '(joined) legislacao_sobre_servi_administrativa',
'(joined) legislacao_sobre_solo_cria_outorga_onerosa_dir_construir_exist', '(joined) legislacao_sobre_tombamento',
'(joined) legislacao_sobre_uni_conservacao', '(joined) legislacao_sobre_usuca_espe_imovel_urbano',
'(joined) legislacao_sobre_zona_area_espe_inter_existencia', '(joined) legislacao_sobre_zone_uso_ocupa_solo_existencia',
'(joined) legislacao_sobre_zonea_ambi_zonea_ecologico_economico', '(joined) lei_perimetro_urba_existencia', '(joined) nome', # same attribute name on different resources
'(joined) o_municipio_elabo_plano_diretor', '(joined) plano_diretor_existencia',
'anodereferencia', 'geocodigo', 'geom', 'geometriaaproximada', 'id_objeto', 'iri_metadata', 'iri_style', 'nome', 'nomeabrev', 'spatialize'])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@type"], "Geobuf")
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
def test_join_operation_with_filter(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/filter/sigla/in/RJ&ES&MG/join/geocodigo&cod_estado/" +
self.pesquisa_esporte_base_url + "cond-funcionamento-list/filter/cod_estado/in/31&32&33&35/")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["join"])
join_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'join')
self.assertListEqual(join_context_keys_list, ["@id", "@type"])
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@type"], 'FeatureCollection')
"""
# RESOURCE TYPES TEST (GET, HEAD and OPTIONS requests)
# EntryPointResource
#python manage.py test hyper_resource.tests.EntryPointTest --testrunner=hyper_resource.tests.NoDbTestRunner
class EntryPointTest(AbstractGetRequestTest):
# simple path
def test_entry_point_resource_simple_path(self):
response = requests.get(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, ['gasto-list', 'tipo-gasto-list', 'usuario-list'])
def test_entry_point_resource_simple_path_accept_octet_stream(self):
response = requests.get(self.controle_base_uri, headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
def test_entry_point_resource_simple_path_accept_image_png(self):
pass
# operations
def test_entry_point_resource_count_resource_operation(self):
response = requests.get(self.controle_base_uri + 'count-resource')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, ['count-resource'])
def test_entry_point_resource_count_resource_operation_accept_octet_stream(self):
response = requests.get(self.controle_base_uri + 'count-resource')
self.assertEquals(response.status_code, 200)
def test_entry_point_resource_count_resource_operation_accept_image_png(self):
pass
#python manage.py test hyper_resource.tests.OptionsEntryPointTest --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsEntryPointTest(AbstractOptionsRequestTest):
'''
Class for tests every possible OPTIONS request for EntryPointResource
'''
# simple path
def test_options_for_entry_point_resource_simple_path(self):
response = requests.options(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['gasto-list', 'hydra', 'rdfs', 'subClassOf', 'tipo-gasto-list', 'usuario-list'])
gasto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'gasto-list') # for each key of the entrypoint {@type: hydra:link}
self.assertEquals(gasto_acontext_keys, self.keys_from_attrs_context)
tipo_gasto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'tipo-gasto-list')
self.assertEquals(tipo_gasto_acontext_keys, self.keys_from_attrs_context)
usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'usuario-list')
self.assertEquals(usuario_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
suppoorted_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(suppoorted_property_keys, self.expected_supported_property_keys)
suppoerted_properties_names = self.aux_get_supported_properties_names(response)
self.assertListEqual(suppoerted_properties_names, ['gasto-list', 'tipo-gasto-list', 'usuario-list'])
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.entrypoint_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], self.link_vocab)
self.assertEquals(response_dict["@type"], self.entrypoint_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations
def test_options_for_entry_point_resource_count_resource_operation(self):
response = requests.options(self.controle_base_uri + "count-resource")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count-resource', 'hydra', 'rdfs', 'subClassOf'])
count_resource_resource_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count-resource')
self.assertEquals(count_resource_resource_acontext_keys, self.keys_from_oper_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_oper_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "hydra:totalItems")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (binary)
def test_options_for_entry_point_resource_simple_path_accept_octet_stream(self):
response = requests.options(self.controle_base_uri, headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['gasto-list', 'hydra', 'rdfs', 'subClassOf', 'tipo-gasto-list', 'usuario-list'])
gasto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'gasto-list')
self.assertEquals(gasto_acontext_keys, self.keys_from_attrs_context)
tipo_gasto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'tipo-gasto-list')
self.assertEquals(tipo_gasto_acontext_keys, self.keys_from_attrs_context)
usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'usuario-list')
self.assertEquals(usuario_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
suppoorted_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(suppoorted_property_keys, self.expected_supported_property_keys)
suppoerted_properties_names = self.aux_get_supported_properties_names(response)
self.assertListEqual(suppoerted_properties_names, ['gasto-list', 'tipo-gasto-list', 'usuario-list'])
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], self.link_vocab)
self.assertEquals(response_dict["@type"], self.entrypoint_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations (binary)
def test_options_for_entry_point_resource_count_resource_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "count-resource", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count-resource', 'hydra', 'rdfs', 'subClassOf'])
count_resource_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count-resource')
self.assertEquals(count_resource_acontext_keys, self.keys_from_oper_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "hydra:totalItems")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (image)
def test_options_for_entry_point_resource_simple_path_accept_image_png(self):
pass
# operations (image)
def test_options_for_entry_point_resource_count_resource_operation_accept_image_png(self):
pass
#python manage.py test hyper_resource.tests.HeadEntryPointTest --testrunner=hyper_resource.tests.NoDbTestRunner
class HeadEntryPointTest(AbstractHeadRequestTest):
# simple path
def test_head_for_entry_point_resource_simple_path(self):
response_head = requests.head(self.controle_base_uri)
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.controle_base_uri)
self.assertEquals(response_get.status_code, 200)
response_options = requests.options(self.controle_base_uri)
self.assertEquals(response_options.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
options_headers = self.aux_get_headers_list_from_response(response_options)
self.assertListEqual(head_headers, get_headers)
self.assertListEqual(head_headers, options_headers)
# compare HEAD with GET headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
# compare HEAD with OPTIONS headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_options.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_options.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_options.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_options.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_options.headers["allow"])
self.assertEquals(response_head.headers["link"], response_options.headers["link"])
self.assertEquals(response_head.headers["server"], response_options.headers["server"])
self.assertEquals(response_head.headers["vary"], response_options.headers["vary"])
self.assertIn("Date", options_headers)
self.assertIn("Content-Type", options_headers)
def test_head_for_entry_point_resource_simple_path_accept_octet_stream(self):
response_head = requests.head(self.controle_base_uri, headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.controle_base_uri, headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
response_options = requests.options(self.controle_base_uri, headers={"Accept": "application/octet-stream"})
self.assertEquals(response_options.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
options_headers = self.aux_get_headers_list_from_response(response_options)
self.assertListEqual(head_headers, get_headers)
self.assertListEqual(head_headers, options_headers)
# compare HEAD with GET headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
# compare HEAD with OPTIONS headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_options.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_options.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_options.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_options.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_options.headers["allow"])
self.assertEquals(response_head.headers["link"], response_options.headers["link"])
self.assertEquals(response_head.headers["server"], response_options.headers["server"])
self.assertEquals(response_head.headers["vary"], response_options.headers["vary"])
self.assertIn("Date", options_headers)
self.assertIn("Content-Type", options_headers)
def test_head_for_entry_point_resource_simple_path_accept_image_png(self):
pass
#operations
def test_head_for_entry_point_resource_count_resource_operation(self):
response_head = requests.head(self.controle_base_uri + "count-resource")
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.controle_base_uri + "count-resource")
self.assertEquals(response_get.status_code, 200)
response_options = requests.options(self.controle_base_uri + "count-resource")
self.assertEquals(response_options.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
options_headers = self.aux_get_headers_list_from_response(response_options)
self.assertListEqual(head_headers, get_headers)
self.assertListEqual(head_headers, options_headers)
# compare HEAD with GET headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
# compare HEAD with OPTIONS headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_options.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_options.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_options.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_options.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_options.headers["allow"])
self.assertEquals(response_head.headers["link"], response_options.headers["link"])
self.assertEquals(response_head.headers["server"], response_options.headers["server"])
self.assertEquals(response_head.headers["vary"], response_options.headers["vary"])
self.assertIn("Date", options_headers)
self.assertIn("Content-Type", options_headers)
def test_head_for_entry_point_resource_count_resource_operation_accept_octet_stream(self):
response_head = requests.head(self.controle_base_uri + "count-resource", headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.controle_base_uri + "count-resource", headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
response_options = requests.options(self.controle_base_uri + "count-resource", headers={"Accept": "application/octet-stream"})
self.assertEquals(response_options.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
options_headers = self.aux_get_headers_list_from_response(response_options)
self.assertListEqual(head_headers, get_headers)
self.assertListEqual(head_headers, options_headers)
# compare HEAD with GET headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
# compare HEAD with OPTIONS headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_options.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_options.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_options.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_options.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_options.headers["allow"])
self.assertEquals(response_head.headers["link"], response_options.headers["link"])
self.assertEquals(response_head.headers["server"], response_options.headers["server"])
self.assertEquals(response_head.headers["vary"], response_options.headers["vary"])
self.assertIn("Date", options_headers)
self.assertIn("Content-Type", options_headers)
def test_head_for_entry_point_resource_count_resource_operation_accept_image_png(self):
pass
# RasterResource
#python manage.py test hyper_resource.tests.RasterTest --testrunner=hyper_resource.tests.NoDbTestRunner
class RasterTest(AbstractRequestTest):
'''
Class for tests every possible GET request for RasterResources
'''
# simple path
def test_tiff_resource_simple_path(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/')
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'image/tiff')
# only attributes
def test_tiff_resource_all_attributes(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid,rast')
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'image/tiff')
def test_tiff_resource_only_raster_attribute(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rast')
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'image/tiff')
def test_tiff_resource_only_alphanumeric_attributes(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid')
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/json')
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, ["rid"])
def test_tiff_resource_only_alphanumeric_attributes_accept_octet_stream(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/octet-stream')
# operations
def test_tiff_resource_driver_operation(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/driver')
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/json')
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, ["driver"])
def test_tiff_resource_transform_operation(self):
response = requests.get(self.raster_base_uri + "imagem-exemplo-tile1-list/61/transform/3086")
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'image/tiff')
def test_tiff_resource_driver_operation_accept_octet_stream(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/driver',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/octet-stream')
def test_tiff_resource_transform_operation_accept_octet_stream(self):
response = requests.get(self.raster_base_uri + "imagem-exemplo-tile1-list/61/transform/3086",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/octet-stream')
#python manage.py test hyper_resource.tests.OptionsForRasterTest --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsForRasterTest(AbstractOptionsRequestTest):
'''
Class for tests every possible OPTIONS request for RasterResources
'''
# simple path
def test_options_raster_resource_simple_path(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#rast_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rast")
#self.assertEquals(rast_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.raster_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes
def test_options_tiff_resource_all_attributes(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid,rast')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#rast_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rast")
#self.assertEquals(rast_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.raster_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_tiff_resource_only_raster_attribute(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rast')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", 'rdfs', 'subClassOf'])
#rast_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rast")
#self.assertEquals(rast_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.raster_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_tiff_resource_only_alphanumeric_attributes(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "rid", "subClassOf"])
rid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rid")
self.assertEquals(rid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/identifier")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations
def test_options_tiff_resource_driver_operation(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/driver')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["driver", "hydra", "rdfs", "subClassOf"])
driver_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "driver")
self.assertEquals(driver_acontext_keys, self.keys_from_oper_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_oper_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_tiff_resource_transform_operation(self):
response = requests.options(self.raster_base_uri + "imagem-exemplo-tile1-list/61/transform/3086")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_oper_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.raster_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (binary)
def test_options_raster_resource_simple_path_accept_octet_stream(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#rast_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rast")
#self.assertEquals(rast_acontext_keys, self.keys_from_attrs_context)
#rid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rid")
#self.assertEquals(rid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes
def test_options_tiff_resource_all_attributes_accept_octet_stream(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid,rast',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#rast_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rast")
#self.assertEquals(rast_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_tiff_resource_only_raster_attribute_accept_octet_stream(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rast',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", 'rdfs', 'subClassOf'])
#rast_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rast")
#self.assertEquals(rast_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["@type"], "https://schema.org/ImageObject")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_tiff_resource_only_alphanumeric_attributes_accept_octet_stream(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/61/rid',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ["hydra", "rdfs", "rid", "subClassOf"])
rid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "rid")
self.assertEquals(rid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/identifier")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# FeatureCollectionResource
#python manage.py test hyper_resource.tests.FeatureCollectionTest --testrunner=hyper_resource.tests.NoDbTestRunner
class FeatureCollectionTest(AbstractGetRequestTest):
'''
Class for tests every possible GET request for FeatureCollectionResource
'''
pass
#python manage.py test hyper_resource.tests.OptionsFeatureCollectionTest --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsFeatureCollectionTest(AbstractOptionsRequestTest):
'''
Class for tests every possible OPTIONS request for FeatureCollectionResource
'''
# simple path
def test_options_feature_collection_simple_path(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['geocodigo', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'sigla', 'subClassOf'])
geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geocodigo')
self.assertEquals(geocodigo_acontext_keys, self.keys_from_attrs_context)
geometriaaproximada_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geometriaaproximada')
self.assertEquals(geometriaaproximada_acontext_keys, self.keys_from_attrs_context)
id_objeto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id_objeto')
self.assertEquals(id_objeto_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nomeabrev_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nomeabrev')
self.assertEquals(nomeabrev_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertEquals(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertEquals(supported_property_keys, self.expected_supported_property_keys)
supported_properties_names = self.aux_get_supported_properties_names(response)
self.assertEquals(supported_properties_names, ['geocodigo', 'geom', 'geometriaaproximada',
'id_objeto', 'nome', 'nomeabrev', 'sigla'])
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
# only attributes
def test_options_feature_collection_with_geometry_attribute(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/geom,nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_feature_collection_only_geometry_attribute(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/geom")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_feature_collection_without_geometry_attribute(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/nome,sigla")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'sigla', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertEquals(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_options_feature_collection_only_one_alphanumeric_attribute(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# operations
def test_options_feature_collection_within_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + "unidades-federativas/ES")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['codigofunai', 'etnia', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev',
'rdfs', 'subClassOf', 'terraindigena'])
codigofunai_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'codigofunai')
self.assertEquals(codigofunai_acontext_keys, self.keys_from_attrs_context)
geometriaaproximada_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geometriaaproximada')
self.assertEquals(geometriaaproximada_acontext_keys, self.keys_from_attrs_context)
id_objeto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id_objeto')
self.assertEquals(id_objeto_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nomeabrev_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nomeabrev')
self.assertEquals(nomeabrev_acontext_keys, self.keys_from_attrs_context)
etnia_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'etnia')
self.assertEquals(etnia_acontext_keys, self.keys_from_attrs_context)
terraindigena_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'terraindigena')
self.assertEquals(terraindigena_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_feature_collection_union_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/union")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra','rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPoint")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPoint")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_collection_make_line_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/make-line")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra','rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#LineString")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#LineString")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_collection_extent_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/extent")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['extent', 'hydra','rdfs', 'subClassOf'])
extent_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'extent')
self.assertEquals(extent_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ItemList")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (binary)
def test_options_feature_collection_simple_path_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['geocodigo', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev', 'rdfs',
'sigla', 'subClassOf'])
geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geocodigo')
self.assertEquals(geocodigo_acontext_keys, self.keys_from_attrs_context)
geometriaaproximada_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geometriaaproximada')
self.assertEquals(geometriaaproximada_acontext_keys, self.keys_from_attrs_context)
id_objeto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id_objeto')
self.assertEquals(id_objeto_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nomeabrev_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nomeabrev')
self.assertEquals(nomeabrev_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertEquals(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertEquals(supported_property_keys, self.expected_supported_property_keys)
supported_properties_names = self.aux_get_supported_properties_names(response)
self.assertEquals(supported_properties_names, ['geocodigo', 'geom', 'geometriaaproximada', 'id_objeto', 'nome',
'nomeabrev', 'sigla'])
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
# only attributes (binary)
def test_options_feature_collection_with_geometry_attribute_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/geom,nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_feature_collection_only_geometry_attribute_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#geometry")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_feature_collection_without_geometry_attribute_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/nome,sigla",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'sigla', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertEquals(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_options_feature_collection_only_one_alphanumeric_attribute_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# operations (binary)
def test_options_feature_collection_within_operation_accept_octet_stream(self):
response = requests.options(
self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + "unidades-federativas/ES",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['codigofunai', 'etnia', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev',
'rdfs', 'subClassOf', 'terraindigena'])
codigofunai_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'codigofunai')
self.assertEquals(codigofunai_acontext_keys, self.keys_from_attrs_context)
geometriaaproximada_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geometriaaproximada')
self.assertEquals(geometriaaproximada_acontext_keys, self.keys_from_attrs_context)
id_objeto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id_objeto')
self.assertEquals(id_objeto_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nomeabrev_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nomeabrev')
self.assertEquals(nomeabrev_acontext_keys, self.keys_from_attrs_context)
etnia_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'etnia')
self.assertEquals(etnia_acontext_keys, self.keys_from_attrs_context)
terraindigena_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'terraindigena')
self.assertEquals(terraindigena_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_feature_collection_union_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/union", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPoint")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPoint")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_collection_make_line_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/make-line", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra','rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#LineString")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#LineString")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_collection_extent_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/extent", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['extent', 'hydra','rdfs', 'subClassOf'])
extent_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'extent')
self.assertEquals(extent_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ItemList")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (image)
def test_options_feature_collection_simple_path_accept_image_png(self):
pass
# only attributes (image)
def test_options_feature_collection_with_geometry_attribute_accept_image_png(self):
pass
def test_options_feature_collection_only_geometry_attribute_accept_image_png(self):
pass
def test_options_feature_collection_without_geometry_attribute_accept_image_png(self):
pass
# operations (image)
def test_options_feature_collection_within_operation_accept_image_png(self):
pass
def test_options_feature_collection_union_operation_accept_image_png(self):
pass
def test_options_feature_collection_make_line_operation_accept_image_png(self):
pass
def test_options_feature_collection_extent_operation_accept_image_png(self):
pass
#python manage.py test hyper_resource.tests.HeadFeatureCollectionTest --testrunner=hyper_resource.tests.NoDbTestRunner
class HeadFeatureCollectionTest(AbstractHeadRequestTest):
'''
Tests if GET response headers is the same as HEAD response headers and OPTIONS response headers. Requests for FeatureCollectionResource
'''
# feature entry point
def test_head_entry_point(self):
response_head = requests.head(self.bcim_base_uri)
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri)
self.assertEquals(response_get.status_code, 200)
response_options = requests.options(self.bcim_base_uri)
self.assertEquals(response_options.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
options_headers = self.aux_get_headers_list_from_response(response_options)
self.assertListEqual(head_headers, get_headers)
self.assertListEqual(head_headers, options_headers)
# compare HEAD with GET headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
# compare HEAD with OPTIONS headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_options.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_options.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_options.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_options.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_options.headers["allow"])
#self.assertEquals(response_head.headers["content-type"], response_options.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_options.headers["link"])
self.assertEquals(response_head.headers["server"], response_options.headers["server"])
self.assertEquals(response_head.headers["vary"], response_options.headers["vary"])
self.assertIn("Date", options_headers)
self.assertIn("Content-Type", options_headers)
# features entry point (binary) todo
def test_head_feature_entry_point_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri,
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
# features entry point (image)
def test_head_feature_entry_point_accept_image_png(self):
pass
'''
# raster entry point
def test_head_raster_entry_point(self):
response_head = requests.head(self.raster_base_uri)
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.raster_base_uri)
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertEquals(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
#self.assertEquals(response_head.headers["connection"], response_get.headers["connection"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
def test_head_raster_entry_point_accept_octet_stream(self):
response_head = requests.head(self.raster_base_uri,
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 406)
def test_head_raster_entry_point_accept_image_png(self):
pass
'''
# simple path
def test_head_feature_collection_simple_path(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/")
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/")
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
# simple path (binary)
def test_head_feature_collection_simple_path_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertEquals(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
# simple path (image)
def test_head_feature_collection_simple_path_accept_image_png(self):
pass
# only attributes (default)
def test_head_feature_collection_with_geometry_attribute(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/nome,geom")
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/nome,geom")
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
def test_head_feature_collection_only_geometry_attribute(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/geom")
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/geom")
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
def test_head_feature_collection_without_geometry_attribute(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/nome")
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/nome")
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
# only attributes (binary)
def test_head_feature_collection_with_geometry_attribute_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/nome,geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/nome,geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
def test_head_feature_collection_only_geometry_attribute_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/geom",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertEquals(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
def test_head_feature_collection_without_geometry_attribute_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
# only attributes (image)
def test_head_feature_collection_with_geometry_attribute_accept_image_png(self):
pass
def test_head_feature_collection_only_geometry_attribute_accept_image_png(self):
pass
def test_head_feature_collection_without_geometry_attribute_accept_image_png(self):
pass
# operations (default)
def test_head_feature_collection_within_operation(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
def test_head_feature_collection_count_resource_operations(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/count-resource")
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/count-resource")
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
# operations (binary)
def test_head_feature_collection_within_operation_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + 'unidades-federativas/ES',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + 'unidades-federativas/ES',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
def test_head_feature_collection_count_resource_operations_accept_octet_stream(self):
response_head = requests.head(self.bcim_base_uri + "aldeias-indigenas/count-resource",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_head.status_code, 200)
response_get = requests.get(self.bcim_base_uri + "aldeias-indigenas/count-resource",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response_get.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
self.assertListEqual(head_headers, get_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
self.assertIn("Etag", head_headers)
self.assertIn("Etag", get_headers)
# operations (image)
def test_head_feature_collection_within_operation_accept_image_png(self):
pass
def test_head_feature_collection_count_resource_operations_accept_image_png(self):
pass
# CollectionResource
#python manage.py test hyper_resource.tests.OptionsCollectionResource --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsCollectionResource(AbstractOptionsRequestTest):
# simple path
def test_options_collection_simple_path(self):
response = requests.options(self.controle_base_uri + "usuario-list")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(supported_property_keys, self.expected_supported_property_keys)
supported_properties_names = self.aux_get_supported_properties_names(response)
self.assertListEqual(supported_properties_names, ['data_nascimento', 'email', 'id', 'nome', 'nome_usuario', 'senha'])
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes
def test_options_collection_only_attributes(self):
response = requests.options(self.controle_base_uri + "usuario-list/nome,email")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_only_one_attribute(self):
response = requests.options(self.controle_base_uri + "usuario-list/nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations
def test_options_collection_filter_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/filter/eq/Rio")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_collect_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/collect/email&nome/upper")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['email', 'hydra', 'rdfs', 'subClassOf', 'upper'])
upper_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_count_resource_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/count-resource")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count-resource', 'hydra', 'rdfs', 'subClassOf'])
count_resource_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count-resource')
self.assertEquals(count_resource_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "hydra:totalItems")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_offset_limit_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/offset-limit/0&2")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_distinct_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/distinct/nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_group_by_count_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/group-by-count/nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count', 'hydra', 'nome', 'rdfs', 'subClassOf'])
count_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count')
self.assertEquals(count_nascimento_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_group_by_sum_operation(self):
response = requests.options(self.controle_base_uri + "gasto-list/group-by-sum/data&valor")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['data', 'hydra', 'rdfs', 'subClassOf', 'sum'])
data_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data')
self.assertEquals(data_acontext_keys, self.keys_from_attrs_context)
sum_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sum')
self.assertEquals(sum_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_projection_operation(self):
response = requests.options(self.controle_base_uri + "usuario-list/projection/nome,email")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (binary)
def test_options_collection_simple_path_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(supported_property_keys, self.expected_supported_property_keys)
supported_properties_names = self.aux_get_supported_properties_names(response)
self.assertListEqual(supported_properties_names,
['data_nascimento', 'email', 'id', 'nome', 'nome_usuario', 'senha'])
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes (binary)
def test_options_collection_only_attributes_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_only_one_attribute_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations (binary)
def test_options_collection_filter_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/filter/eq/Rio",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_collect_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/collect/email&nome/upper",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['email', 'hydra', 'rdfs', 'subClassOf', 'upper'])
upper_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'upper')
self.assertEquals(upper_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_count_resource_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/count-resource",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count-resource', 'hydra', 'rdfs', 'subClassOf'])
count_resource_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count-resource')
self.assertEquals(count_resource_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "hydra:totalItems")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_offset_limit_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/offset-limit/0&2",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_distinct_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/distinct/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs',
'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertEquals(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertEquals(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertEquals(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertEquals(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_group_by_count_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/group-by-count/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count', 'hydra', 'nome', 'rdfs', 'subClassOf'])
count_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count')
self.assertEquals(count_nascimento_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_group_by_sum_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "gasto-list/group-by-sum/data&valor",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['data', 'hydra', 'rdfs', 'subClassOf', 'sum'])
data_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data')
self.assertEquals(data_acontext_keys, self.keys_from_attrs_context)
sum_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sum')
self.assertEquals(sum_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_collection_projection_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "usuario-list/projection/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertEquals(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertEquals(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "http://www.w3.org/ns/hydra/core#Collection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# NonSpatialResource
#python manage.py test hyper_resource.tests.OptionsNonSpatialResource --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsNonSpatialResource(AbstractOptionsRequestTest):
# simple path
def options_non_spatial_resource_simple_path(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['data_nascimento', 'email', 'gastos', 'hydra', 'id', 'nome',
'nome_usuario', 'rdfs', 'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertListEqual(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertListEqual(email_acontext_keys, self.keys_from_attrs_context)
gastos_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'gastos')
self.assertListEqual(gastos_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertListEqual(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertListEqual(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertListEqual(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(supported_property_keys, self.expected_supported_property_keys)
suppoerted_properties_names = self.aux_get_supported_properties_names(response)
self.assertListEqual(suppoerted_properties_names, ['data_nascimento', 'email', 'gastos', 'id', 'nome',
'nome_usuario', 'senha'])
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes
def options_non_spatial_resource_only_attributes(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1/nome,email")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertListEqual(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def options_non_spatial_resource_only_one_attribute(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1/nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations
def options_non_spatial_resource_projection_operation(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1/projection/nome,email")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertListEqual(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (binary)
def options_non_spatial_resource_simple_path_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['data_nascimento', 'email', 'gastos', 'hydra', 'id', 'nome',
'nome_usuario', 'rdfs', 'senha', 'subClassOf'])
data_nascimento_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'data_nascimento')
self.assertListEqual(data_nascimento_acontext_keys, self.keys_from_attrs_context)
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertListEqual(email_acontext_keys, self.keys_from_attrs_context)
gastos_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'gastos')
self.assertListEqual(gastos_acontext_keys, self.keys_from_attrs_context)
id_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id')
self.assertListEqual(id_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
nome_usuario_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome_usuario')
self.assertListEqual(nome_usuario_acontext_keys, self.keys_from_attrs_context)
senha_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'senha')
self.assertListEqual(senha_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(supported_property_keys, self.expected_supported_property_keys)
suppoerted_properties_names = self.aux_get_supported_properties_names(response)
self.assertListEqual(suppoerted_properties_names, ['data_nascimento', 'email', 'gastos', 'id', 'nome',
'nome_usuario', 'senha'])
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes (binary)
def options_non_spatial_resource_only_attributes_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1/nome,email",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertListEqual(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def options_non_spatial_resource_only_one_attribute_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1/nome",
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations (binary)
def options_non_spatial_resource_projection_operation_accept_octet_stream(self):
response = requests.options(self.controle_base_uri + "controle-list/usuario-list/1/projection/nome,email")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
email_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'email')
self.assertListEqual(email_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (image)
def options_non_spatial_resource_simple_path_accept_image_png(self):
pass
# only attributes (image)
def options_non_spatial_resource_only_attributes_accept_image_png(self):
pass
def options_non_spatial_resource_only_one_attribute_accept_image_png(self):
pass
# operations (image)
def options_non_spatial_resource_projection_operation_accept_image_png(self):
pass
# FeatureResource
#python manage.py test hyper_resource.tests.FeatureResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class FeatureResourceTest(AbstractGetRequestTest):
def test_feature_resource_simple_path(self):
response = requests.get(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
self.assertEquals(response.headers["content-type"], 'application/vnd.geo+json')
feature_keys = self.aux_get_first_feature_keys(response)
self.assertListEqual(feature_keys, ['geometry', 'id_objeto', 'properties', 'type'])
feature_properties_keys = self.aux_get_first_feature_properties_keys(response)
self.assertListEqual(feature_properties_keys, ['geocodigo', 'geometriaaproximada', 'nome', 'nomeabrev', 'sigla'])
#python manage.py test hyper_resource.tests.OptionsFeatureResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class OptionsFeatureResourceTest(AbstractOptionsRequestTest):
# simple path
def test_options_feature_resource_simple_path(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'sigla', 'subClassOf'])
geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geocodigo')
self.assertListEqual(geocodigo_acontext_keys, self.keys_from_attrs_context)
geometriaaproximada_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geometriaaproximada')
self.assertListEqual(geometriaaproximada_acontext_keys, self.keys_from_attrs_context)
id_objeto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id_objeto')
self.assertListEqual(id_objeto_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
nomeabrev_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nomeabrev')
self.assertListEqual(nomeabrev_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertListEqual(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
response_supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(response_supported_property_keys, self.expected_supported_property_keys)
supported_properties_names = self.aux_get_supported_property_names(response)
self.assertListEqual(supported_properties_names, ['geocodigo', 'geom', 'geometriaaproximada', 'id_objeto',
'nome', 'nomeabrev', 'sigla'])
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes
def test_options_feature_resource_only_attributes(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom,nome')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_only_geometry_attributes(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_only__alphanumeric_attributes(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/sigla,nome')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'sigla', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertListEqual(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_only_one_alphanumeric_attributes(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/nome')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], "https://schema.org/Text")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations
def test_options_feature_resource_area_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/area")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['area', 'hydra', 'rdfs', 'subClassOf'])
area_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'area')
self.assertListEqual(area_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_boundary_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/boundary")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiLineString")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiLineString")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_buffer_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/buffer/1.2")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_centroid_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/centroid")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_contains_operation(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/contains/' + self.bcim_base_uri + 'aldeias-indigenas/623')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['contains', 'hydra', 'rdfs', 'subClassOf'])
contains_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(contains_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_convex_hull_operation(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/convex_hull')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
#todo: coord_seq doesn't return a respose (this operation must be deleted or altered)
def test_options_feature_resource_coord_seq_operation(self):
pass
def test_options_feature_resource_coords_operation(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/coords')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['coords', 'hydra', 'rdfs', 'subClassOf'])
coords_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'coords')
self.assertListEqual(coords_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#coordinates")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_count_operation(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/count')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['count', 'hydra', 'rdfs', 'subClassOf'])
count_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count')
self.assertListEqual(count_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_crosses_operation(self):
response = requests.options(self.bcim_base_uri + 'trechos-rodoviarios/2625832/crosses/' + self.bcim_base_uri + 'municipios/45823') # 48623 = itaguai, 2625832 = belo jardim
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['crosses', 'hydra', 'rdfs', 'subClassOf'])
crosses_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'crosses')
self.assertListEqual(crosses_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_crs_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/crs")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['crs', 'hydra', 'rdfs', 'subClassOf'])
crs_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'crs')
self.assertListEqual(crs_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#SpatialReference")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_difference_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/difference/" + self.bcim_base_uri + "unidades-federativas/RJ")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_dims_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/dims")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['dims', 'hydra', 'rdfs', 'subClassOf'])
dims_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'dims')
self.assertListEqual(dims_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_disjoint_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/disjoint/" + self.bcim_base_uri + "unidades-federativas/RJ")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['disjoint', 'hydra', 'rdfs', 'subClassOf'])
disjoint_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'disjoint')
self.assertListEqual(disjoint_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_distance_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/distance/" + self.bcim_base_uri + "aldeias-indigenas/623")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['distance', 'hydra', 'rdfs', 'subClassOf'])
distance_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'distance')
self.assertListEqual(distance_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_empty_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/empty")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['empty', 'hydra', 'rdfs', 'subClassOf'])
empty_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'empty')
self.assertListEqual(empty_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_envelope_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/envelope")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_equals_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/equals/" + self.bcim_base_uri + "unidades-federativas/RJ")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['equals', 'hydra', 'rdfs', 'subClassOf'])
equals_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'equals')
self.assertListEqual(equals_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_equals_exact_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/equals_exact/" + self.bcim_base_uri + "unidades-federativas/RJ")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['equals_exact', 'hydra', 'rdfs', 'subClassOf'])
equals_exact_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'equals_exact')
self.assertListEqual(equals_exact_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_ewkb_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ewkb")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_ewkt_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ewkt")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['ewkt', 'hydra', 'rdfs', 'subClassOf'])
ewkt_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'ewkt')
self.assertListEqual(ewkt_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: extend is not a FeatureResource operation
def test_options_feature_resource_extend_operation(self):
pass
def test_options_feature_resource_extent_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/extent")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['extent', 'hydra', 'rdfs', 'subClassOf'])
extent_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'extent')
self.assertListEqual(extent_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ItemList")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: GET for geojson operation should return a default response
def test_options_feature_resource_geojson_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geojson")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geojson', 'hydra', 'rdfs', 'subClassOf'])
geojson_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geojson')
self.assertListEqual(geojson_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_geom_type_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geom_type")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geom_type', 'hydra', 'rdfs', 'subClassOf'])
geom_type_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geom_type')
self.assertListEqual(geom_type_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_geom_typeid_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geom_typeid")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geom_typeid', 'hydra', 'rdfs', 'subClassOf'])
geom_typeid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geom_typeid')
self.assertListEqual(geom_typeid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: get_coords is not a FeatureResource operation
def test_options_feature_resource_get_coords_operation(self):
pass
# todo: get_srid is not a FeatureResource operation
def test_options_feature_resource_get_srid_operation(self):
pass
# todo: get_x is not a FeatureResource operation
def test_options_feature_resource_get_x_operation(self):
pass
# todo: get_y is not a FeatureResource operation
def test_options_feature_resource_get_y_operation(self):
pass
# todo: get_z is not a FeatureResource operation
def test_options_feature_resource_get_z_operation(self):
pass
def test_options_feature_resource_has_cs_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/has_cs")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['has_cs', 'hydra', 'rdfs', 'subClassOf'])
has_cs_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'has_cs')
self.assertListEqual(has_cs_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_hasz_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/hasz")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hasz', 'hydra', 'rdfs', 'subClassOf'])
hasz_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'hasz')
self.assertListEqual(hasz_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_hex_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/hex")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_hexewkb_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/hexewkb")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: GET request for index not working
def test_options_feature_resource_index_operation(self):
pass
def test_options_feature_resource_intersection_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/intersection/" + self.bcim_base_uri + "aldeias-indigenas/623")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
# if there is no intersection between to geometries, intersection operation return a empty GeometryCollection
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_intersects_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/intersects/" + self.bcim_base_uri + "aldeias-indigenas/623")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'intersects', 'rdfs', 'subClassOf'])
intersects_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'intersects')
self.assertListEqual(intersects_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: interpolate is not a FeatureResource operation
def test_options_feature_resource_interpolate_operation(self):
pass
# todo: GET for json operation should return a default response
def test_options_feature_resource_json_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/json")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'json', 'rdfs', 'subClassOf'])
json_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'json')
self.assertListEqual(json_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_kml_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/kml")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'kml', 'rdfs', 'subClassOf'])
kml_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'kml')
self.assertListEqual(kml_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_length_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/length")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'length', 'rdfs', 'subClassOf'])
length_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'length')
self.assertListEqual(length_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: normalize doesn't return a respose (this operation must be deleted or altered)
def test_options_feature_resource_normalize_operation(self):
pass
def test_options_feature_resource_num_coords_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/num_coords")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'num_coords', 'rdfs', 'subClassOf'])
num_coords_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'num_coords')
self.assertListEqual(num_coords_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_num_geom_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/num_geom")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'num_geom', 'rdfs', 'subClassOf'])
num_geom_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'num_geom')
self.assertListEqual(num_geom_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_num_points_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/num_points")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'num_points', 'rdfs', 'subClassOf'])
num_points_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'num_points')
self.assertListEqual(num_points_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: GET for ogr operation should return a default response
def test_options_feature_resource_ogr_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ogr")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'ogr', 'rdfs', 'subClassOf'])
ogr_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'ogr')
self.assertListEqual(ogr_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_overlaps_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/overlaps/" + self.bcim_base_uri + 'unidades-federativas/RJ')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'overlaps', 'rdfs', 'subClassOf'])
overlaps_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'overlaps')
self.assertListEqual(overlaps_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_point_on_surface_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/point_on_surface")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_relate_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/relate/" + self.bcim_base_uri + "unidades-federativas/RJ")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'relate', 'subClassOf'])
relate_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'relate')
self.assertListEqual(relate_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_relate_pattern_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/relate_pattern/" + self.bcim_base_uri + "unidades-federativas/RJ&FF2F11212")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'relate_pattern', 'subClassOf'])
relate_pattern_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'relate_pattern')
self.assertListEqual(relate_pattern_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_ring_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ring")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'ring', 'subClassOf'])
ring_pattern_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'ring')
self.assertListEqual(ring_pattern_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_simple_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/simple")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'simple', 'subClassOf'])
simple_pattern_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'simple')
self.assertListEqual(simple_pattern_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_simplify_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/simplify")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_srid_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/srid")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'srid', 'subClassOf'])
srid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'srid')
self.assertListEqual(srid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_srs_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/srs")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'srs', 'subClassOf'])
srs_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'srs')
self.assertListEqual(srs_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#SpatialReference")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_sym_difference_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/sym_difference/" + self.bcim_base_uri + 'unidades-federativas/ES/')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_touches_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/touches/" + self.bcim_base_uri + "unidades-federativas/RJ/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'touches'])
touches_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'touches')
self.assertListEqual(touches_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_transform_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/transform/2805&False")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_union_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/union/" + self.bcim_base_uri + "unidades-federativas/RJ")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_valid_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/valid")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'valid'])
valid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'valid')
self.assertListEqual(valid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_valid_reason_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/valid_reason")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'valid_reason'])
valid_reason_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'valid_reason')
self.assertListEqual(valid_reason_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_within_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/within/" + self.bcim_base_uri + "unidades-federativas/ES")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'within'])
within_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'within')
self.assertListEqual(within_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_wkb_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/wkb")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_wkt_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/wkt")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'wkt'])
wkt_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'wkt')
self.assertListEqual(wkt_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.string_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: x is an operation that works only for Point objects
def test_options_feature_resource_x_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/623/x")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'x'])
x_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'x')
self.assertListEqual(x_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: y is an operation that works only for Point objects
def test_options_feature_resource_y_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/623/y")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'y'])
y_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'y')
self.assertListEqual(y_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: z is an operation that works only for Point objects
def test_options_feature_resource_z_operation(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/623/z")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'z'])
z_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'z')
self.assertListEqual(z_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_projection_operation(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/projection/geom,nome")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# simple path (binary)
def test_options_feature_resource_simple_path_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'sigla', 'subClassOf'])
geocodigo_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geocodigo')
self.assertListEqual(geocodigo_acontext_keys, self.keys_from_attrs_context)
geometriaaproximada_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geometriaaproximada')
self.assertListEqual(geometriaaproximada_acontext_keys, self.keys_from_attrs_context)
id_objeto_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'id_objeto')
self.assertListEqual(id_objeto_acontext_keys, self.keys_from_attrs_context)
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
nomeabrev_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nomeabrev')
self.assertListEqual(nomeabrev_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertListEqual(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
response_supported_property_keys = self.aux_get_supported_property_keys(response)
self.assertListEqual(response_supported_property_keys, self.expected_supported_property_keys)
supported_properties_names = self.aux_get_supported_property_names(response)
self.assertListEqual(supported_properties_names,
['geocodigo', 'geom', 'geometriaaproximada', 'id_objeto',
'nome', 'nomeabrev', 'sigla'])
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# only attributes (binary)
def test_options_feature_resource_only_attributes_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom,nome', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_only_geometry_attributes_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_only__alphanumeric_attributes_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/sigla,nome', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'sigla', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
sigla_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'sigla')
self.assertListEqual(sigla_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_only_one_alphanumeric_attributes_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/nome', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/name")
self.assertEquals(response_dict["@type"], "https://schema.org/Text")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# operations (binary)
def test_options_feature_resource_area_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/area", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['area', 'hydra', 'rdfs', 'subClassOf'])
area_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'area')
self.assertListEqual(area_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_boundary_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/boundary", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiLineString")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiLineString")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_buffer_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/buffer/1.2", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_centroid_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/centroid", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_contains_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/contains/' + self.bcim_base_uri + 'aldeias-indigenas/623', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['contains', 'hydra', 'rdfs', 'subClassOf'])
contains_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(contains_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_convex_hull_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/convex_hull', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
#todo: coord_seq doesn't return a respose (this operation must be deleted or altered)
def test_options_feature_resource_coord_seq_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_coords_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/coords', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['coords', 'hydra', 'rdfs', 'subClassOf'])
coords_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'coords')
self.assertListEqual(coords_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#coordinates")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_count_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/count', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['count', 'hydra', 'rdfs', 'subClassOf'])
count_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count')
self.assertListEqual(count_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_crosses_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'trechos-rodoviarios/2625832/crosses/' + self.bcim_base_uri + 'municipios/45823', headers={"Accept": "application/octet-stream"}) # 48623 = itaguai, 2625832 = belo jardim
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['crosses', 'hydra', 'rdfs', 'subClassOf'])
crosses_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'crosses')
self.assertListEqual(crosses_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_crs_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/crs", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['crs', 'hydra', 'rdfs', 'subClassOf'])
crs_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'crs')
self.assertListEqual(crs_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#SpatialReference")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_difference_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/difference/" + self.bcim_base_uri + "unidades-federativas/RJ", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_dims_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/dims", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['dims', 'hydra', 'rdfs', 'subClassOf'])
dims_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'dims')
self.assertListEqual(dims_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_disjoint_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/disjoint/" + self.bcim_base_uri + "unidades-federativas/RJ", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['disjoint', 'hydra', 'rdfs', 'subClassOf'])
disjoint_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'disjoint')
self.assertListEqual(disjoint_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_distance_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/distance/" + self.bcim_base_uri + "aldeias-indigenas/623", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['distance', 'hydra', 'rdfs', 'subClassOf'])
distance_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'distance')
self.assertListEqual(distance_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_empty_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/empty", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['empty', 'hydra', 'rdfs', 'subClassOf'])
empty_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'empty')
self.assertListEqual(empty_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_envelope_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/envelope", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Polygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_equals_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/equals/" + self.bcim_base_uri + "unidades-federativas/RJ", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['equals', 'hydra', 'rdfs', 'subClassOf'])
equals_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'equals')
self.assertListEqual(equals_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_equals_exact_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/equals_exact/" + self.bcim_base_uri + "unidades-federativas/RJ", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['equals_exact', 'hydra', 'rdfs', 'subClassOf'])
equals_exact_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'equals_exact')
self.assertListEqual(equals_exact_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_ewkb_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ewkb", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_ewkt_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ewkt", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['ewkt', 'hydra', 'rdfs', 'subClassOf'])
ewkt_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'ewkt')
self.assertListEqual(ewkt_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: extend is not a FeatureResource operation
def test_options_feature_resource_extend_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_extent_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/extent", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['extent', 'hydra', 'rdfs', 'subClassOf'])
extent_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'extent')
self.assertListEqual(extent_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/ItemList")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_geojson_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geojson", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geojson', 'hydra', 'rdfs', 'subClassOf'])
geojson_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geojson')
self.assertListEqual(geojson_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_geom_type_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geom_type", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geom_type', 'hydra', 'rdfs', 'subClassOf'])
geom_type_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geom_type')
self.assertListEqual(geom_type_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_geom_typeid_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/geom_typeid", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geom_typeid', 'hydra', 'rdfs', 'subClassOf'])
geom_typeid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'geom_typeid')
self.assertListEqual(geom_typeid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: get_coords is not a FeatureResource operation
def test_options_feature_resource_get_coords_operation_accept_octet_stream(self):
pass
# todo: get_srid is not a FeatureResource operation
def test_options_feature_resource_get_srid_operation_accept_octet_stream(self):
pass
# todo: get_x is not a FeatureResource operation
def test_options_feature_resource_get_x_operation_accept_octet_stream(self):
pass
# todo: get_y is not a FeatureResource operation
def test_options_feature_resource_get_y_operation_accept_octet_stream(self):
pass
# todo: get_z is not a FeatureResource operation
def test_options_feature_resource_get_z_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_has_cs_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/has_cs", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['has_cs', 'hydra', 'rdfs', 'subClassOf'])
has_cs_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'has_cs')
self.assertListEqual(has_cs_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_hasz_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/hasz", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hasz', 'hydra', 'rdfs', 'subClassOf'])
hasz_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'hasz')
self.assertListEqual(hasz_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_hex_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/hex", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_hexewkb_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/hexewkb", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: GET request for index not working
def test_options_feature_resource_index_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_intersection_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/intersection/" + self.bcim_base_uri + "aldeias-indigenas/623", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
# if there is no intersection between to geometries, intersection operation return a empty GeometryCollection
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_intersects_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/intersects/" + self.bcim_base_uri + "aldeias-indigenas/623", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'intersects', 'rdfs', 'subClassOf'])
intersects_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'intersects')
self.assertListEqual(intersects_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: interpolate is not a FeatureResource operation
def test_options_feature_resource_interpolate_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_json_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/json", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'json', 'rdfs', 'subClassOf'])
json_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'json')
self.assertListEqual(json_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_kml_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/kml", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'kml', 'rdfs', 'subClassOf'])
kml_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'kml')
self.assertListEqual(kml_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_length_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/length", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'length', 'rdfs', 'subClassOf'])
length_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'length')
self.assertListEqual(length_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: normalize doesn't return a respose (this operation must be deleted or altered)
def test_options_feature_resource_normalize_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_num_coords_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/num_coords", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'num_coords', 'rdfs', 'subClassOf'])
num_coords_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'num_coords')
self.assertListEqual(num_coords_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_num_geom_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/num_geom", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'num_geom', 'rdfs', 'subClassOf'])
num_geom_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'num_geom')
self.assertListEqual(num_geom_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_num_points_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/num_points", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'num_points', 'rdfs', 'subClassOf'])
num_points_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'num_points')
self.assertListEqual(num_points_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: GET for ogr operation should return a default response
def test_options_feature_resource_ogr_operation_accept_octet_stream(self):
pass
def test_options_feature_resource_overlaps_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/overlaps/" + self.bcim_base_uri + 'unidades-federativas/RJ', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'overlaps', 'rdfs', 'subClassOf'])
overlaps_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'overlaps')
self.assertListEqual(overlaps_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_point_on_surface_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/point_on_surface", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_relate_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/relate/" + self.bcim_base_uri + "unidades-federativas/RJ", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'relate', 'subClassOf'])
relate_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'relate')
self.assertListEqual(relate_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_relate_pattern_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/relate_pattern/" + self.bcim_base_uri + "unidades-federativas/RJ&FF2F11212", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'relate_pattern', 'subClassOf'])
relate_pattern_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'relate_pattern')
self.assertListEqual(relate_pattern_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_ring_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/ring", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'ring', 'subClassOf'])
ring_pattern_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'ring')
self.assertListEqual(ring_pattern_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_simple_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/simple", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'simple', 'subClassOf'])
simple_pattern_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'simple')
self.assertListEqual(simple_pattern_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_simplify_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/simplify", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_srid_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/srid", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'srid', 'subClassOf'])
srid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'srid')
self.assertListEqual(srid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Integer")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_srs_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/srs", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'srs', 'subClassOf'])
srs_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'srs')
self.assertListEqual(srs_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#SpatialReference")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_sym_difference_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/sym_difference/" + self.bcim_base_uri + 'unidades-federativas/ES/', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_touches_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/touches/" + self.bcim_base_uri + "unidades-federativas/RJ/", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'touches'])
touches_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'touches')
self.assertListEqual(touches_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_transform_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/transform/2805&False", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_union_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/union/" + self.bcim_base_uri + "unidades-federativas/RJ", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_valid_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/valid", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'valid'])
valid_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'valid')
self.assertListEqual(valid_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_valid_reason_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/valid_reason", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'valid_reason'])
valid_reason_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'valid_reason')
self.assertListEqual(valid_reason_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Text")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_within_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/within/" + self.bcim_base_uri + "unidades-federativas/ES", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'within'])
within_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'within')
self.assertListEqual(within_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Boolean")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_wkb_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/wkb", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_wkt_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/wkt", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'wkt'])
wkt_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'wkt')
self.assertListEqual(wkt_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names,[])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#MultiPolygon")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: x is an operation that works only for Point objects
def test_options_feature_resource_x_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/623/x", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'x'])
x_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'x')
self.assertListEqual(x_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: y is an operation that works only for Point objects
def test_options_feature_resource_y_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/623/y", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'y'])
y_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'y')
self.assertListEqual(y_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# todo: z is an operation that works only for Point objects
def test_options_feature_resource_z_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/623/z", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf', 'z'])
z_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'z')
self.assertListEqual(z_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Float")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_feature_resource_projection_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "unidades-federativas/ES/projection/geom,nome", headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'nome')
self.assertListEqual(nome_acontext_keys, self.keys_from_attrs_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_acontext_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
#python manage.py test hyper_resource.tests.HeadFeatureResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class HeadFeatureResourceTest(AbstractHeadRequestTest):
def test_head_feature_resource_simple_path(self):
response_get = requests.get(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response_get.status_code, 200)
response_head = requests.head(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response_head.status_code, 200)
response_options = requests.options(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response_options.status_code, 200)
head_headers = self.aux_get_headers_list_from_response(response_head)
get_headers = self.aux_get_headers_list_from_response(response_get)
options_headers = self.aux_get_headers_list_from_response(response_options)
self.assertListEqual(head_headers, get_headers)
#self.assertListEqual(head_headers, options_headers)
self.assertEquals(response_head.headers["access-control-allow-headers"], response_get.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_get.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_get.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_get.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_get.headers["allow"])
self.assertEquals(response_head.headers["content-type"], response_get.headers["content-type"])
self.assertEquals(response_head.headers["link"], response_get.headers["link"])
self.assertEquals(response_head.headers["server"], response_get.headers["server"])
self.assertEquals(response_head.headers["vary"], response_get.headers["vary"])
self.assertIn("Date", head_headers)
self.assertIn("Date", get_headers)
# compare HEAD with OPTIONS headers
self.assertEquals(response_head.headers["access-control-allow-headers"], response_options.headers["access-control-allow-headers"])
self.assertEquals(response_head.headers["access-control-allow-methods"], response_options.headers["access-control-allow-methods"])
self.assertEquals(response_head.headers["access-control-allow-origin"], response_options.headers["access-control-allow-origin"])
self.assertEquals(response_head.headers["access-control-expose-headers"], response_options.headers["access-control-expose-headers"])
self.assertEquals(response_head.headers["allow"], response_options.headers["allow"])
#self.assertEquals(response_head.headers["link"], response_options.headers["link"])
self.assertEquals(response_head.headers["server"], response_options.headers["server"])
self.assertEquals(response_head.headers["vary"], response_options.headers["vary"])
self.assertIn("Date", options_headers)
self.assertIn("Content-Type", options_headers)# OPTIONS content-type is aways JSON-LD
# ALLOWED METHODS TEST
#python manage.py test hyper_resource.tests.AllowedMethodsForEntryPoint --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForEntryPoint(AbstractHeadRequestTest):
def test_head_generic_entry_point(self):
response = requests.head(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
def test_head_feature_entry_point(self):
response = requests.head(self.bcim_base_uri)
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
def test_head_raster_entry_point(self):
response = requests.head(self.raster_base_uri)
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS', 'POST'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS', 'POST'] )
#self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
#self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
#python manage.py test hyper_resource.tests.AllowedMethodsForNonSpatialResource --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForNonSpatialResource(AbstractHeadRequestTest):
def test_head_non_spatial_resource_simple_path(self):
response = requests.head(self.controle_base_uri + 'usuario-list/1')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT'] )
def test_head_non_spatial_resource_only_attributes(self):
response = requests.head(self.controle_base_uri + 'usuario-list/1/nome,email')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
def test_head_non_spatial_resource_operation(self):
response = requests.head(self.controle_base_uri + 'usuario-list/1/projection/nome')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
#python manage.py test hyper_resource.tests.AllowedMethodsForCollectionResource --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForCollectionResource(AbstractHeadRequestTest):
def test_head_collection_resource_simple_path(self):
response = requests.head(self.controle_base_uri + 'usuario-list')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST'] )
def test_head_collection_resource_only_attributes(self):
response = requests.head(self.controle_base_uri + 'usuario-list/nome,email')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
def test_head_collection_resource_operation(self):
response = requests.head(self.controle_base_uri + 'usuario-list/count-resource')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
#python manage.py test hyper_resource.tests.AllowedMethodsForTiffCollectionResource --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForTiffCollectionResource(AbstractHeadRequestTest):
def test_head_tiff_collection_resource_simple_path(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS', 'POST'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS', 'POST'] )
'''
def test_head_tiff_collection_resource_only_attributes(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list/')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
'''
def test_head_tiff_collection_resource_operation(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list/count-resource')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
#python manage.py test hyper_resource.tests.AllowedMethodsForTiffResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForTiffResourceTest(AbstractHeadRequestTest):
def test_head_tiff_resource_simple_path(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list/181')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT'] )
def test_head_tiff_resource_only_attributes(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list/181/rid')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
def test_head_tiff_resource_operation(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list/181/transform/3086')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'] )
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'] )
#python manage.py test hyper_resource.tests.AllowedMethodsForFeatureResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForFeatureResourceTest(AbstractHeadRequestTest):
'''
Class to test every possible allowed methods for differents requests for FeatureResource
'''
def test_head_for_feature_resource_simple_path(self):
response = requests.head(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT'])
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'PUT'])
def test_head_for_feature_resource_only_attributes(self):
response = requests.head(self.bcim_base_uri + 'unidades-federativas/ES/nome,geom')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'])
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'])
def test_head_for_feature_resource_operation(self):
response = requests.head(self.bcim_base_uri + 'unidades-federativas/ES/buffer/0.8')
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'])
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'])
#python manage.py test hyper_resource.tests.AllowedMethodsForFeatureCollectionResourceTest --testrunner=hyper_resource.tests.NoDbTestRunner
class AllowedMethodsForFeatureCollectionResourceTest(AbstractHeadRequestTest):
'''
Class to test every possible allowed methods for differents requests for FeatureCollectionResource
'''
# simple path
def test_head_for_feature_collection_simple_path(self):
response = requests.head(self.bcim_base_uri + "unidades-federativas")
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST'])
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST'])
# attributes
def test_head_for_feature_collection_only_attributes(self):
response = requests.head(self.bcim_base_uri + "unidades-federativas/nome,geom")
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'])
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'])
# operations
def test_head_for_feature_collection_operation(self):
response = requests.head(self.bcim_base_uri + "unidades-federativas/union")
self.assertEquals(response.status_code, 200)
self.assertEquals( self.aux_get_allowed_methods(response, 'allow'), ['GET', 'HEAD', 'OPTIONS'])
self.assertEquals( self.aux_get_allowed_methods(response, 'access-control-allow-methods'), ['GET', 'HEAD', 'OPTIONS'])
# OTHER TEST
#python manage.py test hyper_resource.tests.LinkHeaderTest --testrunner=hyper_resource.tests.NoDbTestRunner
class LinkHeaderTest(AbstractHeadRequestTest):
# --- EntryPoints ---
# --- GET ---
def test_get_for_generic_entry_point(self):
response = requests.get(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
def test_get_for_feature_entry_point(self):
response = requests.get(self.bcim_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
def test_get_for_raster_entry_point(self):
response = requests.get(self.raster_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
# --- HEAD ---
def test_head_for_generic_entry_point(self):
response = requests.head(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
def test_head_for_feature_entry_point(self):
response = requests.head(self.bcim_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
def test_head_for_raster_entry_point(self):
response = requests.head(self.raster_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
# --- OPTIONS ---
def test_options_for_generic_entry_point(self):
response = requests.options(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
def test_options_for_feature_entry_point(self):
response = requests.options(self.bcim_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
def test_options_for_raster_entry_point(self):
response = requests.options(self.raster_base_uri)
self.assertEquals(response.status_code, 200)
self.assertIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # has <EntryPoint>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertNotIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="stylesheet', response.headers['link'])
# --- POST ---
def test_post_for_raster_entry_point(self):
pass
# --- FeatureResource ---
def test_get_for_feature_resource(self):
response = requests.get(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertIn('rel="up"', response.headers['link']) # has <Up>
self.assertIn('rel="stylesheet', response.headers['link']) # has <Style>
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # <EntryPoint> cannot be on the 'Link' header
self.assertNotIn('rel="describedBy"', response.headers['link'])
def test_head_for_feature_resource(self):
response = requests.head(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertIn('rel="up"', response.headers['link']) # has <Up>
self.assertIn('rel="stylesheet', response.headers['link']) # has <Style>
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # <EntryPoint> cannot be on the 'Link' header
self.assertNotIn('rel="describedBy"', response.headers['link'])
'''
def test_options_for_feature_resource(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link']) # has <Context>
self.assertIn('rel="metadata"', response.headers['link']) # has <Metadata>
self.assertIn('rel="up"', response.headers['link']) # has <Up>
self.assertIn('rel="stylesheet', response.headers['link']) # has <Style>
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link']) # <EntryPoint> cannot be on the 'Link' header
self.assertNotIn('rel="describedBy"', response.headers['link'])
'''
# --- TiffResource ---
def test_get_for_raster_resource(self):
response = requests.get(self.raster_base_uri + 'imagem-exemplo-tile1-list/181')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertIn('rel="describedBy"', response.headers['link']) # has <describedBy>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
def test_head_for_raster_resource(self):
response = requests.head(self.raster_base_uri + 'imagem-exemplo-tile1-list/181')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertIn('rel="describedBy"', response.headers['link']) # has <describedBy>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
'''
def test_options_for_raster_resource(self):
response = requests.options(self.raster_base_uri + 'imagem-exemplo-tile1-list/181')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertIn('rel="describedBy"', response.headers['link']) # has <describedBy>
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
'''
# --- FeatureCollection
def test_get_for_feature_collection_resource(self):
response = requests.get(self.bcim_base_uri + 'unidades-federativas')
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
def test_head_for_feature_collection_resource(self):
response = requests.head(self.bcim_base_uri + 'unidades-federativas')
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
'''
def test_options_for_feature_collection_resource(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas')
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
'''
def test_post_for_feature_collection_resource(self):
pass
# --- NonSpatialCollection
def test_get_for_non_spatial_resource(self):
response = requests.get(self.controle_base_uri + 'usuario-list/1')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
def test_head_for_non_spatial_resource(self):
response = requests.head(self.controle_base_uri + 'usuario-list/1')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
'''
def test_options_for_non_spatial_resource(self):
response = requests.options(self.controle_base_uri + 'usuario-list/1')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
'''
# --- CollectionResource
def test_get_for_collection_resource(self):
response = requests.get(self.controle_base_uri + 'usuario-list')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
def test_head_for_collection_resource(self):
response = requests.head(self.controle_base_uri + 'usuario-list')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
'''
def test_options_for_collection_resource(self):
response = requests.options(self.controle_base_uri + 'usuario-list/1')
self.assertEquals(response.status_code, 200)
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
'''
#python manage.py test hyper_resource.tests.RequestOptionsTest --testrunner=hyper_resource.tests.NoDbTestRunner
class RequestOptionsTest(AbstractOptionsRequestTest):
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
# tests for feature/geometry collection simple path
def test_options_for_feature_collection_simple_path(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['codigofunai', 'etnia', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'subClassOf', 'terraindigena'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
codigofunai_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "codigofunai")
self.assertListEqual(codigofunai_context_keys_list, self.keys_from_attrs_context)
terraindigena_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "terraindigena")
self.assertListEqual(terraindigena_context_keys_list, self.keys_from_attrs_context)
etnia_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "etnia")
self.assertListEqual(etnia_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
#rdfs_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'rdfs')
#self.assertListEqual(rdfs_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_simple_path_with_accept_header(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/", headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['codigofunai', 'etnia', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'subClassOf', 'terraindigena'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
codigofunai_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "codigofunai")
self.assertListEqual(codigofunai_context_keys_list, self.keys_from_attrs_context)
terraindigena_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "terraindigena")
self.assertListEqual(terraindigena_context_keys_list, self.keys_from_attrs_context)
etnia_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "etnia")
self.assertListEqual(etnia_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
#rdfs_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'rdfs')
#self.assertListEqual(rdfs_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
# tests for feature/geometry collection attributes
def test_options_for_feature_collection_only_attributes(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/geom,nome")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["hydra", "nome", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_only_attributes_with_accept_header(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/geom,nome",
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["hydra", "nome", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_only_geometric_attribute(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/geom")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_only_geometric_attribute_accept_header(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/geom",
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ["hydra", "rdfs", "subClassOf"])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_only_alphanumeric_attributes(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/nome,nomeabrev")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ["hydra", "nome", "nomeabrev", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_feature_collection_only_alphanumeric_attributes_with_accept_header(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/nome,nomeabrev",
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ["hydra", "nome", "nomeabrev", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# tests for feature/geometry collection operation
def test_options_for_feature_collection_operation_with_geometry_collection_return(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + "unidades-federativas/ES")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['codigofunai', 'etnia', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'subClassOf', 'terraindigena'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
codigofunai_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "codigofunai")
self.assertListEqual(codigofunai_context_keys_list, self.keys_from_attrs_context)
terraindigena_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "terraindigena")
self.assertListEqual(terraindigena_context_keys_list, self.keys_from_attrs_context)
etnia_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "etnia")
self.assertListEqual(etnia_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
#rdfs_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'rdfs')
#self.assertListEqual(rdfs_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_operation_with_geometry_collection_return_and_accept_header(self):
response = requests.options(
self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + "unidades-federativas/ES",
headers={'accept': 'application/octet-stream'}
)
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['codigofunai', 'etnia', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'subClassOf', 'terraindigena'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
codigofunai_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "codigofunai")
self.assertListEqual(codigofunai_context_keys_list, self.keys_from_attrs_context)
terraindigena_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "terraindigena")
self.assertListEqual(terraindigena_context_keys_list, self.keys_from_attrs_context)
etnia_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "etnia")
self.assertListEqual(etnia_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
#rdfs_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'rdfs')
#self.assertListEqual(rdfs_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_options_for_feature_collection_count_resource(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/count-resource")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ["count-resource", "hydra", "rdfs", "subClassOf"])
count_resource_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "count-resource")
self.assertListEqual(count_resource_context_keys_list, self.keys_from_attrs_context)
subClassOf_resource_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_resource_context_keys_list, self.keys_from_attrs_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "hydra:totalItems")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_collection_count_resource_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + "aldeias-indigenas/count-resource",
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ["count-resource", "hydra", "rdfs", "subClassOf"])
count_resource_resource_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "count-resource")
self.assertListEqual(count_resource_resource_context_keys_list, self.keys_from_attrs_context)
subClassOf_resource_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_resource_context_keys_list, self.keys_from_attrs_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "hydra:totalItems")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# --------------- TESTS FOR COLLECTION ---------------------------------
# tests for collection simple path
def test_options_for_collection_simple_path(self):
response = requests.options(self.controle_base_uri + 'gasto-list/')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ['data', "hydra", "id", "rdfs", "subClassOf", "tipo_gasto", "usuario", "valor"])
id_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id")
self.assertListEqual(id_context_keys_list, self.keys_from_attrs_context)
data_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data")
self.assertListEqual(data_keys_list, self.keys_from_attrs_context)
tipo_gasto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "tipo_gasto")
self.assertListEqual(tipo_gasto_context_keys_list, self.keys_from_attrs_context)
usuario_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "usuario")
self.assertListEqual(usuario_context_keys_list, self.keys_from_attrs_context)
valor_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "valor")
self.assertListEqual(valor_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operation_name = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_name, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_collection_simple_path_with_accept_header(self):
response = requests.options(self.controle_base_uri + 'gasto-list/', headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys,
['data', "hydra", "id", "rdfs", "subClassOf", "tipo_gasto", "usuario", "valor"])
id_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id")
self.assertListEqual(id_context_keys_list, self.keys_from_attrs_context)
data_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data")
self.assertListEqual(data_keys_list, self.keys_from_attrs_context)
tipo_gasto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "tipo_gasto")
self.assertListEqual(tipo_gasto_context_keys_list, self.keys_from_attrs_context)
usuario_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "usuario")
self.assertListEqual(usuario_context_keys_list, self.keys_from_attrs_context)
valor_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "valor")
self.assertListEqual(valor_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operation_name = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_name, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# tests for collection attributes
def test_options_for_collection_only_attributes(self):
response = requests.options(self.controle_base_uri + 'gasto-list/data,valor')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ['data', 'hydra', 'rdfs', 'subClassOf', 'valor'])
data_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data")
self.assertListEqual(data_context_keys_list, self.keys_from_attrs_context)
valor_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "valor")
self.assertListEqual(valor_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operation_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_collection_only_attributes_with_accept_header(self):
response = requests.options(self.controle_base_uri + 'gasto-list/data,valor',
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["data", "hydra", "rdfs", "subClassOf", "valor"])
data_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data")
self.assertListEqual(data_context_keys_list, self.keys_from_attrs_context)
valor_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "valor")
self.assertListEqual(valor_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operation_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# tests for collection operation
def test_options_for_collection_operation_with_collection_return(self):
response = requests.options(self.controle_base_uri + 'usuario-list/group-by-count/nome')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count', 'hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertEquals(nome_context_keys, self.keys_from_attrs_context)
count_context_keys = self.aux_get_keys_from_acontext_attrs(response, "count")
self.assertEquals(count_context_keys, self.keys_from_attrs_context)
group_by_count_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(group_by_count_context_keys, self.keys_from_oper_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_collection_operation_with_collection_return_and_accept_header(self):
response = requests.options(self.controle_base_uri + 'usuario-list/group-by-count/nome',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count', 'hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertEquals(nome_context_keys, self.keys_from_attrs_context)
count_context_keys = self.aux_get_keys_from_acontext_attrs(response, "count")
self.assertEquals(count_context_keys, self.keys_from_attrs_context)
group_by_count_context_keys = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertEquals(group_by_count_context_keys, self.keys_from_oper_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_collection_operation_with_integer_return(self):
response = requests.options(self.controle_base_uri + 'usuario-list/count-resource')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count-resource', 'hydra', 'rdfs', 'subClassOf'])
count_resource_resource_context_keys = self.aux_get_keys_from_acontext_attrs(response, "count-resource")
self.assertEquals(count_resource_resource_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "hydra:totalItems")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_collection_operation_with_integer_return_and_accept_header(self):
response = requests.options(self.controle_base_uri + 'usuario-list/count-resource',
headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertEquals(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(acontext_keys, ['count-resource', 'hydra', 'rdfs', 'subClassOf'])
count_resource_resource_context_keys = self.aux_get_keys_from_acontext_attrs(response, "count-resource")
self.assertEquals(count_resource_resource_context_keys, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "hydra:totalItems")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# --------------- TESTS FOR FEATURE RESOURCE ---------------------------------
# tests for feature simple path
def test_options_for_feature_resource_simple_path(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'sigla', 'subClassOf'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
sigla_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertListEqual(sigla_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
#iri_metadata_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "iri_metadata")
#self.assertListEqual(iri_metadata_context_keys_list, self.keys_from_attrs_context)
#iri_style_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "iri_style")
#self.assertListEqual(iri_style_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_feature_resource_simple_path_with_accept_header(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES',
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys,
['geocodigo', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev',
'rdfs', 'sigla', 'subClassOf'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
sigla_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertListEqual(sigla_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
# iri_metadata_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "iri_metadata")
# self.assertListEqual(iri_metadata_context_keys_list, self.keys_from_attrs_context)
# iri_style_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "iri_style")
# self.assertListEqual(iri_style_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# tests for feature attributes
def test_options_for_feature_resource_only_attributes(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom,nome')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["hydra", "nome", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_feature_resource_only_attributes_with_accept_header(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom,nome',
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["hydra", "nome", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_feature_resource_only_alphanumeric_attributes(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geocodigo,nome')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["geocodigo", "hydra", "nome", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_only_alphanumeric_attributes_with_accept_header(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geocodigo,nome',
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["geocodigo", "hydra", "nome", "rdfs", "subClassOf"])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_only_geometric_attribute(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["hydra", "rdfs", "subClassOf"])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_options_for_feature_resource_only_geometric_attribute_with_accept_header(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/geom',
headers={'accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ["hydra", "rdfs", "subClassOf"])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_options_for_feature_resource_pointfield_attribute(self):
response = requests.options(self.bcim_base_uri + 'aldeias-indigenas/623/geom')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ['hydra', 'rdfs', 'subClassOf'])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_pointfield_attribute_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'aldeias-indigenas/623/geom', headers={"Accept": "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ['hydra', 'rdfs', 'subClassOf'])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# tests for feature operations
def test_options_for_feature_resource_operation_with_geometry_return(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/buffer/1.2')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_operation_with_geometry_return_accept_header(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/buffer/1.2',
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_area_operation(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/area')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['area', 'hydra', 'rdfs', 'subClassOf'])
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
area_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "area")
self.assertListEqual(area_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://schema.org/Float')
self.assertEquals(response_dict["@type"], 'https://schema.org/Thing')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_area_operation_accept_octet_stream(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/area',
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['area', 'hydra', 'rdfs', 'subClassOf'])
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
area_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "area")
self.assertListEqual(area_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://schema.org/Float')
self.assertEquals(response_dict["@type"], 'https://schema.org/Thing')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_operation_with_point_return(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/point_on_surface')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_on_surface_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_on_surface_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_feature_resource_operation_with_point_return_accept_header(self):
response = requests.options(self.bcim_base_uri + 'unidades-federativas/ES/point_on_surface',
headers={'Accept': 'application/octet-stream'})
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_on_surface_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_on_surface_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# --------------- TESTS FOR NON SPATIAL RESOURCE ---------------------------------
# tests for NonSpatialResource simple path
def test_options_for_non_spatial_resource_simple_path(self):
response = requests.options(self.controle_base_uri + "usuario-list/1/")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs', 'senha', 'subClassOf'])
id_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id")
self.assertListEqual(id_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nome_usuario_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome_usuario")
self.assertListEqual(nome_usuario_context_keys_list, self.keys_from_attrs_context)
senha_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "senha")
self.assertListEqual(senha_context_keys_list, self.keys_from_attrs_context)
data_nascimento_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data_nascimento")
self.assertListEqual(data_nascimento_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
#avatar_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "avatar")
#self.assertListEqual(avatar_context_keys_list, self.keys_from_attrs_context)
operation_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_non_spatial_resource_simple_path_with_accept_header(self):
response = requests.options(self.controle_base_uri + "usuario-list/1/",
headers={'Accept': "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys,
['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs', 'senha',
'subClassOf'])
id_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id")
self.assertListEqual(id_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nome_usuario_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome_usuario")
self.assertListEqual(nome_usuario_context_keys_list, self.keys_from_attrs_context)
senha_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "senha")
self.assertListEqual(senha_context_keys_list, self.keys_from_attrs_context)
data_nascimento_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data_nascimento")
self.assertListEqual(data_nascimento_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
# avatar_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "avatar")
# self.assertListEqual(avatar_context_keys_list, self.keys_from_attrs_context)
operation_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# tests for NonSpatialResource only attributes
def test_options_for_non_spatial_resource_only_attributes(self):
response = requests.options(self.controle_base_uri + "usuario-list/1/nome,email")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
def test_options_for_non_spatial_resource_only_attributes_with_accept_header(self):
response = requests.options(self.controle_base_uri + "usuario-list/1/nome,email",
headers={'Accept': "application/octet-stream"})
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# ------------------- TESTS FOR ENTRY POINTS -------------------------------------
def test_options_for_feature_entrypoint(self):
response = requests.options(self.bcim_base_uri)
self.assertEquals(response.status_code, 200)
#self.assertEqual(response.headers['Link'],
#'<http://luc00557196:8000/api/bcim/>; rel="https://schema.org/EntryPoint" , <http://luc00557196:8000/api/bcim.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"')
a_context_keys = self.aux_get_keys_from_response_context(response)
'''
self.assertListEqual(a_context_keys, ['aglomerados rurais de extensao urbana', 'aglomerados rurais isolado',
'aldeias indigenas', 'areas de desenvolvimento de controle', 'areas edificadas',
'bancos de areia', 'barragens', 'brejos e pantanos', 'capitais', 'cidades',
'corredeiras', 'curvas batimetricas', 'curvas de nivel', 'dunas', 'eclusas',
'edificacoes agropecuarias de extracao vegetal e pesca',
'edificacoes de construcao aeroportuaria', 'edificacoes de construcao portuaria',
'edificacoes de metro ferroviaria', 'edificacoes industrial', 'edificacoes publica militar',
'edificacoes religiosa', 'elementos fisiografico natural',
'estacoes geradoras de energia eletrica', 'extracoes minerais', 'fozes maritima',
'fundeadouros', 'hidreletricas', 'ilhas', 'mangues', 'marcos de limite', 'massas dagua',
'municipios', 'outros limites oficiais', 'paises', 'picos', 'pistas de ponto pouso',
'pontes', 'pontos cotados altimetricos', 'pontos cotados batimetricos', 'postos fiscais',
'quedas dagua', 'recifes', 'rochas em agua', 'sinalizacoes', 'sumidouros vertedouros',
'termeletricas', 'terras indigenas', 'terrenos sujeito a inundacao',
'torres de energia', 'travessias', 'trechos de drenagem', 'trechos de massa dagua',
'trechos dutos', 'trechos ferroviarios', 'trechos hidroviarios', 'trechos rodoviarios',
'tuneis', 'unidades de conservacao nao snuc', 'unidades de protecao integral',
'unidades de uso sustentavel', 'unidades federativas', 'vegetacoes de restinga', 'vilas'])
'''
self.assertListEqual(a_context_keys, ['aglomerados-rurais-de-extensao-urbana', 'aglomerados-rurais-isolado',
'aldeias-indigenas', 'areas-de-desenvolvimento-de-controle', 'areas-edificadas',
'bancos-de-areia', 'barragens', 'brejos-e-pantanos', 'capitais', 'cidades',
'corredeiras', 'curvas-batimetricas', 'curvas-de-nivel', 'dunas', 'eclusas',
'edificacoes-agropecuarias-de-extracao-vegetal-e-pesca',
'edificacoes-de-construcao-aeroportuaria', 'edificacoes-de-construcao-portuaria',
'edificacoes-de-metro-ferroviaria', 'edificacoes-industrial', 'edificacoes-publica-militar',
'edificacoes-religiosa', 'elementos-fisiografico-natural',
'estacoes-geradoras-de-energia-eletrica', 'extracoes-minerais',
'fozes-maritima', 'fundeadouros', 'hidreletricas', 'hydra', 'ilhas',
'mangues', 'marcos-de-limite', 'massas-dagua', 'municipios', 'outros-limites-oficiais', 'paises',
'picos', 'pistas-de-ponto-pouso', 'pontes', 'pontos-cotados-altimetricos',
'pontos-cotados-batimetricos', 'postos-fiscais', 'quedas-dagua', 'rdfs', 'recifes', 'rochas-em-agua',
'sinalizacoes', 'subClassOf', 'sumidouros-vertedouros', 'termeletricas',
'terras-indigenas', 'terrenos-sujeito-a-inundacao', 'torres-de-energia',
'travessias', 'trechos-de-drenagem', 'trechos-de-massa-dagua',
'trechos-dutos', 'trechos-ferroviarios', 'trechos-hidroviarios',
'trechos-rodoviarios', 'tuneis', 'unidades-de-conservacao-nao-snuc',
'unidades-de-protecao-integral', 'unidades-de-uso-sustentavel',
'unidades-federativas', 'vegetacoes-de-restinga', 'vilas'])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], self.link_vocab)
self.assertEquals(response_dict["@type"], self.entrypoint_vocab)
self.assertEquals(response_dict["@context"]['aglomerados-rurais-de-extensao-urbana']["@id"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["@context"]['aglomerados-rurais-de-extensao-urbana']["@type"], "@id")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_raster_entrypoint(self):
response = requests.options(self.raster_base_uri)
self.assertEquals(response.status_code, 200)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(a_context_keys, ['hydra',
'imagem-exemplo-tile1-list',
'imagem-exemplo1-list',
'imagem-exemplo2-list',
'imagem-exemplo4-tile2-list',
'rdfs', 'subClassOf'])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], self.link_vocab)
self.assertEquals(response_dict["@type"], self.entrypoint_vocab)
self.assertEquals(response_dict["@context"]['imagem-exemplo-tile1-list']["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@context"]['imagem-exemplo-tile1-list']["@type"], "@id")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
def test_options_for_non_spatial_entrypoint(self):
response = requests.options(self.controle_base_uri)
self.assertEquals(response.status_code, 200)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['gasto-list', 'hydra', 'rdfs', 'subClassOf', 'tipo-gasto-list', 'usuario-list'])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], self.link_vocab)
self.assertEquals(response_dict["@type"], self.entrypoint_vocab)
self.assertEquals(response_dict["@context"]['gasto-list']["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@context"]['gasto-list']["@type"], "@id")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
#python manage.py test hyper_resource.tests.GetRequestContextTest --testrunner=hyper_resource.tests.NoDbTestRunner
class GetRequestContextTest(AbstractOptionsRequestTest):
# --------------- TESTS FOR FEATURE RESOURCE ---------------------------------
# tests for feature resource simple path
def test_suffixed_request_to_feature_resource_simple_path(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/ES.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'sigla', 'subClassOf'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
sigla_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertListEqual(sigla_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://schema.org/State')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#Feature')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# tests for feature resource attributes
def test_suffixed_request_to_feature_resource_only_attributes(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/ES/geom,geocodigo,sigla.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'hydra', 'rdfs', 'sigla', 'subClassOf'])
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
sigla_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertListEqual(sigla_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_suffixed_request_to_feature_resource_only_alphanumeric_attributes(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/ES/geocodigo,sigla.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'hydra', 'rdfs', 'sigla', 'subClassOf'])
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
sigla_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertListEqual(sigla_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://schema.org/Thing')
self.assertEquals(response_dict["@type"], 'https://schema.org/Thing')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_suffixed_request_to_feature_resource_only_geometric_attribute(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/ES/geom.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# tests for feature resource operations
def test_suffixed_request_to_feature_resource_operation_with_float_return(self):
response = requests.get(self.bcim_base_uri + 'unidades-federativas/ES/area.jsonld')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['area', 'hydra', 'rdfs', 'subClassOf'])
area_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "area")
self.assertListEqual(area_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://schema.org/Float')
self.assertEquals(response_dict["@type"], 'https://schema.org/Thing')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_suffixed_request_to_feature_resource_operation_with_geometry_return(self):
response = requests.get(self.bcim_base_uri + 'unidades-federativas/ES/buffer/1.2.jsonld')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#MultiPolygon')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
def test_suffixed_request_to_feature_resource_point_on_surface_operation(self):
response = requests.get(self.bcim_base_uri + 'unidades-federativas/ES/point_on_surface.jsonld')
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
a_context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(a_context_keys, ['hydra', 'rdfs', 'subClassOf'])
subClassOf_on_surface_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_on_surface_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict["@type"], 'https://purl.org/geojson/vocab#Point')
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# --------------- TESTS FOR FEATURE COLLECTION ---------------------------------
# tests for feature collection simple path
def test_suffixed_request_to_feature_collection_resource_simple_path(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['geocodigo', 'geometriaaproximada', 'hydra', 'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'sigla', 'subClassOf'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
geocodigo_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geocodigo")
self.assertListEqual(geocodigo_context_keys_list, self.keys_from_attrs_context)
sigla_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "sigla")
self.assertListEqual(sigla_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/State")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
# tests for feature collection attributes
def test_suffixed_request_to_feature_collection_resource_only_attributes(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/nome,geom.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_suffixed_request_feature_collection_only_geometric_attribute(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/geom.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['hydra', 'rdfs', 'subClassOf'])
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Point")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#GeometryCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_suffixed_request_feature_collection_only_alphanumeric_attributes(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/nome,nomeabrev.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ['hydra', 'nome', 'nomeabrev', 'rdfs', 'subClassOf'])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], 'https://schema.org/Thing')
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# tests for feature collection operations
def test_suffixed_request_feature_collection_operation_with_geometry_collection_return(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/within/" + self.bcim_base_uri + "unidades-federativas/ES.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_dict_keys, ['codigofunai', 'etnia', 'geometriaaproximada', 'hydra',
'id_objeto', 'nome', 'nomeabrev', 'rdfs', 'subClassOf', 'terraindigena'])
id_objeto_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id_objeto")
self.assertListEqual(id_objeto_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nomeabrev_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nomeabrev")
self.assertListEqual(nomeabrev_context_keys_list, self.keys_from_attrs_context)
geometriaaproximada_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geometriaaproximada")
self.assertListEqual(geometriaaproximada_context_keys_list, self.keys_from_attrs_context)
codigofunai_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "codigofunai")
self.assertListEqual(codigofunai_context_keys_list, self.keys_from_attrs_context)
terraindigena_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "terraindigena")
self.assertListEqual(terraindigena_context_keys_list, self.keys_from_attrs_context)
etnia_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "etnia")
self.assertListEqual(etnia_context_keys_list, self.keys_from_attrs_context)
#geom_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "geom")
#self.assertListEqual(geom_context_keys_list, self.keys_from_attrs_context)
# rdfs_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'rdfs')
# self.assertListEqual(rdfs_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.spatial_collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://purl.org/geojson/vocab#Feature")
self.assertEquals(response_dict["@type"], "https://purl.org/geojson/vocab#FeatureCollection")
self.assertEquals(response_dict["subClassOf"], self.collection_vocab)
def test_suffixed_request_feature_collection_operation_with_integer_return(self):
response = requests.get(self.bcim_base_uri + "aldeias-indigenas/count-resource.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.non_simple_path_dict_keys)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations_names, [])
context_dict_keys = self.aux_get_keys_from_response_context(response)
self.assertEquals(context_dict_keys, ["count-resource", 'hydra', 'rdfs', 'subClassOf'])
count_resource_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'count-resource')
self.assertEquals(count_resource_acontext_keys, self.keys_from_oper_context)
subClassOf_acontext_keys = self.aux_get_keys_from_acontext_attrs(response, 'subClassOf')
self.assertEquals(subClassOf_acontext_keys, self.keys_from_oper_context)
supported_operations = self.aux_get_supported_operations_names(response)
self.assertEquals(supported_operations, [])
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "hydra:totalItems")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# --------------- TESTS FOR NON SPATIAL RESOURCE ---------------------------------
# tests for nonspatialresource simple path
def test_suffixed_request_to_non_spatial_resource_simple_path(self):
response = requests.get(self.controle_base_uri + "usuario-list/1.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs', 'senha', 'subClassOf'])
#avatar_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "avatar")
#self.assertListEqual(avatar_context_keys_list, self.keys_from_attrs_context)
data_nascimento_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data_nascimento")
self.assertListEqual(data_nascimento_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
id_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id")
self.assertListEqual(id_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nome_usuario_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome_usuario")
self.assertListEqual(nome_usuario_context_keys_list, self.keys_from_attrs_context)
senha_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "senha")
self.assertListEqual(senha_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# tests for nonspatialresource attributes
def test_suffixed_request_to_non_spatial_resource_only_attributes(self):
response = requests.get(self.controle_base_uri + "usuario-list/1/nome,email.jsonld")
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['email', 'hydra', 'nome', 'rdfs', 'subClassOf'])
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
supported_operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(supported_operations_names, self.basic_operations_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict["@id"], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], "https://schema.org/Thing")
self.assertEquals(response_dict["subClassOf"], "hydra:Resource")
# --------------- TESTS FOR COLLECTION ---------------------------------
# tests for collection simple path
def test_suffixed_request_to_collection_resource_simple_path(self):
response = requests.get(self.controle_base_uri + "usuario-list.jsonld")
self.assertEquals(response.status_code, 200)
response_dict_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_dict_keys, self.simple_path_options_dict_keys)
acontext_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(acontext_keys, ['data_nascimento', 'email', 'hydra', 'id', 'nome', 'nome_usuario', 'rdfs', 'senha', 'subClassOf'])
#avatar_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "avatar")
#self.assertListEqual(avatar_context_keys_list, self.keys_from_attrs_context)
data_nascimento_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data_nascimento")
self.assertListEqual(data_nascimento_context_keys_list, self.keys_from_attrs_context)
email_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "email")
self.assertListEqual(email_context_keys_list, self.keys_from_attrs_context)
id_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "id")
self.assertListEqual(id_context_keys_list, self.keys_from_attrs_context)
nome_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome")
self.assertListEqual(nome_context_keys_list, self.keys_from_attrs_context)
nome_usuario_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "nome_usuario")
self.assertListEqual(nome_usuario_context_keys_list, self.keys_from_attrs_context)
senha_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "senha")
self.assertListEqual(senha_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operations_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operations_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict['@type'], self.collection_vocab)
self.assertEquals(response_dict['subClassOf'], "hydra:Resource")
# tests for collection attributes
def test_suffixed_request_to_collection_resource_only_attributes(self):
response = requests.get(self.controle_base_uri + 'gasto-list/data,valor.jsonld')
self.assertEquals(response.status_code, 200)
response_keys = self.aux_get_keys_from_response(response)
self.assertListEqual(response_keys, self.non_simple_path_dict_keys)
context_keys = self.aux_get_keys_from_response_context(response)
self.assertListEqual(context_keys, ['data', 'hydra', 'rdfs', 'subClassOf', 'valor'])
data_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "data")
self.assertListEqual(data_context_keys_list, self.keys_from_attrs_context)
valor_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "valor")
self.assertListEqual(valor_context_keys_list, self.keys_from_attrs_context)
subClassOf_context_keys_list = self.aux_get_keys_from_acontext_attrs(response, "subClassOf")
self.assertListEqual(subClassOf_context_keys_list, self.keys_from_attrs_context)
operation_names = self.aux_get_supported_operations_names(response)
self.assertListEqual(operation_names, self.collection_operation_names)
response_dict = self.aux_get_dict_from_response(response)
self.assertEquals(response_dict['@id'], "https://schema.org/Thing")
self.assertEquals(response_dict["@type"], self.collection_vocab)
self.assertEquals(response_dict["subClassOf"], 'hydra:Resource')
# tests for collection operation
# tests for collection collect operation
# ------------------- TESTS FOR ENTRY POINTS -------------------------------------
#python manage.py test hyper_resource.tests.PaginationTest --testrunner=hyper_resource.tests.NoDbTestRunner
class PaginationTest(AbstractHeadRequestTest):
'''
def test_collection_simple_path_pagination(self):
response = requests.get(self.controle_base_uri + "gasto-list/")
self.assertEquals(response.status_code, 200)
# the string must be hardcoded, if not, the test fails
expected_link = '<http://luc00557196:8000/controle-list/>; rel="up" , <http://luc00557196:8000/controle-list/gasto-list.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" , <http://luc00557196:8000/controle-list/gasto-list/offset-limit/101&100>; rel="next" '
#expected_link = '<' + HOST + 'api/bcim/>; rel="up" , <' + HOST + 'api/bcim/aldeias-indigenas.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" , <' + HOST + 'api/bcim/aldeias-indigenas/offset-limit/101&100>; rel="next" '
self.assertEquals(response.headers["link"], expected_link)
'''
'''
def test_feature_collection_simle_path_ordering_by_geometry_longitude(self):
response = requests.get(self.bcim_base_uri + "unidades-federativas/order_by/geom")
self.assertEquals(response.status_code, 200)
response_dict = self.aux_get_dict_from_response(response)
features_names_ordered_by_longitude = [ uf['properties']['nome'] for uf in response_dict['features'] ]
expected_names_ordered_by_longitude = ['Acre', 'Amazonas', 'Rondรดnia', 'Roraima', 'Mato Grosso', 'Parรก',
'Mato Grosso do Sul', 'Rio Grande do Sul', 'Amapรก', 'Paranรก',
'Santa Catarina', 'Goiรกs', 'Sรฃo Paulo', 'Minas Gerais', 'Tocantins',
'Maranhรฃo', 'Distrito Federal', 'Bahia', 'Piauรญ', 'Rio de Janeiro',
'Espรญrito Santo', 'Cearรก', 'Pernambuco', 'Paraรญba', 'Rio Grande do Norte',
'Sergipe', 'Alagoas']
self.assertListEqual(features_names_ordered_by_longitude, expected_names_ordered_by_longitude)
'''
def test_head_collection_simple_path_pagination(self):
response = requests.head(self.controle_base_uri + "gasto-list/")
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
up_hypermidia_control = self.aux_get_hypermidia_control_from_link_header(response, 'up')
self.assertEquals(up_hypermidia_control, "<" + self.controle_base_uri + ">")
context_hypermidia_control = self.aux_get_hypermidia_control_from_link_header(response, 'http://www.w3.org/ns/json-ld#context')
self.assertEquals(context_hypermidia_control, "<" + self.controle_base_uri + "gasto-list.jsonld>; type=\"application/ld+json\"")
next_hypermidia_control = self.aux_get_hypermidia_control_from_link_header(response, 'next')
self.assertEquals(next_hypermidia_control, "<" + self.controle_base_uri + "gasto-list/offset-limit/1001/1000>")
def test_head_collection_pagination_with_offset_limit_operation(self):
response = requests.head(self.controle_base_uri + "gasto-list/offset-limit/1001&1000")
self.assertEquals(response.status_code, 200)
self.assertIn('rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" ', response.headers['link'])
self.assertIn('rel="metadata"', response.headers['link'])
self.assertIn('rel="stylesheet', response.headers['link'])
self.assertIn('rel="up"', response.headers['link'])
self.assertNotIn('rel="https://schema.org/EntryPoint"', response.headers['link'])
self.assertNotIn('rel="describedBy"', response.headers['link'])
up_hypermidia_control = self.aux_get_hypermidia_control_from_link_header(response, 'up')
self.assertEquals(up_hypermidia_control, "<" + self.controle_base_uri + ">")
context_hypermidia_control = self.aux_get_hypermidia_control_from_link_header(response, 'http://www.w3.org/ns/json-ld#context')
self.assertEquals(context_hypermidia_control, "<" + self.controle_base_uri + "gasto-list/offset-limit/1001&1000.jsonld>; type=\"application/ld+json\"")
next_hypermidia_control = self.aux_get_hypermidia_control_from_link_header(response, 'next')
self.assertEquals(next_hypermidia_control, "<" + self.controle_base_uri + "gasto-list/offset-limit/2001&1000>")
"""
# Pagination for feature collection must be specific for each case
# In this specific "aldeias-indigenas" case we are dealing with Poits and don't make sense paginate about 200 Points
def test_feature_collection_simple_path_pagination(self):
response = requests.head(self.bcim_base_uri + "aldeias-indigenas/")
self.assertEquals(response.status_code, 200)
expected_link = '<http://luc00557196:8000/api/bcim/aldeias-indigenas/offset-limit/1001/100>; rel="next" '
self.assertNotIn(expected_link, response.headers["link"])
"""
| 63.750919
| 644
| 0.743024
| 80,445
| 676,716
| 5.853216
| 0.012692
| 0.085596
| 0.047211
| 0.042399
| 0.969843
| 0.962505
| 0.952154
| 0.946324
| 0.940031
| 0.932101
| 0
| 0.007155
| 0.153425
| 676,716
| 10,614
| 645
| 63.756925
| 0.81475
| 0.043393
| 0
| 0.793229
| 0
| 0.00927
| 0.1533
| 0.056099
| 0
| 0
| 0
| 0.000377
| 0.505979
| 1
| 0.074164
| false
| 0.007658
| 0.003225
| 0.000806
| 0.091361
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
ec2fcc0503789b806683d8c4f39d4c37c976288e
| 440
|
py
|
Python
|
aiocouch/__init__.py
|
adrienverge/aiocouch
|
c75d6c8ef322947f8b4e8a2b329e68bb03be6b83
|
[
"BSD-3-Clause"
] | null | null | null |
aiocouch/__init__.py
|
adrienverge/aiocouch
|
c75d6c8ef322947f8b4e8a2b329e68bb03be6b83
|
[
"BSD-3-Clause"
] | null | null | null |
aiocouch/__init__.py
|
adrienverge/aiocouch
|
c75d6c8ef322947f8b4e8a2b329e68bb03be6b83
|
[
"BSD-3-Clause"
] | null | null | null |
from .couchdb import CouchDB
from .exception import (
BadRequestError,
ConflictError,
UnauthorizedError,
NotFoundError,
ExpectationFailedError,
PreconditionFailedError,
UnsupportedMediaTypeError,
)
__all__ = [
"CouchDB",
"BadRequestError",
"ConflictError",
"UnauthorizedError",
"NotFoundError",
"ExpectationFailedError",
"PreconditionFailedError",
"UnsupportedMediaTypeError",
]
| 20
| 32
| 0.711364
| 23
| 440
| 13.434783
| 0.521739
| 0.18123
| 0.291262
| 0.375405
| 0.828479
| 0.828479
| 0.828479
| 0
| 0
| 0
| 0
| 0
| 0.202273
| 440
| 21
| 33
| 20.952381
| 0.880342
| 0
| 0
| 0
| 0
| 0
| 0.306818
| 0.159091
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.1
| 0
| 0.1
| 0
| 1
| 0
| 1
| null | 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
6b619fd684aa25b6dbf08d7402ec1e7fa0d4e820
| 14,318
|
py
|
Python
|
geosoft/gxapi/GXGRID3D.py
|
fearaschiarrai/gxpy
|
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
|
[
"BSD-2-Clause"
] | 25
|
2017-07-14T06:39:37.000Z
|
2022-03-09T21:39:51.000Z
|
geosoft/gxapi/GXGRID3D.py
|
fearaschiarrai/gxpy
|
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
|
[
"BSD-2-Clause"
] | 100
|
2016-12-13T17:30:41.000Z
|
2021-08-01T20:21:13.000Z
|
geosoft/gxapi/GXGRID3D.py
|
fearaschiarrai/gxpy
|
4c5e7594b24e530a8cd94df1eef562c5c6ce3e92
|
[
"BSD-2-Clause"
] | 28
|
2016-12-12T17:34:40.000Z
|
2022-03-16T15:39:39.000Z
|
### extends 'class_empty.py'
### block ClassImports
# NOTICE: Do not edit anything here, it is generated code
from . import gxapi_cy
from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref
### endblock ClassImports
### block Header
# NOTICE: The code generator will not replace the code in this block
### endblock Header
### block ClassImplementation
# NOTICE: Do not edit anything here, it is generated code
class GXGRID3D(gxapi_cy.WrapGRID3D):
"""
GXGRID3D class.
High Performance 3D Grid.
"""
def __init__(self, handle=0):
super(GXGRID3D, self).__init__(GXContext._get_tls_geo(), handle)
@classmethod
def null(cls):
"""
A null (undefined) instance of `GXGRID3D <geosoft.gxapi.GXGRID3D>`
:returns: A null `GXGRID3D <geosoft.gxapi.GXGRID3D>`
:rtype: GXGRID3D
"""
return GXGRID3D()
def is_null(self):
"""
Check if this is a null (undefined) instance
:returns: True if this is a null (undefined) instance, False otherwise.
:rtype: bool
"""
return self._internal_handle() == 0
# Miscellaneous
def get_type(self):
"""
Get the type of this GRID3D
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._get_type()
return ret_val
def is_thematic(self):
"""
Does this grid3d contain thematic data
:rtype: bool
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._is_thematic()
return ret_val
def is_double(self):
"""
Does this grid3d contain floating point data
:rtype: bool
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._is_double()
return ret_val
def is_vector(self):
"""
Does this grid3d contain vector data
:rtype: bool
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._is_vector()
return ret_val
def get_tpat(self, ipj):
"""
Get the TPAT from the thematic grid3d.
:param ipj: `GXTPAT <geosoft.gxapi.GXTPAT>` object
:type ipj: GXTPAT
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
self._get_tpat(ipj)
def set_tpat(self, ipj):
"""
Set the TPAT of a thematic grid3d.
:param ipj: `GXTPAT <geosoft.gxapi.GXTPAT>` object
:type ipj: GXTPAT
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
self._set_tpat(ipj)
def get_double_stats(self, num_valid, num_dummies, min, max, mean, stddev):
"""
Get Double statistics.
:param num_valid: Number of valid values
:param num_dummies: Number of invalid values
:param min: Min value
:param max: Maximum value
:param mean: Mean value
:param stddev: Standard Deviation
:type num_valid: int_ref
:type num_dummies: int_ref
:type min: float_ref
:type max: float_ref
:type mean: float_ref
:type stddev: float_ref
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
num_valid.value, num_dummies.value, min.value, max.value, mean.value, stddev.value = self._get_double_stats(num_valid.value, num_dummies.value, min.value, max.value, mean.value, stddev.value)
def get_thematic_stats(self, num_valid, num_dummies, min, max, mean, stddev):
"""
Get Thematic Data statistics.
:param num_valid: Number of valid values
:param num_dummies: Number of invalid values
:param min: Min value
:param max: Maximum value
:param mean: Mean value
:param stddev: Standard Deviation
:type num_valid: int_ref
:type num_dummies: int_ref
:type min: int_ref
:type max: int_ref
:type mean: int_ref
:type stddev: int_ref
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
num_valid.value, num_dummies.value, min.value, max.value, mean.value, stddev.value = self._get_thematic_stats(num_valid.value, num_dummies.value, min.value, max.value, mean.value, stddev.value)
def get_vector_stats(self, num_valid, num_dummies, min_x, min_y, min_z, max_x, max_y, max_z, mean_x, mean_y, mean_z, stddev_x, stddev_y, stddev_z):
"""
Get Vector Data statistics.
:param num_valid: Number of valid values
:param num_dummies: Number of invalid values
:param min_x: Min X value
:param min_y: Min Y value
:param min_z: Min Z value
:param max_x: Maximum X value
:param max_y: Maximum Y value
:param max_z: Maximum Z value
:param mean_x: Mean X value
:param mean_y: Mean Y value
:param mean_z: Mean Z value
:param stddev_x: Standard X Deviation
:param stddev_y: Standard Y Deviation
:param stddev_z: Standard Z Deviation
:type num_valid: int_ref
:type num_dummies: int_ref
:type min_x: float_ref
:type min_y: float_ref
:type min_z: float_ref
:type max_x: float_ref
:type max_y: float_ref
:type max_z: float_ref
:type mean_x: float_ref
:type mean_y: float_ref
:type mean_z: float_ref
:type stddev_x: float_ref
:type stddev_y: float_ref
:type stddev_z: float_ref
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
num_valid.value, num_dummies.value, min_x.value, min_y.value, min_z.value, max_x.value, max_y.value, max_z.value, mean_x.value, mean_y.value, mean_z.value, stddev_x.value, stddev_y.value, stddev_z.value = self._get_vector_stats(num_valid.value, num_dummies.value, min_x.value, min_y.value, min_z.value, max_x.value, max_y.value, max_z.value, mean_x.value, mean_y.value, mean_z.value, stddev_x.value, stddev_y.value, stddev_z.value)
def fill_double(self, value):
"""
Fill the grid3d with a single double value.
:param value: Fill Value
:type value: float
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
self._fill_double(value)
def fill_thematic(self, value):
"""
Fill the grid3d with a single thematic value.
:param value: Fill Value
:type value: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
self._fill_thematic(value)
def fill_vector(self, value_x, value_y, value_z):
"""
Fill the grid3d with a single vector value.
:param value_x: Fill Value X
:param value_y: Fill Value Y
:param value_z: Fill Value Z
:type value_x: float
:type value_y: float
:type value_z: float
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
self._fill_vector(value_x, value_y, value_z)
def get_elements_in_block_x(self):
"""
Get the number of cells in the block in the X direction
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._get_elements_in_block_x()
return ret_val
def get_elements_in_block_y(self):
"""
Get the number of cells in the block in the Y direction
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._get_elements_in_block_y()
return ret_val
def get_elements_in_block_z(self):
"""
Get the number of cells in the block in the Z direction
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._get_elements_in_block_z()
return ret_val
def read_x(self, x, y, z, VV):
"""
Read data from a GRID3D in the x direction (MOST EFFICIENT)
:param x: X location
:param y: Y location
:param z: Z location
:param VV: VV Containing Data
:type x: int
:type y: int
:type z: int
:type VV: GXVV
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._read_x(x, y, z, VV)
return ret_val
def write_x(self, x, y, z, VV):
"""
Write data to a GRID3D in the X direction (MOST EFFICIENT)
:param x: X location
:param y: Y location
:param z: Z location
:param VV: VV Containing Data
:type x: int
:type y: int
:type z: int
:type VV: GXVV
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._write_x(x, y, z, VV)
return ret_val
def read_y(self, x, y, z, VV):
"""
Read data from a GRID3D in the Y direction
:param x: X location
:param y: Y location
:param z: Z location
:param VV: VV Containing Data
:type x: int
:type y: int
:type z: int
:type VV: GXVV
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._read_y(x, y, z, VV)
return ret_val
def write_y(self, x, y, z, VV):
"""
Write data to a GRID3D in the Y direction
:param x: X location
:param y: Y location
:param z: Z location
:param VV: VV Containing Data
:type x: int
:type y: int
:type z: int
:type VV: GXVV
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._write_y(x, y, z, VV)
return ret_val
def read_z(self, x, y, z, VV):
"""
Read data from a GRID3D in the Z direction
:param x: X location
:param y: Y location
:param z: Z location
:param VV: VV Containing Data
:type x: int
:type y: int
:type z: int
:type VV: GXVV
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._read_z(x, y, z, VV)
return ret_val
def write_z(self, x, y, z, VV):
"""
Write data to a GRID3D in the Z direction
:param x: X location
:param y: Y location
:param z: Z location
:param VV: VV Containing Data
:type x: int
:type y: int
:type z: int
:type VV: GXVV
:rtype: int
.. versionadded:: 9.4
**License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_
"""
ret_val = self._write_z(x, y, z, VV)
return ret_val
### endblock ClassImplementation
### block ClassExtend
# NOTICE: The code generator will not replace the code in this block
### endblock ClassExtend
### block Footer
# NOTICE: The code generator will not replace the code in this block
### endblock Footer
| 28.521912
| 439
| 0.564534
| 1,783
| 14,318
| 4.37521
| 0.076837
| 0.019997
| 0.037687
| 0.056531
| 0.787976
| 0.76362
| 0.75516
| 0.735162
| 0.715165
| 0.698885
| 0
| 0.022777
| 0.334614
| 14,318
| 502
| 440
| 28.521912
| 0.796053
| 0.600293
| 0
| 0.2
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.369231
| false
| 0
| 0.030769
| 0
| 0.646154
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
6b7b2a29bcbbdabcbf2cdba95df668b81ac90c1b
| 11,584
|
py
|
Python
|
PROJECTS/p001/PSEF_SCRIPTS/ctemplates.py
|
nihole/PSEFABRIC
|
366461ab86f99665bf310425c6ce05a216343ec9
|
[
"Apache-2.0",
"MIT"
] | 11
|
2017-06-29T10:12:39.000Z
|
2020-03-12T07:19:11.000Z
|
PROJECTS/p001/PSEF_SCRIPTS/ctemplates.py
|
nihole/PSEFABRIC
|
366461ab86f99665bf310425c6ce05a216343ec9
|
[
"Apache-2.0",
"MIT"
] | null | null | null |
PROJECTS/p001/PSEF_SCRIPTS/ctemplates.py
|
nihole/PSEFABRIC
|
366461ab86f99665bf310425c6ce05a216343ec9
|
[
"Apache-2.0",
"MIT"
] | 3
|
2019-04-18T06:44:21.000Z
|
2021-06-26T14:22:55.000Z
|
import re
import cidr_to_netmask
'''
The list of templates for cisco
'''
######## vlan ###########
def cisco_create_vlan (name, ipv4_prefix, vlan, vrf, interface):
config_txt = '''
vlan %s
name %s''' % (vlan, name)
return config_txt
def cisco_delete_vlan (name, ipv4_prefix, vlan, vrf, interface):
config_txt = '''
no vlan %s''' % vlan
return config_txt
######## svi ###########
def cisco_create_svi (name, ipv4_prefix, vlan, vrf, interface):
network, netmask, gate = cidr_to_netmask.cidr_to_netmask(ipv4_prefix)
vrf_forw = ''
if not vrf == 'none':
vrf_forw = 'ip vrf forwarding %s\n' % vrf
config_txt = '''
interface vlan%s
description %s
%sip address %s %s
no shut''' % (vlan, name, vrf_forw, gate, netmask)
return config_txt
def cisco_delete_svi (name, ipv4_prefix, vlan, vrf, interface):
config_txt = '''
no interface vlan%s''' % vlan
return config_txt
######## address ###########
def cisco_create_address (name, ipv4_prefix, vlan, vrf, interface):
network, netmask, gate = cidr_to_netmask.cidr_to_netmask(ipv4_prefix)
config_txt = '''
object-group network %s
%s %s''' % (name, network, netmask)
return config_txt
def cisco_delete_address (name, ipv4_prefix, vlan, vrf, interface):
network, netmask, gate = cidr_to_netmask.cidr_to_netmask(ipv4_prefix)
config_txt = '''
no object-group network %s''' % (name)
return config_txt
def asa_create_address (name, ipv4_prefix, vlan, vrf, interface):
network, netmask, gate = cidr_to_netmask.cidr_to_netmask(ipv4_prefix)
config_txt = '''
object-group network %s
network-object %s %s''' % (name, network, netmask)
return config_txt
def asa_delete_address (name, ipv4_prefix, vlan, vrf, interface):
network, netmask, gate = cidr_to_netmask.cidr_to_netmask(ipv4_prefix)
config_txt = '''
no object-group network %s
object-group network %s
no network-object %s %s
no object-group network %s''' % (name, name, network, netmask, name)
return config_txt
######## vlan_to_trunk ##########
def cisco_add_vlan_to_trunk (name, ipv4_prefix, vlan, vrf, interface):
config_txt = ''
if not (vlan == 'none' or interface == 'none'):
config_txt = '''
interface %s
switchport trunk allowed vlan add %s''' % (interface, vlan)
return config_txt
def cisco_remove_vlan_to_trunk (name, ipv4_prefix, vlan, vrf, interface):
config_txt = ''
if not (vlan == 'none' or interface == 'none'):
config_txt = '''
interface %s
switchport trunk allowed vlan remove %s''' % (interface, vlan)
return config_txt
######## address-set ##########
def cisco_create_address_set (name,addresses):
config_addresses = ''
for address_element in addresses:
if ( config_addresses == ''):
config_addresses = 'group-object %s' % address_element
else:
config_addresses = config_addresses + '\n' + 'group-object %s' % address_element
config_txt = '''
object-group network %s
%s''' % (name, config_addresses)
return config_txt
def cisco_delete_address_set (name,addresses):
config_addresses = ''
for address_element in addresses:
if ( config_addresses == ''):
config_addresses = 'no group-object %s' % address_element
else:
config_addresses = config_addresses + '\n' + 'no group-object %s' % address_element
config_txt = '''
no object-group network %s
object-group network %s
%s
no object-group network %s''' % (name, name, config_addresses,name)
return config_txt
def asa_create_address_set (name,addresses):
config_addresses = ''
for address_element in addresses:
if ( config_addresses == ''):
config_addresses = 'group-object %s' % address_element
else:
config_addresses = config_addresses + '\n' + 'group-object %s' % address_element
config_txt = '''
object-group network %s
%s''' % (name, config_addresses)
return config_txt
def asa_delete_address_set (name,addresses):
config_addresses = ''
for address_element in addresses:
if ( config_addresses == ''):
config_addresses = 'no group-object %s' % address_element
else:
config_addresses = config_addresses + '\n' + 'no group-object %s' % address_element
config_txt = '''
object-group network %s
%s
no object-group network %s
no object-group network %s''' % (name, config_addresses, name, name)
return config_txt
######### service ###########
def cisco_create_service (name, prot, ports):
if (prot == '6'):
prot_ = 'tcp'
elif (prot == '17'):
prot_ = 'udp'
elif (prot == '1'):
prot_ = 'icmp'
else:
prot_ = prot
if 'lower-port' in ports:
ports_range = 'range %s %s' % (ports['lower-port'], ports['upper-port'])
else:
ports_range = ''
config_txt = '''
object-group service %s
%s %s''' % ( name, prot_, ports_range)
return config_txt
def cisco_delete_service (name, prot, ports):
config_txt = '''
no object-group service %s''' % name
return config_txt
def asa_create_service (name, prot, ports):
if (prot == '6'):
prot_ = 'tcp'
elif (prot == '17'):
prot_ = 'udp'
elif (prot == '1'):
prot_ = 'icmp'
else:
prot_ = prot
if 'lower-port' in ports:
ports_range = 'destination range %s %s' % (ports['lower-port'], ports['upper-port'])
else:
ports_range = ''
config_txt = '''
object-group service %s
service-object %s %s''' % (name, prot_, ports_range)
return config_txt
def asa_delete_service (name, prot, ports):
config_txt = '''
no object-group service %s''' % name
return config_txt
######### service-set ###########
def cisco_create_service_set (name, service):
config_services = ''
for service_element in service:
if re.match(config_services, ''):
config_services = 'group-object %s' % service_element
else:
config_services = config_services + '\n' + 'group-object %s' % service_element
config_txt='''
object-group service %s
%s''' % (name, config_services)
return config_txt
def cisco_delete_service_set (name, service):
config_services = ''
for service_element in service:
if re.match(config_services, ''):
config_services = 'no group-object %s' % service_element
else:
config_services = config_services + '\n' + 'no group-object %s' % service_element
config_txt='''
no object-group service %s
object-group service %s
%s
no object-group service %s''' % (name, name, config_services, name)
return config_txt
def asa_create_service_set (name, service):
config_services = ''
for service_element in service:
if re.match(config_services, ''):
config_services = 'group-object %s' % service_element
else:
config_services = config_services + '\n' + 'group-object %s' % service_element
config_txt='''
object-group service %s
%s''' % (name, config_services)
return config_txt
def asa_delete_service_set (name, service):
config_services = ''
for service_element in service:
if re.match(config_services, ''):
config_services = 'no group-object %s' % service_element
else:
config_services = config_services + '\n' + 'no group-object %s' % service_element
config_txt='''
no object-group service %s
object-group service %s
%s
no object-group service %s''' % (name, name, config_services, name)
return config_txt
######### access ###########
def cisco_create_access (name, source_address_set_list, destination_address_set_list, service_list, action ):
config_access = ''
for source_address_set_element in source_address_set_list:
for destination_address_set_element in destination_address_set_list:
for service_element in service_list:
config_access = config_access + 'permit object-group %s object-group %s object-group %s\n' % (service_element, source_address_set_element['address-set-name'], destination_address_set_element['address-set-name'])
config_txt = '''
ip access-list extended all_vlans_out
%s''' % config_access
return config_txt
def cisco_delete_access (name, source_address_set_list, destination_address_set_list, service_list, action ):
config_access = ''
for source_address_set_element in source_address_set_list:
for destination_address_set_element in destination_address_set_list:
for service_element in service_list:
config_access = config_access + 'no permit object-group %s object-group %s object-group %s\n' % (service_element, source_address_set_element['address-set-name'], destination_address_set_element['address-set-name'])
config_txt = '''
ip access-list extended all_vlans_out
%s''' % config_access
return config_txt
def zbf_create_policy (name, source_address_set_list, destination_address_set_list, service_list, action ):
config_access = ''
for source_address_set_element in source_address_set_list:
for destination_address_set_element in destination_address_set_list:
for service_element in service_list:
config_access = config_access + 'permit object-group %s object-group %s object-group %s\n' % (service_element, source_address_set_element['address-set-name'], destination_address_set_element['address-set-name'])
config_txt = '''
ip access-list extended vpn-to-trust
%s''' % config_access
return config_txt
def zbf_delete_policy (name, source_address_set_list, destination_address_set_list, service_list, action ):
config_access = ''
for source_address_set_element in source_address_set_list:
for destination_address_set_element in destination_address_set_list:
for service_element in service_list:
config_access = config_access + 'no permit object-group %s object-group %s object-group %s\n' % (service_element, source_address_set_element['address-set-name'], destination_address_set_element['address-set-name'])
config_txt = '''
ip access-list extended vpn-to-trust
%s''' % config_access
return config_txt
def asa_create_access (name, source_address_set_list, destination_address_set_list, service_list, action ):
config_access = ''
for source_address_set_element in source_address_set_list:
for destination_address_set_element in destination_address_set_list:
for service_element in service_list:
config_access = config_access + 'access-list all_zones_out extended permit object-group %s object-group %s object-group %s\n' % (service_element, source_address_set_element['address-set-name'], destination_address_set_element['address-set-name'])
config_txt = '''
%s''' % config_access
return config_txt
def asa_delete_access (name, source_address_set_list, destination_address_set_list, service_list, action ):
config_access = ''
for source_address_set_element in source_address_set_list:
for destination_address_set_element in destination_address_set_list:
for service_element in service_list:
config_access = config_access + 'no access-list all_zones_out extended permit object-group %s object-group %s object-group %s\n' % (service_element, source_address_set_element['address-set-name'], destination_address_set_element['address-set-name'])
config_txt = '''
ip access-list extended all_vlans_out
%s''' % config_access
return config_txt
| 31.736986
| 266
| 0.68068
| 1,520
| 11,584
| 4.886184
| 0.054605
| 0.087519
| 0.05655
| 0.048472
| 0.939814
| 0.931601
| 0.912751
| 0.899421
| 0.885283
| 0.85243
| 0
| 0.002491
| 0.202866
| 11,584
| 364
| 267
| 31.824176
| 0.801819
| 0.00682
| 0
| 0.78626
| 0
| 0.007634
| 0.197242
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.10687
| false
| 0
| 0.007634
| 0
| 0.221374
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
6b9479a8612c1340081b404912f6263e96e9e0f4
| 2,536
|
py
|
Python
|
tests/test_checker.py
|
drvinceknight/dwys
|
cdf34a43937d1f12d5e6705754469074aebf71d9
|
[
"MIT"
] | null | null | null |
tests/test_checker.py
|
drvinceknight/dwys
|
cdf34a43937d1f12d5e6705754469074aebf71d9
|
[
"MIT"
] | 3
|
2019-11-07T10:56:13.000Z
|
2019-11-07T11:46:54.000Z
|
tests/test_checker.py
|
drvinceknight/dwys
|
cdf34a43937d1f12d5e6705754469074aebf71d9
|
[
"MIT"
] | null | null | null |
import pytest
import dwys
def test_diff_with_no_diff_python():
input_code = [
"a = 4 + 4\nb = a + 3\nprint(b)\n",
"weights = [12, 15, 10]\nfor weight in weights:\n print(weight)\n",
]
expected_output_code = ["11\n12\n15\n10"]
diff, output_code, expected_output = dwys.diff(
input_code=input_code,
expected_output_code=expected_output_code,
execution_command="python",
)
assert expected_output_code == [output_code]
def test_diff_with_diff_python():
input_code = [
"a = 4 + 4\nb = a + 3\n",
"weights = [12, 15, 10]\nfor weight in weights:\n print(weight)\n",
]
expected_output_code = ["12\n151\n10\n"]
diff, output_code, expected = dwys.diff(
input_code=input_code,
expected_output_code=expected_output_code,
execution_command="python",
)
assert expected_output_code != [output_code]
def test_diff_with_syntax_error_python():
input_code = [
"a = 4 + 4\nb = a + 3\n",
"weights = (12, 15, 10]\nfor weight in weights:\n print(weight)\n",
]
output_code = ["12\n151\n10\n"]
with pytest.raises(AssertionError):
dwys.diff(
input_code=input_code,
expected_output_code=output_code,
execution_command="python",
)
def test_diff_with_no_diff_R():
input_code = ["a <- 4 + 4\nb <- a + 3\nprint(a + b)\n"]
expected_output_code = ["[1] 19"]
diff, output_code, expected = dwys.diff(
input_code=input_code,
expected_output_code=expected_output_code,
execution_command="Rscript",
)
assert list(diff) == []
assert expected_output_code == [output_code]
def test_diff_with_diff_R():
input_code = ["a <- 4 + 4\nb <- a + 3\nprint(a + b)\n"]
expected_output_code = ["[1] 191\n"]
diff, output_code, expected = dwys.diff(
input_code=input_code,
expected_output_code=expected_output_code,
execution_command="Rscript",
)
assert list(diff) == [
"--- \n",
"+++ \n",
"@@ -5,4 +5,2 @@\n",
" 1",
" 9",
"-1",
"-\n",
]
assert expected_output_code != [output_code]
def test_diff_with_syntax_error_R():
input_code = ["a <- 4 + 4\nb <- a + 3\nprint{a + b)\n"]
output_code = ["[1] 19\n"]
with pytest.raises(AssertionError):
dwys.diff(
input_code=input_code,
expected_output_code=output_code,
execution_command="Rscript",
)
| 28.494382
| 78
| 0.591088
| 335
| 2,536
| 4.173134
| 0.146269
| 0.214592
| 0.23176
| 0.157368
| 0.934907
| 0.925608
| 0.881259
| 0.881259
| 0.881259
| 0.876967
| 0
| 0.040519
| 0.27011
| 2,536
| 88
| 79
| 28.818182
| 0.714749
| 0
| 0
| 0.506667
| 0
| 0
| 0.209385
| 0
| 0
| 0
| 0
| 0
| 0.106667
| 1
| 0.08
| false
| 0
| 0.026667
| 0
| 0.106667
| 0.093333
| 0
| 0
| 0
| null | 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
2e1125ce4d15c55676248d7998045dbe314c788f
| 6,545
|
py
|
Python
|
loldib/getratings/models/NA/na_syndra/na_syndra_sup.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
loldib/getratings/models/NA/na_syndra/na_syndra_sup.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
loldib/getratings/models/NA/na_syndra/na_syndra_sup.py
|
koliupy/loldib
|
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
|
[
"Apache-2.0"
] | null | null | null |
from getratings.models.ratings import Ratings
class NA_Syndra_Sup_Aatrox(Ratings):
pass
class NA_Syndra_Sup_Ahri(Ratings):
pass
class NA_Syndra_Sup_Akali(Ratings):
pass
class NA_Syndra_Sup_Alistar(Ratings):
pass
class NA_Syndra_Sup_Amumu(Ratings):
pass
class NA_Syndra_Sup_Anivia(Ratings):
pass
class NA_Syndra_Sup_Annie(Ratings):
pass
class NA_Syndra_Sup_Ashe(Ratings):
pass
class NA_Syndra_Sup_AurelionSol(Ratings):
pass
class NA_Syndra_Sup_Azir(Ratings):
pass
class NA_Syndra_Sup_Bard(Ratings):
pass
class NA_Syndra_Sup_Blitzcrank(Ratings):
pass
class NA_Syndra_Sup_Brand(Ratings):
pass
class NA_Syndra_Sup_Braum(Ratings):
pass
class NA_Syndra_Sup_Caitlyn(Ratings):
pass
class NA_Syndra_Sup_Camille(Ratings):
pass
class NA_Syndra_Sup_Cassiopeia(Ratings):
pass
class NA_Syndra_Sup_Chogath(Ratings):
pass
class NA_Syndra_Sup_Corki(Ratings):
pass
class NA_Syndra_Sup_Darius(Ratings):
pass
class NA_Syndra_Sup_Diana(Ratings):
pass
class NA_Syndra_Sup_Draven(Ratings):
pass
class NA_Syndra_Sup_DrMundo(Ratings):
pass
class NA_Syndra_Sup_Ekko(Ratings):
pass
class NA_Syndra_Sup_Elise(Ratings):
pass
class NA_Syndra_Sup_Evelynn(Ratings):
pass
class NA_Syndra_Sup_Ezreal(Ratings):
pass
class NA_Syndra_Sup_Fiddlesticks(Ratings):
pass
class NA_Syndra_Sup_Fiora(Ratings):
pass
class NA_Syndra_Sup_Fizz(Ratings):
pass
class NA_Syndra_Sup_Galio(Ratings):
pass
class NA_Syndra_Sup_Gangplank(Ratings):
pass
class NA_Syndra_Sup_Garen(Ratings):
pass
class NA_Syndra_Sup_Gnar(Ratings):
pass
class NA_Syndra_Sup_Gragas(Ratings):
pass
class NA_Syndra_Sup_Graves(Ratings):
pass
class NA_Syndra_Sup_Hecarim(Ratings):
pass
class NA_Syndra_Sup_Heimerdinger(Ratings):
pass
class NA_Syndra_Sup_Illaoi(Ratings):
pass
class NA_Syndra_Sup_Irelia(Ratings):
pass
class NA_Syndra_Sup_Ivern(Ratings):
pass
class NA_Syndra_Sup_Janna(Ratings):
pass
class NA_Syndra_Sup_JarvanIV(Ratings):
pass
class NA_Syndra_Sup_Jax(Ratings):
pass
class NA_Syndra_Sup_Jayce(Ratings):
pass
class NA_Syndra_Sup_Jhin(Ratings):
pass
class NA_Syndra_Sup_Jinx(Ratings):
pass
class NA_Syndra_Sup_Kalista(Ratings):
pass
class NA_Syndra_Sup_Karma(Ratings):
pass
class NA_Syndra_Sup_Karthus(Ratings):
pass
class NA_Syndra_Sup_Kassadin(Ratings):
pass
class NA_Syndra_Sup_Katarina(Ratings):
pass
class NA_Syndra_Sup_Kayle(Ratings):
pass
class NA_Syndra_Sup_Kayn(Ratings):
pass
class NA_Syndra_Sup_Kennen(Ratings):
pass
class NA_Syndra_Sup_Khazix(Ratings):
pass
class NA_Syndra_Sup_Kindred(Ratings):
pass
class NA_Syndra_Sup_Kled(Ratings):
pass
class NA_Syndra_Sup_KogMaw(Ratings):
pass
class NA_Syndra_Sup_Leblanc(Ratings):
pass
class NA_Syndra_Sup_LeeSin(Ratings):
pass
class NA_Syndra_Sup_Leona(Ratings):
pass
class NA_Syndra_Sup_Lissandra(Ratings):
pass
class NA_Syndra_Sup_Lucian(Ratings):
pass
class NA_Syndra_Sup_Lulu(Ratings):
pass
class NA_Syndra_Sup_Lux(Ratings):
pass
class NA_Syndra_Sup_Malphite(Ratings):
pass
class NA_Syndra_Sup_Malzahar(Ratings):
pass
class NA_Syndra_Sup_Maokai(Ratings):
pass
class NA_Syndra_Sup_MasterYi(Ratings):
pass
class NA_Syndra_Sup_MissFortune(Ratings):
pass
class NA_Syndra_Sup_MonkeyKing(Ratings):
pass
class NA_Syndra_Sup_Mordekaiser(Ratings):
pass
class NA_Syndra_Sup_Morgana(Ratings):
pass
class NA_Syndra_Sup_Nami(Ratings):
pass
class NA_Syndra_Sup_Nasus(Ratings):
pass
class NA_Syndra_Sup_Nautilus(Ratings):
pass
class NA_Syndra_Sup_Nidalee(Ratings):
pass
class NA_Syndra_Sup_Nocturne(Ratings):
pass
class NA_Syndra_Sup_Nunu(Ratings):
pass
class NA_Syndra_Sup_Olaf(Ratings):
pass
class NA_Syndra_Sup_Orianna(Ratings):
pass
class NA_Syndra_Sup_Ornn(Ratings):
pass
class NA_Syndra_Sup_Pantheon(Ratings):
pass
class NA_Syndra_Sup_Poppy(Ratings):
pass
class NA_Syndra_Sup_Quinn(Ratings):
pass
class NA_Syndra_Sup_Rakan(Ratings):
pass
class NA_Syndra_Sup_Rammus(Ratings):
pass
class NA_Syndra_Sup_RekSai(Ratings):
pass
class NA_Syndra_Sup_Renekton(Ratings):
pass
class NA_Syndra_Sup_Rengar(Ratings):
pass
class NA_Syndra_Sup_Riven(Ratings):
pass
class NA_Syndra_Sup_Rumble(Ratings):
pass
class NA_Syndra_Sup_Ryze(Ratings):
pass
class NA_Syndra_Sup_Sejuani(Ratings):
pass
class NA_Syndra_Sup_Shaco(Ratings):
pass
class NA_Syndra_Sup_Shen(Ratings):
pass
class NA_Syndra_Sup_Shyvana(Ratings):
pass
class NA_Syndra_Sup_Singed(Ratings):
pass
class NA_Syndra_Sup_Sion(Ratings):
pass
class NA_Syndra_Sup_Sivir(Ratings):
pass
class NA_Syndra_Sup_Skarner(Ratings):
pass
class NA_Syndra_Sup_Sona(Ratings):
pass
class NA_Syndra_Sup_Soraka(Ratings):
pass
class NA_Syndra_Sup_Swain(Ratings):
pass
class NA_Syndra_Sup_Syndra(Ratings):
pass
class NA_Syndra_Sup_TahmKench(Ratings):
pass
class NA_Syndra_Sup_Taliyah(Ratings):
pass
class NA_Syndra_Sup_Talon(Ratings):
pass
class NA_Syndra_Sup_Taric(Ratings):
pass
class NA_Syndra_Sup_Teemo(Ratings):
pass
class NA_Syndra_Sup_Thresh(Ratings):
pass
class NA_Syndra_Sup_Tristana(Ratings):
pass
class NA_Syndra_Sup_Trundle(Ratings):
pass
class NA_Syndra_Sup_Tryndamere(Ratings):
pass
class NA_Syndra_Sup_TwistedFate(Ratings):
pass
class NA_Syndra_Sup_Twitch(Ratings):
pass
class NA_Syndra_Sup_Udyr(Ratings):
pass
class NA_Syndra_Sup_Urgot(Ratings):
pass
class NA_Syndra_Sup_Varus(Ratings):
pass
class NA_Syndra_Sup_Vayne(Ratings):
pass
class NA_Syndra_Sup_Veigar(Ratings):
pass
class NA_Syndra_Sup_Velkoz(Ratings):
pass
class NA_Syndra_Sup_Vi(Ratings):
pass
class NA_Syndra_Sup_Viktor(Ratings):
pass
class NA_Syndra_Sup_Vladimir(Ratings):
pass
class NA_Syndra_Sup_Volibear(Ratings):
pass
class NA_Syndra_Sup_Warwick(Ratings):
pass
class NA_Syndra_Sup_Xayah(Ratings):
pass
class NA_Syndra_Sup_Xerath(Ratings):
pass
class NA_Syndra_Sup_XinZhao(Ratings):
pass
class NA_Syndra_Sup_Yasuo(Ratings):
pass
class NA_Syndra_Sup_Yorick(Ratings):
pass
class NA_Syndra_Sup_Zac(Ratings):
pass
class NA_Syndra_Sup_Zed(Ratings):
pass
class NA_Syndra_Sup_Ziggs(Ratings):
pass
class NA_Syndra_Sup_Zilean(Ratings):
pass
class NA_Syndra_Sup_Zyra(Ratings):
pass
| 15.695444
| 46
| 0.766692
| 972
| 6,545
| 4.736626
| 0.151235
| 0.209818
| 0.389661
| 0.479583
| 0.803432
| 0.803432
| 0
| 0
| 0
| 0
| 0
| 0
| 0.169748
| 6,545
| 416
| 47
| 15.733173
| 0.847258
| 0
| 0
| 0.498195
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.498195
| 0.00361
| 0
| 0.501805
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
cf1e28fae11f00409a5d1a10dadd6da478d5b0ab
| 5,880
|
py
|
Python
|
rest_api/general.py
|
giusdp/pandascore-API-python
|
50c912ba5f4d63711bc94436a4da529becbe7311
|
[
"MIT"
] | 1
|
2017-12-01T19:39:05.000Z
|
2017-12-01T19:39:05.000Z
|
rest_api/general.py
|
giusdp/pandascore-API-python
|
50c912ba5f4d63711bc94436a4da529becbe7311
|
[
"MIT"
] | null | null | null |
rest_api/general.py
|
giusdp/pandascore-API-python
|
50c912ba5f4d63711bc94436a4da529becbe7311
|
[
"MIT"
] | null | null | null |
from rest_api.videogame import GenericCallsSet
class GeneralPanda(GenericCallsSet):
def __init__(self):
super().__init__()
# LEAGUES
def get_all_leagues(self, q_sort=None, q_filter=None, q_range=None):
"""Return all the leagues. They can be sorted, filtered
:param q_sort: a list of string with one or more of the following strings:
id, image, default_serie_id, url, name, videogame_id, created_at, updated_at, slug.
It sorts the response with the attributes selected, use minus (-) for a reversed sort.
Sorted by id desc by default.
:type q_sort: list
:param q_filter: a dict to specify what to use for filtering with the keys being a string which is the field
to filter and the value for each key is a list of string.
:type q_filter: dict
:param q_range: to be done"""
return self.get_things('/leagues', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_videogame_leagues(self, videogame_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/videogames/', some_id=videogame_id, follow_up_query='/leagues',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_league(self, league_id):
return self.get_things('/leagues/', some_id=league_id)
# MATCHES
def get_matches_in_tournament(self, tournament_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/tournaments/', some_id=tournament_id, follow_up_query='/matches',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_matches_of_team(self, team_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/teams/', some_id=team_id, follow_up_query='/matches',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_all_matches(self, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/matches', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_match(self, match_id):
return self.get_things('/matches', some_id=match_id)
# PLAYERS
def get_all_players(self,q_sort=None, q_filter=None, q_range=None):
return self.get_things('/players', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_players_in_match(self, match_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/matches/', some_id=match_id, follow_up_query='/players',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get__player(self, player_id):
return self.get_things('/players/', some_id=player_id)
# SERIES
def get_all_series(self, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/series', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_videogame_series(self, videogame_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/videogames/', some_id=str(videogame_id), follow_up_query='/series',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_league_series(self, league_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/league/', some_id=league_id, follow_up_query='/series',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_series(self, series_id):
return self.get_things('/series/', some_id=series_id)
# TEAMS
def get_teams_in_tournament(self, tournament_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/tournaments/', some_id=tournament_id, follow_up_query='/teams',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_teams_in_match(self, match_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/matches/', some_id=match_id, follow_up_query='/teams',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_all_teams(self, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/teams', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_team(self, team_id):
return self.get_things('/teams/', some_id=team_id)
# TOURNAMENTS
def get_tournaments_in_videogames(self, videogame_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/videogames/', some_id=videogame_id, follow_up_query='/tournaments',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_tournaments_in_league(self, league_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/leagues/', some_id=league_id, follow_up_query='/tournaments',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_tournaments_in_serie(self, serie_id, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/series/', some_id=serie_id, follow_up_query='/tournaments',
query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_all_tournaments(self, q_sort=None, q_filter=None, q_range=None):
return self.get_things('/tournaments', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
def get_tournament(self, tournament_id):
return self.get_things('/tournaments/', some_id=tournament_id)
# VIDEOGAMES
def get_all_videogames(self, q_sort=None, q_filter=None, q_range=None):
return self.rest_api.send_query('/videogames', query_sort=q_sort, query_filter=q_filter, query_range=q_range)
| 54.444444
| 117
| 0.69949
| 897
| 5,880
| 4.217391
| 0.104794
| 0.050225
| 0.079038
| 0.115517
| 0.753106
| 0.73566
| 0.73566
| 0.722707
| 0.722707
| 0.671953
| 0
| 0
| 0.196599
| 5,880
| 107
| 118
| 54.953271
| 0.800804
| 0.106293
| 0
| 0.174603
| 0
| 0
| 0.061884
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.396825
| false
| 0
| 0.015873
| 0.365079
| 0.809524
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 8
|
cf2ec80ca94a935671070dfd15070fbbbd531bce
| 3,565
|
py
|
Python
|
dex_envs/__init__.py
|
huangwl18/geometry-dex
|
0c629316258ef560b360c6103d83d5cb828e3ccd
|
[
"MIT"
] | 29
|
2021-11-11T23:05:02.000Z
|
2022-03-10T06:05:23.000Z
|
dex_envs/__init__.py
|
huangwl18/geometry-dex
|
0c629316258ef560b360c6103d83d5cb828e3ccd
|
[
"MIT"
] | 2
|
2021-12-13T16:18:14.000Z
|
2022-03-09T14:04:37.000Z
|
dex_envs/__init__.py
|
huangwl18/geometry-dex
|
0c629316258ef560b360c6103d83d5cb828e3ccd
|
[
"MIT"
] | 2
|
2021-11-18T06:00:30.000Z
|
2021-12-17T03:04:52.000Z
|
import os
from gym.envs.registration import register
OWN_PATH = os.path.dirname(os.path.abspath(__file__))
# Arguments for different versions of dex-rotate environments, used to initialize ManipulateEnv from Gym
all_versions = {
'v0': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'sparse', 'randomize_initial_position': True, 'randomize_initial_rotation': True},
'v1': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'sparse', 'randomize_initial_position': True, 'randomize_initial_rotation': True},
'v2': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'dense', 'randomize_initial_position': True, 'randomize_initial_rotation': True},
'v3': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'dense', 'randomize_initial_position': True, 'randomize_initial_rotation': True},
'v4': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'sparse', 'randomize_initial_position': False, 'randomize_initial_rotation': True},
'v5': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'sparse', 'randomize_initial_position': False, 'randomize_initial_rotation': True},
'v6': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'dense', 'randomize_initial_position': False, 'randomize_initial_rotation': True},
'v7': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'dense', 'randomize_initial_position': False, 'randomize_initial_rotation': True},
'v8': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'sparse', 'randomize_initial_position': True, 'randomize_initial_rotation': False},
'v9': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'sparse', 'randomize_initial_position': True, 'randomize_initial_rotation': False},
'v10': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'dense', 'randomize_initial_position': True, 'randomize_initial_rotation': False},
'v11': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'dense', 'randomize_initial_position': True, 'randomize_initial_rotation': False},
'v12': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'sparse', 'randomize_initial_position': False, 'randomize_initial_rotation': False},
'v13': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'sparse', 'randomize_initial_position': False, 'randomize_initial_rotation': False},
'v14': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'dense', 'randomize_initial_position': False, 'randomize_initial_rotation': False},
'v15': {'target_position': 'ignore', 'target_rotation': 'z', 'reward_type': 'dense', 'randomize_initial_position': False, 'randomize_initial_rotation': False},
}
version = 'v1'
version_args = all_versions[version]
for fname in os.listdir(os.path.join(OWN_PATH, 'assets/hand/')):
if 'manipulate_' in fname and '.xml' in fname:
obj_name = fname[11:-4]
else:
continue
env_class_name = obj_name + '_env'
try:
env_id = '{}-rotate-{}'.format(obj_name, version)
register(
id=env_id,
entry_point='dex_envs.dex_rotate:{}'.format(env_class_name),
kwargs=version_args,
max_episode_steps=100,
)
except Exception as e:
print('** ------ got the following error during env registration -------')
print('erorr encountered when registering {}'.format(obj_name))
| 75.851064
| 166
| 0.701262
| 410
| 3,565
| 5.758537
| 0.241463
| 0.216857
| 0.135536
| 0.176197
| 0.735282
| 0.735282
| 0.735282
| 0.735282
| 0.735282
| 0.735282
| 0
| 0.009325
| 0.12763
| 3,565
| 46
| 167
| 77.5
| 0.749839
| 0.028612
| 0
| 0
| 0
| 0
| 0.552153
| 0.246749
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.05
| 0
| 0.05
| 0.05
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
cf59f199b08ca5b585201bf0c78fe78ebf06c0b2
| 8,114
|
py
|
Python
|
VNN/experiment/learning.py
|
arthuraleksandrovich/vector_ann
|
35158b5f9741646c362ef2c069be3503186975c9
|
[
"MIT"
] | null | null | null |
VNN/experiment/learning.py
|
arthuraleksandrovich/vector_ann
|
35158b5f9741646c362ef2c069be3503186975c9
|
[
"MIT"
] | null | null | null |
VNN/experiment/learning.py
|
arthuraleksandrovich/vector_ann
|
35158b5f9741646c362ef2c069be3503186975c9
|
[
"MIT"
] | null | null | null |
"""Model testing and validation"""
import matplotlib.pyplot as plt
import numpy as np
import time
def validate_model(model_generator, datasets_generator, epochs=50, loss_name="mean_squared_error", measure_name="val_mean_squared_error", \
print_summary=True):
"""K-fold validation of model"""
loss_history_sum = np.single(0)
measure_history_sum = np.single(0)
elapsed_time_sum = 0
k = 0
for train_dataset, validation_dataset in datasets_generator:
model = model_generator()
start_time = time.perf_counter()
history = model.fit(
train_dataset,
epochs=epochs,
validation_data=validation_dataset,
verbose=0,
use_multiprocessing = True
)
elapsed_time_sum += time.perf_counter() - start_time
loss_history_sum += np.array(history.history[loss_name], dtype=np.float64)
measure_history_sum += np.array(history.history[measure_name], dtype=np.float64)
k += 1
loss_history_avr = loss_history_sum / k
measure_history_avr = measure_history_sum / k
# Visualize error
x = range(1, loss_history_avr.shape[0]+1)
plt.plot(x, loss_history_avr, 'b')
plt.plot(x, measure_history_avr, 'r--')
plt.legend(['training loss', 'validation loss'])
plt.show()
# Print statistics
print(f'Elapsed k-fold validation time: {elapsed_time_sum:.5f} sec')
if print_summary:
model.summary()
def validate_model_multiple(model_generator, datasets_generator_fun, epochs=50, num_tries=5, \
loss_name="mean_squared_error", measure_name="val_mean_squared_error", \
print_data=False):
"""K-fold validation of model in multiple tries"""
loss_history_sum = np.single(0)
measure_history_sum = np.single(0)
measure_history_worst = None
measure_history_best = None
last_measure_worst = None
last_measure_best = None
last_measures = []
elapsed_time_sum = 0
for t in range(num_tries):
measure_history_sum_single = np.single(0)
k = 0
datasets_generator = datasets_generator_fun()
for train_dataset, validation_dataset in datasets_generator:
model = model_generator()
start_time = time.perf_counter()
history = model.fit(
train_dataset,
epochs=epochs,
validation_data=validation_dataset,
verbose=0,
use_multiprocessing = True
)
elapsed_time_sum += time.perf_counter() - start_time
measure = np.array(history.history[measure_name], dtype=np.float64)
best_measure = measure.min()
last_measures.append(best_measure)
loss_history_sum += np.array(history.history[loss_name], dtype=np.float64)
measure_history_sum_single += measure
k += 1
measure_history_sum += measure_history_sum_single
measure_history_avr_single = measure_history_sum_single / k
best_measure = measure_history_avr_single.min()
if last_measure_worst is None or best_measure > last_measure_worst:
last_measure_worst = best_measure
measure_history_worst = measure_history_avr_single
if last_measure_best is None or best_measure < last_measure_best:
last_measure_best = best_measure
measure_history_best = measure_history_avr_single
elapsed_time_avr = elapsed_time_sum / num_tries
loss_history_avr = loss_history_sum / num_tries / k
measure_history_avr = measure_history_sum / num_tries / k
# Visualize error
x = range(1, loss_history_avr.shape[0]+1)
plt.subplot(2, 1, 1)
plt.plot(x, loss_history_avr, 'b')
plt.plot(x, measure_history_avr, 'y--')
plt.plot(x, measure_history_worst, 'r--')
plt.plot(x, measure_history_best, 'g--')
plt.legend(['training loss avr.', 'validation loss avg.', 'validation loss worst', 'validation loss best'])
plt.subplot(2, 1, 2)
plt.boxplot(last_measures)
# Print statistics
print(f'Average elapsed k-fold validation time: {elapsed_time_avr:.5f} sec')
if print_data:
print('Last measures:', last_measures)
print('Loss history average:', loss_history_avr)
print('Measure history average:', measure_history_avr)
print('Measure history worst:', measure_history_worst)
print('Measure history best:', measure_history_best)
def test_model(model, train_dataset, test_dataset, epochs=50, loss_name="mean_squared_error", measure_name="val_mean_squared_error", \
print_summary=True):
"""Testing of model"""
start_time = time.perf_counter()
history = model.fit(
train_dataset,
epochs=epochs,
validation_data=test_dataset,
verbose=0,
use_multiprocessing = True
)
elapsed_time = time.perf_counter() - start_time
loss = history.history[loss_name]
measure = history.history[measure_name]
# Visualize error
x = range(1, len(loss)+1)
plt.plot(x, loss, 'b')
plt.plot(x, measure, 'r--')
plt.legend(['training loss', 'testing loss'])
plt.show()
# Print statistics
print(f'Elapsed training time: {elapsed_time:.5f} sec')
if print_summary:
model.summary()
# Testing of model in multiple runs
def test_model_multiple(model_generator, train_dataset, test_dataset, epochs=50, num_tries=10, \
loss_name="mean_squared_error", measure_name="val_mean_squared_error", \
print_data=False):
"""Testing of model in multiple tries"""
loss_history_sum = np.single(0)
measure_history_sum = np.single(0)
measure_history_worst = None
measure_history_best = None
last_measure_worst = None
last_measure_best = None
last_measures = []
elapsed_time_sum = 0
for t in range(num_tries):
model = model_generator()
start_time = time.perf_counter()
history = model.fit(
train_dataset,
epochs=epochs,
validation_data=test_dataset,
verbose=0,
use_multiprocessing = True
)
elapsed_time_sum += time.perf_counter() - start_time
loss_history_sum += np.array(history.history[loss_name], dtype=np.float64)
measure_history = np.array(history.history[measure_name], dtype=np.float64)
best_measure = measure_history.min()
if last_measure_worst is None or best_measure > last_measure_worst:
last_measure_worst = best_measure
measure_history_worst = measure_history
if last_measure_best is None or best_measure < last_measure_best:
last_measure_best = best_measure
measure_history_best = measure_history
measure_history_sum += measure_history
last_measures.append(best_measure)
elapsed_time_avr = elapsed_time_sum / num_tries
loss_history_avr = loss_history_sum / num_tries
measure_history_avr = measure_history_sum / num_tries
# Visualize error
x = range(1, loss_history_avr.shape[0]+1)
plt.subplot(2, 1, 1)
plt.plot(x, loss_history_avr, 'b')
plt.plot(x, measure_history_avr, 'y--')
plt.plot(x, measure_history_worst, 'r--')
plt.plot(x, measure_history_best, 'g--')
plt.legend(['training loss avr.', 'testing loss avg.', 'testing loss worst', 'testing loss best'])
plt.subplot(2, 1, 2)
plt.boxplot(last_measures)
# Print statistics
print(f'Average elapsed training time: {elapsed_time_avr:.5f} sec')
if print_data:
print('Last measures:', last_measures)
print('Loss history average:', loss_history_avr)
print('Measure history average:', measure_history_avr)
print('Measure history worst:', measure_history_worst)
print('Measure history best:', measure_history_best)
| 38.638095
| 139
| 0.652699
| 1,018
| 8,114
| 4.878193
| 0.09332
| 0.149416
| 0.044503
| 0.024164
| 0.871929
| 0.803061
| 0.786549
| 0.750705
| 0.718083
| 0.70882
| 0
| 0.011271
| 0.25647
| 8,114
| 210
| 140
| 38.638095
| 0.811868
| 0.039315
| 0
| 0.710843
| 0
| 0
| 0.105643
| 0.01984
| 0
| 0
| 0
| 0
| 0
| 1
| 0.024096
| false
| 0
| 0.018072
| 0
| 0.042169
| 0.13253
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
cf8115510aa9e767f689bce6d9254135740c1138
| 445
|
py
|
Python
|
challenges/shift-list/shift_list_test.py
|
tyler-fishbone/data-structures-and-algorithms
|
29790f2672d3ddb0aadf62725f28180b092f4568
|
[
"MIT"
] | null | null | null |
challenges/shift-list/shift_list_test.py
|
tyler-fishbone/data-structures-and-algorithms
|
29790f2672d3ddb0aadf62725f28180b092f4568
|
[
"MIT"
] | 4
|
2018-03-22T19:19:11.000Z
|
2018-04-11T00:35:26.000Z
|
challenges/shift-list/shift_list_test.py
|
tyler-fishbone/data-structures-and-algorithms
|
29790f2672d3ddb0aadf62725f28180b092f4568
|
[
"MIT"
] | null | null | null |
import shift_list
import pytest
def test_insert_shift_list_with_valid_list_odd():
assert shift_list.insert_shift_list([1,2,3,4,5,6,7,8,9], 'X') == [1, 2, 3, 4, 'X', 5, 6, 7, 8, 9]
def test_insert_shift_list_with_valid_list_even():
assert shift_list.insert_shift_list([1,2,3,4,5,6,7,8], 'X') == [1, 2, 3, 4, 'X', 5, 6, 7, 8]
def test_insert_shift_list_with_valid_list_empty():
assert shift_list.insert_shift_list([], 'X') == ['X']
| 37.083333
| 101
| 0.685393
| 90
| 445
| 3.044444
| 0.255556
| 0.328467
| 0.328467
| 0.058394
| 0.850365
| 0.843066
| 0.733577
| 0.733577
| 0.350365
| 0.350365
| 0
| 0.087629
| 0.12809
| 445
| 11
| 102
| 40.454545
| 0.618557
| 0
| 0
| 0
| 0
| 0
| 0.013483
| 0
| 0
| 0
| 0
| 0
| 0.375
| 1
| 0.375
| true
| 0
| 0.25
| 0
| 0.625
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
d86c08ebb3c818cb0a63145b6ee50e605c1652f9
| 1,005
|
py
|
Python
|
test_fixtures/general_repo/very_long_file.py
|
SerejkaSJ/fiasko_bro
|
dfb8c30109f317c1e5b6d211e002fd148695809e
|
[
"MIT"
] | 25
|
2018-01-24T10:45:35.000Z
|
2020-12-05T21:47:20.000Z
|
test_fixtures/general_repo/very_long_file.py
|
SerejkaSJ/fiasko_bro
|
dfb8c30109f317c1e5b6d211e002fd148695809e
|
[
"MIT"
] | 110
|
2018-01-21T12:25:13.000Z
|
2021-06-10T19:27:22.000Z
|
test_fixtures/general_repo/very_long_file.py
|
SerejkaSJ/fiasko_bro
|
dfb8c30109f317c1e5b6d211e002fd148695809e
|
[
"MIT"
] | 13
|
2017-12-12T22:19:01.000Z
|
2019-01-29T18:08:05.000Z
|
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
| 4.975248
| 4
| 0.8
| 201
| 1,005
| 4
| 0.004975
| 1.99005
| 2.970149
| 3.940299
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0.2
| 1,005
| 201
| 5
| 5
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| true
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 13
|
d885868a7c81134d5bda828ced1d19aadcadb776
| 121
|
py
|
Python
|
kanga/stats/batch_var.py
|
kushagragpt99/kanga
|
1f2343d15965148ae7c1dea95168c31a87b27c4f
|
[
"MIT"
] | 1
|
2022-02-03T08:50:35.000Z
|
2022-02-03T08:50:35.000Z
|
kanga/stats/batch_var.py
|
kushagragpt99/kanga
|
1f2343d15965148ae7c1dea95168c31a87b27c4f
|
[
"MIT"
] | null | null | null |
kanga/stats/batch_var.py
|
kushagragpt99/kanga
|
1f2343d15965148ae7c1dea95168c31a87b27c4f
|
[
"MIT"
] | null | null | null |
import numpy as np
from .batch_mean import batch_mean
def batch_var(x, b):
return np.var(batch_mean(x, b), ddof=1)
| 17.285714
| 43
| 0.719008
| 24
| 121
| 3.458333
| 0.583333
| 0.325301
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01
| 0.173554
| 121
| 6
| 44
| 20.166667
| 0.82
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.5
| 0.25
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
2b19abbf4cc5a26b4e6b67538df605cb5df6afa6
| 1,212
|
py
|
Python
|
captivity/tests/test_merge.py
|
maxsnijders/captivity
|
c3c2bde554f83e567c8e078db4e6bccda57eff8b
|
[
"MIT"
] | null | null | null |
captivity/tests/test_merge.py
|
maxsnijders/captivity
|
c3c2bde554f83e567c8e078db4e6bccda57eff8b
|
[
"MIT"
] | null | null | null |
captivity/tests/test_merge.py
|
maxsnijders/captivity
|
c3c2bde554f83e567c8e078db4e6bccda57eff8b
|
[
"MIT"
] | null | null | null |
import pytest
def test_merge_with_duplicate_columns():
import captivity
import pandas as pd
with pytest.raises(captivity.CaptivityException):
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on="a",
)
captivity.warning_mode()
with pytest.warns(captivity.CaptivityWarning):
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on=["a"],
)
captivity.exception_mode()
with pytest.raises(captivity.CaptivityException):
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on="a",
)
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on=["a", "b"],
)
def test_merge_duplicate_columns_suffixes():
import captivity
import pandas as pd
with pytest.raises(captivity.CaptivityException):
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on="a",
)
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on="a", suffixes=("_x", "_y")
)
| 28.857143
| 79
| 0.508251
| 158
| 1,212
| 3.822785
| 0.196203
| 0.218543
| 0.238411
| 0.129139
| 0.743377
| 0.743377
| 0.743377
| 0.743377
| 0.743377
| 0.743377
| 0
| 0.039344
| 0.24505
| 1,212
| 41
| 80
| 29.560976
| 0.620765
| 0
| 0
| 0.516129
| 0
| 0
| 0.028878
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.064516
| true
| 0
| 0.16129
| 0
| 0.225806
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
2b1fa7dbce8d71892d9c7b2eaae229f0ffdd3b18
| 16,603
|
py
|
Python
|
grad_tn/tensornetworks/peps/brute_force_contraction/obc.py
|
Jakob-Unfried/msc-legacy
|
2c41f3f714936c25dd534bd66da802c26176fcfa
|
[
"MIT"
] | 1
|
2021-03-22T14:16:43.000Z
|
2021-03-22T14:16:43.000Z
|
grad_tn/tensornetworks/peps/brute_force_contraction/obc.py
|
Jakob-Unfried/msc-legacy
|
2c41f3f714936c25dd534bd66da802c26176fcfa
|
[
"MIT"
] | null | null | null |
grad_tn/tensornetworks/peps/brute_force_contraction/obc.py
|
Jakob-Unfried/msc-legacy
|
2c41f3f714936c25dd534bd66da802c26176fcfa
|
[
"MIT"
] | null | null | null |
import numpy as onp
import grad_tn.tensornetworks.peps.brute_force_contraction._obc_instructions as instructions
from utils.jax_utils.ncon_jax import ncon
def two_layers(bra_tensors, ket_tensors):
lx, ly = len(bra_tensors), len(bra_tensors[0])
assert all(len(bra_tensors[x]) == ly for x in range(lx))
assert len(ket_tensors) == lx
assert all(len(ket_tensors[x]) == ly for x in range(lx))
tensors = [ket_tensors[x][y] for y in range(ly) for x in range(lx)] \
+ [bra_tensors[x][y] for y in range(ly) for x in range(lx)]
connects, order = _get_instructions2(lx, ly)
return ncon(tensors, connects, order)
def three_layers(bra_tensors, op_tensors, ket_tensors):
lx, ly = len(bra_tensors), len(bra_tensors[0])
assert all(len(bra_tensors[x]) == ly for x in range(lx))
assert len(op_tensors) == lx
assert all(len(op_tensors[x]) == ly for x in range(lx))
assert len(ket_tensors) == lx
assert all(len(ket_tensors[x]) == ly for x in range(lx))
tensors = [ket_tensors[x][y] for y in range(ly) for x in range(lx)] \
+ [op_tensors[x][y] for y in range(ly) for x in range(lx)] \
+ [bra_tensors[x][y] for y in range(ly) for x in range(lx)]
connects, order = _get_instructions3(lx, ly)
return ncon(tensors, connects, order)
def _get_instructions2(lx, ly):
if (lx, ly) in instructions.connects2:
return instructions.connects2[lx, ly], instructions.order2[lx, ly]
N = lx * ly
M = 2 * N - lx - ly
# 1,...,M : ket layer
# M+1,...,2M : bra layer
# 2M+1,...,3M+N : p legs
# functions that number the bonds ( in layers )
def _d(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if y == 0:
return None
return (1 - lx) + x + (2 * lx - 1) * y + M * n
def _l(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if x == 0:
return None
return x + (2 * lx - 1) * y + M * n
def _r(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if x == lx - 1:
return None
return 1 + x + (2 * lx - 1) * y + M * n
def _u(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if y == ly - 1:
return None
return lx + x + (2 * lx - 1) * y + M * n
def _p(x, y):
# leg between op and bra (p leg of op)
return 2 * M + 1 + x + lx * y
# tensors: [tens[l, x, y] for l in [ket, op, bra] for y in range(ly) for x in range(lx)]
# = [ ket[0,0], ket[1,0], ket[2,0], ..., op[...], ..., bra[...], ...]
def connects_ket_tens(x, y):
if x == 0:
if y == 0: # bottom left
return [_p(x, y), _r(x, y, 0), _u(x, y, 0)] # (p,r,u)
elif y == ly - 1: # top left
return [_p(x, y), _d(x, y, 0), _r(x, y, 0)] # (p,d,r)
else: # left
return [_p(x, y), _d(x, y, 0), _r(x, y, 0), _u(x, y, 0)] # (p,d,r,u)
elif x == lx - 1:
if y == 0: # bottom right
return [_p(x, y), _u(x, y, 0), _l(x, y, 0)] # (p,u,l)
elif y == ly - 1: # top right
return [_p(x, y), _l(x, y, 0), _d(x, y, 0)] # (p,l,d)
else: # right
return [_p(x, y), _u(x, y, 0), _l(x, y, 0), _d(x, y, 0)] # (p,u,l,d)
else:
if y == 0: # bottom
return [_p(x, y), _r(x, y, 0), _u(x, y, 0), _l(x, y, 0)] # (p,r,u,l)
elif y == ly - 1: # top
return [_p(x, y), _l(x, y, 0), _d(x, y, 0), _r(x, y, 0)] # (p,l,d,r)
else: # bulk
return [_p(x, y), _u(x, y, 0), _l(x, y, 0), _d(x, y, 0), _r(x, y, 0)] # (p,u,l,d,r)
def connects_bra_tens(x, y):
if x == 0:
if y == 0: # bottom left
return [_p(x, y), _r(x, y, 1), _u(x, y, 1)] # (p,r,u)
elif y == ly - 1: # top left
return [_p(x, y), _d(x, y, 1), _r(x, y, 1)] # (p,d,r)
else: # left
return [_p(x, y), _d(x, y, 1), _r(x, y, 1), _u(x, y, 1)] # (p,d,r,u)
elif x == lx - 1:
if y == 0: # bottom right
return [_p(x, y), _u(x, y, 1), _l(x, y, 1)] # (p,u,l)
elif y == ly - 1: # top right
return [_p(x, y), _l(x, y, 1), _d(x, y, 1)] # (p,l,d)
else: # right
return [_p(x, y), _u(x, y, 1), _l(x, y, 1), _d(x, y, 1)] # (p,u,l,d)
else:
if y == 0: # bottom
return [_p(x, y), _r(x, y, 1), _u(x, y, 1), _l(x, y, 1)] # (p,r,u,l)
elif y == ly - 1: # top
return [_p(x, y), _l(x, y, 1), _d(x, y, 1), _r(x, y, 1)] # (p,l,d,r)
else: # bulk
return [_p(x, y), _u(x, y, 1), _l(x, y, 1), _d(x, y, 1), _r(x, y, 1)] # (p,u,l,d,r)
connects = [connects_ket_tens(x, y) for y in range(ly) for x in range(lx)] \
+ [connects_bra_tens(x, y) for y in range(ly) for x in range(lx)]
order = []
def order_helper(x, y, *funs):
# used when adding connects of the tensors at (x,y) to order
# funs are all functions, e.g. _l and _r that should be appended at this time.
# returns fun(x, y, n) for all fun in funs and n in range(2) as well as _p(x,y)
# in optimal order
res = []
res.extend([fun(x, y, 0) for fun in funs])
res.append(_p(x, y))
res.extend([fun(x, y, 1) for fun in funs])
return res
# BOTTOM LEFT QUARTER
# bottom row
order.append(_p(0, 0))
for x in range(1, lx // 2):
order.extend(order_helper(x, 0, _l))
# other rows
for y in range(1, ly // 2):
# x = 0
order.extend(order_helper(0, y, _d))
for x in range(1, lx // 2):
order.extend(order_helper(x, y, _l, _d))
# BOTTOM RIGHT QUARTER
# bottom row
order.extend([_p(lx // 2, 0)])
for x in range(lx // 2 + 1, lx):
order.extend(order_helper(x, 0, _l))
# other rows
for y in range(1, ly // 2):
# x = lx // 2
order.extend(order_helper(lx // 2, y, _d))
for x in range(lx // 2 + 1, lx):
order.extend(order_helper(x, y, _l, _d))
# BOTTOM HALF
order.extend([_l(lx // 2, y, n) for n in [0, 1] for y in range(ly // 2)])
# TOP LEFT QUARTER
# bottom row
order.extend([_p(0, ly // 2)])
for x in range(1, lx // 2):
order.extend(order_helper(x, ly // 2, _l))
# other rows
for y in range(ly // 2 + 1, ly):
# x = 0
order.extend(order_helper(0, y, _d))
for x in range(1, lx // 2):
order.extend(order_helper(x, y, _l, _d))
# THREE QUARTERS
order.extend([_d(x, ly // 2, n) for n in [0, 1] for x in range(lx // 2)])
# FILL LAST QUARTER
for x in range(lx // 2, lx):
for y in range(ly // 2, ly):
order.extend(order_helper(x, y, _l, _d))
# checks:
n_layers = 2
n_labels = n_layers * (2 * lx * ly - lx - ly) + (n_layers - 1) * lx * ly
connects_flat = onp.array([elem for sublist in connects for elem in sublist])
order_arr = onp.array(order)
assert onp.all(0 < connects_flat) and onp.all(connects_flat <= n_labels)
assert onp.all(0 < order_arr) and onp.all(order_arr <= n_labels)
for n in range(1, n_labels + 1):
assert onp.sum(connects_flat == n) == 2
assert onp.sum(order_arr == n) == 1
return connects, order
def _get_instructions3(lx, ly):
if (lx, ly) in instructions.connects3:
return instructions.connects3[lx, ly], instructions.order3[lx, ly]
N = lx * ly
M = 2 * N - lx - ly
# 1,...,M : ket layer
# M+1,...,2M : op layer
# 2M+2,...,3M : bra layer
# 3M+1,...,3M+N : ket - op
# 3M+N+1,...,3M+2N : op - bra
# functions that number the bonds ( in layers )
def _d(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if y == 0:
return None
return (1 - lx) + x + (2 * lx - 1) * y + M * n
def _l(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if x == 0:
return None
return x + (2 * lx - 1) * y + M * n
def _r(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if x == lx - 1:
return None
return 1 + x + (2 * lx - 1) * y + M * n
def _u(x, y, n):
if (x < 0) or (x >= lx) or (y < 0) or (y >= ly):
raise RuntimeError
if y == ly - 1:
return None
return lx + x + (2 * lx - 1) * y + M * n
def _p_star(x, y):
# leg between ket and op (p* leg of op)
return 3 * M + 1 + x + lx * y
def _p(x, y):
# leg between op and bra (p leg of op)
return 3 * M + N + 1 + x + lx * y
# tensors: [tens[l, x, y] for l in [ket, op, bra] for y in range(ly) for x in range(lx)]
# = [ ket[0,0], ket[1,0], ket[2,0], ..., op[...], ..., bra[...], ...]
def connects_ket_tens(x, y):
if x == 0:
if y == 0: # bottom left
return [_p_star(x, y), _r(x, y, 0), _u(x, y, 0)] # (p,r,u)
elif y == ly - 1: # top left
return [_p_star(x, y), _d(x, y, 0), _r(x, y, 0)] # (p,d,r)
else: # left
return [_p_star(x, y), _d(x, y, 0), _r(x, y, 0), _u(x, y, 0)] # (p,d,r,u)
elif x == lx - 1:
if y == 0: # bottom right
return [_p_star(x, y), _u(x, y, 0), _l(x, y, 0)] # (p,u,l)
elif y == ly - 1: # top right
return [_p_star(x, y), _l(x, y, 0), _d(x, y, 0)] # (p,l,d)
else: # right
return [_p_star(x, y), _u(x, y, 0), _l(x, y, 0), _d(x, y, 0)] # (p,u,l,d)
else:
if y == 0: # bottom
return [_p_star(x, y), _r(x, y, 0), _u(x, y, 0), _l(x, y, 0)] # (p,r,u,l)
elif y == ly - 1: # top
return [_p_star(x, y), _l(x, y, 0), _d(x, y, 0), _r(x, y, 0)] # (p,l,d,r)
else: # bulk
return [_p_star(x, y), _u(x, y, 0), _l(x, y, 0), _d(x, y, 0), _r(x, y, 0)] # (p,u,l,d,r)
def connects_op_tens(x, y):
if x == 0:
if y == 0: # bottom left
return [_p(x, y), _p_star(x, y), _r(x, y, 1), _u(x, y, 1)] # (p,p*,r,u)
elif y == ly - 1: # top left
return [_p(x, y), _p_star(x, y), _d(x, y, 1), _r(x, y, 1)] # (p,p*,d,r)
else: # left
return [_p(x, y), _p_star(x, y), _d(x, y, 1), _r(x, y, 1), _u(x, y, 1)] # (p,p*,d,r,u)
elif x == lx - 1:
if y == 0: # bottom right
return [_p(x, y), _p_star(x, y), _u(x, y, 1), _l(x, y, 1)] # (p,p*,u,l)
elif y == ly - 1: # top right
return [_p(x, y), _p_star(x, y), _l(x, y, 1), _d(x, y, 1)] # (p,p*,l,d)
else: # right
return [_p(x, y), _p_star(x, y), _u(x, y, 1), _l(x, y, 1), _d(x, y, 1)] # (p,p*,u,l,d)
else:
if y == 0: # bottom
return [_p(x, y), _p_star(x, y), _r(x, y, 1), _u(x, y, 1), _l(x, y, 1)] # (p,p*,r,u,l)
elif y == ly - 1: # top
return [_p(x, y), _p_star(x, y), _l(x, y, 1), _d(x, y, 1), _r(x, y, 1)] # (p,p*,l,d,r)
else: # bulk
return [_p(x, y), _p_star(x, y), _u(x, y, 1), _l(x, y, 1), _d(x, y, 1), _r(x, y, 1)] # (p,p*,u,l,d,r)
def connects_bra_tens(x, y):
if x == 0:
if y == 0: # bottom left
return [_p(x, y), _r(x, y, 2), _u(x, y, 2)] # (p,r,u)
elif y == ly - 1: # top left
return [_p(x, y), _d(x, y, 2), _r(x, y, 2)] # (p,d,r)
else: # left
return [_p(x, y), _d(x, y, 2), _r(x, y, 2), _u(x, y, 2)] # (p,d,r,u)
elif x == lx - 1:
if y == 0: # bottom right
return [_p(x, y), _u(x, y, 2), _l(x, y, 2)] # (p,u,l)
elif y == ly - 1: # top right
return [_p(x, y), _l(x, y, 2), _d(x, y, 2)] # (p,l,d)
else: # right
return [_p(x, y), _u(x, y, 2), _l(x, y, 2), _d(x, y, 2)] # (p,u,l,d)
else:
if y == 0: # bottom
return [_p(x, y), _r(x, y, 2), _u(x, y, 2), _l(x, y, 2)] # (p,r,u,l)
elif y == ly - 1: # top
return [_p(x, y), _l(x, y, 2), _d(x, y, 2), _r(x, y, 2)] # (p,l,d,r)
else: # bulk
return [_p(x, y), _u(x, y, 2), _l(x, y, 2), _d(x, y, 2), _r(x, y, 2)] # (p,u,l,d,r)
connects = [connects_ket_tens(x, y) for y in range(ly) for x in range(lx)] \
+ [connects_op_tens(x, y) for y in range(ly) for x in range(lx)] \
+ [connects_bra_tens(x, y) for y in range(ly) for x in range(lx)]
order = []
def order_helper(x, y, *funs):
# used when adding connects of the tensors at (x,y) to order
# funs are all functions, e.g. _l and _r that should be appended at this time.
# returns fun(x, y, n) for all fun in funs and n in range(3) as well as _p(x,y) and _p_star(x,y)
# in optimal order
res = []
res.extend([fun(x, y, 0) for fun in funs])
res.append(_p_star(x, y))
res.extend([fun(x, y, 1) for fun in funs])
res.append(_p(x, y))
res.extend([fun(x, y, 2) for fun in funs])
return res
# BOTTOM LEFT QUARTER
# bottom row
order.extend([_p(0, 0), _p_star(0, 0)])
for x in range(1, lx // 2):
order.extend(order_helper(x, 0, _l))
# other rows
for y in range(1, ly // 2):
# x = 0
order.extend(order_helper(0, y, _d))
for x in range(1, lx // 2):
order.extend(order_helper(x, y, _l, _d))
# BOTTOM RIGHT QUARTER
# bottom row
order.extend([_p(lx // 2, 0), _p_star(lx // 2, 0)])
for x in range(lx // 2 + 1, lx):
order.extend(order_helper(x, 0, _l))
# other rows
for y in range(1, ly // 2):
# x = lx // 2
order.extend(order_helper(lx // 2, y, _d))
for x in range(lx // 2 + 1, lx):
order.extend(order_helper(x, y, _l, _d))
# BOTTOM HALF (connect previous quarters)
order.extend([_l(lx // 2, y, n) for n in range(3) for y in range(ly // 2)])
# TOP LEFT QUARTER
# bottom row
order.extend([_p(0, ly // 2), _p_star(0, ly // 2)])
for x in range(1, lx // 2):
order.extend(order_helper(x, ly // 2, _l))
# other rows
for y in range(ly // 2 + 1, ly):
# x = 0
order.extend(order_helper(0, y, _d))
for x in range(1, lx // 2):
order.extend(order_helper(x, y, _l, _d))
# THREE QUARTERS
order.extend([_d(x, ly // 2, n) for n in range(3) for x in range(lx // 2)])
# FILL LAST QUARTER
for x in range(lx // 2, lx):
for y in range(ly // 2, ly):
order.extend(order_helper(x, y, _l, _d))
# checks:
n_layers = 3
n_labels = n_layers * (2 * lx * ly - lx - ly) + (n_layers - 1) * lx * ly
connects_flat = onp.array([elem for sublist in connects for elem in sublist])
order_arr = onp.array(order)
assert onp.all(0 < connects_flat) and onp.all(connects_flat <= n_labels)
assert onp.all(0 < order_arr) and onp.all(order_arr <= n_labels)
for n in range(1, n_labels + 1):
assert onp.sum(connects_flat == n) == 2
assert onp.sum(order_arr == n) == 1
return connects, order
if __name__ == '__main__':
# only used to generate _obc_instructions and hard-code them
l_range = range(3, 11)
print('connects3')
for _lx in l_range:
for _ly in l_range:
_connects, _order = _get_instructions3(_lx, _ly)
print(f'{_lx, _ly}: {_connects},')
print('order3')
for _lx in l_range:
for _ly in l_range:
_connects, _order = _get_instructions3(_lx, _ly)
print(f'{_lx, _ly}: {_order},')
print('connects2')
for _lx in l_range:
for _ly in l_range:
_connects, _order = _get_instructions2(_lx, _ly)
print(f'{_lx, _ly}: {_connects},')
print('order2')
for _lx in l_range:
for _ly in l_range:
_connects, _order = _get_instructions2(_lx, _ly)
print(f'{_lx, _ly}: {_order},')
| 36.093478
| 118
| 0.466783
| 2,928
| 16,603
| 2.498634
| 0.045765
| 0.062056
| 0.020503
| 0.044287
| 0.919492
| 0.915254
| 0.908967
| 0.896391
| 0.881629
| 0.878896
| 0
| 0.035601
| 0.355418
| 16,603
| 459
| 119
| 36.172113
| 0.64801
| 0.149852
| 0
| 0.722045
| 0
| 0
| 0.009165
| 0
| 0
| 0
| 0
| 0
| 0.051118
| 1
| 0.070288
| false
| 0
| 0.009585
| 0.009585
| 0.309904
| 0.025559
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
2b3dd39f1163cd7d91d3dcecc75d4fd5fe52c9c3
| 103
|
py
|
Python
|
pyball/constants.py
|
SebastianDang/PyBall
|
d1965aa01477b5ee0db9c0463ec584a7e3997395
|
[
"MIT"
] | null | null | null |
pyball/constants.py
|
SebastianDang/PyBall
|
d1965aa01477b5ee0db9c0463ec584a7e3997395
|
[
"MIT"
] | null | null | null |
pyball/constants.py
|
SebastianDang/PyBall
|
d1965aa01477b5ee0db9c0463ec584a7e3997395
|
[
"MIT"
] | null | null | null |
BASE_URL = "http://statsapi.mlb.com/api/v1/"
CURRENT_VERSION_URL = "http://statsapi.mlb.com/api/v1.1/"
| 34.333333
| 57
| 0.718447
| 18
| 103
| 3.944444
| 0.611111
| 0.197183
| 0.422535
| 0.507042
| 0.732394
| 0.732394
| 0.732394
| 0
| 0
| 0
| 0
| 0.030928
| 0.058252
| 103
| 2
| 58
| 51.5
| 0.701031
| 0
| 0
| 0
| 0
| 0
| 0.621359
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
2b6950773d069040200276ce9bf896f37ed052e9
| 6,563
|
py
|
Python
|
nulspy/trxs/contract.py
|
xiangxn/nulspy
|
df2323bcb6fb76b16e236a5c2331a1a74ee99908
|
[
"MIT"
] | 2
|
2020-03-16T06:00:55.000Z
|
2020-03-16T21:09:03.000Z
|
nulspy/trxs/contract.py
|
xiangxn/nulspy
|
df2323bcb6fb76b16e236a5c2331a1a74ee99908
|
[
"MIT"
] | null | null | null |
nulspy/trxs/contract.py
|
xiangxn/nulspy
|
df2323bcb6fb76b16e236a5c2331a1a74ee99908
|
[
"MIT"
] | null | null | null |
from nulspy.coder import Coder
from .register import register_tx_type
from nulspy.base_data import BaseNulsData
from nulspy.define import Define
from nulspy.address import Address
from nulspy.trxs.base import BaseModuleData
import struct
import logging
LOGGER = logging.getLogger('contract_module')
class CreateContractData(BaseModuleData):
@classmethod
async def fromBuffer(cls, buffer, cursor=0):
md = dict()
md['result'] = None # This should be populated elsewhere
md['sender'] = buffer[cursor:cursor + Define.ADDRESS_LENGTH]
cursor += Define.ADDRESS_LENGTH
md['sender'] = Address.addressFromHash(md['sender'])
md['contractAddress'] = buffer[cursor:cursor + Define.ADDRESS_LENGTH]
cursor += Define.ADDRESS_LENGTH
md['contractAddress'] = Address.addressFromHash(md['contractAddress'])
md['value'] = struct.unpack("q", buffer[cursor:cursor + 8])[0]
cursor += 8
md['codeLen'] = struct.unpack("I", buffer[cursor:cursor + 4])[0]
cursor += 4
pos, md['code'] = Coder.readByLength(buffer, cursor=cursor)
cursor += pos
md['code'] = md['code'].hex()
md['gasLimit'] = struct.unpack("q", buffer[cursor:cursor + 8])[0]
cursor += 8
md['price'] = struct.unpack("q", buffer[cursor:cursor + 8])[0]
cursor += 8
argslen = int(buffer[cursor])
cursor += 1
args = []
for i in range(argslen):
arglen = int(buffer[cursor])
cursor += 1
arg = []
for j in range(arglen):
pos, argcontent = Coder.readByLength(buffer, cursor=cursor)
cursor += pos
try:
argcontent = argcontent.decode('utf-8')
except UnicodeDecodeError:
LOGGER.warning("Unicode decode error here, passing raw value.")
arg.append(argcontent)
args.append(arg)
md['args'] = args
return cursor, md
@classmethod
async def toBuffer(cls, md):
output = Address.hashFromAddress(md['sender'])
output += Address.hashFromAddress(md['contractAddress'])
output += struct.pack("q", md['value'])
output += struct.pack("I", md['codeLen'])
output += Coder.writeWithLength(unhexlify(md['code']))
output += struct.pack("q", md['gasLimit'])
output += struct.pack("q", md['price'])
output += bytes([len(md['args'])])
for arg in md['args']:
output += bytes([len(arg)])
for argitem in arg:
try:
argitem = argitem.encode('utf-8')
except UnicodeEncodeError:
LOGGER.warning("Unicode encode error here, passing raw value.")
output += Coder.writeWithLength(argitem)
return output
register_tx_type(15, CreateContractData)
class CallContractData(BaseModuleData):
@classmethod
async def fromBuffer(cls, buffer, cursor=0):
md = dict()
md['result'] = None # This should be populated elsewhere
md['sender'] = buffer[cursor:cursor + Define.ADDRESS_LENGTH]
cursor += Define.ADDRESS_LENGTH
md['sender'] = Address.addressFromHash(md['sender'])
md['contractAddress'] = buffer[cursor:cursor + Define.ADDRESS_LENGTH]
cursor += Define.ADDRESS_LENGTH
md['contractAddress'] = Address.addressFromHash(md['contractAddress'])
# TODO: change value to 256bit bigint
md['value'] = struct.unpack("q", buffer[cursor:cursor + 8])[0]
cursor += 8
md['gasLimit'] = struct.unpack("q", buffer[cursor:cursor + 8])[0]
cursor += 8
md['price'] = struct.unpack("q", buffer[cursor:cursor + 8])[0]
cursor += 8
pos, md['methodName'] = Coder.readByLength(buffer, cursor=cursor)
md['methodName'] = md['methodName'].decode('utf-8')
cursor += pos
pos, md['methodDesc'] = Coder.readByLength(buffer, cursor=cursor)
md['methodDesc'] = md['methodDesc'].decode('utf-8')
cursor += pos
argslen = int(buffer[cursor])
cursor += 1
args = []
for i in range(argslen):
arglen = int(buffer[cursor])
cursor += 1
arg = []
for j in range(arglen):
pos, argcontent = Coder.readByLength(buffer, cursor=cursor)
cursor += pos
try:
argcontent = argcontent.decode('utf-8')
except UnicodeDecodeError:
LOGGER.warning("Unicode decode error here, passing raw value.")
arg.append(argcontent)
args.append(arg)
md['args'] = args
return cursor, md
@classmethod
async def toBuffer(cls, md):
output = Address.hashFromAddress(md['sender'])
output += Address.hashFromAddress(md['contractAddress'])
output += md['value'].to_bytes(32, 'little')
output += struct.pack("Q", md['gasLimit'])
output += struct.pack("Q", md['price'])
output += Coder.writeWithLength(md['methodName'].encode('utf-8'))
output += Coder.writeWithLength(md['methodDesc'].encode('utf-8'))
output += bytes([len(md['args'])])
for arg in md['args']:
output += bytes([len(arg)])
for argitem in arg:
try:
argitem = argitem.encode('utf-8')
except UnicodeEncodeError:
LOGGER.warning("Unicode encode error here, passing raw value.")
output += Coder.writeWithLength(argitem)
return output
register_tx_type(16, CallContractData)
class DeleteContractData(BaseModuleData):
@classmethod
async def fromBuffer(cls, buffer, cursor=0):
md = dict()
md['result'] = None # This should be populated elsewhere
md['sender'] = buffer[cursor:cursor + Define.ADDRESS_LENGTH]
cursor += Define.ADDRESS_LENGTH
md['sender'] = Address.addressFromHash(md['sender'])
md['contractAddress'] = buffer[cursor:cursor + Define.ADDRESS_LENGTH]
cursor += Define.ADDRESS_LENGTH
md['contractAddress'] = Address.addressFromHash(md['contractAddress'])
return cursor, md
@classmethod
async def toBuffer(cls, md):
output = Address.hashFromAddress(md['sender'])
output += Address.hashFromAddress(md['contractAddress'])
return output
register_tx_type(17, DeleteContractData)
| 36.664804
| 83
| 0.587384
| 691
| 6,563
| 5.545586
| 0.151954
| 0.078288
| 0.10334
| 0.078288
| 0.808455
| 0.788361
| 0.76905
| 0.757568
| 0.757568
| 0.757568
| 0
| 0.009975
| 0.282036
| 6,563
| 179
| 84
| 36.664804
| 0.803268
| 0.021332
| 0
| 0.777027
| 0
| 0
| 0.113725
| 0
| 0
| 0
| 0
| 0.005587
| 0
| 1
| 0
| false
| 0.027027
| 0.054054
| 0
| 0.114865
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
99a8f3cfb368522b098b2079313bf23640f75f37
| 16,744
|
py
|
Python
|
boa3_test/tests/compiler_tests/test_relational.py
|
DanPopa46/neo3-boa
|
e4ef340744b5bd25ade26f847eac50789b97f3e9
|
[
"Apache-2.0"
] | null | null | null |
boa3_test/tests/compiler_tests/test_relational.py
|
DanPopa46/neo3-boa
|
e4ef340744b5bd25ade26f847eac50789b97f3e9
|
[
"Apache-2.0"
] | null | null | null |
boa3_test/tests/compiler_tests/test_relational.py
|
DanPopa46/neo3-boa
|
e4ef340744b5bd25ade26f847eac50789b97f3e9
|
[
"Apache-2.0"
] | null | null | null |
from boa3.boa3 import Boa3
from boa3.exception.CompilerError import MismatchedTypes, NotSupportedOperation
from boa3.neo.vm.opcode.Opcode import Opcode
from boa3.neo.vm.type.Integer import Integer
from boa3_test.tests.boa_test import BoaTest
from boa3_test.tests.test_classes.TestExecutionException import TestExecutionException
from boa3_test.tests.test_classes.testengine import TestEngine
class TestRelational(BoaTest):
default_folder: str = 'test_sc/relational_test'
def test_number_equality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.NUMEQUAL
+ Opcode.RET
)
path = self.get_contract_path('NumEquality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 2)
self.assertEqual(True, result)
def test_number_inequality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.NUMNOTEQUAL
+ Opcode.RET
)
path = self.get_contract_path('NumInequality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 2)
self.assertEqual(False, result)
def test_number_inequality_operation_2(self):
path = self.get_contract_path('NumInequalityPython2.py')
with self.assertRaises(SyntaxError):
output = Boa3.compile(path)
def test_number_less_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.LT
+ Opcode.RET
)
path = self.get_contract_path('NumLessThan.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 2)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 1)
self.assertEqual(False, result)
def test_number_less_or_equal_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.LE
+ Opcode.RET
)
path = self.get_contract_path('NumLessOrEqual.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 2)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 1)
self.assertEqual(False, result)
def test_number_greater_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.GT
+ Opcode.RET
)
path = self.get_contract_path('NumGreaterThan.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 2)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 1)
self.assertEqual(True, result)
def test_number_greater_or_equal_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.GE
+ Opcode.RET
)
path = self.get_contract_path('NumGreaterOrEqual.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 2)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 1)
self.assertEqual(True, result)
def test_identity_operation(self):
path = self.get_contract_path('NumIdentity.py')
self.assertCompilerLogs(NotSupportedOperation, path)
def test_boolean_equality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.NUMEQUAL
+ Opcode.RET
)
path = self.get_contract_path('BoolEquality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', True, False)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', True, True)
self.assertEqual(True, result)
def test_boolean_inequality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.NUMNOTEQUAL
+ Opcode.RET
)
path = self.get_contract_path('BoolInequality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', True, False)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', True, True)
self.assertEqual(False, result)
def test_multiple_comparisons(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x03'
+ Opcode.LDARG1
+ Opcode.LDARG0
+ Opcode.LE
+ Opcode.LDARG0
+ Opcode.LDARG2
+ Opcode.LE
+ Opcode.BOOLAND
+ Opcode.RET
)
path = self.get_contract_path('NumRange.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 2, 5)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 1, 5)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 5, 1, 2)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 2, 5, 1)
self.assertEqual(False, result)
def test_string_equality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.EQUAL
+ Opcode.RET
)
path = self.get_contract_path('StrEquality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'test')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'unit')
self.assertEqual(True, result)
def test_string_inequality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.NOTEQUAL
+ Opcode.RET
)
path = self.get_contract_path('StrInequality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'test')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'unit')
self.assertEqual(False, result)
def test_string_less_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.LT
+ Opcode.RET
)
path = self.get_contract_path('StrLessThan.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 'test', 'unit')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'unit')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'test')
self.assertEqual(True, result)
def test_string_less_or_equal_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.LE
+ Opcode.RET
)
path = self.get_contract_path('StrLessOrEqual.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 'test', 'unit')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'unit')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'test')
self.assertEqual(True, result)
def test_string_greater_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.GT
+ Opcode.RET
)
path = self.get_contract_path('StrGreaterThan.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 'test', 'unit')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'unit')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'test')
self.assertEqual(False, result)
def test_string_greater_or_equal_than_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.GE
+ Opcode.RET
)
path = self.get_contract_path('StrGreaterOrEqual.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 'test', 'unit')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'unit')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 'unit', 'test')
self.assertEqual(False, result)
def test_mixed_equality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.EQUAL
+ Opcode.RET
)
path = self.get_contract_path('MixedEquality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 'unit')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', 123, '123')
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'Main', Integer.from_bytes(b'123'), '123')
self.assertEqual(False, result)
def test_mixed_inequality_operation(self):
expected_output = (
Opcode.INITSLOT
+ b'\x00'
+ b'\x02'
+ Opcode.LDARG0
+ Opcode.LDARG1
+ Opcode.NOTEQUAL
+ Opcode.RET
)
path = self.get_contract_path('MixedInequality.py')
output = Boa3.compile(path)
self.assertEqual(expected_output, output)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'Main', 1, 'unit')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', 123, '123')
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'Main', Integer.from_bytes(b'123'), '123')
self.assertEqual(True, result)
def test_mixed_less_than_operation(self):
path = self.get_contract_path('MixedLessThan.py')
self.assertCompilerLogs(MismatchedTypes, path)
def test_mixed_less_or_equal_than_operation(self):
path = self.get_contract_path('MixedLessOrEqual.py')
self.assertCompilerLogs(MismatchedTypes, path)
def test_mixed_greater_than_operation(self):
path = self.get_contract_path('MixedGreaterThan.py')
self.assertCompilerLogs(MismatchedTypes, path)
def test_mixed_greater_or_equal_than_operation(self):
path = self.get_contract_path('MixedGreaterOrEqual.py')
self.assertCompilerLogs(MismatchedTypes, path)
def test_list_equality_with_slice(self):
path = self.get_contract_path('ListEqualityWithSlice.py')
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'main', ['unittest', '123'], 'unittest',
expected_result_type=bool)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'main', ['unittest', '123'], '123',
expected_result_type=bool)
self.assertEqual(False, result)
with self.assertRaises(TestExecutionException):
self.run_smart_contract(engine, path, 'main', [], '')
def test_compare_same_value_hard_coded(self):
path = self.get_contract_path('CompareSameValueHardCoded.py')
Boa3.compile_and_save(path)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'testing_something',
expected_result_type=bool)
self.assertEqual(True, result)
def test_compare_same_value_argument(self):
path = self.get_contract_path('CompareSameValueArgument.py')
Boa3.compile_and_save(path)
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'testing_something', bytes(20),
expected_result_type=bool)
self.assertEqual(True, result)
def test_boa2_equality_test2(self):
path = self.get_contract_path('Equality2Boa2Test.py')
engine = TestEngine()
result = self.run_smart_contract(engine, path, 'main', 1)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'main', 2)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'main', 3)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'main', 4)
self.assertEqual(True, result)
result = self.run_smart_contract(engine, path, 'main', 5)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'main', 6)
self.assertEqual(False, result)
result = self.run_smart_contract(engine, path, 'main', 7)
self.assertEqual(False, result)
| 34.738589
| 97
| 0.598722
| 1,787
| 16,744
| 5.421377
| 0.074426
| 0.114575
| 0.071841
| 0.119736
| 0.879026
| 0.875
| 0.843724
| 0.81441
| 0.794385
| 0.781585
| 0
| 0.019193
| 0.293657
| 16,744
| 481
| 98
| 34.810811
| 0.799949
| 0
| 0
| 0.747525
| 0
| 0
| 0.065038
| 0.008779
| 0
| 0
| 0
| 0
| 0.200495
| 1
| 0.066832
| false
| 0
| 0.017327
| 0
| 0.089109
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
510bda90e0d53dcb3c958abd36404a8f5fdfff37
| 191
|
py
|
Python
|
management/Events/admin.py
|
imbiswas/student-management-system
|
4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518
|
[
"MIT"
] | null | null | null |
management/Events/admin.py
|
imbiswas/student-management-system
|
4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518
|
[
"MIT"
] | null | null | null |
management/Events/admin.py
|
imbiswas/student-management-system
|
4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518
|
[
"MIT"
] | null | null | null |
from __future__ import unicode_literals
from django.contrib import admin
from Events.models import *
# Register your models here.
admin.site.register(Event_Type)
admin.site.register(Event)
| 21.222222
| 39
| 0.82199
| 27
| 191
| 5.592593
| 0.592593
| 0.119205
| 0.225166
| 0.291391
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.109948
| 191
| 8
| 40
| 23.875
| 0.888235
| 0.136126
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.6
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
51466db620ff4736dd4c897ad57c4694bedeb417
| 13,660
|
py
|
Python
|
tests/test_observable/test_map.py
|
christiansandberg/RxPY
|
036027d2858ea6c9d45839c863bd791e5bb50c36
|
[
"MIT"
] | null | null | null |
tests/test_observable/test_map.py
|
christiansandberg/RxPY
|
036027d2858ea6c9d45839c863bd791e5bb50c36
|
[
"MIT"
] | null | null | null |
tests/test_observable/test_map.py
|
christiansandberg/RxPY
|
036027d2858ea6c9d45839c863bd791e5bb50c36
|
[
"MIT"
] | null | null | null |
import unittest
from reactivex import create, empty, return_value, throw
from reactivex.disposable import SerialDisposable
from reactivex.operators import map, map_indexed
from reactivex.testing import ReactiveTest, TestScheduler
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created = ReactiveTest.created
class RxException(Exception):
pass
# Helper function for raising exceptions within lambdas
def _raise(ex):
raise RxException(ex)
class TestSelect(unittest.TestCase):
def test_map_throws(self):
mapper = map(lambda x: x)
with self.assertRaises(RxException):
return_value(1).pipe(mapper).subscribe(lambda x: _raise("ex"))
with self.assertRaises(RxException):
throw("ex").pipe(mapper).subscribe(on_error=lambda ex: _raise(ex))
with self.assertRaises(RxException):
empty().pipe(mapper).subscribe(
lambda x: x, lambda ex: ex, lambda: _raise("ex")
)
def subscribe(observer, scheduler=None):
_raise("ex")
with self.assertRaises(RxException):
create(subscribe).pipe(map(lambda x: x)).subscribe()
def test_map_disposeinsidemapper(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(100, 1), on_next(200, 2), on_next(500, 3), on_next(600, 4)
)
results = scheduler.create_observer()
d = SerialDisposable()
invoked = [0]
def projection(x, *args, **kw):
invoked[0] += 1
if scheduler.clock > 400:
d.dispose()
return x
d.disposable = xs.pipe(map(projection)).subscribe(results, scheduler)
def action(scheduler, state):
return d.dispose()
scheduler.schedule_absolute(ReactiveTest.disposed, action)
scheduler.start()
assert results.messages == [on_next(100, 1), on_next(200, 2)]
assert xs.subscriptions == [ReactiveTest.subscribe(0, 500)]
assert invoked[0] == 3
def test_map_completed(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(180, 1),
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
invoked = [0]
def factory():
def projection(x):
invoked[0] += 1
return x + 1
return xs.pipe(map(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 3),
on_next(240, 4),
on_next(290, 5),
on_next(350, 6),
on_completed(400),
]
assert xs.subscriptions == [ReactiveTest.subscribe(200, 400)]
assert invoked[0] == 4
def test_map_default_mapper(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(180, 1),
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
return xs.pipe(map())
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
on_completed(400),
]
assert xs.subscriptions == [ReactiveTest.subscribe(200, 400)]
def test_map_completed_two(self):
for i in range(100):
scheduler = TestScheduler()
invoked = [0]
xs = scheduler.create_hot_observable(
on_next(180, 1),
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
def projection(x):
invoked[0] += 1
return x + 1
return xs.pipe(map(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 3),
on_next(240, 4),
on_next(290, 5),
on_next(350, 6),
on_completed(400),
]
assert xs.subscriptions == [subscribe(200, 400)]
assert invoked[0] == 4
def test_map_not_completed(self):
scheduler = TestScheduler()
invoked = [0]
xs = scheduler.create_hot_observable(
on_next(180, 1),
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
)
def factory():
def projection(x):
invoked[0] += 1
return x + 1
return xs.pipe(map(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 3),
on_next(240, 4),
on_next(290, 5),
on_next(350, 6),
]
assert xs.subscriptions == [subscribe(200, 1000)]
assert invoked[0] == 4
def test_map_error(self):
scheduler = TestScheduler()
ex = "ex"
invoked = [0]
xs = scheduler.create_hot_observable(
on_next(180, 1),
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
on_error(400, ex),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
def projection(x):
invoked[0] += 1
return x + 1
return xs.pipe(map(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 3),
on_next(240, 4),
on_next(290, 5),
on_next(350, 6),
on_error(400, ex),
]
assert xs.subscriptions == [subscribe(200, 400)]
assert invoked[0] == 4
def test_map_mapper_throws(self):
scheduler = TestScheduler()
invoked = [0]
ex = "ex"
xs = scheduler.create_hot_observable(
on_next(180, 1),
on_next(210, 2),
on_next(240, 3),
on_next(290, 4),
on_next(350, 5),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
def projection(x):
invoked[0] += 1
if invoked[0] == 3:
raise Exception(ex)
return x + 1
return xs.pipe(map(projection))
results = scheduler.start(factory)
assert results.messages == [on_next(210, 3), on_next(240, 4), on_error(290, ex)]
assert xs.subscriptions == [subscribe(200, 290)]
assert invoked[0] == 3
def test_map_with_index_throws(self):
with self.assertRaises(RxException):
mapper = map_indexed(lambda x, index: x)
return return_value(1).pipe(mapper).subscribe(lambda x: _raise("ex"))
with self.assertRaises(RxException):
return (
throw("ex").pipe(mapper).subscribe(lambda x: x, lambda ex: _raise(ex))
)
with self.assertRaises(RxException):
return (
empty()
.pipe(mapper)
.subscribe(lambda x: x, lambda ex: None, lambda: _raise("ex"))
)
with self.assertRaises(RxException):
return create(lambda o, s: _raise("ex")).pipe(mapper).subscribe()
def test_map_with_index_dispose_inside_mapper(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(100, 4), on_next(200, 3), on_next(500, 2), on_next(600, 1)
)
invoked = [0]
results = scheduler.create_observer()
d = SerialDisposable()
def projection(x, index):
invoked[0] += 1
if scheduler.clock > 400:
d.dispose()
return x + index * 10
d.disposable = xs.pipe(map_indexed(projection)).subscribe(results)
def action(scheduler, state):
return d.dispose()
scheduler.schedule_absolute(disposed, action)
scheduler.start()
assert results.messages == [on_next(100, 4), on_next(200, 13)]
assert xs.subscriptions == [subscribe(0, 500)]
assert invoked[0] == 3
def test_map_with_index_completed(self):
scheduler = TestScheduler()
invoked = [0]
xs = scheduler.create_hot_observable(
on_next(180, 5),
on_next(210, 4),
on_next(240, 3),
on_next(290, 2),
on_next(350, 1),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
def projection(x, index):
invoked[0] += 1
return (x + 1) + (index * 10)
return xs.pipe(map_indexed(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 5),
on_next(240, 14),
on_next(290, 23),
on_next(350, 32),
on_completed(400),
]
assert xs.subscriptions == [subscribe(200, 400)]
assert invoked[0] == 4
def test_map_with_index_default_mapper(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(180, 5),
on_next(210, 4),
on_next(240, 3),
on_next(290, 2),
on_next(350, 1),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
return xs.pipe(map_indexed())
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 4),
on_next(240, 3),
on_next(290, 2),
on_next(350, 1),
on_completed(400),
]
assert xs.subscriptions == [subscribe(200, 400)]
def test_map_with_index_not_completed(self):
scheduler = TestScheduler()
invoked = [0]
xs = scheduler.create_hot_observable(
on_next(180, 5),
on_next(210, 4),
on_next(240, 3),
on_next(290, 2),
on_next(350, 1),
)
def factory():
def projection(x, index):
invoked[0] += 1
return (x + 1) + (index * 10)
return xs.pipe(map_indexed(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 5),
on_next(240, 14),
on_next(290, 23),
on_next(350, 32),
]
assert xs.subscriptions == [subscribe(200, 1000)]
assert invoked[0] == 4
def test_map_with_index_error(self):
scheduler = TestScheduler()
ex = "ex"
invoked = [0]
xs = scheduler.create_hot_observable(
on_next(180, 5),
on_next(210, 4),
on_next(240, 3),
on_next(290, 2),
on_next(350, 1),
on_error(400, ex),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
def projection(x, index):
invoked[0] += 1
return (x + 1) + (index * 10)
return xs.pipe(map_indexed(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 5),
on_next(240, 14),
on_next(290, 23),
on_next(350, 32),
on_error(400, ex),
]
assert xs.subscriptions == [subscribe(200, 400)]
assert invoked[0] == 4
def test_map_with_index_mapper_throws(self):
scheduler = TestScheduler()
invoked = [0]
ex = "ex"
xs = scheduler.create_hot_observable(
on_next(180, 5),
on_next(210, 4),
on_next(240, 3),
on_next(290, 2),
on_next(350, 1),
on_completed(400),
on_next(410, -1),
on_completed(420),
on_error(430, "ex"),
)
def factory():
def projection(x, index):
invoked[0] += 1
if invoked[0] == 3:
raise Exception(ex)
return (x + 1) + (index * 10)
return xs.pipe(map_indexed(projection))
results = scheduler.start(factory)
assert results.messages == [
on_next(210, 5),
on_next(240, 14),
on_error(290, ex),
]
assert xs.subscriptions == [subscribe(200, 290)]
assert invoked[0] == 3
if __name__ == "__main__":
unittest.main()
| 28.818565
| 88
| 0.511786
| 1,520
| 13,660
| 4.421711
| 0.074342
| 0.105341
| 0.02946
| 0.038685
| 0.840798
| 0.812677
| 0.790061
| 0.778753
| 0.754947
| 0.732183
| 0
| 0.087434
| 0.373719
| 13,660
| 473
| 89
| 28.879493
| 0.698188
| 0.00388
| 0
| 0.762148
| 0
| 0
| 0.003675
| 0
| 0
| 0
| 0
| 0
| 0.11509
| 1
| 0.104859
| false
| 0.002558
| 0.012788
| 0.01023
| 0.194373
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
5aa4824098d3637fe5e3f5da5919a6352d54314e
| 21,621
|
py
|
Python
|
forms/migrations/0035_auto_20200114_1330.py
|
CodeForAfrica/gmmp
|
d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf
|
[
"Apache-2.0"
] | 4
|
2020-01-05T09:14:19.000Z
|
2022-02-17T03:22:09.000Z
|
forms/migrations/0035_auto_20200114_1330.py
|
CodeForAfrica/gmmp
|
d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf
|
[
"Apache-2.0"
] | 68
|
2019-12-23T02:19:55.000Z
|
2021-04-23T06:13:36.000Z
|
forms/migrations/0035_auto_20200114_1330.py
|
CodeForAfrica/gmmp
|
d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf
|
[
"Apache-2.0"
] | 2
|
2020-11-07T12:23:21.000Z
|
2021-11-07T18:21:31.000Z
|
# Generated by Django 2.2.9 on 2020-01-14 13:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('forms', '0034_auto_20191218_1356'),
]
operations = [
migrations.AlterField(
model_name='internetnewsperson',
name='family_role',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Code yes only if the word 'wife', 'husband' etc is actually used to describe the person.", max_length=1, verbose_name='(16) Family Role Given?'),
),
migrations.AlterField(
model_name='internetnewsperson',
name='is_quoted',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text='<p>A person is <strong>directly quoted</strong> if their own words are printed, e.g. "The war against terror is our first priority" said President Bush.</p><p>If the story paraphrases what the person said, that is not a direct quote, e.g. President Bush said that top priority would be given to fighting the war against terror.</p>', max_length=1, verbose_name='(20) Is the person directly quoted'),
),
migrations.AlterField(
model_name='internetnewsperson',
name='special_qn_1',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(20) Special question 1'),
),
migrations.AlterField(
model_name='internetnewsperson',
name='special_qn_2',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(21) Special question 2'),
),
migrations.AlterField(
model_name='internetnewsperson',
name='special_qn_3',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(22) Special question 3'),
),
migrations.AlterField(
model_name='internetnewsperson',
name='victim_or_survivor',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<p>You should code a person as a <strong>victim</strong> either if the word 'victim' is used to describe her/him, or if the story Implies that the person is a victim - e.g. by using language or images that evoke particular emotions such as shock, horror, pity for the person.</p><p>You should code a person as a <strong>survivor</strong> either if the word 'survivor' is used to describe her/him, or if the story implies that the person is a survivor - e.g. by using language or images that evoke particular emotions such as admiration or respect for the person.</p>", max_length=1, verbose_name='(17) Does the story identify the person as either a victim or survivor?'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='about_women',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(7) Is the story about a particular woman or group of women?'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='equality_rights',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Scan the full news story and code 'Yes' if it quotes or makes reference to any piece of legislation or policy that promotes gender equality or human rights.", max_length=1, verbose_name='(6) Reference to gender equality / human rights legislation/ policy'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='further_analysis',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<br><br>A story warrants further analysis if it clearly perpetuates or clearly challenges gender stereotypes, if it includes women's opinions in a remarkable way, if it contributes to an understanding of inequalities between women and men, if it mentions or calls attention to women's human rights, etc. Consult the guide for further explanation", max_length=1, verbose_name='(26) Does this story warrant further analysis?'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='inequality_women',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], verbose_name='(8) This story clearly highlights issues of inequality between women and men'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='offline_presence',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='Offline presence?'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='shared_on_facebook',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text='Has this story been shared by the media house on its Facebook Page?', max_length=1, verbose_name='(5) Shared on Facebook'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='shared_via_twitter',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text='Has this story been shared by the media house via Twitter?\n\n<br>Enter the exact URL of the story into <a href="https://unionmetrics.com/free-tools/twitter-snapshot-report/" target="_blank">https://unionmetrics.com/free-tools/twitter-snapshot-report/</a> - answer yes if the media house\'s name appears in the search results.', max_length=1, verbose_name='(4) Shared via twitter?'),
),
migrations.AlterField(
model_name='internetnewssheet',
name='stereotypes',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], help_text='This story clearly challenges gender stereotypes', verbose_name='(9) Challenges Stereotypes'),
),
migrations.AlterField(
model_name='newspaperperson',
name='family_role',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Code yes only if the word 'wife', 'husband' etc is actually used to describe the person.", max_length=1, verbose_name='(14) Family Role Given?'),
),
migrations.AlterField(
model_name='newspaperperson',
name='is_quoted',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text='<p>A person is <strong>directly quoted</strong> if their own words are printed, e.g. "The war against terror is our first priority" said President Bush.</p><p>If the story paraphrases what the person said, that is not a direct quote, e.g. President Bush said that top priority would be given to fighting the war against terror.</p>', max_length=1, verbose_name='(18) Is the person directly quoted'),
),
migrations.AlterField(
model_name='newspaperperson',
name='special_qn_1',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(20) Special question 1'),
),
migrations.AlterField(
model_name='newspaperperson',
name='special_qn_2',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(21) Special question 2'),
),
migrations.AlterField(
model_name='newspaperperson',
name='special_qn_3',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(22) Special question 3'),
),
migrations.AlterField(
model_name='newspaperperson',
name='victim_or_survivor',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<p>You should code a person as a <strong>victim</strong> either if the word 'victim' is used to describe her/him, or if the story Implies that the person is a victim - e.g. by using language or images that evoke particular emotions such as shock, horror, pity for the person.</p><p>You should code a person as a <strong>survivor</strong> either if the word 'survivor' is used to describe her/him, or if the story implies that the person is a survivor - e.g. by using language or images that evoke particular emotions such as admiration or respect for the person.</p>", max_length=1, verbose_name='(15) Does the story identify the person as either a victim or survivor?'),
),
migrations.AlterField(
model_name='newspapersheet',
name='about_women',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(6) Is the story about a particular woman or group of women?'),
),
migrations.AlterField(
model_name='newspapersheet',
name='equality_rights',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Scan the full news story and code 'Yes' if it quotes or makes reference to any piece of legislation or policy that promotes gender equality or human rights.", max_length=1, verbose_name='(5) Reference to gender equality / human rights legislation/ policy'),
),
migrations.AlterField(
model_name='newspapersheet',
name='further_analysis',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<br><br>A story warrants further analysis if it clearly perpetuates or clearly challenges gender stereotypes, if it includes women's opinions in a remarkable way, if it contributes to an understanding of inequalities between women and men, if it mentions or calls attention to women's human rights, etc. Consult the guide for further explanation", max_length=1, verbose_name='(24) Does this story warrant further analysis?'),
),
migrations.AlterField(
model_name='newspapersheet',
name='inequality_women',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], verbose_name='(7) This story clearly highlights issues of inequality between women and men'),
),
migrations.AlterField(
model_name='newspapersheet',
name='stereotypes',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], help_text='This story clearly challenges gender stereotypes', verbose_name='(8) Challenges Stereotypes'),
),
migrations.AlterField(
model_name='radioperson',
name='family_role',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Code yes only if the word 'wife', 'husband' etc is actually used to describe the person.", max_length=1, verbose_name='(13) Family Role Given?'),
),
migrations.AlterField(
model_name='radioperson',
name='special_qn_1',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(20) Special question 1'),
),
migrations.AlterField(
model_name='radioperson',
name='special_qn_2',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(21) Special question 2'),
),
migrations.AlterField(
model_name='radioperson',
name='special_qn_3',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(22) Special question 3'),
),
migrations.AlterField(
model_name='radioperson',
name='victim_or_survivor',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<p>You should code a person as a <strong>victim</strong> either if the word 'victim' is used to describe her/him, or if the story Implies that the person is a victim - e.g. by using language or images that evoke particular emotions such as shock, horror, pity for the person.</p><p>You should code a person as a <strong>survivor</strong> either if the word 'survivor' is used to describe her/him, or if the story implies that the person is a survivor - e.g. by using language or images that evoke particular emotions such as admiration or respect for the person.</p>", max_length=1, verbose_name='(14) Does the story identify the person as either a victim or survivor?'),
),
migrations.AlterField(
model_name='radiosheet',
name='about_women',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(5) Is the story about a particular woman or group of women?'),
),
migrations.AlterField(
model_name='radiosheet',
name='equality_rights',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Scan the full news story and code 'Yes' if it quotes or makes reference to any piece of legislation or policy that promotes gender equality or human rights.", max_length=1, verbose_name='(4) Reference to gender equality / human rights legislation/ policy'),
),
migrations.AlterField(
model_name='radiosheet',
name='further_analysis',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<br><br>A story warrants further analysis if it clearly perpetuates or clearly challenges gender stereotypes, if it includes women's opinions in a remarkable way, if it contributes to an understanding of inequalities between women and men, if it mentions or calls attention to women's human rights, etc. Consult the guide for further explanation", max_length=1, verbose_name='(20) Does this story warrant further analysis?'),
),
migrations.AlterField(
model_name='radiosheet',
name='inequality_women',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], verbose_name='(6) This story clearly highlights issues of inequality between women and men'),
),
migrations.AlterField(
model_name='radiosheet',
name='stereotypes',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], help_text='This story clearly challenges gender stereotypes', verbose_name='(7) Challenges Stereotypes'),
),
migrations.AlterField(
model_name='televisionperson',
name='family_role',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Code yes only if the word 'wife', 'husband' etc is actually used to describe the person.", max_length=1, verbose_name='(15) Family Role Given?'),
),
migrations.AlterField(
model_name='televisionperson',
name='special_qn_1',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(20) Special question 1'),
),
migrations.AlterField(
model_name='televisionperson',
name='special_qn_2',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(21) Special question 2'),
),
migrations.AlterField(
model_name='televisionperson',
name='special_qn_3',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(22) Special question 3'),
),
migrations.AlterField(
model_name='televisionperson',
name='victim_or_survivor',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<p>You should code a person as a <strong>victim</strong> either if the word 'victim' is used to describe her/him, or if the story Implies that the person is a victim - e.g. by using language or images that evoke particular emotions such as shock, horror, pity for the person.</p><p>You should code a person as a <strong>survivor</strong> either if the word 'survivor' is used to describe her/him, or if the story implies that the person is a survivor - e.g. by using language or images that evoke particular emotions such as admiration or respect for the person.</p>", max_length=1, verbose_name='(16) Does the story identify the person as either a victim or survivor?'),
),
migrations.AlterField(
model_name='televisionsheet',
name='about_women',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(5) Is the story about a particular woman or group of women?'),
),
migrations.AlterField(
model_name='televisionsheet',
name='equality_rights',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Scan the full news story and code 'Yes' if it quotes or makes reference to any piece of legislation or policy that promotes gender equality or human rights.", max_length=1, verbose_name='(4) Reference to gender equality / human rights legislation/ policy'),
),
migrations.AlterField(
model_name='televisionsheet',
name='further_analysis',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<br><br>A story warrants further analysis if it clearly perpetuates or clearly challenges gender stereotypes, if it includes women's opinions in a remarkable way, if it contributes to an understanding of inequalities between women and men, if it mentions or calls attention to women's human rights, etc. Consult the guide for further explanation", max_length=1, verbose_name='(22) Does this story warrant further analysis?'),
),
migrations.AlterField(
model_name='televisionsheet',
name='inequality_women',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], verbose_name='(6) This story clearly highlights issues of inequality between women and men'),
),
migrations.AlterField(
model_name='televisionsheet',
name='stereotypes',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], help_text='This story clearly challenges gender stereotypes', verbose_name='(7) Challenges Stereotypes'),
),
migrations.AlterField(
model_name='twitterperson',
name='special_qn_1',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(14) Special question 1'),
),
migrations.AlterField(
model_name='twitterperson',
name='special_qn_2',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(15) Special question 2'),
),
migrations.AlterField(
model_name='twitterperson',
name='special_qn_3',
field=models.CharField(blank=True, choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(16) Special question 3'),
),
migrations.AlterField(
model_name='twittersheet',
name='about_women',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], max_length=1, verbose_name='(4) Is the story about a particular woman or group of women?'),
),
migrations.AlterField(
model_name='twittersheet',
name='equality_rights',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="Scan the full news story and code 'Yes' if it quotes or makes reference to any piece of legislation or policy that promotes gender equality or human rights.", max_length=1, verbose_name='(3) Reference to gender equality / human rights legislation/ policy'),
),
migrations.AlterField(
model_name='twittersheet',
name='further_analysis',
field=models.CharField(choices=[('Y', '(1) Yes'), ('N', '(2) No')], help_text="<br><br>A tweet warrants further analysis if it clearly perpetuates or clearly challenges gender stereotypes, if it includes women's opinions in a remarkable way, if it contributes to an understanding of inequalities between women and men, if it mentions or calls attention to women's human rights, etc. Consult the guide for further explanation", max_length=1, verbose_name='(18) Does this tweet warrant further analysis?'),
),
migrations.AlterField(
model_name='twittersheet',
name='inequality_women',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], verbose_name='(5) This story clearly highlights issues of inequality between women and men'),
),
migrations.AlterField(
model_name='twittersheet',
name='stereotypes',
field=models.PositiveIntegerField(choices=[(1, '(1) Agree'), (2, '(2) Disagree')], help_text='This story clearly challenges gender stereotypes', verbose_name='(6) Challenges Stereotypes'),
),
]
| 77.494624
| 762
| 0.641321
| 2,812
| 21,621
| 4.842461
| 0.082148
| 0.077844
| 0.097305
| 0.112874
| 0.969377
| 0.969377
| 0.914445
| 0.888155
| 0.856209
| 0.848278
| 0
| 0.018541
| 0.221683
| 21,621
| 278
| 763
| 77.773381
| 0.790647
| 0.002081
| 0
| 0.841912
| 1
| 0.084559
| 0.508343
| 0.010939
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.003676
| 0
| 0.014706
| 0.007353
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
5aa8056034464d62358e3e0cb976930423ab1ffb
| 1,295
|
py
|
Python
|
userBotInterface/models.py
|
nimag42/HungryBot
|
43f51925329b25e56856f3c411588153504155ac
|
[
"MIT"
] | null | null | null |
userBotInterface/models.py
|
nimag42/HungryBot
|
43f51925329b25e56856f3c411588153504155ac
|
[
"MIT"
] | null | null | null |
userBotInterface/models.py
|
nimag42/HungryBot
|
43f51925329b25e56856f3c411588153504155ac
|
[
"MIT"
] | null | null | null |
from django.db import models
class choice_str(models.Model):
text = models.CharField(max_length=200)
nb_choice = models.IntegerField('Number of choice', default=0)
def __unicode__(self):
return self.text
class hello_morning(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class what_morning(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class what_dejeuner(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class entree_str(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class plat_str(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class dessert_str(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class hello_dinner(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
class what_dinner(models.Model):
text = models.CharField(max_length=200)
def __unicode__(self):
return self.text
| 21.583333
| 66
| 0.689575
| 167
| 1,295
| 5.017964
| 0.191617
| 0.118138
| 0.161098
| 0.225537
| 0.871122
| 0.871122
| 0.871122
| 0.871122
| 0.819809
| 0.76611
| 0
| 0.027478
| 0.213127
| 1,295
| 59
| 67
| 21.949153
| 0.794897
| 0
| 0
| 0.710526
| 0
| 0
| 0.012355
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.236842
| false
| 0
| 0.026316
| 0.236842
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 11
|
51c981ea4d6b24ae4510f19c1bde8d5416c30cdc
| 22,615
|
py
|
Python
|
data_analysis_tools_for_gfbs_data/scraper_analyser_tests.py
|
MedadRufus/MastersProject
|
b2e498e14e1e8b9bcae29c4236522f65711f685b
|
[
"MIT"
] | null | null | null |
data_analysis_tools_for_gfbs_data/scraper_analyser_tests.py
|
MedadRufus/MastersProject
|
b2e498e14e1e8b9bcae29c4236522f65711f685b
|
[
"MIT"
] | 205
|
2021-01-28T17:08:22.000Z
|
2021-06-29T17:08:47.000Z
|
data_analysis_tools_for_gfbs_data/scraper_analyser_tests.py
|
MedadRufus/MastersProject
|
b2e498e14e1e8b9bcae29c4236522f65711f685b
|
[
"MIT"
] | null | null | null |
import unittest
from datetime import datetime
from statistics import variance
class Test_Scorer(unittest.TestCase):
def test_variance_0(self):
values = [38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906]
res = variance(values)
self.assertEqual(0,res)
def test_variance_small_value(self):
values = [38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 36]
res = variance(values)
self.assertAlmostEqual(0.014135011162311006,res)
if __name__ == '__main__':
unittest.main()
| 1,027.954545
| 11,118
| 0.84665
| 2,267
| 22,615
| 8.439788
| 0.011469
| 0.985366
| 1.099305
| 1.967177
| 0.986411
| 0.986411
| 0.986411
| 0.986411
| 0.986411
| 0.986411
| 0
| 0.881932
| 0.053593
| 22,615
| 22
| 11,119
| 1,027.954545
| 0.012008
| 0
| 0
| 0.142857
| 0
| 0
| 0.000354
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 1
| 0.142857
| false
| 0
| 0.214286
| 0
| 0.428571
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 13
|
51ea87e57eb8c0be4dd48a72bf77a7d41c9e3c32
| 1,926
|
py
|
Python
|
tests/test_bha.py
|
R3bs/darwin
|
3ebb0888ea9f0b688ba6aa1734667e62b721df53
|
[
"MIT"
] | null | null | null |
tests/test_bha.py
|
R3bs/darwin
|
3ebb0888ea9f0b688ba6aa1734667e62b721df53
|
[
"MIT"
] | 28
|
2019-06-12T19:55:23.000Z
|
2019-08-06T02:47:26.000Z
|
tests/test_bha.py
|
R3bs/darwin
|
3ebb0888ea9f0b688ba6aa1734667e62b721df53
|
[
"MIT"
] | null | null | null |
import pytest
import darwin
import numpy as np
# define the mapping parameters used
x = (-200,+200)
y = (-1000,+1000)
# discrete used
map1 = (0,1,2,3)
map2 = ('a', 'b', 'c', 'd')
def test_htcondor_bha_continuous(supplyFitnessFunction):
bha = darwin.Algorithm(darwin.opt.BlackHoleAlgorithm)
bha.particles = np.random.randint(5, 20)
bha.iterations = np.random.randint(5, 15)
bha.executionEngine = darwin.drm.HTCondor
bha.addVariable('x', x)
bha.addVariable('y', y)
bha.function = supplyFitnessFunction
bha.submitFile = 'sanity.submit'
bha.start()
def test_htcondor_bha_discrete(supplyDiscreteFitnessFunction):
bha = darwin.Algorithm(darwin.opt.BlackHoleAlgorithm)
bha.particles = np.random.randint(5, 20)
bha.iterations = np.random.randint(5, 15)
bha.executionEngine = darwin.drm.HTCondor
bha.addVariable('map1', map1, discrete=True)
bha.addVariable('map2', map2, discrete=True)
bha.function = supplyDiscreteFitnessFunction
bha.submitFile = 'sanity_discrete.submit'
bha.start()
def test_local_bha_continuous(supplyFitnessFunction):
bha = darwin.Algorithm(darwin.opt.BlackHoleAlgorithm)
bha.particles = np.random.randint(5, 20)
bha.iterations = np.random.randint(5, 15)
bha.executionEngine = darwin.drm.TaskSpooler
bha.addVariable('x', x)
bha.addVariable('y', y)
bha.function = supplyFitnessFunction
bha.submitFile = 'sanity.submit'
bha.start()
def test_local_bha_discrete(supplyDiscreteFitnessFunction):
bha = darwin.Algorithm(darwin.opt.BlackHoleAlgorithm)
bha.particles = np.random.randint(5, 20)
bha.iterations = np.random.randint(5, 15)
bha.executionEngine = darwin.drm.TaskSpooler
bha.addVariable('map1', map1, discrete=True)
bha.addVariable('map2', map2, discrete=True)
bha.function = supplyDiscreteFitnessFunction
bha.submitFile = 'sanity_discrete.submit'
bha.start()
| 32.644068
| 62
| 0.722222
| 233
| 1,926
| 5.909871
| 0.23176
| 0.046478
| 0.087146
| 0.092956
| 0.901235
| 0.901235
| 0.901235
| 0.888889
| 0.888889
| 0.888889
| 0
| 0.031921
| 0.154206
| 1,926
| 58
| 63
| 33.206897
| 0.813382
| 0.024922
| 0
| 0.765957
| 0
| 0
| 0.050214
| 0.023504
| 0
| 0
| 0
| 0
| 0
| 1
| 0.085106
| false
| 0
| 0.06383
| 0
| 0.148936
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
cfd5c834aa6b5c09b06e22426499ae1e9c40bf4d
| 40
|
py
|
Python
|
alicehoyle/blueprints/pages/__init__.py
|
benhoyle/alicewebsite
|
52516d56ca105cdc4e17f3e8e3855d135c845a35
|
[
"MIT"
] | null | null | null |
alicehoyle/blueprints/pages/__init__.py
|
benhoyle/alicewebsite
|
52516d56ca105cdc4e17f3e8e3855d135c845a35
|
[
"MIT"
] | null | null | null |
alicehoyle/blueprints/pages/__init__.py
|
benhoyle/alicewebsite
|
52516d56ca105cdc4e17f3e8e3855d135c845a35
|
[
"MIT"
] | null | null | null |
from blueprints.pages.views import pages
| 40
| 40
| 0.875
| 6
| 40
| 5.833333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.075
| 40
| 1
| 40
| 40
| 0.945946
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
|
0
| 7
|
320cdc92e10dadae0dea4c5979cf24490712f6c1
| 21,823
|
py
|
Python
|
new/CustomVAE.py
|
yizhouzhao/3D_SLN
|
5db241f1daa6e8095b69ff8467551ce374b598b6
|
[
"Apache-2.0"
] | null | null | null |
new/CustomVAE.py
|
yizhouzhao/3D_SLN
|
5db241f1daa6e8095b69ff8467551ce374b598b6
|
[
"Apache-2.0"
] | null | null | null |
new/CustomVAE.py
|
yizhouzhao/3D_SLN
|
5db241f1daa6e8095b69ff8467551ce374b598b6
|
[
"Apache-2.0"
] | null | null | null |
from logging import log
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Categorical
from models.graph import make_mlp, GraphTripleConvNet, _init_weights
from torch_geometric.nn import RGCNConv
from torch_scatter import scatter_mean
from transformers import BertModel, BertConfig
from transformers.models.bert.modeling_bert import BertEncoder, BertPooler
class OriVAEDecoder(nn.Module):
def __init__(self, vocab, embedding_dim=128, batch_size=32,
train_3d=True,
decoder_cat=False,
Nangle=24,
gconv_mode='feedforward',
gconv_pooling='avg', gconv_num_layers=5,
mlp_normalization='none',
vec_noise_dim=0,
layout_noise_dim=0,
use_AE=False,
use_attr=True):
super().__init__()
gconv_dim = embedding_dim
gconv_hidden_dim = gconv_dim * 4
box_embedding_dim = int(embedding_dim * 3 / 4)
angle_embedding_dim = int(embedding_dim / 4)
attr_embedding_dim = 0
obj_embedding_dim = embedding_dim
self.use_attr = use_attr
self.batch_size = batch_size
self.train_3d = train_3d
self.decoder_cat = decoder_cat
self.vocab = vocab
self.vec_noise_dim = vec_noise_dim
self.layout_noise_dim = layout_noise_dim
self.use_AE = use_AE
if self.use_attr:
obj_embedding_dim = int(embedding_dim * 3 / 4)
attr_embedding_dim = int(embedding_dim / 4)
num_objs = len(vocab['object_idx_to_name'])
num_preds = len(vocab['pred_idx_to_name'])
num_attrs = len(vocab['attrib_idx_to_name'])
self.obj_embeddings_dc = nn.Embedding(num_objs + 1, obj_embedding_dim)
self.pred_embeddings_dc = nn.Embedding(num_preds, embedding_dim)
if use_attr:
self.attr_embedding_dc = nn.Embedding(num_attrs, attr_embedding_dim)
if self.decoder_cat:
self.pred_embeddings_dc = nn.Embedding(num_preds, embedding_dim * 2)
if gconv_num_layers > 0:
gconv_kwargs_dc = {
'input_dim': gconv_dim,
'hidden_dim': gconv_hidden_dim,
'pooling': gconv_pooling,
'num_layers': gconv_num_layers,
'mode': gconv_mode,
'mlp_normalization': mlp_normalization,
}
if self.decoder_cat:
gconv_kwargs_dc['input_dim'] = gconv_dim * 2
self.gconv_net_dc = GraphTripleConvNet(**gconv_kwargs_dc)
# box prediction net
if self.train_3d:
box_net_dim = 6
else:
box_net_dim = 4
box_net_layers = [gconv_dim * 2, gconv_hidden_dim, box_net_dim]
if self.use_attr:
box_net_layers = [gconv_dim * 2 + attr_embedding_dim, gconv_hidden_dim, box_net_dim]
# print("box_net_layers", box_net_layers)
self.box_net = make_mlp(box_net_layers, batch_norm=mlp_normalization, norelu=True)
# angle prediction net
angle_net_layers = [gconv_dim * 2, gconv_hidden_dim, Nangle]
self.angle_net = make_mlp(angle_net_layers, batch_norm=mlp_normalization, norelu=True)
def decoder(self, z, objs, triples, attributes):
s, p, o = triples.chunk(3, dim=1) # All have shape (T, 1)
s, p, o = [x.squeeze(1) for x in [s, p, o]] # Now have shape (T,)
edges = torch.stack([s, o], dim=1) # Shape is (T, 2)
obj_vecs = self.obj_embeddings_dc(objs)
if self.use_attr:
attr_vecs = self.attr_embedding_dc(attributes)
obj_vecs = torch.cat([obj_vecs, attr_vecs], dim=1)
pred_vecs = self.pred_embeddings_dc(p)
# concatenate noise first
if self.decoder_cat:
obj_vecs = torch.cat([obj_vecs, z], dim=1)
obj_vecs, pred_vecs = self.gconv_net_dc(obj_vecs, pred_vecs, edges)
# concatenate noise after gconv
else:
obj_vecs, pred_vecs = self.gconv_net_dc(obj_vecs, pred_vecs, edges)
obj_vecs = torch.cat([obj_vecs, z], dim=1)
if self.use_attr:
obj_vecs_box = torch.cat([obj_vecs, attr_vecs], dim=1)
# print("obj_vecs_box", obj_vecs_box.shape)
boxes_pred = self.box_net(obj_vecs_box)
else:
boxes_pred = self.box_net(obj_vecs)
angles_pred = F.log_softmax(self.angle_net(obj_vecs), dim=1)
return boxes_pred, angles_pred
class RGCNDecoder(nn.Module):
def __init__(self, vocab, embedding_dim=128, batch_size=32,
train_3d=True,
decoder_cat=False,
Nangle=24,
gconv_mode='feedforward',
gconv_pooling='avg', gconv_num_layers=5,
mlp_normalization='none',
vec_noise_dim=0,
layout_noise_dim=0,
use_AE=False,
use_attr=True):
super().__init__()
gconv_dim = embedding_dim
gconv_hidden_dim = gconv_dim * 4
box_embedding_dim = int(embedding_dim * 3 / 4)
angle_embedding_dim = int(embedding_dim / 4)
attr_embedding_dim = 0
obj_embedding_dim = embedding_dim
self.use_attr = use_attr
self.batch_size = batch_size
self.train_3d = train_3d
self.decoder_cat = decoder_cat
self.vocab = vocab
self.vec_noise_dim = vec_noise_dim
self.layout_noise_dim = layout_noise_dim
self.use_AE = use_AE
if self.use_attr:
obj_embedding_dim = int(embedding_dim * 3 / 4)
attr_embedding_dim = int(embedding_dim / 4)
num_objs = len(vocab['object_idx_to_name'])
num_preds = len(vocab['pred_idx_to_name'])
num_attrs = len(vocab['attrib_idx_to_name'])
self.obj_embeddings_dc = nn.Embedding(num_objs + 1, obj_embedding_dim)
#self.pred_embeddings_dc = nn.Embedding(num_preds, embedding_dim)
if use_attr:
self.attr_embedding_dc = nn.Embedding(num_attrs, attr_embedding_dim)
# if self.decoder_cat:
# self.pred_embeddings_dc = nn.Embedding(num_preds, embedding_dim * 2)
if gconv_num_layers > 0:
gconv_kwargs_dc = {
'input_dim': gconv_dim,
#'hidden_dim': gconv_hidden_dim,
#'pooling': gconv_pooling,
'num_layers': gconv_num_layers,
#'mode': gconv_mode,
#'mlp_normalization': mlp_normalization,
}
if self.decoder_cat:
gconv_kwargs_dc['input_dim'] = gconv_dim * 2
self.gconv_net_dc = nn.ModuleList()
for j in range(gconv_num_layers):
self.gconv_net_dc.append(RGCNConv(gconv_kwargs_dc['input_dim'] , gconv_kwargs_dc['input_dim'] , num_relations=16))
# box prediction net
if self.train_3d:
box_net_dim = 6
else:
box_net_dim = 4
box_net_layers = [gconv_dim * 2, gconv_hidden_dim, box_net_dim]
if self.use_attr:
box_net_layers = [gconv_dim * 2 + attr_embedding_dim, gconv_hidden_dim, box_net_dim]
# print("box_net_layers", box_net_layers)
self.box_net = make_mlp(box_net_layers, batch_norm=mlp_normalization, norelu=True)
# angle prediction net
angle_net_layers = [gconv_dim * 2, gconv_hidden_dim, Nangle]
self.angle_net = make_mlp(angle_net_layers, batch_norm=mlp_normalization, norelu=True)
def decoder(self, z, objs, triples, attributes):
s, p, o = triples.chunk(3, dim=1) # All have shape (T, 1)
s, p, o = [x.squeeze(1) for x in [s, p, o]] # Now have shape (T,)
edges = torch.stack([s, o], dim=1).transpose(0, 1) # Shape is (2, T)
obj_vecs = self.obj_embeddings_dc(objs)
if self.use_attr:
attr_vecs = self.attr_embedding_dc(attributes)
obj_vecs = torch.cat([obj_vecs, attr_vecs], dim=1)
# pred_vecs = self.pred_embeddings_dc(p)
# concatenate noise first
if self.decoder_cat:
obj_vecs = torch.cat([obj_vecs, z], dim=1)
for j in range(len(self.gconv_net_dc)):
print(j, "obj_vecs", obj_vecs.shape)
print("edges", edges.shape)
obj_vecs = self.gconv_net_dc[j](obj_vecs, edges, edge_type = p)
obj_vecs = torch.relu(obj_vecs)
# concatenate noise after gconv
else:
for j in range(len(self.gconv_net_dc)):
obj_vecs = self.gconv_net_dc[j](obj_vecs, edges, edge_type = p)
obj_vecs = torch.relu(obj_vecs)
obj_vecs = torch.cat([obj_vecs, z], dim=1)
if self.use_attr:
obj_vecs_box = torch.cat([obj_vecs, attr_vecs], dim=1)
# print("obj_vecs_box", obj_vecs_box.shape)
boxes_pred = self.box_net(obj_vecs_box)
else:
boxes_pred = self.box_net(obj_vecs)
angles_pred = F.log_softmax(self.angle_net(obj_vecs), dim=1)
return boxes_pred, angles_pred
class OriVAEEncoder(nn.Module):
def __init__(self, vocab, embedding_dim=128, batch_size=32,
train_3d=True,
decoder_cat=False,
Nangle=24,
gconv_mode='feedforward',
gconv_pooling='avg', gconv_num_layers=5,
mlp_normalization='none',
vec_noise_dim=0,
layout_noise_dim=0,
use_AE=False,
use_attr=True):
super().__init__()
gconv_dim = embedding_dim
gconv_hidden_dim = gconv_dim * 4
box_embedding_dim = int(embedding_dim * 3 / 4)
angle_embedding_dim = int(embedding_dim / 4)
attr_embedding_dim = 0
obj_embedding_dim = embedding_dim
self.use_attr = use_attr
self.batch_size = batch_size
self.train_3d = train_3d
self.decoder_cat = decoder_cat
self.vocab = vocab
self.vec_noise_dim = vec_noise_dim
self.layout_noise_dim = layout_noise_dim
self.use_AE = use_AE
if self.use_attr:
obj_embedding_dim = int(embedding_dim * 3 / 4)
attr_embedding_dim = int(embedding_dim / 4)
num_objs = len(vocab['object_idx_to_name'])
num_preds = len(vocab['pred_idx_to_name'])
num_attrs = len(vocab['attrib_idx_to_name'])
# making nets
self.obj_embeddings_ec = nn.Embedding(num_objs + 1, obj_embedding_dim)
self.pred_embeddings_ec = nn.Embedding(num_preds, embedding_dim * 2)
self.obj_embeddings_dc = nn.Embedding(num_objs + 1, obj_embedding_dim)
self.pred_embeddings_dc = nn.Embedding(num_preds, embedding_dim)
if use_attr:
self.attr_embedding_ec = nn.Embedding(num_attrs, attr_embedding_dim)
if self.train_3d:
self.box_embeddings = nn.Linear(6, box_embedding_dim)
else:
self.box_embeddings = nn.Linear(4, box_embedding_dim)
self.angle_embeddings = nn.Embedding(Nangle, angle_embedding_dim)
# weight sharing of mean and var
self.box_mean_var = make_mlp([embedding_dim * 2, gconv_hidden_dim, embedding_dim * 2],
batch_norm=mlp_normalization)
self.box_mean = make_mlp([embedding_dim * 2, box_embedding_dim], batch_norm=mlp_normalization, norelu=True)
self.box_var = make_mlp([embedding_dim * 2, box_embedding_dim], batch_norm=mlp_normalization, norelu=True)
self.angle_mean_var = make_mlp([embedding_dim * 2, gconv_hidden_dim, embedding_dim * 2],
batch_norm=mlp_normalization)
self.angle_mean = make_mlp([embedding_dim * 2, angle_embedding_dim], batch_norm=mlp_normalization, norelu=True)
self.angle_var = make_mlp([embedding_dim * 2, angle_embedding_dim], batch_norm=mlp_normalization, norelu=True) # graph conv net
self.gconv_net_ec = None
if gconv_num_layers > 0:
gconv_kwargs_ec = {
'input_dim': gconv_dim * 2,
'hidden_dim': gconv_hidden_dim,
'pooling': gconv_pooling,
'num_layers': gconv_num_layers,
'mode': gconv_mode,
'mlp_normalization': mlp_normalization,
}
self.gconv_net_ec = GraphTripleConvNet(**gconv_kwargs_ec)
def encoder(self, objs, triples, boxes_gt, angles_gt, attributes):
O, T = objs.size(0), triples.size(0)
s, p, o = triples.chunk(3, dim=1) # All have shape (T, 1)
s, p, o = [x.squeeze(1) for x in [s, p, o]] # Now have shape (T,)
edges = torch.stack([s, o], dim=1) # Shape is (T, 2)
obj_vecs = self.obj_embeddings_ec(objs)
if self.use_attr:
attr_vecs = self.attr_embedding_ec(attributes)
obj_vecs = torch.cat([obj_vecs, attr_vecs], dim=1)
angle_vecs = self.angle_embeddings(angles_gt)
pred_vecs = self.pred_embeddings_ec(p)
boxes_vecs = self.box_embeddings(boxes_gt)
obj_vecs = torch.cat([obj_vecs, boxes_vecs, angle_vecs], dim=1)
if self.gconv_net_ec is not None:
obj_vecs, pred_vecs = self.gconv_net_ec(obj_vecs, pred_vecs, edges)
obj_vecs_box = self.box_mean_var(obj_vecs)
mu_box = self.box_mean(obj_vecs_box)
logvar_box = self.box_var(obj_vecs_box)
obj_vecs_angle = self.angle_mean_var(obj_vecs)
mu_angle = self.angle_mean(obj_vecs_angle)
logvar_angle = self.angle_var(obj_vecs_angle)
mu = torch.cat([mu_box, mu_angle], dim=1)
logvar = torch.cat([logvar_box, logvar_angle], dim=1)
return mu, logvar
class TransformerEncoder(nn.Module):
def __init__(self, vocab, embedding_dim=128, batch_size=32,
train_3d=True,
decoder_cat=False,
Nangle=24,
gconv_mode='feedforward',
gconv_pooling='avg', gconv_num_layers=5,
mlp_normalization='none',
vec_noise_dim=0,
layout_noise_dim=0,
use_AE=False,
use_attr=True):
super().__init__()
gconv_dim = embedding_dim
gconv_hidden_dim = gconv_dim * 4
box_embedding_dim = int(embedding_dim * 3 / 4)
angle_embedding_dim = int(embedding_dim / 4)
attr_embedding_dim = 0
obj_embedding_dim = embedding_dim
self.use_attr = use_attr
self.batch_size = batch_size
self.train_3d = train_3d
self.decoder_cat = decoder_cat
self.vocab = vocab
self.vec_noise_dim = vec_noise_dim
self.layout_noise_dim = layout_noise_dim
self.use_AE = use_AE
if self.use_attr:
obj_embedding_dim = int(embedding_dim * 3 / 4)
attr_embedding_dim = int(embedding_dim / 4)
num_objs = len(vocab['object_idx_to_name'])
num_preds = len(vocab['pred_idx_to_name'])
num_attrs = len(vocab['attrib_idx_to_name'])
# making nets
self.obj_embeddings_ec = nn.Embedding(num_objs + 1, obj_embedding_dim)
if use_attr:
self.attr_embedding_ec = nn.Embedding(num_attrs, attr_embedding_dim)
if self.train_3d:
self.box_embeddings = nn.Linear(6, box_embedding_dim)
else:
self.box_embeddings = nn.Linear(4, box_embedding_dim)
self.angle_embeddings = nn.Embedding(Nangle, angle_embedding_dim)
## transformer
self.bert_config = BertConfig()
self.bert_config.hidden_size = 2 * embedding_dim
self.bert_encoder = BertEncoder(self.bert_config)
## latent representation
self.box_mean_var = make_mlp([embedding_dim * 2, gconv_hidden_dim, embedding_dim * 2],
batch_norm=mlp_normalization)
self.box_mean = make_mlp([embedding_dim * 2, box_embedding_dim], batch_norm=mlp_normalization, norelu=True)
self.box_var = make_mlp([embedding_dim * 2, box_embedding_dim], batch_norm=mlp_normalization, norelu=True)
self.angle_mean_var = make_mlp([embedding_dim * 2, gconv_hidden_dim, embedding_dim * 2],
batch_norm=mlp_normalization)
self.angle_mean = make_mlp([embedding_dim * 2, angle_embedding_dim], batch_norm=mlp_normalization, norelu=True)
self.angle_var = make_mlp([embedding_dim * 2, angle_embedding_dim], batch_norm=mlp_normalization, norelu=True) # graph conv net
def encoder(self, objs, boxes_gt, angles_gt, attributes, attention_mask):
'''
Get the score matrix for sampling distributions
'''
obj_vecs = self.obj_embeddings_ec(objs)
if self.use_attr:
attr_vecs = self.attr_embedding_ec(attributes)
obj_vecs = torch.cat([obj_vecs, attr_vecs], dim=1)
angle_vecs = self.angle_embeddings(angles_gt)
boxes_vecs = self.box_embeddings(boxes_gt)
obj_vecs = torch.cat([obj_vecs, boxes_vecs, angle_vecs], dim=1) #[B x D]
obj_vecs = obj_vecs.unsqueeze(0) # [1xBxD]
# attention mask
# obj_counts = [torch.sum(obj_to_img == i).item() for i in range(self.batch_size)]
# block_list = [torch.ones((obj_counts[i],obj_counts[i])) for i in range(self.batch_size)]
# attention_mask = torch.block_diag(*block_list).to(obj_vecs.device) # [BxB]
# the attention mask is expand as [1 x 1 x B x B]
bert_outputs = self.bert_encoder(obj_vecs, attention_mask=attention_mask[None,None,:,:])[0] # [1 x B x D]
return bert_outputs # [1 x B x D]
def get_hidden_representation(self, hidden_states):
obj_encodings = hidden_states.squeeze(0)
obj_vecs_box = self.box_mean_var(obj_encodings)
mu_box = self.box_mean(obj_vecs_box)
logvar_box = self.box_var(obj_vecs_box)
obj_vecs_angle = self.angle_mean_var(obj_encodings)
mu_angle = self.angle_mean(obj_vecs_angle)
logvar_angle = self.angle_var(obj_vecs_angle)
mu = torch.cat([mu_box, mu_angle], dim=1)
logvar = torch.cat([logvar_box, logvar_angle], dim=1)
return mu, logvar # [B x H]
def get_global_hidden_representation(self, hidden_states, obj_to_img):
obj_encodings = hidden_states.squeeze(0)
pooled_encodings= scatter_mean(obj_encodings,obj_to_img, dim = 0) # [args.batch x D]
obj_vecs_box = self.box_mean_var(pooled_encodings)
mu_box = self.box_mean(obj_vecs_box)
logvar_box = self.box_var(obj_vecs_box)
obj_vecs_angle = self.angle_mean_var(pooled_encodings)
mu_angle = self.angle_mean(obj_vecs_angle)
logvar_angle = self.angle_var(obj_vecs_angle)
mu = torch.cat([mu_box, mu_angle], dim=1)
logvar = torch.cat([logvar_box, logvar_angle], dim=1)
return mu, logvar # [args.batch x H]
class GraphGenerator(nn.Module):
def __init__(self, vocab, embedding_dim=128, batch_size=32,
train_3d=True,
decoder_cat=False,
Nangle=24,
gconv_mode='feedforward',
gconv_pooling='avg', gconv_num_layers=5,
mlp_normalization='none',
vec_noise_dim=0,
layout_noise_dim=0,
use_AE=False,
use_attr=True):
super().__init__()
self.batch_size = batch_size
# edge linker
self.subject_linear = make_mlp([2 * embedding_dim, embedding_dim])
self.object_linear = make_mlp([2 * embedding_dim, embedding_dim])
def get_score_matrix(self, hidden_states, attention_mask):
'''
Get the score matrix for linking edges from the output hidden states of the transformer
'''
subject_linear_output = self.subject_linear(hidden_states) # [1 x B x D']
object_linear_output = self.object_linear(hidden_states) # [1 x B x D']
subject_linear_output = subject_linear_output.squeeze(0)
object_linear_output = object_linear_output.squeeze(0)
score_matrix = torch.matmul(subject_linear_output, object_linear_output.transpose(0, 1))
score_matrix = score_matrix - 10000.0 * (1.0 - attention_mask)
return score_matrix
def sample(self, score_matrix, obj_to_img, get_entropy=True):
'''
Sample the indexes of obj parents from the score matrix
'''
offset = 0
all_samples = []
all_log_probs = []
all_entropy = []
obj_counts = [torch.sum(obj_to_img == i).item() for i in range(self.batch_size)]
for i in range(len(obj_counts)):
block_size = obj_counts[i]
score_block = score_matrix[offset : offset + block_size, offset : offset + block_size]
# get the categorical distribution
m_block = Categorical(logits= score_block)
# get samples and probs
sample_block = m_block.sample()
log_prob_block = m_block.log_prob(sample_block)
sample_block = sample_block + offset # add offset
all_samples.append(sample_block)
all_log_probs.append(log_prob_block)
if get_entropy:
all_entropy.append(m_block.entropy())
offset += block_size
all_samples = torch.cat(all_samples, dim = 0)
all_log_probs = torch.cat(all_log_probs, dim = 0)
if get_entropy:
all_entropy = torch.cat(all_entropy, dim = 0)
return all_samples, all_log_probs, all_entropy
| 41.967308
| 142
| 0.621363
| 2,944
| 21,823
| 4.238451
| 0.069973
| 0.100978
| 0.019795
| 0.030774
| 0.824571
| 0.798045
| 0.784821
| 0.762141
| 0.748037
| 0.743549
| 0
| 0.014045
| 0.288778
| 21,823
| 520
| 143
| 41.967308
| 0.789898
| 0.075196
| 0
| 0.787879
| 0
| 0
| 0.023932
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.032828
| false
| 0
| 0.025253
| 0
| 0.090909
| 0.005051
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
32139b604c559e3108e15cb3750b678bd6830526
| 61
|
py
|
Python
|
src/python/project/model.py
|
datitran/ds-concourse-ci
|
6b993a28178dd991cb4af5e4322aa9f814a4890b
|
[
"MIT"
] | 2
|
2017-06-16T15:45:42.000Z
|
2018-08-06T13:55:47.000Z
|
src/python/project/model.py
|
datitran/ds-concourse-ci
|
6b993a28178dd991cb4af5e4322aa9f814a4890b
|
[
"MIT"
] | null | null | null |
src/python/project/model.py
|
datitran/ds-concourse-ci
|
6b993a28178dd991cb4af5e4322aa9f814a4890b
|
[
"MIT"
] | 1
|
2018-08-06T13:55:49.000Z
|
2018-08-06T13:55:49.000Z
|
import numpy as np
def power(x):
return np.power(x, 2)
| 10.166667
| 25
| 0.639344
| 12
| 61
| 3.25
| 0.75
| 0.307692
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021739
| 0.245902
| 61
| 5
| 26
| 12.2
| 0.826087
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
5c568c278a137d6c10d090a9e3effbf4296f7491
| 180,814
|
py
|
Python
|
pyboto3/batch.py
|
gehad-shaat/pyboto3
|
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
|
[
"MIT"
] | 91
|
2016-12-31T11:38:37.000Z
|
2021-09-16T19:33:23.000Z
|
pyboto3/batch.py
|
gehad-shaat/pyboto3
|
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
|
[
"MIT"
] | 7
|
2017-01-02T18:54:23.000Z
|
2020-08-11T13:54:02.000Z
|
pyboto3/batch.py
|
gehad-shaat/pyboto3
|
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
|
[
"MIT"
] | 26
|
2016-12-31T13:11:00.000Z
|
2022-03-03T21:01:12.000Z
|
'''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
'''
def can_paginate(operation_name=None):
"""
Check if an operation can be paginated.
:type operation_name: string
:param operation_name: The operation name. This is the same name\nas the method name on the client. For example, if the\nmethod name is create_foo, and you\'d normally invoke the\noperation as client.create_foo(**kwargs), if the\ncreate_foo operation can be paginated, you can use the\ncall client.get_paginator('create_foo').
"""
pass
def cancel_job(jobId=None, reason=None):
"""
Cancels a job in an AWS Batch job queue. Jobs that are in the SUBMITTED , PENDING , or RUNNABLE state are cancelled. Jobs that have progressed to STARTING or RUNNING are not cancelled (but the API operation still succeeds, even if no job is cancelled); these jobs must be terminated with the TerminateJob operation.
See also: AWS API Documentation
Exceptions
Examples
This example cancels a job with the specified job ID.
Expected Output:
:example: response = client.cancel_job(
jobId='string',
reason='string'
)
:type jobId: string
:param jobId: [REQUIRED]\nThe AWS Batch job ID of the job to cancel.\n
:type reason: string
:param reason: [REQUIRED]\nA message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs.\n
:rtype: dict
ReturnsResponse Syntax
{}
Response Structure
(dict) --
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example cancels a job with the specified job ID.
response = client.cancel_job(
jobId='1d828f65-7a4d-42e8-996d-3b900ed59dc4',
reason='Cancelling job.',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}
:return: {}
:returns:
(dict) --
"""
pass
def create_compute_environment(computeEnvironmentName=None, type=None, state=None, computeResources=None, serviceRole=None):
"""
Creates an AWS Batch compute environment. You can create MANAGED or UNMANAGED compute environments.
In a managed compute environment, AWS Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. You can choose to use Amazon EC2 On-Demand Instances or Spot Instances in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is below a specified percentage of the On-Demand price.
In an unmanaged compute environment, you can manage your own compute resources. This provides more compute resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon ECS container instance AMI specification. For more information, see Container Instance AMIs in the Amazon Elastic Container Service Developer Guide . After you have created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that is associated with it. Then, manually launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS Container Instance in the Amazon Elastic Container Service Developer Guide .
See also: AWS API Documentation
Exceptions
Examples
This example creates a managed compute environment with specific C4 instance types that are launched on demand. The compute environment is called C4OnDemand.
Expected Output:
This example creates a managed compute environment with the M4 instance type that is launched when the Spot bid price is at or below 20% of the On-Demand price for the instance type. The compute environment is called M4Spot.
Expected Output:
:example: response = client.create_compute_environment(
computeEnvironmentName='string',
type='MANAGED'|'UNMANAGED',
state='ENABLED'|'DISABLED',
computeResources={
'type': 'EC2'|'SPOT',
'allocationStrategy': 'BEST_FIT'|'BEST_FIT_PROGRESSIVE'|'SPOT_CAPACITY_OPTIMIZED',
'minvCpus': 123,
'maxvCpus': 123,
'desiredvCpus': 123,
'instanceTypes': [
'string',
],
'imageId': 'string',
'subnets': [
'string',
],
'securityGroupIds': [
'string',
],
'ec2KeyPair': 'string',
'instanceRole': 'string',
'tags': {
'string': 'string'
},
'placementGroup': 'string',
'bidPercentage': 123,
'spotIamFleetRole': 'string',
'launchTemplate': {
'launchTemplateId': 'string',
'launchTemplateName': 'string',
'version': 'string'
}
},
serviceRole='string'
)
:type computeEnvironmentName: string
:param computeEnvironmentName: [REQUIRED]\nThe name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.\n
:type type: string
:param type: [REQUIRED]\nThe type of the compute environment. For more information, see Compute Environments in the AWS Batch User Guide .\n
:type state: string
:param state: The state of the compute environment. If the state is ENABLED , then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
:type computeResources: dict
:param computeResources: Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see Compute Environments in the AWS Batch User Guide .\n\ntype (string) -- [REQUIRED]The type of compute environment: EC2 or SPOT .\n\nallocationStrategy (string) --The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. This could be due to availability of the instance type in the region or Amazon EC2 service limits . If this is not specified, the default is BEST_FIT , which will use only the best fitting instance type, waiting for additional capacity if it\'s not available. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with BEST_FIT then the Spot Fleet IAM Role must be specified. BEST_FIT_PROGRESSIVE will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per vCPU. SPOT_CAPACITY_OPTIMIZED is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. For more information, see `Allocation Strategies <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html >`__ in the AWS Batch User Guide .\n\nminvCpus (integer) -- [REQUIRED]The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED ).\n\nmaxvCpus (integer) -- [REQUIRED]The maximum number of Amazon EC2 vCPUs that an environment can reach.\n\ndesiredvCpus (integer) --The desired number of Amazon EC2 vCPUS in the compute environment.\n\ninstanceTypes (list) -- [REQUIRED]The instances types that may be launched. You can specify instance families to launch any instance type within those families (for example, c5 or p3 ), or you can specify specific sizes within a family (such as c5.8xlarge ). You can also choose optimal to pick instance types (from the C, M, and R instance families) on the fly that match the demand of your job queues.\n\n(string) --\n\n\nimageId (string) --The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.\n\nsubnets (list) -- [REQUIRED]The VPC subnets into which the compute resources are launched. For more information, see VPCs and Subnets in the Amazon VPC User Guide .\n\n(string) --\n\n\nsecurityGroupIds (list) --The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds or using a launch template referenced in launchTemplate . If security groups are specified using both securityGroupIds and launchTemplate , the values in securityGroupIds will be used.\n\n(string) --\n\n\nec2KeyPair (string) --The Amazon EC2 key pair that is used for instances launched in the compute environment.\n\ninstanceRole (string) -- [REQUIRED]The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `` ecsInstanceRole `` or ``arn:aws:iam::<aws_account_id> :instance-profile/ecsInstanceRole `` . For more information, see Amazon ECS Instance Role in the AWS Batch User Guide .\n\ntags (dict) --Key-value pair tags to be applied to resources that are launched in the compute environment. For AWS Batch, these take the form of 'String1': 'String2', where String1 is the tag key and String2 is the tag value\xe2\x80\x94for example, { 'Name': 'AWS Batch Instance - C4OnDemand' }.\n\n(string) --\n(string) --\n\n\n\n\nplacementGroup (string) --The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances .\n\nbidPercentage (integer) --The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price.\n\nspotIamFleetRole (string) --The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is required if the allocation strategy set to BEST_FIT or if the allocation strategy is not specified. For more information, see Amazon EC2 Spot Fleet Role in the AWS Batch User Guide .\n\nlaunchTemplate (dict) --The launch template to use for your compute resources. Any other compute resource parameters that you specify in a CreateComputeEnvironment API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see Launch Template Support in the AWS Batch User Guide .\n\nlaunchTemplateId (string) --The ID of the launch template.\n\nlaunchTemplateName (string) --The name of the launch template.\n\nversion (string) --The version number of the launch template.\nDefault: The default version of the launch template.\n\n\n\n\n
:type serviceRole: string
:param serviceRole: [REQUIRED]\nThe full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.\nIf your specified role has a path other than / , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.\n\nNote\nDepending on how you created your AWS Batch service role, its ARN may contain the service-role path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the service-role path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.\n\n
:rtype: dict
ReturnsResponse Syntax
{
'computeEnvironmentName': 'string',
'computeEnvironmentArn': 'string'
}
Response Structure
(dict) --
computeEnvironmentName (string) --
The name of the compute environment.
computeEnvironmentArn (string) --
The Amazon Resource Name (ARN) of the compute environment.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example creates a managed compute environment with specific C4 instance types that are launched on demand. The compute environment is called C4OnDemand.
response = client.create_compute_environment(
type='MANAGED',
computeEnvironmentName='C4OnDemand',
computeResources={
'type': 'EC2',
'desiredvCpus': 48,
'ec2KeyPair': 'id_rsa',
'instanceRole': 'ecsInstanceRole',
'instanceTypes': [
'c4.large',
'c4.xlarge',
'c4.2xlarge',
'c4.4xlarge',
'c4.8xlarge',
],
'maxvCpus': 128,
'minvCpus': 0,
'securityGroupIds': [
'sg-cf5093b2',
],
'subnets': [
'subnet-220c0e0a',
'subnet-1a95556d',
'subnet-978f6dce',
],
'tags': {
'Name': 'Batch Instance - C4OnDemand',
},
},
serviceRole='arn:aws:iam::012345678910:role/AWSBatchServiceRole',
state='ENABLED',
)
print(response)
Expected Output:
{
'computeEnvironmentArn': 'arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand',
'computeEnvironmentName': 'C4OnDemand',
'ResponseMetadata': {
'...': '...',
},
}
This example creates a managed compute environment with the M4 instance type that is launched when the Spot bid price is at or below 20% of the On-Demand price for the instance type. The compute environment is called M4Spot.
response = client.create_compute_environment(
type='MANAGED',
computeEnvironmentName='M4Spot',
computeResources={
'type': 'SPOT',
'bidPercentage': 20,
'desiredvCpus': 4,
'ec2KeyPair': 'id_rsa',
'instanceRole': 'ecsInstanceRole',
'instanceTypes': [
'm4',
],
'maxvCpus': 128,
'minvCpus': 0,
'securityGroupIds': [
'sg-cf5093b2',
],
'spotIamFleetRole': 'arn:aws:iam::012345678910:role/aws-ec2-spot-fleet-role',
'subnets': [
'subnet-220c0e0a',
'subnet-1a95556d',
'subnet-978f6dce',
],
'tags': {
'Name': 'Batch Instance - M4Spot',
},
},
serviceRole='arn:aws:iam::012345678910:role/AWSBatchServiceRole',
state='ENABLED',
)
print(response)
Expected Output:
{
'computeEnvironmentArn': 'arn:aws:batch:us-east-1:012345678910:compute-environment/M4Spot',
'computeEnvironmentName': 'M4Spot',
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'computeEnvironmentName': 'string',
'computeEnvironmentArn': 'string'
}
:returns:
computeEnvironmentName (string) -- [REQUIRED]
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
type (string) -- [REQUIRED]
The type of the compute environment. For more information, see Compute Environments in the AWS Batch User Guide .
state (string) -- The state of the compute environment. If the state is ENABLED , then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
computeResources (dict) -- Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see Compute Environments in the AWS Batch User Guide .
type (string) -- [REQUIRED]The type of compute environment: EC2 or SPOT .
allocationStrategy (string) --The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. This could be due to availability of the instance type in the region or Amazon EC2 service limits . If this is not specified, the default is BEST_FIT , which will use only the best fitting instance type, waiting for additional capacity if it\'s not available. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with BEST_FIT then the Spot Fleet IAM Role must be specified. BEST_FIT_PROGRESSIVE will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per vCPU. SPOT_CAPACITY_OPTIMIZED is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. For more information, see `Allocation Strategies <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html >`__ in the AWS Batch User Guide .
minvCpus (integer) -- [REQUIRED]The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED ).
maxvCpus (integer) -- [REQUIRED]The maximum number of Amazon EC2 vCPUs that an environment can reach.
desiredvCpus (integer) --The desired number of Amazon EC2 vCPUS in the compute environment.
instanceTypes (list) -- [REQUIRED]The instances types that may be launched. You can specify instance families to launch any instance type within those families (for example, c5 or p3 ), or you can specify specific sizes within a family (such as c5.8xlarge ). You can also choose optimal to pick instance types (from the C, M, and R instance families) on the fly that match the demand of your job queues.
(string) --
imageId (string) --The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
subnets (list) -- [REQUIRED]The VPC subnets into which the compute resources are launched. For more information, see VPCs and Subnets in the Amazon VPC User Guide .
(string) --
securityGroupIds (list) --The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds or using a launch template referenced in launchTemplate . If security groups are specified using both securityGroupIds and launchTemplate , the values in securityGroupIds will be used.
(string) --
ec2KeyPair (string) --The Amazon EC2 key pair that is used for instances launched in the compute environment.
instanceRole (string) -- [REQUIRED]The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `` ecsInstanceRole `` or ``arn:aws:iam::<aws_account_id> :instance-profile/ecsInstanceRole `` . For more information, see Amazon ECS Instance Role in the AWS Batch User Guide .
tags (dict) --Key-value pair tags to be applied to resources that are launched in the compute environment. For AWS Batch, these take the form of "String1": "String2", where String1 is the tag key and String2 is the tag value\xe2\x80\x94for example, { "Name": "AWS Batch Instance - C4OnDemand" }.
(string) --
(string) --
placementGroup (string) --The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances .
bidPercentage (integer) --The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price.
spotIamFleetRole (string) --The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is required if the allocation strategy set to BEST_FIT or if the allocation strategy is not specified. For more information, see Amazon EC2 Spot Fleet Role in the AWS Batch User Guide .
launchTemplate (dict) --The launch template to use for your compute resources. Any other compute resource parameters that you specify in a CreateComputeEnvironment API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see Launch Template Support in the AWS Batch User Guide .
launchTemplateId (string) --The ID of the launch template.
launchTemplateName (string) --The name of the launch template.
version (string) --The version number of the launch template.
Default: The default version of the launch template.
serviceRole (string) -- [REQUIRED]
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
If your specified role has a path other than / , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.
Note
Depending on how you created your AWS Batch service role, its ARN may contain the service-role path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the service-role path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.
"""
pass
def create_job_queue(jobQueueName=None, state=None, priority=None, computeEnvironmentOrder=None):
"""
Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to the queue and assign an order of preference for the compute environments.
You also set a priority to the job queue that determines the order in which the AWS Batch scheduler places jobs onto its associated compute environments. For example, if a compute environment is associated with more than one job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute environment.
See also: AWS API Documentation
Exceptions
Examples
This example creates a job queue called LowPriority that uses the M4Spot compute environment.
Expected Output:
This example creates a job queue called HighPriority that uses the C4OnDemand compute environment with an order of 1 and the M4Spot compute environment with an order of 2.
Expected Output:
:example: response = client.create_job_queue(
jobQueueName='string',
state='ENABLED'|'DISABLED',
priority=123,
computeEnvironmentOrder=[
{
'order': 123,
'computeEnvironment': 'string'
},
]
)
:type jobQueueName: string
:param jobQueueName: [REQUIRED]\nThe name of the job queue.\n
:type state: string
:param state: The state of the job queue. If the job queue state is ENABLED , it is able to accept jobs.
:type priority: integer
:param priority: [REQUIRED]\nThe priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order, for example, a job queue with a priority value of 10 is given scheduling preference over a job queue with a priority value of 1 .\n
:type computeEnvironmentOrder: list
:param computeEnvironmentOrder: [REQUIRED]\nThe set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment should execute a given job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.\n\n(dict) --The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.\n\norder (integer) -- [REQUIRED]The order of the compute environment.\n\ncomputeEnvironment (string) -- [REQUIRED]The Amazon Resource Name (ARN) of the compute environment.\n\n\n\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobQueueName': 'string',
'jobQueueArn': 'string'
}
Response Structure
(dict) --
jobQueueName (string) --
The name of the job queue.
jobQueueArn (string) --
The Amazon Resource Name (ARN) of the job queue.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example creates a job queue called LowPriority that uses the M4Spot compute environment.
response = client.create_job_queue(
computeEnvironmentOrder=[
{
'computeEnvironment': 'M4Spot',
'order': 1,
},
],
jobQueueName='LowPriority',
priority=1,
state='ENABLED',
)
print(response)
Expected Output:
{
'jobQueueArn': 'arn:aws:batch:us-east-1:012345678910:job-queue/LowPriority',
'jobQueueName': 'LowPriority',
'ResponseMetadata': {
'...': '...',
},
}
This example creates a job queue called HighPriority that uses the C4OnDemand compute environment with an order of 1 and the M4Spot compute environment with an order of 2.
response = client.create_job_queue(
computeEnvironmentOrder=[
{
'computeEnvironment': 'C4OnDemand',
'order': 1,
},
{
'computeEnvironment': 'M4Spot',
'order': 2,
},
],
jobQueueName='HighPriority',
priority=10,
state='ENABLED',
)
print(response)
Expected Output:
{
'jobQueueArn': 'arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority',
'jobQueueName': 'HighPriority',
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobQueueName': 'string',
'jobQueueArn': 'string'
}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def delete_compute_environment(computeEnvironment=None):
"""
Deletes an AWS Batch compute environment.
Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation.
See also: AWS API Documentation
Exceptions
Examples
This example deletes the P2OnDemand compute environment.
Expected Output:
:example: response = client.delete_compute_environment(
computeEnvironment='string'
)
:type computeEnvironment: string
:param computeEnvironment: [REQUIRED]\nThe name or Amazon Resource Name (ARN) of the compute environment to delete.\n
:rtype: dict
ReturnsResponse Syntax{}
Response Structure
(dict) --
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example deletes the P2OnDemand compute environment.
response = client.delete_compute_environment(
computeEnvironment='P2OnDemand',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}
:return: {}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def delete_job_queue(jobQueue=None):
"""
Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation. All jobs in the queue are terminated when you delete a job queue.
It is not necessary to disassociate compute environments from a queue before submitting a DeleteJobQueue request.
See also: AWS API Documentation
Exceptions
Examples
This example deletes the GPGPU job queue.
Expected Output:
:example: response = client.delete_job_queue(
jobQueue='string'
)
:type jobQueue: string
:param jobQueue: [REQUIRED]\nThe short name or full Amazon Resource Name (ARN) of the queue to delete.\n
:rtype: dict
ReturnsResponse Syntax{}
Response Structure
(dict) --
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example deletes the GPGPU job queue.
response = client.delete_job_queue(
jobQueue='GPGPU',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}
:return: {}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def deregister_job_definition(jobDefinition=None):
"""
Deregisters an AWS Batch job definition. Job definitions will be permanently deleted after 180 days.
See also: AWS API Documentation
Exceptions
Examples
This example deregisters a job definition called sleep10.
Expected Output:
:example: response = client.deregister_job_definition(
jobDefinition='string'
)
:type jobDefinition: string
:param jobDefinition: [REQUIRED]\nThe name and revision (name:revision ) or full Amazon Resource Name (ARN) of the job definition to deregister.\n
:rtype: dict
ReturnsResponse Syntax{}
Response Structure
(dict) --
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example deregisters a job definition called sleep10.
response = client.deregister_job_definition(
jobDefinition='sleep10',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}
:return: {}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def describe_compute_environments(computeEnvironments=None, maxResults=None, nextToken=None):
"""
Describes one or more of your compute environments.
If you are using an unmanaged compute environment, you can use the DescribeComputeEnvironment operation to determine the ecsClusterArn that you should launch your Amazon ECS container instances into.
See also: AWS API Documentation
Exceptions
Examples
This example describes the P2OnDemand compute environment.
Expected Output:
:example: response = client.describe_compute_environments(
computeEnvironments=[
'string',
],
maxResults=123,
nextToken='string'
)
:type computeEnvironments: list
:param computeEnvironments: A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.\n\n(string) --\n\n
:type maxResults: integer
:param maxResults: The maximum number of cluster results returned by DescribeComputeEnvironments in paginated output. When this parameter is used, DescribeComputeEnvironments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeComputeEnvironments returns up to 100 results and a nextToken value if applicable.
:type nextToken: string
:param nextToken: The nextToken value returned from a previous paginated DescribeComputeEnvironments request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.\n\nNote\nThis token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.\n\n
:rtype: dict
ReturnsResponse Syntax
{
'computeEnvironments': [
{
'computeEnvironmentName': 'string',
'computeEnvironmentArn': 'string',
'ecsClusterArn': 'string',
'type': 'MANAGED'|'UNMANAGED',
'state': 'ENABLED'|'DISABLED',
'status': 'CREATING'|'UPDATING'|'DELETING'|'DELETED'|'VALID'|'INVALID',
'statusReason': 'string',
'computeResources': {
'type': 'EC2'|'SPOT',
'allocationStrategy': 'BEST_FIT'|'BEST_FIT_PROGRESSIVE'|'SPOT_CAPACITY_OPTIMIZED',
'minvCpus': 123,
'maxvCpus': 123,
'desiredvCpus': 123,
'instanceTypes': [
'string',
],
'imageId': 'string',
'subnets': [
'string',
],
'securityGroupIds': [
'string',
],
'ec2KeyPair': 'string',
'instanceRole': 'string',
'tags': {
'string': 'string'
},
'placementGroup': 'string',
'bidPercentage': 123,
'spotIamFleetRole': 'string',
'launchTemplate': {
'launchTemplateId': 'string',
'launchTemplateName': 'string',
'version': 'string'
}
},
'serviceRole': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
computeEnvironments (list) --
The list of compute environments.
(dict) --
An object representing an AWS Batch compute environment.
computeEnvironmentName (string) --
The name of the compute environment.
computeEnvironmentArn (string) --
The Amazon Resource Name (ARN) of the compute environment.
ecsClusterArn (string) --
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
type (string) --
The type of the compute environment.
state (string) --
The state of the compute environment. The valid values are ENABLED or DISABLED .
If the state is ENABLED , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand.
If the state is DISABLED , then the AWS Batch scheduler does not attempt to place jobs within the environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed compute environments in the DISABLED state do not scale out. However, they scale in to minvCpus value after instances become idle.
status (string) --
The current status of the compute environment (for example, CREATING or VALID ).
statusReason (string) --
A short, human-readable string to provide additional details about the current status of the compute environment.
computeResources (dict) --
The compute resources defined for the compute environment.
type (string) --
The type of compute environment: EC2 or SPOT .
allocationStrategy (string) --
The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. This could be due to availability of the instance type in the region or Amazon EC2 service limits . If this is not specified, the default is BEST_FIT , which will use only the best fitting instance type, waiting for additional capacity if it\'s not available. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with BEST_FIT then the Spot Fleet IAM Role must be specified. BEST_FIT_PROGRESSIVE will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per vCPU. SPOT_CAPACITY_OPTIMIZED is only available for Spot Instance compute resources and will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. For more information, see `Allocation Strategies <https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html >`__ in the AWS Batch User Guide .
minvCpus (integer) --
The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED ).
maxvCpus (integer) --
The maximum number of Amazon EC2 vCPUs that an environment can reach.
desiredvCpus (integer) --
The desired number of Amazon EC2 vCPUS in the compute environment.
instanceTypes (list) --
The instances types that may be launched. You can specify instance families to launch any instance type within those families (for example, c5 or p3 ), or you can specify specific sizes within a family (such as c5.8xlarge ). You can also choose optimal to pick instance types (from the C, M, and R instance families) on the fly that match the demand of your job queues.
(string) --
imageId (string) --
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
subnets (list) --
The VPC subnets into which the compute resources are launched. For more information, see VPCs and Subnets in the Amazon VPC User Guide .
(string) --
securityGroupIds (list) --
The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds or using a launch template referenced in launchTemplate . If security groups are specified using both securityGroupIds and launchTemplate , the values in securityGroupIds will be used.
(string) --
ec2KeyPair (string) --
The Amazon EC2 key pair that is used for instances launched in the compute environment.
instanceRole (string) --
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `` ecsInstanceRole `` or ``arn:aws:iam::<aws_account_id> :instance-profile/ecsInstanceRole `` . For more information, see Amazon ECS Instance Role in the AWS Batch User Guide .
tags (dict) --
Key-value pair tags to be applied to resources that are launched in the compute environment. For AWS Batch, these take the form of "String1": "String2", where String1 is the tag key and String2 is the tag value\xe2\x80\x94for example, { "Name": "AWS Batch Instance - C4OnDemand" }.
(string) --
(string) --
placementGroup (string) --
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances .
bidPercentage (integer) --
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price.
spotIamFleetRole (string) --
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is required if the allocation strategy set to BEST_FIT or if the allocation strategy is not specified. For more information, see Amazon EC2 Spot Fleet Role in the AWS Batch User Guide .
launchTemplate (dict) --
The launch template to use for your compute resources. Any other compute resource parameters that you specify in a CreateComputeEnvironment API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see Launch Template Support in the AWS Batch User Guide .
launchTemplateId (string) --
The ID of the launch template.
launchTemplateName (string) --
The name of the launch template.
version (string) --
The version number of the launch template.
Default: The default version of the launch template.
serviceRole (string) --
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
nextToken (string) --
The nextToken value to include in a future DescribeComputeEnvironments request. When the results of a DescribeJobDefinitions request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example describes the P2OnDemand compute environment.
response = client.describe_compute_environments(
computeEnvironments=[
'P2OnDemand',
],
)
print(response)
Expected Output:
{
'computeEnvironments': [
{
'type': 'MANAGED',
'computeEnvironmentArn': 'arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand',
'computeEnvironmentName': 'P2OnDemand',
'computeResources': {
'type': 'EC2',
'desiredvCpus': 48,
'ec2KeyPair': 'id_rsa',
'instanceRole': 'ecsInstanceRole',
'instanceTypes': [
'p2',
],
'maxvCpus': 128,
'minvCpus': 0,
'securityGroupIds': [
'sg-cf5093b2',
],
'subnets': [
'subnet-220c0e0a',
'subnet-1a95556d',
'subnet-978f6dce',
],
'tags': {
'Name': 'Batch Instance - P2OnDemand',
},
},
'ecsClusterArn': 'arn:aws:ecs:us-east-1:012345678910:cluster/P2OnDemand_Batch_2c06f29d-d1fe-3a49-879d-42394c86effc',
'serviceRole': 'arn:aws:iam::012345678910:role/AWSBatchServiceRole',
'state': 'ENABLED',
'status': 'VALID',
'statusReason': 'ComputeEnvironment Healthy',
},
],
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'computeEnvironments': [
{
'computeEnvironmentName': 'string',
'computeEnvironmentArn': 'string',
'ecsClusterArn': 'string',
'type': 'MANAGED'|'UNMANAGED',
'state': 'ENABLED'|'DISABLED',
'status': 'CREATING'|'UPDATING'|'DELETING'|'DELETED'|'VALID'|'INVALID',
'statusReason': 'string',
'computeResources': {
'type': 'EC2'|'SPOT',
'allocationStrategy': 'BEST_FIT'|'BEST_FIT_PROGRESSIVE'|'SPOT_CAPACITY_OPTIMIZED',
'minvCpus': 123,
'maxvCpus': 123,
'desiredvCpus': 123,
'instanceTypes': [
'string',
],
'imageId': 'string',
'subnets': [
'string',
],
'securityGroupIds': [
'string',
],
'ec2KeyPair': 'string',
'instanceRole': 'string',
'tags': {
'string': 'string'
},
'placementGroup': 'string',
'bidPercentage': 123,
'spotIamFleetRole': 'string',
'launchTemplate': {
'launchTemplateId': 'string',
'launchTemplateName': 'string',
'version': 'string'
}
},
'serviceRole': 'string'
},
],
'nextToken': 'string'
}
:returns:
(string) --
"""
pass
def describe_job_definitions(jobDefinitions=None, maxResults=None, jobDefinitionName=None, status=None, nextToken=None):
"""
Describes a list of job definitions. You can specify a status (such as ACTIVE ) to only return job definitions that match that status.
See also: AWS API Documentation
Exceptions
Examples
This example describes all of your active job definitions.
Expected Output:
:example: response = client.describe_job_definitions(
jobDefinitions=[
'string',
],
maxResults=123,
jobDefinitionName='string',
status='string',
nextToken='string'
)
:type jobDefinitions: list
:param jobDefinitions: A list of up to 100 job definition names or full Amazon Resource Name (ARN) entries.\n\n(string) --\n\n
:type maxResults: integer
:param maxResults: The maximum number of results returned by DescribeJobDefinitions in paginated output. When this parameter is used, DescribeJobDefinitions only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeJobDefinitions returns up to 100 results and a nextToken value if applicable.
:type jobDefinitionName: string
:param jobDefinitionName: The name of the job definition to describe.
:type status: string
:param status: The status with which to filter job definitions.
:type nextToken: string
:param nextToken: The nextToken value returned from a previous paginated DescribeJobDefinitions request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.\n\nNote\nThis token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobDefinitions': [
{
'jobDefinitionName': 'string',
'jobDefinitionArn': 'string',
'revision': 123,
'status': 'string',
'type': 'string',
'parameters': {
'string': 'string'
},
'retryStrategy': {
'attempts': 123
},
'containerProperties': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
},
'timeout': {
'attemptDurationSeconds': 123
},
'nodeProperties': {
'numNodes': 123,
'mainNode': 123,
'nodeRangeProperties': [
{
'targetNodes': 'string',
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
}
},
]
}
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
jobDefinitions (list) --
The list of job definitions.
(dict) --
An object representing an AWS Batch job definition.
jobDefinitionName (string) --
The name of the job definition.
jobDefinitionArn (string) --
The Amazon Resource Name (ARN) for the job definition.
revision (integer) --
The revision of the job definition.
status (string) --
The status of the job definition.
type (string) --
The type of job definition.
parameters (dict) --
Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see Job Definition Parameters in the AWS Batch User Guide .
(string) --
(string) --
retryStrategy (dict) --
The retry strategy to use for failed jobs that are submitted with this job definition.
attempts (integer) --
The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.
containerProperties (dict) --
An object with various properties specific to container-based jobs.
image (string) --
The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image :tag `` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run .
Images in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name> ).
Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ).
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ).
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu ).
vcpus (integer) --
The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.
memory (integer) --
The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify at least 4 MiB of memory for a job.
Note
If you are trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory Management in the AWS Batch User Guide .
command (list) --
The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .
(string) --
jobRoleArn (string) --
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
volumes (list) --
A list of data volumes used in a job.
(dict) --
A data volume used in a job\'s container properties.
host (dict) --
The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.
sourcePath (string) --
The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
name (string) --
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .
environment (list) --
The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run .
Warning
We do not recommend using plaintext environment variables for sensitive information, such as credential data.
Note
Environment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.
(dict) --
A key-value pair object.
name (string) --
The name of the key-value pair. For environment variables, this is the name of the environment variable.
value (string) --
The value of the key-value pair. For environment variables, this is the value of the environment variable.
mountPoints (list) --
The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .
(dict) --
Details on a Docker volume mount point that is used in a job\'s container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.
containerPath (string) --
The path on the container at which to mount the host volume.
readOnly (boolean) --
If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false .
sourceVolume (string) --
The name of the volume to mount.
readonlyRootFilesystem (boolean) --
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .
privileged (boolean) --
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .
ulimits (list) --
A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run .
(dict) --
The ulimit settings to pass to the container.
hardLimit (integer) --
The hard limit for the ulimit type.
name (string) --
The type of the ulimit .
softLimit (integer) --
The soft limit for the ulimit type.
user (string) --
The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .
instanceType (string) --
The instance type to use for a multi-node parallel job. Currently all node groups in a multi-node parallel job must use the same instance type. This parameter is not valid for single-node container jobs.
resourceRequirements (list) --
The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU .
(dict) --
The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .
value (string) --
The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.
type (string) --
The type of resource to assign to a container. Currently, the only supported resource type is GPU .
linuxParameters (dict) --
Linux-specific modifications that are applied to the container, such as details for device mappings.
devices (list) --
Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .
(dict) --
An object representing a container instance host device.
hostPath (string) --
The path for the device on the host container instance.
containerPath (string) --
The path inside the container at which to expose the host device. By default the hostPath value is used.
permissions (list) --
The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.
(string) --
timeout (dict) --
The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.
attemptDurationSeconds (integer) --
The time duration in seconds (measured from the job attempt\'s startedAt timestamp) after which AWS Batch terminates your jobs if they have not finished.
nodeProperties (dict) --
An object with various properties specific to multi-node parallel jobs.
numNodes (integer) --
The number of nodes associated with a multi-node parallel job.
mainNode (integer) --
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
nodeRangeProperties (list) --
A list of node ranges and their properties associated with a multi-node parallel job.
(dict) --
An object representing the properties of the node range for a multi-node parallel job.
targetNodes (string) --
The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3 . If the starting range value is omitted (:n ), then 0 is used to start the range. If the ending range value is omitted (n: ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You may nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties.
container (dict) --
The container details for the node range.
image (string) --
The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image :tag `` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run .
Images in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name> ).
Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ).
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ).
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu ).
vcpus (integer) --
The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.
memory (integer) --
The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify at least 4 MiB of memory for a job.
Note
If you are trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory Management in the AWS Batch User Guide .
command (list) --
The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .
(string) --
jobRoleArn (string) --
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
volumes (list) --
A list of data volumes used in a job.
(dict) --
A data volume used in a job\'s container properties.
host (dict) --
The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.
sourcePath (string) --
The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
name (string) --
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .
environment (list) --
The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run .
Warning
We do not recommend using plaintext environment variables for sensitive information, such as credential data.
Note
Environment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.
(dict) --
A key-value pair object.
name (string) --
The name of the key-value pair. For environment variables, this is the name of the environment variable.
value (string) --
The value of the key-value pair. For environment variables, this is the value of the environment variable.
mountPoints (list) --
The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .
(dict) --
Details on a Docker volume mount point that is used in a job\'s container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.
containerPath (string) --
The path on the container at which to mount the host volume.
readOnly (boolean) --
If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false .
sourceVolume (string) --
The name of the volume to mount.
readonlyRootFilesystem (boolean) --
When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .
privileged (boolean) --
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .
ulimits (list) --
A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run .
(dict) --
The ulimit settings to pass to the container.
hardLimit (integer) --
The hard limit for the ulimit type.
name (string) --
The type of the ulimit .
softLimit (integer) --
The soft limit for the ulimit type.
user (string) --
The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .
instanceType (string) --
The instance type to use for a multi-node parallel job. Currently all node groups in a multi-node parallel job must use the same instance type. This parameter is not valid for single-node container jobs.
resourceRequirements (list) --
The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU .
(dict) --
The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .
value (string) --
The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.
type (string) --
The type of resource to assign to a container. Currently, the only supported resource type is GPU .
linuxParameters (dict) --
Linux-specific modifications that are applied to the container, such as details for device mappings.
devices (list) --
Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .
(dict) --
An object representing a container instance host device.
hostPath (string) --
The path for the device on the host container instance.
containerPath (string) --
The path inside the container at which to expose the host device. By default the hostPath value is used.
permissions (list) --
The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.
(string) --
nextToken (string) --
The nextToken value to include in a future DescribeJobDefinitions request. When the results of a DescribeJobDefinitions request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example describes all of your active job definitions.
response = client.describe_job_definitions(
status='ACTIVE',
)
print(response)
Expected Output:
{
'jobDefinitions': [
{
'type': 'container',
'containerProperties': {
'command': [
'sleep',
'60',
],
'environment': [
],
'image': 'busybox',
'memory': 128,
'mountPoints': [
],
'ulimits': [
],
'vcpus': 1,
'volumes': [
],
},
'jobDefinitionArn': 'arn:aws:batch:us-east-1:012345678910:job-definition/sleep60:1',
'jobDefinitionName': 'sleep60',
'revision': 1,
'status': 'ACTIVE',
},
],
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobDefinitions': [
{
'jobDefinitionName': 'string',
'jobDefinitionArn': 'string',
'revision': 123,
'status': 'string',
'type': 'string',
'parameters': {
'string': 'string'
},
'retryStrategy': {
'attempts': 123
},
'containerProperties': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
},
'timeout': {
'attemptDurationSeconds': 123
},
'nodeProperties': {
'numNodes': 123,
'mainNode': 123,
'nodeRangeProperties': [
{
'targetNodes': 'string',
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
}
},
]
}
},
],
'nextToken': 'string'
}
:returns:
(string) --
(string) --
"""
pass
def describe_job_queues(jobQueues=None, maxResults=None, nextToken=None):
"""
Describes one or more of your job queues.
See also: AWS API Documentation
Exceptions
Examples
This example describes the HighPriority job queue.
Expected Output:
:example: response = client.describe_job_queues(
jobQueues=[
'string',
],
maxResults=123,
nextToken='string'
)
:type jobQueues: list
:param jobQueues: A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.\n\n(string) --\n\n
:type maxResults: integer
:param maxResults: The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.
:type nextToken: string
:param nextToken: The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.\n\nNote\nThis token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobQueues': [
{
'jobQueueName': 'string',
'jobQueueArn': 'string',
'state': 'ENABLED'|'DISABLED',
'status': 'CREATING'|'UPDATING'|'DELETING'|'DELETED'|'VALID'|'INVALID',
'statusReason': 'string',
'priority': 123,
'computeEnvironmentOrder': [
{
'order': 123,
'computeEnvironment': 'string'
},
]
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
jobQueues (list) --
The list of job queues.
(dict) --
An object representing the details of an AWS Batch job queue.
jobQueueName (string) --
The name of the job queue.
jobQueueArn (string) --
The Amazon Resource Name (ARN) of the job queue.
state (string) --
Describes the ability of the queue to accept new jobs.
status (string) --
The status of the job queue (for example, CREATING or VALID ).
statusReason (string) --
A short, human-readable string to provide additional details about the current status of the job queue.
priority (integer) --
The priority of the job queue.
computeEnvironmentOrder (list) --
The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order.
(dict) --
The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
order (integer) --
The order of the compute environment.
computeEnvironment (string) --
The Amazon Resource Name (ARN) of the compute environment.
nextToken (string) --
The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example describes the HighPriority job queue.
response = client.describe_job_queues(
jobQueues=[
'HighPriority',
],
)
print(response)
Expected Output:
{
'jobQueues': [
{
'computeEnvironmentOrder': [
{
'computeEnvironment': 'arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand',
'order': 1,
},
],
'jobQueueArn': 'arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority',
'jobQueueName': 'HighPriority',
'priority': 1,
'state': 'ENABLED',
'status': 'VALID',
'statusReason': 'JobQueue Healthy',
},
],
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobQueues': [
{
'jobQueueName': 'string',
'jobQueueArn': 'string',
'state': 'ENABLED'|'DISABLED',
'status': 'CREATING'|'UPDATING'|'DELETING'|'DELETED'|'VALID'|'INVALID',
'statusReason': 'string',
'priority': 123,
'computeEnvironmentOrder': [
{
'order': 123,
'computeEnvironment': 'string'
},
]
},
],
'nextToken': 'string'
}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def describe_jobs(jobs=None):
"""
Describes a list of AWS Batch jobs.
See also: AWS API Documentation
Exceptions
Examples
This example describes a job with the specified job ID.
Expected Output:
:example: response = client.describe_jobs(
jobs=[
'string',
]
)
:type jobs: list
:param jobs: [REQUIRED]\nA list of up to 100 job IDs.\n\n(string) --\n\n
:rtype: dict
ReturnsResponse Syntax{
'jobs': [
{
'jobName': 'string',
'jobId': 'string',
'jobQueue': 'string',
'status': 'SUBMITTED'|'PENDING'|'RUNNABLE'|'STARTING'|'RUNNING'|'SUCCEEDED'|'FAILED',
'attempts': [
{
'container': {
'containerInstanceArn': 'string',
'taskArn': 'string',
'exitCode': 123,
'reason': 'string',
'logStreamName': 'string',
'networkInterfaces': [
{
'attachmentId': 'string',
'ipv6Address': 'string',
'privateIpv4Address': 'string'
},
]
},
'startedAt': 123,
'stoppedAt': 123,
'statusReason': 'string'
},
],
'statusReason': 'string',
'createdAt': 123,
'retryStrategy': {
'attempts': 123
},
'startedAt': 123,
'stoppedAt': 123,
'dependsOn': [
{
'jobId': 'string',
'type': 'N_TO_N'|'SEQUENTIAL'
},
],
'jobDefinition': 'string',
'parameters': {
'string': 'string'
},
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'privileged': True|False,
'user': 'string',
'exitCode': 123,
'reason': 'string',
'containerInstanceArn': 'string',
'taskArn': 'string',
'logStreamName': 'string',
'instanceType': 'string',
'networkInterfaces': [
{
'attachmentId': 'string',
'ipv6Address': 'string',
'privateIpv4Address': 'string'
},
],
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
},
'nodeDetails': {
'nodeIndex': 123,
'isMainNode': True|False
},
'nodeProperties': {
'numNodes': 123,
'mainNode': 123,
'nodeRangeProperties': [
{
'targetNodes': 'string',
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
}
},
]
},
'arrayProperties': {
'statusSummary': {
'string': 123
},
'size': 123,
'index': 123
},
'timeout': {
'attemptDurationSeconds': 123
}
},
]
}
Response Structure
(dict) --
jobs (list) --The list of jobs.
(dict) --An object representing an AWS Batch job.
jobName (string) --The name of the job.
jobId (string) --The ID for the job.
jobQueue (string) --The Amazon Resource Name (ARN) of the job queue with which the job is associated.
status (string) --The current status for the job.
Note
If your jobs do not progress to STARTING , see Jobs Stuck in RUNNABLE Status in the troubleshooting section of the AWS Batch User Guide .
attempts (list) --A list of job attempts associated with this job.
(dict) --An object representing a job attempt.
container (dict) --Details about the container in this job attempt.
containerInstanceArn (string) --The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
taskArn (string) --The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.
exitCode (integer) --The exit code for the job attempt. A non-zero exit code is considered a failure.
reason (string) --A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
logStreamName (string) --The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is /aws/batch/job . Each container attempt receives a log stream name when they reach the RUNNING status.
networkInterfaces (list) --The network interfaces associated with the job attempt.
(dict) --An object representing the elastic network interface for a multi-node parallel job node.
attachmentId (string) --The attachment ID for the network interface.
ipv6Address (string) --The private IPv6 address for the network interface.
privateIpv4Address (string) --The private IPv4 address for the network interface.
startedAt (integer) --The Unix timestamp (in seconds and milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING state to the RUNNING state).
stoppedAt (integer) --The Unix timestamp (in seconds and milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED ).
statusReason (string) --A short, human-readable string to provide additional details about the current status of the job attempt.
statusReason (string) --A short, human-readable string to provide additional details about the current status of the job.
createdAt (integer) --The Unix timestamp (in seconds and milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING state.
retryStrategy (dict) --The retry strategy to use for this job if an attempt fails.
attempts (integer) --The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.
startedAt (integer) --The Unix timestamp (in seconds and milliseconds) for when the job was started (when the job transitioned from the STARTING state to the RUNNING state).
stoppedAt (integer) --The Unix timestamp (in seconds and milliseconds) for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED ).
dependsOn (list) --A list of job IDs on which this job depends.
(dict) --An object representing an AWS Batch job dependency.
jobId (string) --The job ID of the AWS Batch job associated with this dependency.
type (string) --The type of the job dependency.
jobDefinition (string) --The job definition that is used by this job.
parameters (dict) --Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.
(string) --
(string) --
container (dict) --An object representing the details of the container that is associated with the job.
image (string) --The image used to start the container.
vcpus (integer) --The number of VCPUs allocated for the job.
memory (integer) --The number of MiB of memory reserved for the job.
command (list) --The command that is passed to the container.
(string) --
jobRoleArn (string) --The Amazon Resource Name (ARN) associated with the job upon execution.
volumes (list) --A list of volumes associated with the job.
(dict) --A data volume used in a job\'s container properties.
host (dict) --The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.
sourcePath (string) --The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
name (string) --The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .
environment (list) --The environment variables to pass to a container.
Note
Environment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.
(dict) --A key-value pair object.
name (string) --The name of the key-value pair. For environment variables, this is the name of the environment variable.
value (string) --The value of the key-value pair. For environment variables, this is the value of the environment variable.
mountPoints (list) --The mount points for data volumes in your container.
(dict) --Details on a Docker volume mount point that is used in a job\'s container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.
containerPath (string) --The path on the container at which to mount the host volume.
readOnly (boolean) --If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false .
sourceVolume (string) --The name of the volume to mount.
readonlyRootFilesystem (boolean) --When this parameter is true, the container is given read-only access to its root file system.
ulimits (list) --A list of ulimit values to set in the container.
(dict) --The ulimit settings to pass to the container.
hardLimit (integer) --The hard limit for the ulimit type.
name (string) --The type of the ulimit .
softLimit (integer) --The soft limit for the ulimit type.
privileged (boolean) --When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
user (string) --The user name to use inside the container.
exitCode (integer) --The exit code to return upon completion.
reason (string) --A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
containerInstanceArn (string) --The Amazon Resource Name (ARN) of the container instance on which the container is running.
taskArn (string) --The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job. Each container attempt receives a task ARN when they reach the STARTING status.
logStreamName (string) --The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is /aws/batch/job . Each container attempt receives a log stream name when they reach the RUNNING status.
instanceType (string) --The instance type of the underlying host infrastructure of a multi-node parallel job.
networkInterfaces (list) --The network interfaces associated with the job.
(dict) --An object representing the elastic network interface for a multi-node parallel job node.
attachmentId (string) --The attachment ID for the network interface.
ipv6Address (string) --The private IPv6 address for the network interface.
privateIpv4Address (string) --The private IPv4 address for the network interface.
resourceRequirements (list) --The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU .
(dict) --The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .
value (string) --The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.
type (string) --The type of resource to assign to a container. Currently, the only supported resource type is GPU .
linuxParameters (dict) --Linux-specific modifications that are applied to the container, such as details for device mappings.
devices (list) --Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .
(dict) --An object representing a container instance host device.
hostPath (string) --The path for the device on the host container instance.
containerPath (string) --The path inside the container at which to expose the host device. By default the hostPath value is used.
permissions (list) --The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.
(string) --
nodeDetails (dict) --An object representing the details of a node that is associated with a multi-node parallel job.
nodeIndex (integer) --The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.
isMainNode (boolean) --Specifies whether the current node is the main node for a multi-node parallel job.
nodeProperties (dict) --An object representing the node properties of a multi-node parallel job.
numNodes (integer) --The number of nodes associated with a multi-node parallel job.
mainNode (integer) --Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
nodeRangeProperties (list) --A list of node ranges and their properties associated with a multi-node parallel job.
(dict) --An object representing the properties of the node range for a multi-node parallel job.
targetNodes (string) --The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3 . If the starting range value is omitted (:n ), then 0 is used to start the range. If the ending range value is omitted (n: ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You may nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties.
container (dict) --The container details for the node range.
image (string) --The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image :tag `` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run .
Images in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name> ).
Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ).
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ).
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu ).
vcpus (integer) --The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.
memory (integer) --The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify at least 4 MiB of memory for a job.
Note
If you are trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory Management in the AWS Batch User Guide .
command (list) --The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .
(string) --
jobRoleArn (string) --The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
volumes (list) --A list of data volumes used in a job.
(dict) --A data volume used in a job\'s container properties.
host (dict) --The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.
sourcePath (string) --The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
name (string) --The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .
environment (list) --The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run .
Warning
We do not recommend using plaintext environment variables for sensitive information, such as credential data.
Note
Environment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.
(dict) --A key-value pair object.
name (string) --The name of the key-value pair. For environment variables, this is the name of the environment variable.
value (string) --The value of the key-value pair. For environment variables, this is the value of the environment variable.
mountPoints (list) --The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .
(dict) --Details on a Docker volume mount point that is used in a job\'s container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.
containerPath (string) --The path on the container at which to mount the host volume.
readOnly (boolean) --If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false .
sourceVolume (string) --The name of the volume to mount.
readonlyRootFilesystem (boolean) --When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .
privileged (boolean) --When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .
ulimits (list) --A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run .
(dict) --The ulimit settings to pass to the container.
hardLimit (integer) --The hard limit for the ulimit type.
name (string) --The type of the ulimit .
softLimit (integer) --The soft limit for the ulimit type.
user (string) --The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .
instanceType (string) --The instance type to use for a multi-node parallel job. Currently all node groups in a multi-node parallel job must use the same instance type. This parameter is not valid for single-node container jobs.
resourceRequirements (list) --The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU .
(dict) --The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .
value (string) --The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.
type (string) --The type of resource to assign to a container. Currently, the only supported resource type is GPU .
linuxParameters (dict) --Linux-specific modifications that are applied to the container, such as details for device mappings.
devices (list) --Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .
(dict) --An object representing a container instance host device.
hostPath (string) --The path for the device on the host container instance.
containerPath (string) --The path inside the container at which to expose the host device. By default the hostPath value is used.
permissions (list) --The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.
(string) --
arrayProperties (dict) --The array properties of the job, if it is an array job.
statusSummary (dict) --A summary of the number of array job children in each available job status. This parameter is returned for parent array jobs.
(string) --
(integer) --
size (integer) --The size of the array job. This parameter is returned for parent array jobs.
index (integer) --The job index within the array that is associated with this job. This parameter is returned for array job children.
timeout (dict) --The timeout configuration for the job.
attemptDurationSeconds (integer) --The time duration in seconds (measured from the job attempt\'s startedAt timestamp) after which AWS Batch terminates your jobs if they have not finished.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example describes a job with the specified job ID.
response = client.describe_jobs(
jobs=[
'24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9',
],
)
print(response)
Expected Output:
{
'jobs': [
{
'container': {
'command': [
'sleep',
'60',
],
'containerInstanceArn': 'arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c',
'environment': [
],
'exitCode': 0,
'image': 'busybox',
'memory': 128,
'mountPoints': [
],
'ulimits': [
],
'vcpus': 1,
'volumes': [
],
},
'createdAt': 1480460782010,
'dependsOn': [
],
'jobDefinition': 'sleep60',
'jobId': '24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9',
'jobName': 'example',
'jobQueue': 'arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority',
'parameters': {
},
'startedAt': 1480460816500,
'status': 'SUCCEEDED',
'stoppedAt': 1480460880699,
},
],
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobs': [
{
'jobName': 'string',
'jobId': 'string',
'jobQueue': 'string',
'status': 'SUBMITTED'|'PENDING'|'RUNNABLE'|'STARTING'|'RUNNING'|'SUCCEEDED'|'FAILED',
'attempts': [
{
'container': {
'containerInstanceArn': 'string',
'taskArn': 'string',
'exitCode': 123,
'reason': 'string',
'logStreamName': 'string',
'networkInterfaces': [
{
'attachmentId': 'string',
'ipv6Address': 'string',
'privateIpv4Address': 'string'
},
]
},
'startedAt': 123,
'stoppedAt': 123,
'statusReason': 'string'
},
],
'statusReason': 'string',
'createdAt': 123,
'retryStrategy': {
'attempts': 123
},
'startedAt': 123,
'stoppedAt': 123,
'dependsOn': [
{
'jobId': 'string',
'type': 'N_TO_N'|'SEQUENTIAL'
},
],
'jobDefinition': 'string',
'parameters': {
'string': 'string'
},
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'privileged': True|False,
'user': 'string',
'exitCode': 123,
'reason': 'string',
'containerInstanceArn': 'string',
'taskArn': 'string',
'logStreamName': 'string',
'instanceType': 'string',
'networkInterfaces': [
{
'attachmentId': 'string',
'ipv6Address': 'string',
'privateIpv4Address': 'string'
},
],
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
},
'nodeDetails': {
'nodeIndex': 123,
'isMainNode': True|False
},
'nodeProperties': {
'numNodes': 123,
'mainNode': 123,
'nodeRangeProperties': [
{
'targetNodes': 'string',
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
}
},
]
},
'arrayProperties': {
'statusSummary': {
'string': 123
},
'size': 123,
'index': 123
},
'timeout': {
'attemptDurationSeconds': 123
}
},
]
}
:returns:
(string) --
(string) --
"""
pass
def generate_presigned_url(ClientMethod=None, Params=None, ExpiresIn=None, HttpMethod=None):
"""
Generate a presigned url given a client, its method, and arguments
:type ClientMethod: string
:param ClientMethod: The client method to presign for
:type Params: dict
:param Params: The parameters normally passed to\nClientMethod.
:type ExpiresIn: int
:param ExpiresIn: The number of seconds the presigned url is valid\nfor. By default it expires in an hour (3600 seconds)
:type HttpMethod: string
:param HttpMethod: The http method to use on the generated url. By\ndefault, the http method is whatever is used in the method\'s model.
"""
pass
def get_paginator(operation_name=None):
"""
Create a paginator for an operation.
:type operation_name: string
:param operation_name: The operation name. This is the same name\nas the method name on the client. For example, if the\nmethod name is create_foo, and you\'d normally invoke the\noperation as client.create_foo(**kwargs), if the\ncreate_foo operation can be paginated, you can use the\ncall client.get_paginator('create_foo').
:rtype: L{botocore.paginate.Paginator}
ReturnsA paginator object.
"""
pass
def get_waiter(waiter_name=None):
"""
Returns an object that can wait for some condition.
:type waiter_name: str
:param waiter_name: The name of the waiter to get. See the waiters\nsection of the service docs for a list of available waiters.
:rtype: botocore.waiter.Waiter
"""
pass
def list_jobs(jobQueue=None, arrayJobId=None, multiNodeJobId=None, jobStatus=None, maxResults=None, nextToken=None):
"""
Returns a list of AWS Batch jobs.
You must specify only one of the following:
You can filter the results by job status with the jobStatus parameter. If you do not specify a status, only RUNNING jobs are returned.
See also: AWS API Documentation
Exceptions
Examples
This example lists the running jobs in the HighPriority job queue.
Expected Output:
This example lists jobs in the HighPriority job queue that are in the SUBMITTED job status.
Expected Output:
:example: response = client.list_jobs(
jobQueue='string',
arrayJobId='string',
multiNodeJobId='string',
jobStatus='SUBMITTED'|'PENDING'|'RUNNABLE'|'STARTING'|'RUNNING'|'SUCCEEDED'|'FAILED',
maxResults=123,
nextToken='string'
)
:type jobQueue: string
:param jobQueue: The name or full Amazon Resource Name (ARN) of the job queue with which to list jobs.
:type arrayJobId: string
:param arrayJobId: The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the specified array.
:type multiNodeJobId: string
:param multiNodeJobId: The job ID for a multi-node parallel job. Specifying a multi-node parallel job ID with this parameter lists all nodes that are associated with the specified job.
:type jobStatus: string
:param jobStatus: The job status with which to filter jobs in the specified queue. If you do not specify a status, only RUNNING jobs are returned.
:type maxResults: integer
:param maxResults: The maximum number of results returned by ListJobs in paginated output. When this parameter is used, ListJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListJobs returns up to 100 results and a nextToken value if applicable.
:type nextToken: string
:param nextToken: The nextToken value returned from a previous paginated ListJobs request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.\n\nNote\nThis token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobSummaryList': [
{
'jobId': 'string',
'jobName': 'string',
'createdAt': 123,
'status': 'SUBMITTED'|'PENDING'|'RUNNABLE'|'STARTING'|'RUNNING'|'SUCCEEDED'|'FAILED',
'statusReason': 'string',
'startedAt': 123,
'stoppedAt': 123,
'container': {
'exitCode': 123,
'reason': 'string'
},
'arrayProperties': {
'size': 123,
'index': 123
},
'nodeProperties': {
'isMainNode': True|False,
'numNodes': 123,
'nodeIndex': 123
}
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
jobSummaryList (list) --
A list of job summaries that match the request.
(dict) --
An object representing summary details of a job.
jobId (string) --
The ID of the job.
jobName (string) --
The name of the job.
createdAt (integer) --
The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING state.
status (string) --
The current status for the job.
statusReason (string) --
A short, human-readable string to provide additional details about the current status of the job.
startedAt (integer) --
The Unix timestamp for when the job was started (when the job transitioned from the STARTING state to the RUNNING state).
stoppedAt (integer) --
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED ).
container (dict) --
An object representing the details of the container that is associated with the job.
exitCode (integer) --
The exit code to return upon completion.
reason (string) --
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
arrayProperties (dict) --
The array properties of the job, if it is an array job.
size (integer) --
The size of the array job. This parameter is returned for parent array jobs.
index (integer) --
The job index within the array that is associated with this job. This parameter is returned for children of array jobs.
nodeProperties (dict) --
The node properties for a single node in a job summary list.
isMainNode (boolean) --
Specifies whether the current node is the main node for a multi-node parallel job.
numNodes (integer) --
The number of nodes associated with a multi-node parallel job.
nodeIndex (integer) --
The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX environment variable.
nextToken (string) --
The nextToken value to include in a future ListJobs request. When the results of a ListJobs request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example lists the running jobs in the HighPriority job queue.
response = client.list_jobs(
jobQueue='HighPriority',
)
print(response)
Expected Output:
{
'jobSummaryList': [
{
'jobId': 'e66ff5fd-a1ff-4640-b1a2-0b0a142f49bb',
'jobName': 'example',
},
],
'ResponseMetadata': {
'...': '...',
},
}
This example lists jobs in the HighPriority job queue that are in the SUBMITTED job status.
response = client.list_jobs(
jobQueue='HighPriority',
jobStatus='SUBMITTED',
)
print(response)
Expected Output:
{
'jobSummaryList': [
{
'jobId': '68f0c163-fbd4-44e6-9fd1-25b14a434786',
'jobName': 'example',
},
],
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobSummaryList': [
{
'jobId': 'string',
'jobName': 'string',
'createdAt': 123,
'status': 'SUBMITTED'|'PENDING'|'RUNNABLE'|'STARTING'|'RUNNING'|'SUCCEEDED'|'FAILED',
'statusReason': 'string',
'startedAt': 123,
'stoppedAt': 123,
'container': {
'exitCode': 123,
'reason': 'string'
},
'arrayProperties': {
'size': 123,
'index': 123
},
'nodeProperties': {
'isMainNode': True|False,
'numNodes': 123,
'nodeIndex': 123
}
},
],
'nextToken': 'string'
}
:returns:
jobQueue (string) -- The name or full Amazon Resource Name (ARN) of the job queue with which to list jobs.
arrayJobId (string) -- The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the specified array.
multiNodeJobId (string) -- The job ID for a multi-node parallel job. Specifying a multi-node parallel job ID with this parameter lists all nodes that are associated with the specified job.
jobStatus (string) -- The job status with which to filter jobs in the specified queue. If you do not specify a status, only RUNNING jobs are returned.
maxResults (integer) -- The maximum number of results returned by ListJobs in paginated output. When this parameter is used, ListJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListJobs returns up to 100 results and a nextToken value if applicable.
nextToken (string) -- The nextToken value returned from a previous paginated ListJobs request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
Note
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
"""
pass
def register_job_definition(jobDefinitionName=None, type=None, parameters=None, containerProperties=None, nodeProperties=None, retryStrategy=None, timeout=None):
"""
Registers an AWS Batch job definition.
See also: AWS API Documentation
Exceptions
Examples
This example registers a job definition for a simple container job.
Expected Output:
:example: response = client.register_job_definition(
jobDefinitionName='string',
type='container'|'multinode',
parameters={
'string': 'string'
},
containerProperties={
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
},
nodeProperties={
'numNodes': 123,
'mainNode': 123,
'nodeRangeProperties': [
{
'targetNodes': 'string',
'container': {
'image': 'string',
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'jobRoleArn': 'string',
'volumes': [
{
'host': {
'sourcePath': 'string'
},
'name': 'string'
},
],
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'mountPoints': [
{
'containerPath': 'string',
'readOnly': True|False,
'sourceVolume': 'string'
},
],
'readonlyRootFilesystem': True|False,
'privileged': True|False,
'ulimits': [
{
'hardLimit': 123,
'name': 'string',
'softLimit': 123
},
],
'user': 'string',
'instanceType': 'string',
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
],
'linuxParameters': {
'devices': [
{
'hostPath': 'string',
'containerPath': 'string',
'permissions': [
'READ'|'WRITE'|'MKNOD',
]
},
]
}
}
},
]
},
retryStrategy={
'attempts': 123
},
timeout={
'attemptDurationSeconds': 123
}
)
:type jobDefinitionName: string
:param jobDefinitionName: [REQUIRED]\nThe name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.\n
:type type: string
:param type: [REQUIRED]\nThe type of job definition.\n
:type parameters: dict
:param parameters: Default parameter substitution placeholders to set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition.\n\n(string) --\n(string) --\n\n\n\n
:type containerProperties: dict
:param containerProperties: An object with various properties specific to single-node container-based jobs. If the job definition\'s type parameter is container , then you must specify either containerProperties or nodeProperties .\n\nimage (string) --The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image :tag `` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run .\n\nImages in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name> ).\nImages in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ).\nImages in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ).\nImages in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu ).\n\n\nvcpus (integer) --The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.\n\nmemory (integer) --The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify at least 4 MiB of memory for a job.\n\nNote\nIf you are trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory Management in the AWS Batch User Guide .\n\n\ncommand (list) --The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .\n\n(string) --\n\n\njobRoleArn (string) --The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.\n\nvolumes (list) --A list of data volumes used in a job.\n\n(dict) --A data volume used in a job\'s container properties.\n\nhost (dict) --The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.\n\nsourcePath (string) --The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.\n\n\n\nname (string) --The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .\n\n\n\n\n\nenvironment (list) --The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run .\n\nWarning\nWe do not recommend using plaintext environment variables for sensitive information, such as credential data.\n\n\nNote\nEnvironment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.\n\n\n(dict) --A key-value pair object.\n\nname (string) --The name of the key-value pair. For environment variables, this is the name of the environment variable.\n\nvalue (string) --The value of the key-value pair. For environment variables, this is the value of the environment variable.\n\n\n\n\n\nmountPoints (list) --The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .\n\n(dict) --Details on a Docker volume mount point that is used in a job\'s container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.\n\ncontainerPath (string) --The path on the container at which to mount the host volume.\n\nreadOnly (boolean) --If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false .\n\nsourceVolume (string) --The name of the volume to mount.\n\n\n\n\n\nreadonlyRootFilesystem (boolean) --When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .\n\nprivileged (boolean) --When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .\n\nulimits (list) --A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run .\n\n(dict) --The ulimit settings to pass to the container.\n\nhardLimit (integer) -- [REQUIRED]The hard limit for the ulimit type.\n\nname (string) -- [REQUIRED]The type of the ulimit .\n\nsoftLimit (integer) -- [REQUIRED]The soft limit for the ulimit type.\n\n\n\n\n\nuser (string) --The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .\n\ninstanceType (string) --The instance type to use for a multi-node parallel job. Currently all node groups in a multi-node parallel job must use the same instance type. This parameter is not valid for single-node container jobs.\n\nresourceRequirements (list) --The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU .\n\n(dict) --The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .\n\nvalue (string) -- [REQUIRED]The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.\n\ntype (string) -- [REQUIRED]The type of resource to assign to a container. Currently, the only supported resource type is GPU .\n\n\n\n\n\nlinuxParameters (dict) --Linux-specific modifications that are applied to the container, such as details for device mappings.\n\ndevices (list) --Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .\n\n(dict) --An object representing a container instance host device.\n\nhostPath (string) -- [REQUIRED]The path for the device on the host container instance.\n\ncontainerPath (string) --The path inside the container at which to expose the host device. By default the hostPath value is used.\n\npermissions (list) --The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.\n\n(string) --\n\n\n\n\n\n\n\n\n\n
:type nodeProperties: dict
:param nodeProperties: An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide . If the job definition\'s type parameter is container , then you must specify either containerProperties or nodeProperties .\n\nnumNodes (integer) -- [REQUIRED]The number of nodes associated with a multi-node parallel job.\n\nmainNode (integer) -- [REQUIRED]Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.\n\nnodeRangeProperties (list) -- [REQUIRED]A list of node ranges and their properties associated with a multi-node parallel job.\n\n(dict) --An object representing the properties of the node range for a multi-node parallel job.\n\ntargetNodes (string) -- [REQUIRED]The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3 . If the starting range value is omitted (:n ), then 0 is used to start the range. If the ending range value is omitted (n: ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You may nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range properties override the 0:10 properties.\n\ncontainer (dict) --The container details for the node range.\n\nimage (string) --The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `` repository-url /image :tag `` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run .\n\nImages in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name> ).\nImages in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ).\nImages in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ).\nImages in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu ).\n\n\nvcpus (integer) --The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.\n\nmemory (integer) --The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify at least 4 MiB of memory for a job.\n\nNote\nIf you are trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory Management in the AWS Batch User Guide .\n\n\ncommand (list) --The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .\n\n(string) --\n\n\njobRoleArn (string) --The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.\n\nvolumes (list) --A list of data volumes used in a job.\n\n(dict) --A data volume used in a job\'s container properties.\n\nhost (dict) --The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data is not guaranteed to persist after the containers associated with it stop running.\n\nsourcePath (string) --The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.\n\n\n\nname (string) --The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .\n\n\n\n\n\nenvironment (list) --The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run .\n\nWarning\nWe do not recommend using plaintext environment variables for sensitive information, such as credential data.\n\n\nNote\nEnvironment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.\n\n\n(dict) --A key-value pair object.\n\nname (string) --The name of the key-value pair. For environment variables, this is the name of the environment variable.\n\nvalue (string) --The value of the key-value pair. For environment variables, this is the value of the environment variable.\n\n\n\n\n\nmountPoints (list) --The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .\n\n(dict) --Details on a Docker volume mount point that is used in a job\'s container properties. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.\n\ncontainerPath (string) --The path on the container at which to mount the host volume.\n\nreadOnly (boolean) --If this value is true , the container has read-only access to the volume; otherwise, the container can write to the volume. The default value is false .\n\nsourceVolume (string) --The name of the volume to mount.\n\n\n\n\n\nreadonlyRootFilesystem (boolean) --When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .\n\nprivileged (boolean) --When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .\n\nulimits (list) --A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run .\n\n(dict) --The ulimit settings to pass to the container.\n\nhardLimit (integer) -- [REQUIRED]The hard limit for the ulimit type.\n\nname (string) -- [REQUIRED]The type of the ulimit .\n\nsoftLimit (integer) -- [REQUIRED]The soft limit for the ulimit type.\n\n\n\n\n\nuser (string) --The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .\n\ninstanceType (string) --The instance type to use for a multi-node parallel job. Currently all node groups in a multi-node parallel job must use the same instance type. This parameter is not valid for single-node container jobs.\n\nresourceRequirements (list) --The type and amount of a resource to assign to a container. Currently, the only supported resource is GPU .\n\n(dict) --The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .\n\nvalue (string) -- [REQUIRED]The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.\n\ntype (string) -- [REQUIRED]The type of resource to assign to a container. Currently, the only supported resource type is GPU .\n\n\n\n\n\nlinuxParameters (dict) --Linux-specific modifications that are applied to the container, such as details for device mappings.\n\ndevices (list) --Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .\n\n(dict) --An object representing a container instance host device.\n\nhostPath (string) -- [REQUIRED]The path for the device on the host container instance.\n\ncontainerPath (string) --The path inside the container at which to expose the host device. By default the hostPath value is used.\n\npermissions (list) --The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.\n\n(string) --\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
:type retryStrategy: dict
:param retryStrategy: The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that is specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it is not retried.\n\nattempts (integer) --The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.\n\n\n
:type timeout: dict
:param timeout: The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not retried. The minimum value for the timeout is 60 seconds. Any timeout configuration that is specified during a SubmitJob operation overrides the timeout configuration defined here. For more information, see Job Timeouts in the Amazon Elastic Container Service Developer Guide .\n\nattemptDurationSeconds (integer) --The time duration in seconds (measured from the job attempt\'s startedAt timestamp) after which AWS Batch terminates your jobs if they have not finished.\n\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobDefinitionName': 'string',
'jobDefinitionArn': 'string',
'revision': 123
}
Response Structure
(dict) --
jobDefinitionName (string) --
The name of the job definition.
jobDefinitionArn (string) --
The Amazon Resource Name (ARN) of the job definition.
revision (integer) --
The revision of the job definition.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example registers a job definition for a simple container job.
response = client.register_job_definition(
type='container',
containerProperties={
'command': [
'sleep',
'10',
],
'image': 'busybox',
'memory': 128,
'vcpus': 1,
},
jobDefinitionName='sleep10',
)
print(response)
Expected Output:
{
'jobDefinitionArn': 'arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1',
'jobDefinitionName': 'sleep10',
'revision': 1,
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobDefinitionName': 'string',
'jobDefinitionArn': 'string',
'revision': 123
}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def submit_job(jobName=None, jobQueue=None, arrayProperties=None, dependsOn=None, jobDefinition=None, parameters=None, containerOverrides=None, nodeOverrides=None, retryStrategy=None, timeout=None):
"""
Submits an AWS Batch job from a job definition. Parameters specified during SubmitJob override parameters defined in the job definition.
See also: AWS API Documentation
Exceptions
Examples
This example submits a simple container job called example to the HighPriority job queue.
Expected Output:
:example: response = client.submit_job(
jobName='string',
jobQueue='string',
arrayProperties={
'size': 123
},
dependsOn=[
{
'jobId': 'string',
'type': 'N_TO_N'|'SEQUENTIAL'
},
],
jobDefinition='string',
parameters={
'string': 'string'
},
containerOverrides={
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'instanceType': 'string',
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
]
},
nodeOverrides={
'numNodes': 123,
'nodePropertyOverrides': [
{
'targetNodes': 'string',
'containerOverrides': {
'vcpus': 123,
'memory': 123,
'command': [
'string',
],
'instanceType': 'string',
'environment': [
{
'name': 'string',
'value': 'string'
},
],
'resourceRequirements': [
{
'value': 'string',
'type': 'GPU'
},
]
}
},
]
},
retryStrategy={
'attempts': 123
},
timeout={
'attemptDurationSeconds': 123
}
)
:type jobName: string
:param jobName: [REQUIRED]\nThe name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.\n
:type jobQueue: string
:param jobQueue: [REQUIRED]\nThe job queue into which the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.\n
:type arrayProperties: dict
:param arrayProperties: The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. For more information, see Array Jobs in the AWS Batch User Guide .\n\nsize (integer) --The size of the array job.\n\n\n
:type dependsOn: list
:param dependsOn: A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a SEQUENTIAL type dependency without specifying a job ID for array jobs so that each child array job completes sequentially, starting at index 0. You can also specify an N_TO_N type dependency with a job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin.\n\n(dict) --An object representing an AWS Batch job dependency.\n\njobId (string) --The job ID of the AWS Batch job associated with this dependency.\n\ntype (string) --The type of the job dependency.\n\n\n\n\n
:type jobDefinition: string
:param jobDefinition: [REQUIRED]\nThe job definition used by this job. This value can be one of name , name:revision , or the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest active revision is used.\n
:type parameters: dict
:param parameters: Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job definition. Parameters are specified as a key and value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition.\n\n(string) --\n(string) --\n\n\n\n
:type containerOverrides: dict
:param containerOverrides: A list of container overrides in JSON format that specify the name of a container in the specified job definition and the overrides it should receive. You can override the default command for a container (that is specified in the job definition or the Docker image) with a command override. You can also override existing environment variables (that are specified in the job definition or Docker image) on a container or add new environment variables to it with an environment override.\n\nvcpus (integer) --The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.\n\nmemory (integer) --The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.\n\ncommand (list) --The command to send to the container that overrides the default command from the Docker image or the job definition.\n\n(string) --\n\n\ninstanceType (string) --The instance type to use for a multi-node parallel job. This parameter is not valid for single-node container jobs.\n\nenvironment (list) --The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.\n\nNote\nEnvironment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.\n\n\n(dict) --A key-value pair object.\n\nname (string) --The name of the key-value pair. For environment variables, this is the name of the environment variable.\n\nvalue (string) --The value of the key-value pair. For environment variables, this is the value of the environment variable.\n\n\n\n\n\nresourceRequirements (list) --The type and amount of a resource to assign to a container. This value overrides the value set in the job definition. Currently, the only supported resource is GPU .\n\n(dict) --The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .\n\nvalue (string) -- [REQUIRED]The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.\n\ntype (string) -- [REQUIRED]The type of resource to assign to a container. Currently, the only supported resource type is GPU .\n\n\n\n\n\n\n
:type nodeOverrides: dict
:param nodeOverrides: A list of node overrides in JSON format that specify the node range to target and the container overrides for that node range.\n\nnumNodes (integer) --The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:\n\nThere must be at least one node range in your job definition that has an open upper boundary (such as : or n: ).\nThe lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.\nThe main node index specified in the job definition must be fewer than the number of nodes specified in the override.\n\n\nnodePropertyOverrides (list) --The node property overrides for the job.\n\n(dict) --Object representing any node overrides to a job definition that is used in a SubmitJob API operation.\n\ntargetNodes (string) -- [REQUIRED]The range of nodes, using node index values, with which to override. A range of 0:3 indicates nodes with index values of 0 through 3 . If the starting range value is omitted (:n ), then 0 is used to start the range. If the ending range value is omitted (n: ), then the highest possible node index is used to end the range.\n\ncontainerOverrides (dict) --The overrides that should be sent to a node range.\n\nvcpus (integer) --The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.\n\nmemory (integer) --The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.\n\ncommand (list) --The command to send to the container that overrides the default command from the Docker image or the job definition.\n\n(string) --\n\n\ninstanceType (string) --The instance type to use for a multi-node parallel job. This parameter is not valid for single-node container jobs.\n\nenvironment (list) --The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.\n\nNote\nEnvironment variables must not start with AWS_BATCH ; this naming convention is reserved for variables that are set by the AWS Batch service.\n\n\n(dict) --A key-value pair object.\n\nname (string) --The name of the key-value pair. For environment variables, this is the name of the environment variable.\n\nvalue (string) --The value of the key-value pair. For environment variables, this is the value of the environment variable.\n\n\n\n\n\nresourceRequirements (list) --The type and amount of a resource to assign to a container. This value overrides the value set in the job definition. Currently, the only supported resource is GPU .\n\n(dict) --The type and amount of a resource to assign to a container. Currently, the only supported resource type is GPU .\n\nvalue (string) -- [REQUIRED]The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.\n\ntype (string) -- [REQUIRED]The type of resource to assign to a container. Currently, the only supported resource type is GPU .\n\n\n\n\n\n\n\n\n\n\n\n\n
:type retryStrategy: dict
:param retryStrategy: The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.\n\nattempts (integer) --The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.\n\n\n
:type timeout: dict
:param timeout: The timeout configuration for this SubmitJob operation. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it is not retried. The minimum value for the timeout is 60 seconds. This configuration overrides any timeout configuration specified in the job definition. For array jobs, child jobs have the same timeout configuration as the parent job. For more information, see Job Timeouts in the Amazon Elastic Container Service Developer Guide .\n\nattemptDurationSeconds (integer) --The time duration in seconds (measured from the job attempt\'s startedAt timestamp) after which AWS Batch terminates your jobs if they have not finished.\n\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobName': 'string',
'jobId': 'string'
}
Response Structure
(dict) --
jobName (string) --
The name of the job.
jobId (string) --
The unique identifier for the job.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example submits a simple container job called example to the HighPriority job queue.
response = client.submit_job(
jobDefinition='sleep60',
jobName='example',
jobQueue='HighPriority',
)
print(response)
Expected Output:
{
'jobId': '876da822-4198-45f2-a252-6cea32512ea8',
'jobName': 'example',
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobName': 'string',
'jobId': 'string'
}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def terminate_job(jobId=None, reason=None):
"""
Terminates a job in a job queue. Jobs that are in the STARTING or RUNNING state are terminated, which causes them to transition to FAILED . Jobs that have not progressed to the STARTING state are cancelled.
See also: AWS API Documentation
Exceptions
Examples
This example terminates a job with the specified job ID.
Expected Output:
:example: response = client.terminate_job(
jobId='string',
reason='string'
)
:type jobId: string
:param jobId: [REQUIRED]\nThe AWS Batch job ID of the job to terminate.\n
:type reason: string
:param reason: [REQUIRED]\nA message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs.\n
:rtype: dict
ReturnsResponse Syntax
{}
Response Structure
(dict) --
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example terminates a job with the specified job ID.
response = client.terminate_job(
jobId='61e743ed-35e4-48da-b2de-5c8333821c84',
reason='Terminating job.',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}
:return: {}
:returns:
(dict) --
"""
pass
def update_compute_environment(computeEnvironment=None, state=None, computeResources=None, serviceRole=None):
"""
Updates an AWS Batch compute environment.
See also: AWS API Documentation
Exceptions
Examples
This example disables the P2OnDemand compute environment so it can be deleted.
Expected Output:
:example: response = client.update_compute_environment(
computeEnvironment='string',
state='ENABLED'|'DISABLED',
computeResources={
'minvCpus': 123,
'maxvCpus': 123,
'desiredvCpus': 123
},
serviceRole='string'
)
:type computeEnvironment: string
:param computeEnvironment: [REQUIRED]\nThe name or full Amazon Resource Name (ARN) of the compute environment to update.\n
:type state: string
:param state: The state of the compute environment. Compute environments in the ENABLED state can accept jobs from a queue and scale in or out automatically based on the workload demand of its associated queues.
:type computeResources: dict
:param computeResources: Details of the compute resources managed by the compute environment. Required for a managed compute environment.\n\nminvCpus (integer) --The minimum number of Amazon EC2 vCPUs that an environment should maintain.\n\nmaxvCpus (integer) --The maximum number of Amazon EC2 vCPUs that an environment can reach.\n\ndesiredvCpus (integer) --The desired number of Amazon EC2 vCPUS in the compute environment.\n\n\n
:type serviceRole: string
:param serviceRole: The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.\nIf your specified role has a path other than / , then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.\n\nNote\nDepending on how you created your AWS Batch service role, its ARN may contain the service-role path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the service-role path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.\n\n
:rtype: dict
ReturnsResponse Syntax
{
'computeEnvironmentName': 'string',
'computeEnvironmentArn': 'string'
}
Response Structure
(dict) --
computeEnvironmentName (string) --
The name of the compute environment.
computeEnvironmentArn (string) --
The Amazon Resource Name (ARN) of the compute environment.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example disables the P2OnDemand compute environment so it can be deleted.
response = client.update_compute_environment(
computeEnvironment='P2OnDemand',
state='DISABLED',
)
print(response)
Expected Output:
{
'computeEnvironmentArn': 'arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand',
'computeEnvironmentName': 'P2OnDemand',
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'computeEnvironmentName': 'string',
'computeEnvironmentArn': 'string'
}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
def update_job_queue(jobQueue=None, state=None, priority=None, computeEnvironmentOrder=None):
"""
Updates a job queue.
See also: AWS API Documentation
Exceptions
Examples
This example disables a job queue so that it can be deleted.
Expected Output:
:example: response = client.update_job_queue(
jobQueue='string',
state='ENABLED'|'DISABLED',
priority=123,
computeEnvironmentOrder=[
{
'order': 123,
'computeEnvironment': 'string'
},
]
)
:type jobQueue: string
:param jobQueue: [REQUIRED]\nThe name or the Amazon Resource Name (ARN) of the job queue.\n
:type state: string
:param state: Describes the queue\'s ability to accept new jobs.
:type priority: integer
:param priority: The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order, for example, a job queue with a priority value of 10 is given scheduling preference over a job queue with a priority value of 1 .
:type computeEnvironmentOrder: list
:param computeEnvironmentOrder: Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.\n\n(dict) --The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.\n\norder (integer) -- [REQUIRED]The order of the compute environment.\n\ncomputeEnvironment (string) -- [REQUIRED]The Amazon Resource Name (ARN) of the compute environment.\n\n\n\n\n
:rtype: dict
ReturnsResponse Syntax
{
'jobQueueName': 'string',
'jobQueueArn': 'string'
}
Response Structure
(dict) --
jobQueueName (string) --
The name of the job queue.
jobQueueArn (string) --
The Amazon Resource Name (ARN) of the job queue.
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example disables a job queue so that it can be deleted.
response = client.update_job_queue(
jobQueue='GPGPU',
state='DISABLED',
)
print(response)
Expected Output:
{
'jobQueueArn': 'arn:aws:batch:us-east-1:012345678910:job-queue/GPGPU',
'jobQueueName': 'GPGPU',
'ResponseMetadata': {
'...': '...',
},
}
:return: {
'jobQueueName': 'string',
'jobQueueArn': 'string'
}
:returns:
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
"""
pass
| 45.938516
| 9,457
| 0.637771
| 21,985
| 180,814
| 5.236798
| 0.048897
| 0.012117
| 0.00271
| 0.002397
| 0.884175
| 0.863964
| 0.844534
| 0.827779
| 0.816461
| 0.803971
| 0
| 0.011426
| 0.290868
| 180,814
| 3,935
| 9,458
| 45.950191
| 0.886485
| 0.984658
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0.5
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 10
|
5c9eacc27f97a8db3208050bfc60a8ad36e580f4
| 203
|
py
|
Python
|
vk/__init__.py
|
tsvstar/vk_downloader
|
52c956b1b75f386677dcd3eb412f52443588a92f
|
[
"MIT"
] | 4
|
2015-06-02T01:27:29.000Z
|
2018-04-15T20:14:51.000Z
|
v2/vk/__init__.py
|
seet61/one
|
c501a04e960eda26aad7bb275cf3ede5207b5812
|
[
"BSD-2-Clause"
] | null | null | null |
v2/vk/__init__.py
|
seet61/one
|
c501a04e960eda26aad7bb275cf3ede5207b5812
|
[
"BSD-2-Clause"
] | 1
|
2021-04-25T12:38:41.000Z
|
2021-04-25T12:38:41.000Z
|
from vk.api import APISession as API
from vk.api import VkError, VkAuthorizationError, VkAPIMethodError
from vk.mixins import EnterCaptchaMixin
class EnterCaptchaAPI(EnterCaptchaMixin, API):
pass
| 22.555556
| 66
| 0.82266
| 24
| 203
| 6.958333
| 0.583333
| 0.107784
| 0.107784
| 0.179641
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133005
| 203
| 8
| 67
| 25.375
| 0.948864
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.2
| 0.6
| 0
| 0.8
| 0
| 1
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
7a2b396cc9609c0ef84de11e1598f106f547daa3
| 968,588
|
py
|
Python
|
Utils/words6.py
|
dobrosketchkun/MOI
|
9e9907a443319f022acad61a92a4792574a77a5f
|
[
"Unlicense"
] | 3
|
2018-12-18T20:08:48.000Z
|
2018-12-25T00:52:57.000Z
|
Utils/words6.py
|
dobrosketchkun/MOI
|
9e9907a443319f022acad61a92a4792574a77a5f
|
[
"Unlicense"
] | null | null | null |
Utils/words6.py
|
dobrosketchkun/MOI
|
9e9907a443319f022acad61a92a4792574a77a5f
|
[
"Unlicense"
] | null | null | null |
#slightly modified version of 12of12inf.txt in https://github.com/en-wl/wordlist
#SCOWL is derived from many sources under a BSD compatible license. The combined work is freely available under a MIT-like license.
words = ['aardvark', 'aardvarks', 'abacus', 'abacuses', 'abalone', 'abalones', 'abandon', 'abandoned', 'abandoning', 'abandonment', 'abandonments', 'abandons', 'abased', 'abasement', 'abasements', 'abases', 'abashed', 'abashedly', 'abashes', 'abashing', 'abashment', 'abashments', 'abasing', 'abated', 'abatement', 'abatements', 'abates', 'abating', 'abattoir', 'abattoirs', 'abbess', 'abbesses', 'abbeys', 'abbots', 'abbreviate', 'abbreviated', 'abbreviates', 'abbreviating', 'abbreviation', 'abbreviations', 'abdicate', 'abdicated', 'abdicates', 'abdicating', 'abdication', 'abdications', 'abdomen', 'abdomens', 'abdominal', 'abdominals', 'abduct', 'abducted', 'abductee!', 'abductees!', 'abducting', 'abduction', 'abductions', 'abductor', 'abductors', 'abducts', 'aberrant', 'aberration', 'aberrational', 'aberrations', 'abetted', 'abetter', 'abetters', 'abetting', 'abettor', 'abettors', 'abeyance', 'abeyances', 'abhorred', 'abhorrence', 'abhorrences', 'abhorrent', 'abhorrently', 'abhorring', 'abhors', 'abidance', 'abidances', 'abided', 'abides', 'abiding', 'abidingly', 'abilities', 'ability', 'abject', 'abjection', 'abjections', 'abjectly', 'abjectness', 'abjectnesses', 'abjuration', 'abjurations', 'abjuratory', 'abjure', 'abjured', 'abjurer', 'abjurers', 'abjures', 'abjuring', 'ablate', 'ablated', 'ablates', 'ablating', 'ablation', 'ablations', 'ablative', 'ablatives', 'ablaze', 'ablest', 'abloom', 'ablution', 'ablutions', 'abnegate', 'abnegated', 'abnegates', 'abnegating', 'abnegation', 'abnegations', 'abnormal', 'abnormalities', 'abnormality', 'abnormally', 'aboard', 'abodes', 'abolish', 'abolished', 'abolishes', 'abolishing', 'abolition', 'abolitionism', 'abolitionisms', 'abolitionist', 'abolitionists', 'abolitions', 'abominable', 'abominably', 'abominate', 'abominated', 'abominates', 'abominating', 'abomination', 'abominations', 'aboriginal', 'aboriginals', 'aborigine', 'aborigines', 'aborning', 'aborted', 'aborting', 'abortion', 'abortionist', 'abortionists', 'abortions', 'abortive', 'abortively', 'aborts', 'abound', 'abounded', 'abounding', 'abounds', 'aboveboard', 'aboves', 'abracadabra', 'abracadabras', 'abrade', 'abraded', 'abrades', 'abrading', 'abrasion', 'abrasions', 'abrasive', 'abrasively', 'abrasiveness', 'abrasivenesses', 'abrasives', 'abreast', 'abridge', 'abridged', 'abridgement', 'abridgements', 'abridges', 'abridging', 'abridgment', 'abridgments', 'abroad', 'abrogate', 'abrogated', 'abrogates', 'abrogating', 'abrogation', 'abrogations', 'abrogator', 'abrogators', 'abrupt', 'abrupter', 'abruptest', 'abruptly', 'abruptness', 'abruptnesses', 'abscess', 'abscessed', 'abscesses', 'abscessing', 'abscissa', 'abscissae', 'abscissas', 'abscission', 'abscissions', 'abscond', 'absconded', 'absconder', 'absconders', 'absconding', 'absconds', 'abseil', 'abseiled', 'abseiling', 'abseils', 'absence', 'absences', 'absent', 'absented', 'absentee', 'absenteeism', 'absenteeisms', 'absentees', 'absenting', 'absently', 'absentminded', 'absentmindedly', 'absentmindedness', 'absentmindednesses', 'absents', 'absinth', 'absinthe', 'absinthes', 'absinths', 'absolute', 'absolutely', 'absoluteness', 'absolutenesses', 'absolutes', 'absolutest', 'absolution', 'absolutions', 'absolutism', 'absolutisms', 'absolutist', 'absolutists', 'absolve', 'absolved', 'absolves', 'absolving', 'absorb', 'absorbed', 'absorbencies', 'absorbency', 'absorbent', 'absorbents', 'absorbing', 'absorbingly', 'absorbs', 'absorption', 'absorptions', 'absorptive', 'abstain', 'abstained', 'abstainer', 'abstainers', 'abstaining', 'abstains', 'abstemious', 'abstemiously', 'abstemiousness', 'abstemiousnesses', 'abstention', 'abstentions', 'abstinence', 'abstinences', 'abstinent', 'abstract', 'abstracted', 'abstractedly', 'abstractedness', 'abstractednesses', 'abstracting', 'abstraction', 'abstractions', 'abstractly', 'abstractness', 'abstractnesses', 'abstracts', 'abstruse', 'abstrusely', 'abstruseness', 'abstrusenesses', 'absurd', 'absurder', 'absurdest', 'absurdities', 'absurdity', 'absurdly', 'absurdness', 'absurdnesses', 'abundance', 'abundances', 'abundant', 'abundantly', 'abused', 'abuser', 'abusers', 'abuses', 'abusing', 'abusive', 'abusively', 'abusiveness', 'abusivenesses', 'abutment', 'abutments', 'abutted', 'abutting', 'abysmal', 'abysmally', 'abyssal', 'abysses', 'acacia', 'acacias', 'academe', 'academes', 'academia', 'academias', 'academic', 'academically', 'academician', 'academicians', 'academics', 'academies', 'academy', 'acanthi', 'acanthus', 'acanthuses', 'accede', 'acceded', 'accedes', 'acceding', 'accelerate', 'accelerated', 'accelerates', 'accelerating', 'acceleration', 'accelerations', 'accelerator', 'accelerators', 'accent', 'accented', 'accenting', 'accents', 'accentual', 'accentuate', 'accentuated', 'accentuates', 'accentuating', 'accentuation', 'accentuations', 'accept', 'acceptabilities', 'acceptability', 'acceptable', 'acceptableness', 'acceptablenesses', 'acceptably', 'acceptance', 'acceptances', 'acceptation', 'acceptations', 'accepted', 'accepting', 'accepts', 'access', 'accessed', 'accesses', 'accessibilities', 'accessibility', 'accessible', 'accessibly', 'accessing', 'accession', 'accessions', 'accessories', 'accessory', 'accident', 'accidental', 'accidentally', 'accidentals', 'accidents', 'acclaim', 'acclaimed', 'acclaiming', 'acclaims', 'acclamation', 'acclamations', 'acclimate', 'acclimated', 'acclimates', 'acclimating', 'acclimation', 'acclimations', 'acclimatization', 'acclimatizations', 'acclimatize', 'acclimatized', 'acclimatizes', 'acclimatizing', 'acclivities', 'acclivity', 'accolade', 'accolades', 'accommodate', 'accommodated', 'accommodates', 'accommodating', 'accommodatingly', 'accommodation', 'accommodations', 'accompanied', 'accompanies', 'accompaniment', 'accompaniments', 'accompanist', 'accompanists', 'accompany', 'accompanying', 'accomplice', 'accomplices', 'accomplish', 'accomplished', 'accomplishes', 'accomplishing', 'accomplishment', 'accomplishments', 'accord', 'accordance', 'accordances', 'accordant', 'accorded', 'according', 'accordingly', 'accordion', 'accordionist', 'accordionists', 'accordions', 'accords', 'accost', 'accosted', 'accosting', 'accosts', 'account', 'accountabilities', 'accountability', 'accountable', 'accountancies', 'accountancy', 'accountant', 'accountants', 'accounted', 'accounting', 'accountings', 'accounts', 'accouter', 'accoutered', 'accoutering', 'accouterments', 'accouters', 'accoutre', 'accoutred', 'accoutrements', 'accoutres', 'accoutring', 'accredit', 'accreditation', 'accreditations', 'accredited', 'accrediting', 'accredits', 'accretion', 'accretions', 'accrual', 'accruals', 'accrue', 'accrued', 'accrues', 'accruing', 'acculturate', 'acculturated', 'acculturates', 'acculturating', 'acculturation', 'acculturations', 'accumulate', 'accumulated', 'accumulates', 'accumulating', 'accumulation', 'accumulations', 'accumulative', 'accumulator', 'accumulators', 'accuracies', 'accuracy', 'accurate', 'accurately', 'accurateness', 'accuratenesses', 'accursed', 'accursedness', 'accursednesses', 'accurst', 'accusation', 'accusations', 'accusative', 'accusatives', 'accusatory', 'accuse', 'accused', 'accuser', 'accusers', 'accuses', 'accusing', 'accusingly', 'accustom', 'accustomed', 'accustoming', 'accustoms', 'acerbate', 'acerbated', 'acerbates', 'acerbating', 'acerbic', 'acerbically', 'acerbities', 'acerbity', 'acetaminophen', 'acetaminophens', 'acetate', 'acetates', 'acetic', 'acetone', 'acetones', 'acetonic', 'acetylene', 'acetylenes', 'achene', 'achenes', 'achier', 'achiest', 'achievable', 'achieve', 'achieved', 'achievement', 'achievements', 'achiever', 'achievers', 'achieves', 'achieving', 'aching', 'achoos', 'achromatic', 'acidic', 'acidified', 'acidifies', 'acidify', 'acidifying', 'acidities', 'acidity', 'acidly', 'acidoses', 'acidosis', 'acidulous', 'acknowledge', 'acknowledged', 'acknowledgement', 'acknowledgements', 'acknowledges', 'acknowledging', 'acknowledgment', 'acknowledgments', 'acnes', 'acolyte', 'acolytes', 'aconite', 'aconites', 'acorns', 'acoustic', 'acoustical', 'acoustically', 'acoustics', 'acquaint', 'acquaintance', 'acquaintances', 'acquaintanceship', 'acquaintanceships', 'acquainted', 'acquainting', 'acquaints', 'acquiesce', 'acquiesced', 'acquiescence', 'acquiescences', 'acquiescent', 'acquiescently', 'acquiesces', 'acquiescing', 'acquirable', 'acquire', 'acquired', 'acquirement', 'acquirements', 'acquires', 'acquiring', 'acquisition', 'acquisitions', 'acquisitive', 'acquisitively', 'acquisitiveness', 'acquisitivenesses', 'acquit', 'acquits', 'acquittal', 'acquittals', 'acquitted', 'acquitting', 'acreage', 'acreages', 'acrider', 'acridest', 'acridities', 'acridity', 'acridly', 'acridness', 'acridnesses', 'acrimonies', 'acrimonious', 'acrimoniously', 'acrimoniousness', 'acrimoniousnesses', 'acrimony', 'acrobat', 'acrobatic', 'acrobatically', 'acrobatics', 'acrobats', 'acronym', 'acronyms', 'acrophobia', 'acrophobias', 'acropolis', 'acropolises', 'across', 'acrostic', 'acrostics', 'acrylic', 'acrylics', 'acting', 'actings', 'actinium', 'actiniums', 'action', 'actionable', 'actions', 'activate', 'activated', 'activates', 'activating', 'activation', 'activations', 'activator', 'activators', 'active', 'actively', 'activeness', 'activenesses', 'actives', 'activism', 'activisms', 'activist', 'activists', 'activities', 'activity', 'actors', 'actress', 'actresses', 'actual', 'actualities', 'actuality', 'actualization', 'actualizations', 'actualize', 'actualized', 'actualizes', 'actualizing', 'actually', 'actuarial', 'actuaries', 'actuary', 'actuate', 'actuated', 'actuates', 'actuating', 'actuation', 'actuations', 'actuator', 'actuators', 'acuities', 'acuity', 'acumen', 'acumens', 'acupressure', 'acupressures', 'acupuncture', 'acupunctures', 'acupuncturist', 'acupuncturists', 'acutely', 'acuteness', 'acutenesses', 'acuter', 'acutes', 'acutest', 'acyclovir', 'acyclovirs', 'adages', 'adagio', 'adagios', 'adamant', 'adamantly', 'adamants', 'adaptabilities', 'adaptability', 'adaptable', 'adaptation', 'adaptations', 'adapted', 'adapter', 'adapters', 'adapting', 'adaptive', 'adaptor', 'adaptors', 'adapts', 'addable', 'addend', 'addenda', 'addends', 'addendum', 'adders', 'addible', 'addict', 'addicted', 'addicting', 'addiction', 'addictions', 'addictive', 'addicts', 'adding', 'addition', 'additional', 'additionally', 'additions', 'additive', 'additives', 'addled', 'addles', 'addling', 'address', 'addressed', 'addressee', 'addressees', 'addresses', 'addressing', 'adduce', 'adduced', 'adduces', 'adducing', 'adenine', 'adenines', 'adenoid', 'adenoidal', 'adenoids', 'adeptly', 'adeptness', 'adeptnesses', 'adepts', 'adequacies', 'adequacy', 'adequate', 'adequately', 'adequateness', 'adequatenesses', 'adhere', 'adhered', 'adherence', 'adherences', 'adherent', 'adherents', 'adheres', 'adhering', 'adhesion', 'adhesions', 'adhesive', 'adhesiveness', 'adhesivenesses', 'adhesives', 'adieus', 'adieux', 'adipose', 'adjacencies', 'adjacency', 'adjacent', 'adjacently', 'adjectival', 'adjectivally', 'adjective', 'adjectives', 'adjoin', 'adjoined', 'adjoining', 'adjoins', 'adjourn', 'adjourned', 'adjourning', 'adjournment', 'adjournments', 'adjourns', 'adjudge', 'adjudged', 'adjudges', 'adjudging', 'adjudicate', 'adjudicated', 'adjudicates', 'adjudicating', 'adjudication', 'adjudications', 'adjudicative', 'adjudicator', 'adjudicators', 'adjudicatory', 'adjunct', 'adjuncts', 'adjuration', 'adjurations', 'adjure', 'adjured', 'adjures', 'adjuring', 'adjust', 'adjustable', 'adjusted', 'adjuster', 'adjusters', 'adjusting', 'adjustment', 'adjustments', 'adjustor', 'adjustors', 'adjusts', 'adjutant', 'adjutants', 'administer', 'administered', 'administering', 'administers', 'administrate', 'administrated', 'administrates', 'administrating', 'administration', 'administrations', 'administrative', 'administratively', 'administrator', 'administrators', 'admirable', 'admirably', 'admiral', 'admirals', 'admiralties', 'admiralty', 'admiration', 'admirations', 'admire', 'admired', 'admirer', 'admirers', 'admires', 'admiring', 'admiringly', 'admissibilities', 'admissibility', 'admissible', 'admissibly', 'admission', 'admissions', 'admits', 'admittance', 'admittances', 'admitted', 'admittedly', 'admitting', 'admixed', 'admixes', 'admixing', 'admixture', 'admixtures', 'admonish', 'admonished', 'admonishes', 'admonishing', 'admonishment', 'admonishments', 'admonition', 'admonitions', 'admonitory', 'adobes', 'adolescence', 'adolescences', 'adolescent', 'adolescents', 'adoptable', 'adopted', 'adopter', 'adopters', 'adopting', 'adoption', 'adoptions', 'adoptive', 'adopts', 'adorable', 'adorableness', 'adorablenesses', 'adorably', 'adoration', 'adorations', 'adored', 'adorer', 'adorers', 'adores', 'adoring', 'adoringly', 'adorned', 'adorning', 'adornment', 'adornments', 'adorns', 'adrenal', 'adrenalin', 'adrenaline', 'adrenalines', 'adrenalins', 'adrenals', 'adrift', 'adroit', 'adroitly', 'adroitness', 'adroitnesses', 'adsorb', 'adsorbed', 'adsorbent', 'adsorbents', 'adsorbing', 'adsorbs', 'adsorption', 'adsorptions', 'adulate', 'adulated', 'adulates', 'adulating', 'adulation', 'adulations', 'adulator', 'adulators', 'adulatory', 'adulterant', 'adulterants', 'adulterate', 'adulterated', 'adulterates', 'adulterating', 'adulteration', 'adulterations', 'adulterer', 'adulterers', 'adulteress', 'adulteresses', 'adulteries', 'adulterous', 'adultery', 'adulthood', 'adulthoods', 'adults', 'adumbrate', 'adumbrated', 'adumbrates', 'adumbrating', 'adumbration', 'adumbrations', 'advance', 'advanced', 'advancement', 'advancements', 'advances', 'advancing', 'advantage', 'advantaged', 'advantageous', 'advantageously', 'advantages', 'advantaging', 'advent', 'adventitious', 'adventitiously', 'advents', 'adventure', 'adventured', 'adventurer', 'adventurers', 'adventures', 'adventuresome', 'adventuress', 'adventuresses', 'adventuring', 'adventurous', 'adventurously', 'adventurousness', 'adventurousnesses', 'adverb', 'adverbial', 'adverbially', 'adverbials', 'adverbs', 'adversarial', 'adversaries', 'adversary', 'adverse', 'adversely', 'adverseness', 'adversenesses', 'adverser', 'adversest', 'adversities', 'adversity', 'advert', 'adverted', 'adverting', 'advertise', 'advertised', 'advertisement', 'advertisements', 'advertiser', 'advertisers', 'advertises', 'advertising', 'advertisings', 'advertize', 'advertized', 'advertizement', 'advertizements', 'advertizes', 'advertizing', 'advertorial', 'advertorials', 'adverts', 'advice', 'advices', 'advisabilities', 'advisability', 'advisable', 'advisably', 'advise', 'advised', 'advisedly', 'advisement', 'advisements', 'adviser', 'advisers', 'advises', 'advising', 'advisor', 'advisories', 'advisors', 'advisory', 'advocacies', 'advocacy', 'advocate', 'advocated', 'advocates', 'advocating', 'aegises', 'aerate', 'aerated', 'aerates', 'aerating', 'aeration', 'aerations', 'aerator', 'aerators', 'aerial', 'aerialist', 'aerialists', 'aerially', 'aerials', 'aeries', 'aerobatic', 'aerobatics', 'aerobic', 'aerobically', 'aerobics', 'aerodrome', 'aerodromes', 'aerodynamic', 'aerodynamically', 'aerodynamics', 'aeronautic', 'aeronautical', 'aeronautics', 'aeroplane', 'aeroplanes', 'aerosol', 'aerosols', 'aerospace', 'aerospaces', 'aesthete', 'aesthetes', 'aesthetic', 'aesthetically', 'aestheticism', 'aestheticisms', 'aesthetics', 'affabilities', 'affability', 'affable', 'affably', 'affair', 'affairs', 'affect', 'affectation', 'affectations', 'affected', 'affectedly', 'affecting', 'affectingly', 'affection', 'affectionate', 'affectionately', 'affections', 'affects', 'afferent', 'affiance', 'affianced', 'affiances', 'affiancing', 'affidavit', 'affidavits', 'affiliate', 'affiliated', 'affiliates', 'affiliating', 'affiliation', 'affiliations', 'affinities', 'affinity', 'affirm', 'affirmation', 'affirmations', 'affirmative', 'affirmatively', 'affirmatives', 'affirmed', 'affirming', 'affirms', 'affixed', 'affixes', 'affixing', 'afflatus', 'afflatuses', 'afflict', 'afflicted', 'afflicting', 'affliction', 'afflictions', 'afflicts', 'affluence', 'affluences', 'affluent', 'affluently', 'afford', 'affordable', 'afforded', 'affording', 'affords', 'afforest', 'afforestation', 'afforestations', 'afforested', 'afforesting', 'afforests', 'affray', 'affrays', 'affront', 'affronted', 'affronting', 'affronts', 'afghan', 'afghans', 'aficionado', 'aficionados', 'afield', 'aflame', 'afloat', 'aflutter', 'aforementioned', 'aforesaid', 'aforethought', 'afraid', 'afresh', 'afterbirth', 'afterbirths', 'afterburner', 'afterburners', 'aftercare', 'aftercares', 'aftereffect', 'aftereffects', 'afterglow', 'afterglows', 'afterimage', 'afterimages', 'afterlife', 'afterlives', 'aftermarket', 'aftermarkets', 'aftermath', 'aftermaths', 'afternoon', 'afternoons', 'aftershave', 'aftershaves', 'aftershock', 'aftershocks', 'aftertaste', 'aftertastes', 'afterthought', 'afterthoughts', 'afterward', 'afterwards', 'afterword', 'afterwords', 'against', 'agapae', 'agapai', 'agapes', 'agars', 'agates', 'agaves', 'ageing', 'ageism', 'ageisms', 'ageist', 'ageists', 'ageless', 'agelessly', 'agelessness', 'agelessnesses', 'agencies', 'agency', 'agenda', 'agendas', 'agents', 'ageratum', 'ageratums', 'agglomerate', 'agglomerated', 'agglomerates', 'agglomerating', 'agglomeration', 'agglomerations', 'agglutinate', 'agglutinated', 'agglutinates', 'agglutinating', 'agglutination', 'agglutinations', 'aggrandize', 'aggrandized', 'aggrandizement', 'aggrandizements', 'aggrandizes', 'aggrandizing', 'aggravate', 'aggravated', 'aggravates', 'aggravating', 'aggravatingly', 'aggravation', 'aggravations', 'aggregate', 'aggregated', 'aggregates', 'aggregating', 'aggregation', 'aggregations', 'aggression', 'aggressions', 'aggressive', 'aggressively', 'aggressiveness', 'aggressivenesses', 'aggressor', 'aggressors', 'aggrieve', 'aggrieved', 'aggrieves', 'aggrieving', 'aghast', 'agilely', 'agilities', 'agility', 'agings', 'agitate', 'agitated', 'agitates', 'agitating', 'agitation', 'agitations', 'agitator', 'agitators', 'agitprop', 'agitprops', 'agleam', 'aglitter', 'agnostic', 'agnosticism', 'agnosticisms', 'agnostics', 'agonies', 'agonize', 'agonized', 'agonizes', 'agonizing', 'agonizingly', 'agoraphobia', 'agoraphobias', 'agoraphobic', 'agoraphobics', 'agrarian', 'agrarianism', 'agrarianisms', 'agrarians', 'agreeable', 'agreeableness', 'agreeablenesses', 'agreeably', 'agreed', 'agreeing', 'agreement', 'agreements', 'agrees', 'agribusiness', 'agribusinesses', 'agricultural', 'agriculturalist', 'agriculturalists', 'agriculturally', 'agriculture', 'agricultures', 'agriculturist', 'agriculturists', 'agronomic', 'agronomics', 'agronomies', 'agronomist', 'agronomists', 'agronomy', 'aground', 'agues', 'aiding', 'aigrette', 'aigrettes', 'aileron', 'ailerons', 'ailing', 'ailment', 'ailments', 'aiming', 'aimless', 'aimlessly', 'aimlessness', 'aimlessnesses', 'airbag', 'airbags', 'airbase', 'airbases', 'airborne', 'airbrush', 'airbrushed', 'airbrushes', 'airbrushing', 'airbus', 'airbuses', 'airbusses', 'aircraft', 'airdrop', 'airdropped', 'airdropping', 'airdrops', 'airfare', 'airfares', 'airfield', 'airfields', 'airflow', 'airflows', 'airfoil', 'airfoils', 'airfreight', 'airfreights', 'airhead', 'airheads', 'airier', 'airiest', 'airily', 'airiness', 'airinesses', 'airing', 'airings', 'airless', 'airlessness', 'airlessnesses', 'airlift', 'airlifted', 'airlifting', 'airlifts', 'airline', 'airliner', 'airliners', 'airlines', 'airlock', 'airlocks', 'airmail', 'airmailed', 'airmailing', 'airmails', 'airman', 'airmen', 'airplane', 'airplanes', 'airplay', 'airplays', 'airport', 'airports', 'airship', 'airships', 'airsick', 'airsickness', 'airsicknesses', 'airspace', 'airspaces', 'airstrike', 'airstrikes', 'airstrip', 'airstrips', 'airtight', 'airtime', 'airtimes', 'airwaves', 'airway', 'airways', 'airworthier', 'airworthiest', 'airworthiness', 'airworthinesses', 'airworthy', 'aisles', 'aitches', 'akimbo', 'alabaster', 'alabasters', 'alacrities', 'alacrity', 'alarmed', 'alarming', 'alarmingly', 'alarmist', 'alarmists', 'alarms', 'albacore', 'albacores', 'albatross', 'albatrosses', 'albeit', 'albinism', 'albinisms', 'albino', 'albinos', 'albumen', 'albumens', 'albumin', 'albuminous', 'albumins', 'albums', 'alchemies', 'alchemist', 'alchemists', 'alchemy', 'alcohol', 'alcoholic', 'alcoholically', 'alcoholics', 'alcoholism', 'alcoholisms', 'alcohols', 'alcove', 'alcoves', 'alderman', 'aldermen', 'alders', 'alderwoman', 'alderwomen', 'aleatory', 'alehouse', 'alehouses', 'alembic', 'alembics', 'alerted', 'alerting', 'alertly', 'alertness', 'alertnesses', 'alerts', 'alewife', 'alewives', 'alfalfa', 'alfalfas', 'alfresco', 'algebra', 'algebraic', 'algebraically', 'algebras', 'algorithm', 'algorithmic', 'algorithms', 'aliased', 'aliases', 'aliasing', 'alibied', 'alibiing', 'alibis', 'alienable', 'alienate', 'alienated', 'alienates', 'alienating', 'alienation', 'alienations', 'alienist', 'alienists', 'aliens', 'alight', 'alighted', 'alighting', 'alights', 'aligned', 'aligner', 'aligners', 'aligning', 'alignment', 'alignments', 'aligns', 'aliment', 'alimentary', 'alimented', 'alimenting', 'aliments', 'alimonies', 'alimony', 'alined', 'alinement', 'alinements', 'alines', 'alining', 'aliveness', 'alivenesses', 'aliyah', 'aliyahs', 'alkali', 'alkalies', 'alkaline', 'alkalinities', 'alkalinity', 'alkalis', 'alkalize', 'alkalized', 'alkalizes', 'alkalizing', 'alkaloid', 'alkaloids', 'alkyds', 'allayed', 'allaying', 'allays', 'allegation', 'allegations', 'allege', 'alleged', 'allegedly', 'alleges', 'allegiance', 'allegiances', 'alleging', 'allegoric', 'allegorical', 'allegorically', 'allegories', 'allegorist', 'allegorists', 'allegory', 'allegretto', 'allegrettos', 'allegro', 'allegros', 'allele', 'alleles', 'alleluia', 'alleluias', 'allergen', 'allergenic', 'allergens', 'allergic', 'allergically', 'allergies', 'allergist', 'allergists', 'allergy', 'alleviate', 'alleviated', 'alleviates', 'alleviating', 'alleviation', 'alleviations', 'alleys', 'alleyway', 'alleyways', 'alliance', 'alliances', 'allied', 'allies', 'alligator', 'alligators', 'alliterate', 'alliterated', 'alliterates', 'alliterating', 'alliteration', 'alliterations', 'alliterative', 'alliteratively', 'allocate', 'allocated', 'allocates', 'allocating', 'allocation', 'allocations', 'allotment', 'allotments', 'allots', 'allotted', 'allotting', 'allover', 'allowable', 'allowably', 'allowance', 'allowances', 'allowed', 'allowing', 'allows', 'alloyed', 'alloying', 'alloys', 'allspice', 'allspices', 'allude', 'alluded', 'alludes', 'alluding', 'allure', 'allured', 'allurement', 'allurements', 'allures', 'alluring', 'alluringly', 'allusion', 'allusions', 'allusive', 'allusively', 'allusiveness', 'allusivenesses', 'alluvia', 'alluvial', 'alluvials', 'alluvium', 'alluviums', 'allying', 'almanac', 'almanacs', 'almighty', 'almond', 'almonds', 'almoner', 'almoners', 'almost', 'almshouse', 'almshouses', 'alohas', 'alongshore', 'alongside', 'aloofly', 'aloofness', 'aloofnesses', 'alpaca', 'alpacas', 'alphabet', 'alphabetic', 'alphabetical', 'alphabetically', 'alphabetization', 'alphabetizations', 'alphabetize', 'alphabetized', 'alphabetizer', 'alphabetizers', 'alphabetizes', 'alphabetizing', 'alphabets', 'alphanumeric', 'alphanumerical', 'alphanumerically', 'alphas', 'alpine', 'already', 'alright', 'altarpiece', 'altarpieces', 'altars', 'alterable', 'alteration', 'alterations', 'altercation', 'altercations', 'altered', 'altering', 'alternate', 'alternated', 'alternately', 'alternates', 'alternating', 'alternation', 'alternations', 'alternative', 'alternatively', 'alternatives', 'alternator', 'alternators', 'alters', 'although', 'altimeter', 'altimeters', 'altitude', 'altitudes', 'altogether', 'altruism', 'altruisms', 'altruist', 'altruistic', 'altruistically', 'altruists', 'alumina', 'aluminas', 'aluminium', 'aluminiums', 'aluminum', 'aluminums', 'alumna', 'alumnae', 'alumni', 'alumnus', 'always', 'amalgam', 'amalgamate', 'amalgamated', 'amalgamates', 'amalgamating', 'amalgamation', 'amalgamations', 'amalgams', 'amanuenses', 'amanuensis', 'amaranth', 'amaranths', 'amaretto', 'amarettos', 'amaryllis', 'amaryllises', 'amassed', 'amasses', 'amassing', 'amateur', 'amateurish', 'amateurishly', 'amateurishness', 'amateurishnesses', 'amateurism', 'amateurisms', 'amateurs', 'amatory', 'amazed', 'amazement', 'amazements', 'amazes', 'amazing', 'amazingly', 'amazon', 'amazonian', 'amazons', 'ambassador', 'ambassadorial', 'ambassadors', 'ambassadorship', 'ambassadorships', 'ambassadress', 'ambassadresses', 'ambergris', 'ambergrises', 'ambers', 'ambiance', 'ambiances', 'ambidexterities', 'ambidexterity', 'ambidextrous', 'ambidextrously', 'ambience', 'ambiences', 'ambient', 'ambiguities', 'ambiguity', 'ambiguous', 'ambiguously', 'ambition', 'ambitions', 'ambitious', 'ambitiously', 'ambitiousness', 'ambitiousnesses', 'ambivalence', 'ambivalences', 'ambivalent', 'ambivalently', 'ambled', 'ambler', 'amblers', 'ambles', 'ambling', 'ambrosia', 'ambrosial', 'ambrosias', 'ambulance', 'ambulances', 'ambulant', 'ambulate', 'ambulated', 'ambulates', 'ambulating', 'ambulation', 'ambulations', 'ambulatories', 'ambulatory', 'ambuscade', 'ambuscaded', 'ambuscades', 'ambuscading', 'ambush', 'ambushed', 'ambushes', 'ambushing', 'amebae', 'amebas', 'amebic', 'ameboid', 'ameliorate', 'ameliorated', 'ameliorates', 'ameliorating', 'amelioration', 'ameliorations', 'ameliorative', 'amenabilities', 'amenability', 'amenable', 'amenably', 'amendable', 'amended', 'amending', 'amendment', 'amendments', 'amends', 'amenities', 'amenity', 'amerce', 'amerced', 'amercement', 'amercements', 'amerces', 'amercing', 'americium', 'americiums', 'amethyst', 'amethysts', 'amiabilities', 'amiability', 'amiable', 'amiably', 'amicabilities', 'amicability', 'amicable', 'amicably', 'amides', 'amidship', 'amidships', 'amidst', 'amigos', 'amities', 'ammeter', 'ammeters', 'ammonia', 'ammonias', 'ammos', 'ammunition', 'ammunitions', 'amnesia', 'amnesiac', 'amnesiacs', 'amnesias', 'amnesic', 'amnesics', 'amnestied', 'amnesties', 'amnesty', 'amnestying', 'amniocenteses', 'amniocentesis', 'amnion', 'amnions', 'amniotic', 'amoeba', 'amoebae', 'amoebas', 'amoebic', 'amongst', 'amontillado', 'amontillados', 'amoral', 'amoralities', 'amorality', 'amorally', 'amorous', 'amorously', 'amorousness', 'amorousnesses', 'amorphous', 'amorphously', 'amorphousness', 'amorphousnesses', 'amortization', 'amortizations', 'amortize', 'amortized', 'amortizes', 'amortizing', 'amount', 'amounted', 'amounting', 'amounts', 'amours', 'amperage', 'amperages', 'ampere', 'amperes', 'ampersand', 'ampersands', 'amphetamine', 'amphetamines', 'amphibian', 'amphibians', 'amphibious', 'amphibiously', 'amphitheater', 'amphitheaters', 'amphitheatre', 'amphitheatres', 'amphora', 'amphorae', 'amphoras', 'ampler', 'amplest', 'amplification', 'amplifications', 'amplified', 'amplifier', 'amplifiers', 'amplifies', 'amplify', 'amplifying', 'amplitude', 'amplitudes', 'ampoule', 'ampoules', 'ampule', 'ampules', 'ampuls', 'amputate', 'amputated', 'amputates', 'amputating', 'amputation', 'amputations', 'amputee', 'amputees', 'amulet', 'amulets', 'amused', 'amusement', 'amusements', 'amuses', 'amusing', 'amusingly', 'amylase', 'amylases', 'anabolism', 'anabolisms', 'anachronism', 'anachronisms', 'anachronistic', 'anachronistically', 'anaconda', 'anacondas', 'anaemia', 'anaemias', 'anaemic', 'anaerobe', 'anaerobes', 'anaerobic', 'anaerobically', 'anaesthesia', 'anaesthesias', 'anaesthetic', 'anaesthetics', 'anaesthetist', 'anaesthetists', 'anaesthetize', 'anaesthetized', 'anaesthetizes', 'anaesthetizing', 'anagram', 'anagrams', 'analgesia', 'analgesias', 'analgesic', 'analgesics', 'anally', 'analog', 'analogical', 'analogically', 'analogies', 'analogize', 'analogized', 'analogizes', 'analogizing', 'analogous', 'analogously', 'analogousness', 'analogousnesses', 'analogs', 'analogue', 'analogues', 'analogy', 'analysand', 'analysands', 'analyse', 'analysed', 'analyses', 'analysing', 'analysis', 'analyst', 'analysts', 'analytic', 'analytical', 'analytically', 'analyzable', 'analyze', 'analyzed', 'analyzer', 'analyzers', 'analyzes', 'analyzing', 'anapaest', 'anapaests', 'anapest', 'anapestic', 'anapestics', 'anapests', 'anarchic', 'anarchically', 'anarchies', 'anarchism', 'anarchisms', 'anarchist', 'anarchistic', 'anarchists', 'anarchy', 'anathema', 'anathemas', 'anathematize', 'anathematized', 'anathematizes', 'anathematizing', 'anatomic', 'anatomical', 'anatomically', 'anatomies', 'anatomist', 'anatomists', 'anatomize', 'anatomized', 'anatomizes', 'anatomizing', 'anatomy', 'ancestor', 'ancestors', 'ancestral', 'ancestrally', 'ancestress', 'ancestresses', 'ancestries', 'ancestry', 'anchor', 'anchorage', 'anchorages', 'anchored', 'anchoring', 'anchorite', 'anchorites', 'anchorman', 'anchormen', 'anchorperson', 'anchorpersons', 'anchors', 'anchorwoman', 'anchorwomen', 'anchovies', 'anchovy', 'ancient', 'ancienter', 'ancientest', 'anciently', 'ancientness', 'ancientnesses', 'ancients', 'ancillaries', 'ancillary', 'andante', 'andantes', 'andiron', 'andirons', 'androgen', 'androgenic', 'androgens', 'androgynies', 'androgynous', 'androgyny', 'android', 'androids', 'anecdota', 'anecdotal', 'anecdote', 'anecdotes', 'anemia', 'anemias', 'anemic', 'anemically', 'anemometer', 'anemometers', 'anemone', 'anemones', 'anesthesia', 'anesthesias', 'anesthesiologies', 'anesthesiologist', 'anesthesiologists', 'anesthesiology', 'anesthetic', 'anesthetics', 'anesthetist', 'anesthetists', 'anesthetization', 'anesthetizations', 'anesthetize', 'anesthetized', 'anesthetizes', 'anesthetizing', 'aneurism', 'aneurisms', 'aneurysm', 'aneurysms', 'angelfish', 'angelfishes', 'angelic', 'angelica', 'angelical', 'angelically', 'angelicas', 'angels', 'angered', 'angering', 'angers', 'angina', 'anginas', 'angioplasties', 'angioplasty', 'angiosperm', 'angiosperms', 'angled', 'angler', 'anglers', 'angles', 'angleworm', 'angleworms', 'anglicize', 'anglicized', 'anglicizes', 'anglicizing', 'angling', 'anglings', 'angora', 'angoras', 'angrier', 'angriest', 'angrily', 'angstrom', 'angstroms', 'angsts', 'anguish', 'anguished', 'anguishes', 'anguishing', 'angular', 'angularities', 'angularity', 'anhydrous', 'aniline', 'anilines', 'animadversion', 'animadversions', 'animadvert', 'animadverted', 'animadverting', 'animadverts', 'animal', 'animalcule', 'animalcules', 'animals', 'animate', 'animated', 'animatedly', 'animates', 'animating', 'animation', 'animations', 'animator', 'animators', 'anime!', 'animes!', 'animism', 'animisms', 'animist', 'animistic', 'animists', 'animosities', 'animosity', 'animus', 'animuses', 'anionic', 'anions', 'aniseed', 'aniseeds', 'anises', 'anisette', 'anisettes', 'anklebone', 'anklebones', 'ankles', 'anklet', 'anklets', 'annalist', 'annalists', 'annals', 'anneal', 'annealed', 'annealing', 'anneals', 'annelid', 'annelids', 'annexation', 'annexations', 'annexe', 'annexed', 'annexes', 'annexing', 'annihilate', 'annihilated', 'annihilates', 'annihilating', 'annihilation', 'annihilations', 'annihilator', 'annihilators', 'anniversaries', 'anniversary', 'annotate', 'annotated', 'annotates', 'annotating', 'annotation', 'annotations', 'annotative', 'annotator', 'annotators', 'announce', 'announced', 'announcement', 'announcements', 'announcer', 'announcers', 'announces', 'announcing', 'annoyance', 'annoyances', 'annoyed', 'annoying', 'annoyingly', 'annoys', 'annual', 'annually', 'annuals', 'annuitant', 'annuitants', 'annuities', 'annuity', 'annular', 'annulled', 'annulling', 'annulment', 'annulments', 'annuls', 'annunciation', 'annunciations', 'anodes', 'anodize', 'anodized', 'anodizes', 'anodizing', 'anodyne', 'anodynes', 'anoint', 'anointed', 'anointing', 'anointment', 'anointments', 'anoints', 'anomalies', 'anomalous', 'anomalously', 'anomaly', 'anonymities', 'anonymity', 'anonymous', 'anonymously', 'anopheles', 'anorak', 'anoraks', 'anorectic', 'anorectics', 'anorexia', 'anorexias', 'anorexic', 'anorexics', 'another', 'answer', 'answerable', 'answered', 'answering', 'answers', 'antacid', 'antacids', 'antagonism', 'antagonisms', 'antagonist', 'antagonistic', 'antagonistically', 'antagonists', 'antagonize', 'antagonized', 'antagonizes', 'antagonizing', 'antarctic', 'anteater', 'anteaters', 'antebellum', 'antecedence', 'antecedences', 'antecedent', 'antecedents', 'antechamber', 'antechambers', 'antedate', 'antedated', 'antedates', 'antedating', 'antediluvian', 'anteed', 'anteing', 'antelope', 'antelopes', 'antenatal', 'antenna', 'antennae', 'antennas', 'anterior', 'anteroom', 'anterooms', 'anthem', 'anthems', 'anther', 'anthers', 'anthill', 'anthills', 'anthologies', 'anthologist', 'anthologists', 'anthologize', 'anthologized', 'anthologizes', 'anthologizing', 'anthology', 'anthraces', 'anthracite', 'anthracites', 'anthrax', 'anthraxes', 'anthropocentric', 'anthropoid', 'anthropoids', 'anthropological', 'anthropologically', 'anthropologies', 'anthropologist', 'anthropologists', 'anthropology', 'anthropomorphic', 'anthropomorphically', 'anthropomorphism', 'anthropomorphisms', 'anthropomorphous', 'antiabortion', 'antiabortionist', 'antiabortionists', 'antiaircraft', 'antibacterial', 'antibacterials', 'antibiotic', 'antibiotics', 'antibodies', 'antibody', 'anticancer', 'antichrist', 'antichrists', 'anticipate', 'anticipated', 'anticipates', 'anticipating', 'anticipation', 'anticipations', 'anticipatory', 'anticlerical', 'anticlimactic', 'anticlimactically', 'anticlimax', 'anticlimaxes', 'anticline', 'anticlines', 'anticlockwise', 'anticoagulant', 'anticoagulants', 'anticommunism', 'anticommunisms', 'anticommunist', 'anticommunists', 'antics', 'anticyclone', 'anticyclones', 'anticyclonic', 'antidemocratic', 'antidepressant', 'antidepressants', 'antidote', 'antidotes', 'antifascist', 'antifascists', 'antifreeze', 'antifreezes', 'antigen', 'antigenic', 'antigenicities', 'antigenicity', 'antigens', 'antihero', 'antiheroes', 'antihistamine', 'antihistamines', 'antiknock', 'antiknocks', 'antilabor', 'antilogarithm', 'antilogarithms', 'antimacassar', 'antimacassars', 'antimalarial', 'antimalarials', 'antimatter', 'antimatters', 'antimicrobial', 'antimissile', 'antimonies', 'antimony', 'antinuclear', 'antioxidant', 'antioxidants', 'antiparticle', 'antiparticles', 'antipasti', 'antipasto', 'antipastos', 'antipathetic', 'antipathies', 'antipathy', 'antipersonnel', 'antiperspirant', 'antiperspirants', 'antiphon', 'antiphonal', 'antiphonally', 'antiphonals', 'antiphons', 'antipodal', 'antipodean', 'antipodeans', 'antipodes', 'antipollution', 'antipoverty', 'antiquarian', 'antiquarianism', 'antiquarianisms', 'antiquarians', 'antiquaries', 'antiquary', 'antiquate', 'antiquated', 'antiquates', 'antiquating', 'antique', 'antiqued', 'antiques', 'antiquing', 'antiquities', 'antiquity', 'antisemitic', 'antisemitism', 'antisemitisms', 'antisepses', 'antisepsis', 'antiseptic', 'antiseptically', 'antiseptics', 'antisera', 'antiserum', 'antiserums', 'antislavery', 'antisocial', 'antisocially', 'antispasmodic', 'antispasmodics', 'antisubmarine', 'antitank', 'antitheses', 'antithesis', 'antithetic', 'antithetical', 'antithetically', 'antitoxin', 'antitoxins', 'antitrust', 'antivenin', 'antivenins', 'antiviral', 'antivirals', 'antivivisectionist', 'antivivisectionists', 'antiwar', 'antler', 'antlered', 'antlers', 'antonym', 'antonymous', 'antonyms', 'antsier', 'antsiest', 'anuses', 'anvils', 'anxieties', 'anxiety', 'anxious', 'anxiously', 'anxiousness', 'anxiousnesses', 'anybodies', 'anybody', 'anyhow', 'anymore', 'anyone', 'anyplace', 'anything', 'anytime', 'anyway', 'anywhere', 'anywise', 'aortae', 'aortas', 'aortic', 'apartheid', 'apartheids', 'apartment', 'apartments', 'apathetic', 'apathetically', 'apathies', 'apathy', 'apatite', 'apatites', 'apelike', 'aperitif', 'aperitifs', 'aperture', 'apertures', 'apexes', 'aphasia', 'aphasias', 'aphasic', 'aphasics', 'aphelia', 'aphelion', 'aphelions', 'aphids', 'aphorism', 'aphorisms', 'aphoristic', 'aphoristically', 'aphrodisiac', 'aphrodisiacs', 'apiaries', 'apiarist', 'apiarists', 'apiary', 'apical', 'apically', 'apices', 'apiece', 'apishly', 'aplenty', 'aplomb', 'aplombs', 'apocalypse', 'apocalypses', 'apocalyptic', 'apocrypha', 'apocryphal', 'apocryphally', 'apogee', 'apogees', 'apolitical', 'apolitically', 'apologetic', 'apologetically', 'apologia', 'apologias', 'apologies', 'apologist', 'apologists', 'apologize', 'apologized', 'apologizes', 'apologizing', 'apology', 'apoplectic', 'apoplexies', 'apoplexy', 'apostasies', 'apostasy', 'apostate', 'apostates', 'apostatize', 'apostatized', 'apostatizes', 'apostatizing', 'apostle', 'apostles', 'apostleship', 'apostleships', 'apostolic', 'apostrophe', 'apostrophes', 'apothecaries', 'apothecary', 'apothegm', 'apothegms', 'apotheoses', 'apotheosis', 'appall', 'appalled', 'appalling', 'appallingly', 'appalls', 'appaloosa', 'appaloosas', 'appals', 'apparatus', 'apparatuses', 'apparel', 'appareled', 'appareling', 'apparelled', 'apparelling', 'apparels', 'apparent', 'apparently', 'apparition', 'apparitions', 'appeal', 'appealed', 'appealing', 'appealingly', 'appeals', 'appear', 'appearance', 'appearances', 'appeared', 'appearing', 'appears', 'appease', 'appeased', 'appeasement', 'appeasements', 'appeaser', 'appeasers', 'appeases', 'appeasing', 'appellant', 'appellants', 'appellate', 'appellation', 'appellations', 'append', 'appendage', 'appendages', 'appendectomies', 'appendectomy', 'appended', 'appendices', 'appendicitis', 'appendicitises', 'appending', 'appendix', 'appendixes', 'appends', 'appertain', 'appertained', 'appertaining', 'appertains', 'appetite', 'appetites', 'appetizer', 'appetizers', 'appetizing', 'appetizingly', 'applaud', 'applauded', 'applauder', 'applauders', 'applauding', 'applauds', 'applause', 'applauses', 'applejack', 'applejacks', 'apples', 'applesauce', 'applesauces', 'applet', 'applets', 'appliance', 'appliances', 'applicabilities', 'applicability', 'applicable', 'applicably', 'applicant', 'applicants', 'application', 'applications', 'applicator', 'applicators', 'applied', 'applier', 'appliers', 'applies', 'applique', 'appliqued', 'appliqueing', 'appliques', 'applying', 'appoint', 'appointed', 'appointee', 'appointees', 'appointing', 'appointive', 'appointment', 'appointments', 'appoints', 'apportion', 'apportioned', 'apportioning', 'apportionment', 'apportionments', 'apportions', 'appose', 'apposed', 'apposes', 'apposing', 'apposite', 'appositely', 'appositeness', 'appositenesses', 'apposition', 'appositions', 'appositive', 'appositives', 'appraisal', 'appraisals', 'appraise', 'appraised', 'appraiser', 'appraisers', 'appraises', 'appraising', 'appreciable', 'appreciably', 'appreciate', 'appreciated', 'appreciates', 'appreciating', 'appreciation', 'appreciations', 'appreciative', 'appreciatively', 'appreciator', 'appreciators', 'appreciatory', 'apprehend', 'apprehended', 'apprehending', 'apprehends', 'apprehension', 'apprehensions', 'apprehensive', 'apprehensively', 'apprehensiveness', 'apprehensivenesses', 'apprentice', 'apprenticed', 'apprentices', 'apprenticeship', 'apprenticeships', 'apprenticing', 'apprise', 'apprised', 'apprises', 'apprising', 'apprize', 'apprized', 'apprizes', 'apprizing', 'approach', 'approachable', 'approached', 'approaches', 'approaching', 'approbation', 'approbations', 'appropriate', 'appropriated', 'appropriately', 'appropriateness', 'appropriatenesses', 'appropriates', 'appropriating', 'appropriation', 'appropriations', 'appropriator', 'appropriators', 'approval', 'approvals', 'approve', 'approved', 'approves', 'approving', 'approvingly', 'approximate', 'approximated', 'approximately', 'approximates', 'approximating', 'approximation', 'approximations', 'appurtenance', 'appurtenances', 'appurtenant', 'apricot', 'apricots', 'aprons', 'apropos', 'aptest', 'aptitude', 'aptitudes', 'aptness', 'aptnesses', 'aquaculture', 'aquacultures', 'aqualung', 'aqualungs', 'aquamarine', 'aquamarines', 'aquanaut', 'aquanauts', 'aquaplane', 'aquaplaned', 'aquaplanes', 'aquaplaning', 'aquaria', 'aquarium', 'aquariums', 'aquatic', 'aquatically', 'aquatics', 'aquavit', 'aquavits', 'aqueduct', 'aqueducts', 'aqueous', 'aquiculture', 'aquicultures', 'aquifer', 'aquifers', 'aquiline', 'arabesque', 'arabesques', 'arabilities', 'arability', 'arable', 'arachnid', 'arachnids', 'arbiter', 'arbiters', 'arbitrage', 'arbitraged', 'arbitrager', 'arbitragers', 'arbitrages', 'arbitrageur', 'arbitrageurs', 'arbitraging', 'arbitrament', 'arbitraments', 'arbitrarily', 'arbitrariness', 'arbitrarinesses', 'arbitrary', 'arbitrate', 'arbitrated', 'arbitrates', 'arbitrating', 'arbitration', 'arbitrations', 'arbitrator', 'arbitrators', 'arboreal', 'arboreta', 'arboretum', 'arboretums', 'arbors', 'arborvitae', 'arborvitaes', 'arbour', 'arbours', 'arbutus', 'arbutuses', 'arcade', 'arcades', 'arcane', 'archaeological', 'archaeologically', 'archaeologies', 'archaeologist', 'archaeologists', 'archaeology', 'archaic', 'archaically', 'archaism', 'archaisms', 'archaist', 'archaists', 'archangel', 'archangels', 'archbishop', 'archbishopric', 'archbishoprics', 'archbishops', 'archdeacon', 'archdeacons', 'archdiocesan', 'archdiocese', 'archdioceses', 'archduchess', 'archduchesses', 'archduke', 'archdukes', 'arched', 'archenemies', 'archenemy', 'archeological', 'archeologies', 'archeologist', 'archeologists', 'archeology', 'archer', 'archeries', 'archers', 'archery', 'arches', 'archest', 'archetypal', 'archetype', 'archetypes', 'archetypical', 'archfiend', 'archfiends', 'archiepiscopal', 'arching', 'archipelago', 'archipelagoes', 'archipelagos', 'architect', 'architectonic', 'architectonics', 'architects', 'architectural', 'architecturally', 'architecture', 'architectures', 'architrave', 'architraves', 'archival', 'archive', 'archived', 'archives', 'archiving', 'archivist', 'archivists', 'archly', 'archness', 'archnesses', 'archway', 'archways', 'arcing', 'arcked', 'arcking', 'arctic', 'arctics', 'ardent', 'ardently', 'ardors', 'ardour', 'ardours', 'arduous', 'arduously', 'arduousness', 'arduousnesses', 'arenas', 'argent', 'argents', 'argons', 'argosies', 'argosy', 'argots', 'arguable', 'arguably', 'argued', 'arguer', 'arguers', 'argues', 'arguing', 'argument', 'argumentation', 'argumentations', 'argumentative', 'argumentatively', 'argumentativeness', 'argumentativenesses', 'arguments', 'argyle', 'argyles', 'aridities', 'aridity', 'aridly', 'aright', 'arisen', 'arises', 'arising', 'aristocracies', 'aristocracy', 'aristocrat', 'aristocratic', 'aristocratically', 'aristocrats', 'arithmetic', 'arithmetical', 'arithmetically', 'arithmetician', 'arithmeticians', 'arithmetics', 'armada', 'armadas', 'armadillo', 'armadillos', 'armament', 'armaments', 'armature', 'armatures', 'armband', 'armbands', 'armchair', 'armchairs', 'armful', 'armfuls', 'armhole', 'armholes', 'armies', 'arming', 'armistice', 'armistices', 'armlet', 'armlets', 'armored', 'armorer', 'armorers', 'armorial', 'armories', 'armoring', 'armors', 'armory', 'armour', 'armoured', 'armouries', 'armouring', 'armours', 'armoury', 'armpit', 'armpits', 'armrest', 'armrests', 'armsful', 'aromas', 'aromatherapies', 'aromatherapist', 'aromatherapists', 'aromatherapy', 'aromatic', 'aromatically', 'aromatics', 'around', 'arousal', 'arousals', 'arouse', 'aroused', 'arouses', 'arousing', 'arpeggio', 'arpeggios', 'arraign', 'arraigned', 'arraigning', 'arraignment', 'arraignments', 'arraigns', 'arrange', 'arranged', 'arrangement', 'arrangements', 'arranger', 'arrangers', 'arranges', 'arranging', 'arrant', 'arrases', 'arrayed', 'arraying', 'arrays', 'arrears', 'arrest', 'arrested', 'arresting', 'arrests', 'arrhythmia', 'arrhythmias', 'arrhythmic', 'arrhythmical', 'arrival', 'arrivals', 'arrive', 'arrived', 'arrives', 'arriving', 'arrogance', 'arrogances', 'arrogant', 'arrogantly', 'arrogate', 'arrogated', 'arrogates', 'arrogating', 'arrogation', 'arrogations', 'arrowhead', 'arrowheads', 'arrowroot', 'arrowroots', 'arrows', 'arroyo', 'arroyos', 'arsenal', 'arsenals', 'arsenic', 'arsenics', 'arsonist', 'arsonists', 'arsons', 'artefact', 'artefacts', 'arterial', 'arteries', 'arteriole', 'arterioles', 'arterioscleroses', 'arteriosclerosis', 'artery', 'artful', 'artfully', 'artfulness', 'artfulnesses', 'arthritic', 'arthritics', 'arthritides', 'arthritis', 'arthropod', 'arthropods', 'arthroscope', 'arthroscopes', 'arthroscopic', 'artichoke', 'artichokes', 'article', 'articles', 'articular', 'articulate', 'articulated', 'articulately', 'articulateness', 'articulatenesses', 'articulates', 'articulating', 'articulation', 'articulations', 'artier', 'artiest', 'artifact', 'artifacts', 'artifice', 'artificer', 'artificers', 'artifices', 'artificial', 'artificialities', 'artificiality', 'artificially', 'artilleries', 'artillery', 'artilleryman', 'artillerymen', 'artiness', 'artinesses', 'artisan', 'artisans', 'artist', 'artiste', 'artistes', 'artistic', 'artistically', 'artistries', 'artistry', 'artists', 'artless', 'artlessly', 'artlessness', 'artlessnesses', 'artsier', 'artsiest', 'artwork', 'artworks', 'asbestos', 'asbestoses', 'ascend', 'ascendance', 'ascendances', 'ascendancies', 'ascendancy', 'ascendant', 'ascendants', 'ascended', 'ascendencies', 'ascendency', 'ascendent', 'ascendents', 'ascending', 'ascends', 'ascension', 'ascensions', 'ascent', 'ascents', 'ascertain', 'ascertainable', 'ascertained', 'ascertaining', 'ascertainment', 'ascertainments', 'ascertains', 'ascetic', 'ascetically', 'asceticism', 'asceticisms', 'ascetics', 'ascots', 'ascribable', 'ascribe', 'ascribed', 'ascribes', 'ascribing', 'ascription', 'ascriptions', 'aseptic', 'aseptically', 'asexual', 'asexualities', 'asexuality', 'asexually', 'ashamed', 'ashamedly', 'ashcan', 'ashcans', 'ashier', 'ashiest', 'ashlar', 'ashlars', 'ashore', 'ashram', 'ashrams', 'ashtray', 'ashtrays', 'asides', 'asinine', 'asininely', 'asininities', 'asininity', 'askance', 'asking', 'aslant', 'asleep', 'asocial', 'asparagus', 'asparaguses', 'aspartame', 'aspartames', 'aspect', 'aspects', 'aspens', 'asperities', 'asperity', 'aspersion', 'aspersions', 'asphalt', 'asphalted', 'asphalting', 'asphalts', 'asphodel', 'asphodels', 'asphyxia', 'asphyxias', 'asphyxiate', 'asphyxiated', 'asphyxiates', 'asphyxiating', 'asphyxiation', 'asphyxiations', 'aspics', 'aspidistra', 'aspidistras', 'aspirant', 'aspirants', 'aspirate', 'aspirated', 'aspirates', 'aspirating', 'aspiration', 'aspirations', 'aspirator', 'aspirators', 'aspire', 'aspired', 'aspires', 'aspirin', 'aspiring', 'aspirins', 'assail', 'assailable', 'assailant', 'assailants', 'assailed', 'assailing', 'assails', 'assassin', 'assassinate', 'assassinated', 'assassinates', 'assassinating', 'assassination', 'assassinations', 'assassins', 'assault', 'assaulted', 'assaulting', 'assaults', 'assayed', 'assayer', 'assayers', 'assaying', 'assays', 'assemblage', 'assemblages', 'assemble', 'assembled', 'assembler', 'assemblers', 'assembles', 'assemblies', 'assembling', 'assembly', 'assemblyman', 'assemblymen', 'assemblywoman', 'assemblywomen', 'assent', 'assented', 'assenting', 'assents', 'assert', 'asserted', 'asserting', 'assertion', 'assertions', 'assertive', 'assertively', 'assertiveness', 'assertivenesses', 'asserts', 'assess', 'assessed', 'assesses', 'assessing', 'assessment', 'assessments', 'assessor', 'assessors', 'assets', 'asseverate', 'asseverated', 'asseverates', 'asseverating', 'asseveration', 'asseverations', 'asshole', 'assholes', 'assiduities', 'assiduity', 'assiduous', 'assiduously', 'assiduousness', 'assiduousnesses', 'assign', 'assignable', 'assignation', 'assignations', 'assigned', 'assigner', 'assigners', 'assigning', 'assignment', 'assignments', 'assignor', 'assignors', 'assigns', 'assimilate', 'assimilated', 'assimilates', 'assimilating', 'assimilation', 'assimilations', 'assist', 'assistance', 'assistances', 'assistant', 'assistants', 'assisted', 'assisting', 'assists', 'assize', 'assizes', 'associate', 'associated', 'associates', 'associating', 'association', 'associations', 'associative', 'assonance', 'assonances', 'assonant', 'assonants', 'assort', 'assorted', 'assorting', 'assortment', 'assortments', 'assorts', 'assuage', 'assuaged', 'assuages', 'assuaging', 'assumable', 'assume', 'assumed', 'assumes', 'assuming', 'assumption', 'assumptions', 'assumptive', 'assurance', 'assurances', 'assure', 'assured', 'assuredly', 'assureds', 'assures', 'assuring', 'astatine', 'astatines', 'asterisk', 'asterisked', 'asterisking', 'asterisks', 'astern', 'asteroid', 'asteroids', 'asters', 'asthma', 'asthmas', 'asthmatic', 'asthmatics', 'astigmatic', 'astigmatism', 'astigmatisms', 'astonish', 'astonished', 'astonishes', 'astonishing', 'astonishingly', 'astonishment', 'astonishments', 'astound', 'astounded', 'astounding', 'astoundingly', 'astounds', 'astraddle', 'astrakhan', 'astrakhans', 'astral', 'astray', 'astride', 'astringencies', 'astringency', 'astringent', 'astringently', 'astringents', 'astrolabe', 'astrolabes', 'astrologer', 'astrologers', 'astrological', 'astrologically', 'astrologies', 'astrologist', 'astrologists', 'astrology', 'astronaut', 'astronautic', 'astronautical', 'astronautics', 'astronauts', 'astronomer', 'astronomers', 'astronomic', 'astronomical', 'astronomically', 'astronomies', 'astronomy', 'astrophysical', 'astrophysicist', 'astrophysicists', 'astrophysics', 'astute', 'astutely', 'astuteness', 'astutenesses', 'astuter', 'astutest', 'asunder', 'asylum', 'asylums', 'asymmetric', 'asymmetrical', 'asymmetrically', 'asymmetries', 'asymmetry', 'asymptomatic', 'atavism', 'atavisms', 'atavist', 'atavistic', 'atavists', 'ataxia', 'ataxias', 'ataxic', 'ataxics', 'atelier', 'ateliers', 'atheism', 'atheisms', 'atheist', 'atheistic', 'atheists', 'atheroscleroses', 'atherosclerosis', 'athirst', 'athlete', 'athletes', 'athletic', 'athletically', 'athletics', 'athwart', 'atlases', 'atmosphere', 'atmospheres', 'atmospheric', 'atmospherically', 'atmospherics', 'atolls', 'atomic', 'atomically', 'atomize', 'atomized', 'atomizer', 'atomizers', 'atomizes', 'atomizing', 'atonal', 'atonalities', 'atonality', 'atonally', 'atoned', 'atonement', 'atonements', 'atones', 'atoning', 'atrial', 'atrium', 'atriums', 'atrocious', 'atrociously', 'atrociousness', 'atrociousnesses', 'atrocities', 'atrocity', 'atrophied', 'atrophies', 'atrophy', 'atrophying', 'atropine', 'atropines', 'attach', 'attachable', 'attache', 'attached', 'attaches', 'attaching', 'attachment', 'attachments', 'attack', 'attacked', 'attacker', 'attackers', 'attacking', 'attacks', 'attain', 'attainabilities', 'attainability', 'attainable', 'attainder', 'attainders', 'attained', 'attaining', 'attainment', 'attainments', 'attains', 'attars', 'attempt', 'attempted', 'attempting', 'attempts', 'attend', 'attendance', 'attendances', 'attendant', 'attendants', 'attended', 'attendee', 'attendees', 'attending', 'attends', 'attention', 'attentions', 'attentive', 'attentively', 'attentiveness', 'attentivenesses', 'attenuate', 'attenuated', 'attenuates', 'attenuating', 'attenuation', 'attenuations', 'attest', 'attestation', 'attestations', 'attested', 'attesting', 'attests', 'attics', 'attire', 'attired', 'attires', 'attiring', 'attitude', 'attitudes', 'attitudinal', 'attitudinize', 'attitudinized', 'attitudinizes', 'attitudinizing', 'attorney', 'attorneys', 'attract', 'attractable', 'attractant', 'attractants', 'attracted', 'attracting', 'attraction', 'attractions', 'attractive', 'attractively', 'attractiveness', 'attractivenesses', 'attracts', 'attributable', 'attribute', 'attributed', 'attributes', 'attributing', 'attribution', 'attributions', 'attributive', 'attributively', 'attributives', 'attrition', 'attritions', 'attune', 'attuned', 'attunes', 'attuning', 'atwitter', 'atypical', 'atypically', 'auburn', 'auburns', 'auction', 'auctioned', 'auctioneer', 'auctioneers', 'auctioning', 'auctions', 'audacious', 'audaciously', 'audaciousness', 'audaciousnesses', 'audacities', 'audacity', 'audibilities', 'audibility', 'audible', 'audibles', 'audibly', 'audience', 'audiences', 'audiobook', 'audiobooks', 'audiological', 'audiologies', 'audiologist', 'audiologists', 'audiology', 'audiometer', 'audiometers', 'audiophile', 'audiophiles', 'audios', 'audiotape', 'audiotapes', 'audiovisual', 'audiovisuals', 'audited', 'auditing', 'audition', 'auditioned', 'auditioning', 'auditions', 'auditor', 'auditoria', 'auditorium', 'auditoriums', 'auditors', 'auditory', 'audits', 'augers', 'aughts', 'augment', 'augmentation', 'augmentations', 'augmentative', 'augmented', 'augmenter', 'augmenters', 'augmenting', 'augments', 'augured', 'auguries', 'auguring', 'augurs', 'augury', 'august', 'auguster', 'augustest', 'augustly', 'augustness', 'augustnesses', 'auntie', 'aunties', 'aurally', 'aureola', 'aureolas', 'aureole', 'aureoles', 'auricle', 'auricles', 'auricular', 'aurora', 'aurorae', 'auroras', 'auscultate', 'auscultated', 'auscultates', 'auscultating', 'auscultation', 'auscultations', 'auspice', 'auspices', 'auspicious', 'auspiciously', 'auspiciousness', 'auspiciousnesses', 'austere', 'austerely', 'austerer', 'austerest', 'austerities', 'austerity', 'austral', 'authentic', 'authentically', 'authenticate', 'authenticated', 'authenticates', 'authenticating', 'authentication', 'authentications', 'authenticities', 'authenticity', 'author', 'authored', 'authoress', 'authoresses', 'authoring', 'authoritarian', 'authoritarianism', 'authoritarianisms', 'authoritarians', 'authoritative', 'authoritatively', 'authoritativeness', 'authoritativenesses', 'authorities', 'authority', 'authorization', 'authorizations', 'authorize', 'authorized', 'authorizes', 'authorizing', 'authors', 'authorship', 'authorships', 'autism', 'autisms', 'autistic', 'autobahn', 'autobahns', 'autobiographer', 'autobiographers', 'autobiographic', 'autobiographical', 'autobiographically', 'autobiographies', 'autobiography', 'autoclave', 'autoclaves', 'autocracies', 'autocracy', 'autocrat', 'autocratic', 'autocratically', 'autocrats', 'autodidact', 'autodidacts', 'autograph', 'autographed', 'autographing', 'autographs', 'autoimmune', 'autoimmunities', 'autoimmunity', 'automaker', 'automakers', 'automata', 'automate', 'automated', 'automates', 'automatic', 'automatically', 'automatics', 'automating', 'automation', 'automations', 'automatism', 'automatisms', 'automatize', 'automatized', 'automatizes', 'automatizing', 'automaton', 'automatons', 'automobile', 'automobiles', 'automotive', 'autonomic', 'autonomies', 'autonomous', 'autonomously', 'autonomy', 'autopilot', 'autopilots', 'autopsied', 'autopsies', 'autopsy', 'autopsying', 'autoworker', 'autoworkers', 'autumn', 'autumnal', 'autumns', 'auxiliaries', 'auxiliary', 'auxins', 'availabilities', 'availability', 'available', 'availed', 'availing', 'avails', 'avalanche', 'avalanches', 'avarice', 'avarices', 'avaricious', 'avariciously', 'avatar', 'avatars', 'avaunt', 'avenge', 'avenged', 'avenger', 'avengers', 'avenges', 'avenging', 'avenue', 'avenues', 'average', 'averaged', 'averages', 'averaging', 'averred', 'averring', 'averse', 'aversion', 'aversions', 'averted', 'averting', 'averts', 'aviaries', 'aviary', 'aviation', 'aviations', 'aviator', 'aviators', 'aviatrices', 'aviatrix', 'aviatrixes', 'avidities', 'avidity', 'avidly', 'avionic', 'avionics', 'avitaminoses', 'avitaminosis', 'avocado', 'avocadoes', 'avocados', 'avocation', 'avocational', 'avocations', 'avoidable', 'avoidably', 'avoidance', 'avoidances', 'avoided', 'avoiding', 'avoids', 'avoirdupois', 'avoirdupoises', 'avouch', 'avouched', 'avouches', 'avouching', 'avowal', 'avowals', 'avowed', 'avowedly', 'avowing', 'avuncular', 'awaited', 'awaiting', 'awaits', 'awaked', 'awaken', 'awakened', 'awakening', 'awakenings', 'awakens', 'awakes', 'awaking', 'awarded', 'awarding', 'awards', 'awareness', 'awarenesses', 'aweigh', 'awesome', 'awesomely', 'awesomeness', 'awesomenesses', 'awestricken', 'awestruck', 'awfuller', 'awfullest', 'awfully', 'awfulness', 'awfulnesses', 'awhile', 'awkward', 'awkwarder', 'awkwardest', 'awkwardly', 'awkwardness', 'awkwardnesses', 'awning', 'awnings', 'awoken', 'axially', 'axiomatic', 'axiomatically', 'axioms', 'axletree', 'axletrees', 'axolotl', 'axolotls', 'ayatollah', 'ayatollahs', 'azalea', 'azaleas', 'azimuth', 'azimuths', 'azures', 'baaing', 'babble', 'babbled', 'babbler', 'babblers', 'babbles', 'babbling', 'babels', 'babied', 'babier', 'babies', 'babiest', 'baboon', 'baboons', 'babushka', 'babushkas', 'babyhood', 'babyhoods', 'babying', 'babyish', 'babysat', 'babysit', 'babysits', 'babysitter', 'babysitters', 'babysitting', 'babysittings', 'baccalaureate', 'baccalaureates', 'baccarat', 'baccarats', 'bacchanal', 'bacchanalia', 'bacchanalian', 'bacchanalians', 'bacchanalias', 'bacchanals', 'bachelor', 'bachelorhood', 'bachelorhoods', 'bachelors', 'bacillary', 'bacilli', 'bacillus', 'backache', 'backaches', 'backbencher', 'backbenchers', 'backbit', 'backbite', 'backbiter', 'backbiters', 'backbites', 'backbiting', 'backbitten', 'backboard', 'backboards', 'backbone', 'backbones', 'backbreaking', 'backdate', 'backdated', 'backdates', 'backdating', 'backdrop', 'backdrops', 'backed', 'backer', 'backers', 'backfield', 'backfields', 'backfire', 'backfired', 'backfires', 'backfiring', 'backgammon', 'backgammons', 'background', 'backgrounder', 'backgrounders', 'backgrounds', 'backhand', 'backhanded', 'backhandedly', 'backhander', 'backhanders', 'backhanding', 'backhands', 'backhoe', 'backhoes', 'backing', 'backings', 'backlash', 'backlashes', 'backless', 'backlog', 'backlogged', 'backlogging', 'backlogs', 'backpack', 'backpacked', 'backpacker', 'backpackers', 'backpacking', 'backpackings', 'backpacks', 'backpedal', 'backpedaled', 'backpedaling', 'backpedalled', 'backpedalling', 'backpedals', 'backrest', 'backrests', 'backroom', 'backscratching', 'backscratchings', 'backseat', 'backseats', 'backside', 'backsides', 'backslapper', 'backslappers', 'backslapping', 'backslappings', 'backslash', 'backslashes', 'backslid', 'backslidden', 'backslide', 'backslider', 'backsliders', 'backslides', 'backsliding', 'backspace', 'backspaced', 'backspaces', 'backspacing', 'backspin', 'backspins', 'backstabber', 'backstabbers', 'backstage', 'backstages', 'backstair', 'backstairs', 'backstop', 'backstopped', 'backstopping', 'backstops', 'backstretch', 'backstretches', 'backstroke', 'backstroked', 'backstrokes', 'backstroking', 'backtalk', 'backtalks', 'backtrack', 'backtracked', 'backtracking', 'backtracks', 'backup', 'backups', 'backward', 'backwardly', 'backwardness', 'backwardnesses', 'backwards', 'backwash', 'backwashes', 'backwater', 'backwaters', 'backwoods', 'backwoodsman', 'backwoodsmen', 'backyard', 'backyards', 'bacons', 'bacteria', 'bacterial', 'bactericidal', 'bactericide', 'bactericides', 'bacteriologic', 'bacteriological', 'bacteriologies', 'bacteriologist', 'bacteriologists', 'bacteriology', 'bacterium', 'badder', 'baddest', 'baddie', 'baddies', 'badger', 'badgered', 'badgering', 'badgers', 'badges', 'badinage', 'badinages', 'badlands', 'badman', 'badmen', 'badminton', 'badmintons', 'badmouth', 'badmouthed', 'badmouthing', 'badmouths', 'badness', 'badnesses', 'baffle', 'baffled', 'bafflement', 'bafflements', 'baffler', 'bafflers', 'baffles', 'baffling', 'bagatelle', 'bagatelles', 'bagels', 'bagful', 'bagfuls', 'baggage', 'baggages', 'bagged', 'baggie', 'baggier', 'baggies', 'baggiest', 'baggily', 'bagginess', 'bagginesses', 'bagging', 'bagpipe', 'bagpiper', 'bagpipers', 'bagpipes', 'bagsful', 'baguette', 'baguettes', 'bailable', 'bailed', 'bailiff', 'bailiffs', 'bailing', 'bailiwick', 'bailiwicks', 'bailout', 'bailouts', 'bailsman', 'bailsmen', 'bairns', 'baited', 'baiting', 'baizes', 'bakeries', 'bakers', 'bakery', 'bakeshop', 'bakeshops', 'baking', 'baklava', 'baklavas', 'baksheesh', 'baksheeshes', 'balaclava', 'balaclavas', 'balalaika', 'balalaikas', 'balance', 'balanced', 'balances', 'balancing', 'balboa', 'balboas', 'balconies', 'balcony', 'balded', 'balder', 'balderdash', 'balderdashes', 'baldest', 'baldfaced', 'balding', 'baldly', 'baldness', 'baldnesses', 'baldric', 'baldrics', 'baleen', 'baleens', 'baleful', 'balefully', 'balefulness', 'balefulnesses', 'balers', 'baling', 'balked', 'balkier', 'balkiest', 'balking', 'ballad', 'balladeer', 'balladeers', 'balladries', 'balladry', 'ballads', 'ballast', 'ballasted', 'ballasting', 'ballasts', 'ballcock', 'ballcocks', 'balled', 'ballerina', 'ballerinas', 'ballet', 'balletic', 'ballets', 'ballgame', 'ballgames', 'balling', 'ballistic', 'ballistics', 'balloon', 'ballooned', 'ballooning', 'balloonist', 'balloonists', 'balloons', 'ballot', 'balloted', 'balloting', 'ballots', 'ballpark', 'ballparks', 'ballplayer', 'ballplayers', 'ballpoint', 'ballpoints', 'ballroom', 'ballrooms', 'ballsier', 'ballsiest', 'ballsy', 'ballyhoo', 'ballyhooed', 'ballyhooing', 'ballyhoos', 'balmier', 'balmiest', 'balminess', 'balminesses', 'baloney', 'baloneys', 'balsam', 'balsamic', 'balsams', 'balsas', 'baluster', 'balusters', 'balustrade', 'balustrades', 'bamboo', 'bamboos', 'bamboozle', 'bamboozled', 'bamboozles', 'bamboozling', 'banalities', 'banality', 'banally', 'banana', 'bananas', 'bandage', 'bandaged', 'bandages', 'bandaging', 'bandana', 'bandanas', 'bandanna', 'bandannas', 'bandbox', 'bandboxes', 'bandeau', 'bandeaux', 'banded', 'bandied', 'bandier', 'bandies', 'bandiest', 'banding', 'bandit', 'banditries', 'banditry', 'bandits', 'banditti', 'bandmaster', 'bandmasters', 'bandoleer', 'bandoleers', 'bandolier', 'bandoliers', 'bandsman', 'bandsmen', 'bandstand', 'bandstands', 'bandwagon', 'bandwagons', 'bandying', 'baneful', 'banged', 'banging', 'bangle', 'bangles', 'banish', 'banished', 'banishes', 'banishing', 'banishment', 'banishments', 'banister', 'banisters', 'banjoes', 'banjoist', 'banjoists', 'banjos', 'bankable', 'bankbook', 'bankbooks', 'bankcard', 'bankcards', 'banked', 'banker', 'bankers', 'banking', 'bankings', 'banknote', 'banknotes', 'bankroll', 'bankrolled', 'bankrolling', 'bankrolls', 'bankrupt', 'bankruptcies', 'bankruptcy', 'bankrupted', 'bankrupting', 'bankrupts', 'banned', 'banner', 'banners', 'banning', 'bannister', 'bannisters', 'bannock', 'bannocks', 'banquet', 'banqueted', 'banqueter', 'banqueters', 'banqueting', 'banquets', 'banquette', 'banquettes', 'banshee', 'banshees', 'banshie', 'banshies', 'bantam', 'bantams', 'bantamweight', 'bantamweights', 'banter', 'bantered', 'bantering', 'banteringly', 'banters', 'banyan', 'banyans', 'banzai', 'banzais', 'baobab', 'baobabs', 'baptism', 'baptismal', 'baptisms', 'baptisteries', 'baptistery', 'baptistries', 'baptistry', 'baptize', 'baptized', 'baptizer', 'baptizers', 'baptizes', 'baptizing', 'barbacoa!', 'barbacoas!', 'barbarian', 'barbarianism', 'barbarianisms', 'barbarians', 'barbaric', 'barbarically', 'barbarism', 'barbarisms', 'barbarities', 'barbarity', 'barbarize', 'barbarized', 'barbarizes', 'barbarizing', 'barbarous', 'barbarously', 'barbecue', 'barbecued', 'barbecues', 'barbecuing', 'barbed', 'barbel', 'barbell', 'barbells', 'barbels', 'barbeque', 'barbequed', 'barbeques', 'barbequing', 'barber', 'barbered', 'barbering', 'barberries', 'barberry', 'barbers', 'barbershop', 'barbershops', 'barbing', 'barbiturate', 'barbiturates', 'barbwire', 'barbwires', 'barcarole', 'barcaroles', 'barcarolle', 'barcarolles', 'bardic', 'bareback', 'barebacked', 'barefaced', 'barefacedly', 'barefoot', 'barefooted', 'barehanded', 'bareheaded', 'barelegged', 'barely', 'bareness', 'barenesses', 'barest', 'barfed', 'barfing', 'barflies', 'barfly', 'bargain', 'bargained', 'bargainer', 'bargainers', 'bargaining', 'bargains', 'barged', 'bargeman', 'bargemen', 'barges', 'barging', 'barhop', 'barhopped', 'barhopping', 'barhops', 'baring', 'barista!', 'baristas!', 'baritone', 'baritones', 'barium', 'bariums', 'barked', 'barkeep', 'barkeeper', 'barkeepers', 'barkeeps', 'barker', 'barkers', 'barking', 'barley', 'barleys', 'barmaid', 'barmaids', 'barman', 'barmen', 'barnacle', 'barnacled', 'barnacles', 'barnstorm', 'barnstormed', 'barnstormer', 'barnstormers', 'barnstorming', 'barnstorms', 'barnyard', 'barnyards', 'barometer', 'barometers', 'barometric', 'barometrically', 'baronage', 'baronages', 'baroness', 'baronesses', 'baronet', 'baronetcies', 'baronetcy', 'baronets', 'baronial', 'baronies', 'barons', 'barony', 'baroque', 'baroques', 'barque', 'barques', 'barrack', 'barracked', 'barracking', 'barracks', 'barracuda', 'barracudas', 'barrage', 'barraged', 'barrages', 'barraging', 'barred', 'barrel', 'barreled', 'barreling', 'barrelled', 'barrelling', 'barrels', 'barren', 'barrener', 'barrenest', 'barrenness', 'barrennesses', 'barrens', 'barres', 'barrette', 'barrettes', 'barricade', 'barricaded', 'barricades', 'barricading', 'barrier', 'barriers', 'barring', 'barrio', 'barrios', 'barrister', 'barristers', 'barroom', 'barrooms', 'barrow', 'barrows', 'bartender', 'bartenders', 'barter', 'bartered', 'barterer', 'barterers', 'bartering', 'barters', 'baryon', 'baryons', 'basally', 'basalt', 'basaltic', 'basalts', 'baseball', 'baseballs', 'baseboard', 'baseboards', 'baseless', 'baseline', 'baselines', 'basely', 'baseman', 'basemen', 'basement', 'basements', 'baseness', 'basenesses', 'basest', 'bashed', 'bashes', 'bashful', 'bashfully', 'bashfulness', 'bashfulnesses', 'bashing', 'bashings', 'basically', 'basics', 'basilica', 'basilicas', 'basilisk', 'basilisks', 'basils', 'basinful', 'basinfuls', 'basing', 'basins', 'basked', 'basket', 'basketball', 'basketballs', 'basketries', 'basketry', 'baskets', 'basketwork', 'basketworks', 'basking', 'basses', 'basset', 'bassets', 'bassinet', 'bassinets', 'bassist', 'bassists', 'bassoon', 'bassoonist', 'bassoonists', 'bassoons', 'bassos', 'basswood', 'basswoods', 'bastard', 'bastardies', 'bastardization', 'bastardizations', 'bastardize', 'bastardized', 'bastardizes', 'bastardizing', 'bastards', 'bastardy', 'basted', 'baster', 'basters', 'bastes', 'basting', 'bastion', 'bastions', 'basts', 'batched', 'batches', 'batching', 'bathed', 'bather', 'bathers', 'bathes', 'bathetic', 'bathhouse', 'bathhouses', 'bathing', 'bathings', 'bathmat', 'bathmats', 'bathos', 'bathoses', 'bathrobe', 'bathrobes', 'bathroom', 'bathrooms', 'bathtub', 'bathtubs', 'bathyscaph', 'bathyscaphe', 'bathyscaphes', 'bathyscaphs', 'bathysphere', 'bathyspheres', 'batiks', 'bating', 'batiste', 'batistes', 'batman', 'batmen', 'batons', 'batsman', 'batsmen', 'battalion', 'battalions', 'batted', 'batten', 'battened', 'battening', 'battens', 'batter', 'battered', 'batterer', 'batterers', 'batteries', 'battering', 'batters', 'battery', 'battier', 'battiest', 'batting', 'battings', 'battle', 'battleax', 'battleaxe', 'battleaxes', 'battled', 'battledore', 'battledores', 'battlefield', 'battlefields', 'battlefront', 'battlefronts', 'battleground', 'battlegrounds', 'battlement', 'battlements', 'battler', 'battlers', 'battles', 'battleship', 'battleships', 'battling', 'bauble', 'baubles', 'baulked', 'baulking', 'baulks', 'bauxite', 'bauxites', 'bawdier', 'bawdiest', 'bawdily', 'bawdiness', 'bawdinesses', 'bawled', 'bawling', 'bayberries', 'bayberry', 'baying', 'bayonet', 'bayoneted', 'bayoneting', 'bayonets', 'bayonetted', 'bayonetting', 'bayous', 'bazaar', 'bazaars', 'bazooka', 'bazookas', 'beachcomber', 'beachcombers', 'beached', 'beaches', 'beachhead', 'beachheads', 'beaching', 'beachwear', 'beachwears', 'beacon', 'beacons', 'beaded', 'beadier', 'beadiest', 'beading', 'beadings', 'beadle', 'beadles', 'beagle', 'beagles', 'beaked', 'beaker', 'beakers', 'beamed', 'beaming', 'beanbag', 'beanbags', 'beaned', 'beanie', 'beanies', 'beaning', 'beanpole', 'beanpoles', 'beanstalk', 'beanstalks', 'bearable', 'bearably', 'bearded', 'bearding', 'beardless', 'beards', 'bearer', 'bearers', 'bearing', 'bearings', 'bearish', 'bearishly', 'bearishness', 'bearishnesses', 'bearlike', 'bearskin', 'bearskins', 'beastlier', 'beastliest', 'beastliness', 'beastlinesses', 'beastly', 'beasts', 'beatable', 'beaten', 'beater', 'beaters', 'beatific', 'beatifically', 'beatification', 'beatifications', 'beatified', 'beatifies', 'beatify', 'beatifying', 'beating', 'beatings', 'beatitude', 'beatitudes', 'beatnik', 'beatniks', 'beauteous', 'beauteously', 'beautician', 'beauticians', 'beauties', 'beautification', 'beautifications', 'beautified', 'beautifier', 'beautifiers', 'beautifies', 'beautiful', 'beautifully', 'beautify', 'beautifying', 'beauts', 'beauty', 'beaver', 'beavered', 'beavering', 'beavers', 'bebops', 'becalm', 'becalmed', 'becalming', 'becalms', 'became', 'because', 'beckon', 'beckoned', 'beckoning', 'beckons', 'becloud', 'beclouded', 'beclouding', 'beclouds', 'become', 'becomes', 'becoming', 'becomingly', 'bedaub', 'bedaubed', 'bedaubing', 'bedaubs', 'bedazzle', 'bedazzled', 'bedazzlement', 'bedazzlements', 'bedazzles', 'bedazzling', 'bedbug', 'bedbugs', 'bedclothes', 'bedded', 'bedding', 'beddings', 'bedeck', 'bedecked', 'bedecking', 'bedecks', 'bedevil', 'bedeviled', 'bedeviling', 'bedevilled', 'bedevilling', 'bedevilment', 'bedevilments', 'bedevils', 'bedfellow', 'bedfellows', 'bedimmed', 'bedimming', 'bedims', 'bedizen', 'bedizened', 'bedizening', 'bedizens', 'bedlam', 'bedlams', 'bedpan', 'bedpans', 'bedpost', 'bedposts', 'bedraggle', 'bedraggled', 'bedraggles', 'bedraggling', 'bedridden', 'bedrock', 'bedrocks', 'bedroll', 'bedrolls', 'bedroom', 'bedrooms', 'bedside', 'bedsides', 'bedsore', 'bedsores', 'bedspread', 'bedspreads', 'bedstead', 'bedsteads', 'bedtime', 'bedtimes', 'beebread', 'beebreads', 'beeches', 'beechnut', 'beechnuts', 'beefburger', 'beefburgers', 'beefcake', 'beefcakes', 'beefed', 'beefier', 'beefiest', 'beefiness', 'beefinesses', 'beefing', 'beefsteak', 'beefsteaks', 'beehive', 'beehives', 'beekeeper', 'beekeepers', 'beekeeping', 'beekeepings', 'beeline', 'beelines', 'beeped', 'beeper', 'beepers', 'beeping', 'beerier', 'beeriest', 'beeswax', 'beeswaxes', 'beetle', 'beetled', 'beetles', 'beetling', 'beeves', 'befall', 'befallen', 'befalling', 'befalls', 'befell', 'befits', 'befitted', 'befitting', 'befittingly', 'befogged', 'befogging', 'befogs', 'before', 'beforehand', 'befoul', 'befouled', 'befouling', 'befouls', 'befriend', 'befriended', 'befriending', 'befriends', 'befuddle', 'befuddled', 'befuddlement', 'befuddlements', 'befuddles', 'befuddling', 'begets', 'begetting', 'beggar', 'beggared', 'beggaries', 'beggaring', 'beggarly', 'beggars', 'beggary', 'begged', 'begging', 'beginner', 'beginners', 'beginning', 'beginnings', 'begins', 'begone', 'begonia', 'begonias', 'begotten', 'begrime', 'begrimed', 'begrimes', 'begriming', 'begrudge', 'begrudged', 'begrudges', 'begrudging', 'begrudgingly', 'beguile', 'beguiled', 'beguilement', 'beguilements', 'beguiler', 'beguilers', 'beguiles', 'beguiling', 'beguilingly', 'beguine', 'beguines', 'begums', 'behalf', 'behalves', 'behave', 'behaved', 'behaves', 'behaving', 'behavior', 'behavioral', 'behaviorally', 'behaviorism', 'behaviorisms', 'behaviorist', 'behaviorists', 'behaviors', 'behaviour', 'behaviours', 'behead', 'beheaded', 'beheading', 'beheads', 'beheld', 'behemoth', 'behemoths', 'behest', 'behests', 'behind', 'behindhand', 'behinds', 'behold', 'beholden', 'beholder', 'beholders', 'beholding', 'beholds', 'behoove', 'behooved', 'behooves', 'behooving', 'beiges', 'beings', 'bejewel', 'bejeweled', 'bejeweling', 'bejewelled', 'bejewelling', 'bejewels', 'belabor', 'belabored', 'belaboring', 'belabors', 'belabour', 'belaboured', 'belabouring', 'belabours', 'belated', 'belatedly', 'belayed', 'belaying', 'belays', 'belched', 'belches', 'belching', 'beleaguer', 'beleaguered', 'beleaguering', 'beleaguers', 'belfries', 'belfry', 'belied', 'belief', 'beliefs', 'belies', 'believable', 'believably', 'believe', 'believed', 'believer', 'believers', 'believes', 'believing', 'belittle', 'belittled', 'belittlement', 'belittlements', 'belittles', 'belittling', 'belladonna', 'belladonnas', 'bellboy', 'bellboys', 'belled', 'belles', 'belletrist', 'belletristic', 'belletrists', 'bellhop', 'bellhops', 'bellicose', 'bellicosities', 'bellicosity', 'bellied', 'bellies', 'belligerence', 'belligerences', 'belligerencies', 'belligerency', 'belligerent', 'belligerently', 'belligerents', 'belling', 'bellman', 'bellmen', 'bellow', 'bellowed', 'bellowing', 'bellows', 'bellwether', 'bellwethers', 'bellyache', 'bellyached', 'bellyaches', 'bellyaching', 'bellybutton', 'bellybuttons', 'bellyful', 'bellyfuls', 'bellying', 'belong', 'belonged', 'belonging', 'belongings', 'belongs', 'beloved', 'beloveds', 'belted', 'belting', 'beltway', 'beltways', 'beluga', 'belugas', 'belying', 'bemire', 'bemired', 'bemires', 'bemiring', 'bemoan', 'bemoaned', 'bemoaning', 'bemoans', 'bemuse', 'bemused', 'bemusedly', 'bemusement', 'bemusements', 'bemuses', 'bemusing', 'benched', 'benches', 'benching', 'benchmark', 'benchmarks', 'bendable', 'bender', 'benders', 'bending', 'beneath', 'benediction', 'benedictions', 'benedictory', 'benefaction', 'benefactions', 'benefactor', 'benefactors', 'benefactress', 'benefactresses', 'benefice', 'beneficence', 'beneficences', 'beneficent', 'beneficently', 'benefices', 'beneficial', 'beneficially', 'beneficiaries', 'beneficiary', 'benefit', 'benefited', 'benefiting', 'benefits', 'benefitted', 'benefitting', 'benevolence', 'benevolences', 'benevolent', 'benevolently', 'benighted', 'benightedly', 'benign', 'benignant', 'benigner', 'benignest', 'benignities', 'benignity', 'benignly', 'bentwood', 'bentwoods', 'benumb', 'benumbed', 'benumbing', 'benumbs', 'benzene', 'benzenes', 'benzine', 'benzines', 'bequeath', 'bequeathed', 'bequeathing', 'bequeaths', 'bequest', 'bequests', 'berate', 'berated', 'berates', 'berating', 'bereave', 'bereaved', 'bereavement', 'bereavements', 'bereaves', 'bereaving', 'bereft', 'berets', 'beriberi', 'beriberis', 'berkelium', 'berkeliums', 'berried', 'berries', 'berrying', 'berrylike', 'berserk', 'berthed', 'berthing', 'berths', 'beryllium', 'berylliums', 'beryls', 'beseech', 'beseeched', 'beseecher', 'beseechers', 'beseeches', 'beseeching', 'beseechingly', 'beseem', 'beseemed', 'beseeming', 'beseems', 'besets', 'besetting', 'beside', 'besides', 'besiege', 'besieged', 'besieger', 'besiegers', 'besieges', 'besieging', 'besmear', 'besmeared', 'besmearing', 'besmears', 'besmirch', 'besmirched', 'besmirches', 'besmirching', 'besoms', 'besots', 'besotted', 'besotting', 'besought', 'bespangle', 'bespangled', 'bespangles', 'bespangling', 'bespatter', 'bespattered', 'bespattering', 'bespatters', 'bespeak', 'bespeaking', 'bespeaks', 'bespectacled', 'bespoke', 'bespoken', 'bested', 'bestial', 'bestialities', 'bestiality', 'bestially', 'bestiaries', 'bestiary', 'besting', 'bestir', 'bestirred', 'bestirring', 'bestirs', 'bestow', 'bestowal', 'bestowals', 'bestowed', 'bestowing', 'bestows', 'bestrew', 'bestrewed', 'bestrewing', 'bestrewn', 'bestrews', 'bestrid', 'bestridden', 'bestride', 'bestrides', 'bestriding', 'bestrode', 'bestseller', 'bestsellers', 'betake', 'betaken', 'betakes', 'betaking', 'betcha', 'betels', 'bethink', 'bethinking', 'bethinks', 'bethought', 'betide', 'betided', 'betides', 'betiding', 'betimes', 'betoken', 'betokened', 'betokening', 'betokens', 'betook', 'betray', 'betrayal', 'betrayals', 'betrayed', 'betrayer', 'betrayers', 'betraying', 'betrays', 'betroth', 'betrothal', 'betrothals', 'betrothed', 'betrothing', 'betroths', 'betted', 'better', 'bettered', 'bettering', 'betterment', 'betterments', 'betters', 'betting', 'bettor', 'bettors', 'between', 'betwixt', 'beveled', 'beveling', 'bevelled', 'bevelling', 'bevels', 'beverage', 'beverages', 'bevies', 'bewail', 'bewailed', 'bewailing', 'bewails', 'beware', 'bewared', 'bewares', 'bewaring', 'bewhiskered', 'bewigged', 'bewilder', 'bewildered', 'bewildering', 'bewilderingly', 'bewilderment', 'bewilderments', 'bewilders', 'bewitch', 'bewitched', 'bewitches', 'bewitching', 'bewitchingly', 'bewitchment', 'bewitchments', 'beyond', 'bezels', 'biannual', 'biannually', 'biased', 'biases', 'biasing', 'biassed', 'biassing', 'biathlon', 'biathlons', 'bibles', 'biblical', 'bibliographer', 'bibliographers', 'bibliographic', 'bibliographical', 'bibliographically', 'bibliographies', 'bibliography', 'bibliophile', 'bibliophiles', 'bibulous', 'bicameral', 'bicameralism', 'bicameralisms', 'bicarb', 'bicarbonate', 'bicarbonates', 'bicarbs', 'bicentenaries', 'bicentenary', 'bicentennial', 'bicentennials', 'biceps', 'bicepses', 'bicker', 'bickered', 'bickerer', 'bickerers', 'bickering', 'bickers', 'biconcave', 'biconvex', 'bicuspid', 'bicuspids', 'bicycle', 'bicycled', 'bicycler', 'bicyclers', 'bicycles', 'bicycling', 'bicyclist', 'bicyclists', 'biddable', 'bidden', 'bidder', 'bidders', 'biddies', 'bidding', 'biddings', 'bidets', 'biding', 'bidirectional', 'bidirectionally', 'biennia', 'biennial', 'biennially', 'biennials', 'biennium', 'bienniums', 'bifocal', 'bifocals', 'bifurcate', 'bifurcated', 'bifurcates', 'bifurcating', 'bifurcation', 'bifurcations', 'bigamies', 'bigamist', 'bigamists', 'bigamous', 'bigamy', 'bigger', 'biggest', 'biggie', 'biggies', 'biggish', 'bighead', 'bigheads', 'bighearted', 'bigheartedness', 'bigheartednesses', 'bighorn', 'bighorns', 'bights', 'bigmouth', 'bigmouths', 'bigness', 'bignesses', 'bigoted', 'bigotries', 'bigotry', 'bigots', 'bigwig', 'bigwigs', 'bijoux', 'bikers', 'biking', 'bikini', 'bikinis', 'bilabial', 'bilabials', 'bilateral', 'bilaterally', 'biles', 'bilges', 'bilingual', 'bilingualism', 'bilingualisms', 'bilingually', 'bilinguals', 'bilious', 'biliousness', 'biliousnesses', 'bilked', 'bilker', 'bilkers', 'bilking', 'billable', 'billboard', 'billboards', 'billed', 'billet', 'billeted', 'billeting', 'billets', 'billfold', 'billfolds', 'billiard', 'billiards', 'billies', 'billing', 'billings', 'billingsgate', 'billingsgates', 'billion', 'billionaire', 'billionaires', 'billions', 'billionth', 'billionths', 'billow', 'billowed', 'billowing', 'billows', 'billowy', 'bimboes', 'bimbos', 'bimetallic', 'bimetallics', 'bimetallism', 'bimetallisms', 'bimonthlies', 'bimonthly', 'binaries', 'binary', 'binder', 'binderies', 'binders', 'bindery', 'binding', 'bindings', 'bindweed', 'bindweeds', 'binged', 'bingeing', 'binges', 'binging', 'bingos', 'binnacle', 'binnacles', 'binned', 'binning', 'binocular', 'binoculars', 'binomial', 'binomials', 'biochemical', 'biochemically', 'biochemicals', 'biochemist', 'biochemistries', 'biochemistry', 'biochemists', 'biodegradabilities', 'biodegradability', 'biodegradable', 'biodegrade', 'biodegraded', 'biodegrades', 'biodegrading', 'biodiversities', 'biodiversity', 'bioethics', 'biofeedback', 'biofeedbacks', 'biographer', 'biographers', 'biographic', 'biographical', 'biographically', 'biographies', 'biography', 'biologic', 'biological', 'biologically', 'biologies', 'biologist', 'biologists', 'biology', 'biomass', 'biomasses', 'bionic', 'bionically', 'bionics', 'biophysical', 'biophysicist', 'biophysicists', 'biophysics', 'biopic', 'biopics', 'biopsied', 'biopsies', 'biopsy', 'biopsying', 'biorhythm', 'biorhythms', 'biosphere', 'biospheres', 'biotechnological', 'biotechnologies', 'biotechnology', 'biotin', 'biotins', 'bipartisan', 'bipartisanship', 'bipartisanships', 'bipartite', 'bipedal', 'bipeds', 'biplane', 'biplanes', 'bipolar', 'bipolarities', 'bipolarity', 'biracial', 'birched', 'birches', 'birching', 'birdbath', 'birdbaths', 'birdbrain', 'birdbrained', 'birdbrains', 'birded', 'birder', 'birders', 'birdhouse', 'birdhouses', 'birdie', 'birdied', 'birdieing', 'birdies', 'birding', 'birdlime', 'birdlimes', 'birdseed', 'birdseeds', 'birdwatcher', 'birdwatchers', 'biretta', 'birettas', 'birthday', 'birthdays', 'birthed', 'birther!', 'birthers!', 'birthing', 'birthmark', 'birthmarks', 'birthplace', 'birthplaces', 'birthrate', 'birthrates', 'birthright', 'birthrights', 'births', 'birthstone', 'birthstones', 'biscuit', 'biscuits', 'bisect', 'bisected', 'bisecting', 'bisection', 'bisections', 'bisector', 'bisectors', 'bisects', 'bisexual', 'bisexualities', 'bisexuality', 'bisexually', 'bisexuals', 'bishop', 'bishopric', 'bishoprics', 'bishops', 'bismuth', 'bismuths', 'bisons', 'bisque', 'bisques', 'bistro', 'bistros', 'bitched', 'bitches', 'bitchier', 'bitchiest', 'bitchily', 'bitchiness', 'bitchinesses', 'bitching', 'bitchy', 'bitcoin!', 'bitcoins!', 'biters', 'biting', 'bitingly', 'bitten', 'bitter', 'bitterer', 'bitterest', 'bitterly', 'bittern', 'bitterness', 'bitternesses', 'bitterns', 'bitters', 'bittersweet', 'bittersweets', 'bittier', 'bittiest', 'bitumen', 'bitumens', 'bituminous', 'bivalent', 'bivalve', 'bivalves', 'bivouac', 'bivouacked', 'bivouacking', 'bivouacs', 'biweeklies', 'biweekly', 'biyearly', 'bizarre', 'bizarrely', 'bizzes', 'blabbed', 'blabber', 'blabbered', 'blabbering', 'blabbermouth', 'blabbermouths', 'blabbers', 'blabbing', 'blackamoor', 'blackamoors', 'blackball', 'blackballed', 'blackballing', 'blackballs', 'blackberries', 'blackberry', 'blackbird', 'blackbirds', 'blackboard', 'blackboards', 'blacked', 'blacken', 'blackened', 'blackening', 'blackens', 'blacker', 'blackest', 'blackguard', 'blackguards', 'blackhead', 'blackheads', 'blacking', 'blackings', 'blackish', 'blackjack', 'blackjacked', 'blackjacking', 'blackjacks', 'blacklist', 'blacklisted', 'blacklisting', 'blacklists', 'blackly', 'blackmail', 'blackmailed', 'blackmailer', 'blackmailers', 'blackmailing', 'blackmails', 'blackness', 'blacknesses', 'blackout', 'blackouts', 'blacks', 'blacksmith', 'blacksmiths', 'blacksnake', 'blacksnakes', 'blackthorn', 'blackthorns', 'blacktop', 'blacktopped', 'blacktopping', 'blacktops', 'bladder', 'bladders', 'bladed', 'blades', 'blamable', 'blameable', 'blamed', 'blameless', 'blamelessly', 'blamelessness', 'blamelessnesses', 'blames', 'blameworthiness', 'blameworthinesses', 'blameworthy', 'blaming', 'blanch', 'blanched', 'blanches', 'blanching', 'blancmange', 'blancmanges', 'blander', 'blandest', 'blandish', 'blandished', 'blandishes', 'blandishing', 'blandishment', 'blandishments', 'blandly', 'blandness', 'blandnesses', 'blanked', 'blanker', 'blankest', 'blanket', 'blanketed', 'blanketing', 'blankets', 'blanking', 'blankly', 'blankness', 'blanknesses', 'blanks', 'blared', 'blares', 'blaring', 'blarney', 'blarneyed', 'blarneying', 'blarneys', 'blaspheme', 'blasphemed', 'blasphemer', 'blasphemers', 'blasphemes', 'blasphemies', 'blaspheming', 'blasphemous', 'blasphemously', 'blasphemy', 'blasted', 'blaster', 'blasters', 'blasting', 'blastoff', 'blastoffs', 'blasts', 'blatancies', 'blatancy', 'blatant', 'blatantly', 'blather', 'blathered', 'blathering', 'blathers', 'blazed', 'blazer', 'blazers', 'blazes', 'blazing', 'blazon', 'blazoned', 'blazoning', 'blazons', 'bleach', 'bleached', 'bleacher', 'bleachers', 'bleaches', 'bleaching', 'bleaker', 'bleakest', 'bleakly', 'bleakness', 'bleaknesses', 'blearier', 'bleariest', 'blearily', 'bleariness', 'blearinesses', 'bleary', 'bleated', 'bleating', 'bleats', 'bleeder', 'bleeders', 'bleeding', 'bleedings', 'bleeds', 'bleeped', 'bleeper', 'bleepers', 'bleeping', 'bleeps', 'blemish', 'blemished', 'blemishes', 'blemishing', 'blench', 'blenched', 'blenches', 'blenching', 'blended', 'blender', 'blenders', 'blending', 'blends', 'blessed', 'blessedly', 'blessedness', 'blessednesses', 'blesses', 'blessing', 'blessings', 'blight', 'blighted', 'blighting', 'blights', 'blimey', 'blimps', 'blinded', 'blinder', 'blinders', 'blindest', 'blindfold', 'blindfolded', 'blindfolding', 'blindfolds', 'blinding', 'blindingly', 'blindly', 'blindness', 'blindnesses', 'blinds', 'blindside', 'blindsided', 'blindsides', 'blindsiding', 'bling!', 'blings!', 'blinis', 'blinked', 'blinker', 'blinkered', 'blinkering', 'blinkers', 'blinking', 'blinks', 'blintz', 'blintze', 'blintzes', 'blisses', 'blissful', 'blissfully', 'blissfulness', 'blissfulnesses', 'blister', 'blistered', 'blistering', 'blisteringly', 'blisters', 'blistery', 'blithe', 'blithely', 'blitheness', 'blithenesses', 'blither', 'blithering', 'blithesome', 'blithest', 'blitzed', 'blitzes', 'blitzing', 'blitzkrieg', 'blitzkriegs', 'blizzard', 'blizzards', 'bloated', 'bloating', 'bloats', 'blobbed', 'blobbing', 'blockade', 'blockaded', 'blockader', 'blockaders', 'blockades', 'blockading', 'blockage', 'blockages', 'blockbuster', 'blockbusters', 'blockbusting', 'blockbustings', 'blocked', 'blocker', 'blockers', 'blockhead', 'blockheads', 'blockhouse', 'blockhouses', 'blocking', 'blocks', 'blogged!', 'blogger!', 'bloggers!', 'blogging!', 'blogs!', 'blokes', 'blonde', 'blonder', 'blondes', 'blondest', 'blondish', 'blondness', 'blondnesses', 'blonds', 'bloodbath', 'bloodbaths', 'bloodcurdling', 'blooded', 'bloodhound', 'bloodhounds', 'bloodied', 'bloodier', 'bloodies', 'bloodiest', 'bloodiness', 'bloodinesses', 'blooding', 'bloodless', 'bloodlessly', 'bloodlessness', 'bloodlessnesses', 'bloodletting', 'bloodlettings', 'bloodline', 'bloodlines', 'bloodmobile', 'bloodmobiles', 'bloods', 'bloodshed', 'bloodsheds', 'bloodshot', 'bloodstain', 'bloodstained', 'bloodstains', 'bloodstock', 'bloodstocks', 'bloodstream', 'bloodstreams', 'bloodsucker', 'bloodsuckers', 'bloodsucking', 'bloodthirstier', 'bloodthirstiest', 'bloodthirstily', 'bloodthirstiness', 'bloodthirstinesses', 'bloodthirsty', 'bloody', 'bloodying', 'bloomed', 'bloomer', 'bloomers', 'blooming', 'blooms', 'blooped', 'blooper', 'bloopers', 'blooping', 'bloops', 'blossom', 'blossomed', 'blossoming', 'blossoms', 'blossomy', 'blotch', 'blotched', 'blotches', 'blotchier', 'blotchiest', 'blotching', 'blotchy', 'blotted', 'blotter', 'blotters', 'blotting', 'blotto', 'blouse', 'bloused', 'blouses', 'blousing', 'blower', 'blowers', 'blowflies', 'blowfly', 'blowgun', 'blowguns', 'blowhard', 'blowhards', 'blowier', 'blowiest', 'blowing', 'blowout', 'blowouts', 'blowpipe', 'blowpipes', 'blowsier', 'blowsiest', 'blowsy', 'blowtorch', 'blowtorched', 'blowtorches', 'blowtorching', 'blowup', 'blowups', 'blowzier', 'blowziest', 'blowzy', 'blubber', 'blubbered', 'blubbering', 'blubbers', 'blubbery', 'bludgeon', 'bludgeoned', 'bludgeoning', 'bludgeons', 'bluebell', 'bluebells', 'blueberries', 'blueberry', 'bluebird', 'bluebirds', 'bluebonnet', 'bluebonnets', 'bluebottle', 'bluebottles', 'bluefish', 'bluefishes', 'bluegill', 'bluegills', 'bluegrass', 'bluegrasses', 'blueing', 'blueings', 'blueish', 'bluejacket', 'bluejackets', 'bluejay', 'bluejays', 'bluejeans', 'blueness', 'bluenesses', 'bluenose', 'bluenoses', 'bluepoint', 'bluepoints', 'blueprint', 'blueprinted', 'blueprinting', 'blueprints', 'bluesier', 'bluesiest', 'bluest', 'bluestocking', 'bluestockings', 'bluesy', 'bluets', 'bluffed', 'bluffer', 'bluffers', 'bluffest', 'bluffing', 'bluffly', 'bluffness', 'bluffnesses', 'bluffs', 'bluing', 'bluings', 'bluish', 'blunder', 'blunderbuss', 'blunderbusses', 'blundered', 'blunderer', 'blunderers', 'blundering', 'blunders', 'blunted', 'blunter', 'bluntest', 'blunting', 'bluntly', 'bluntness', 'bluntnesses', 'blunts', 'blurbs', 'blurred', 'blurrier', 'blurriest', 'blurriness', 'blurrinesses', 'blurring', 'blurry', 'blurted', 'blurting', 'blurts', 'blushed', 'blusher', 'blushers', 'blushes', 'blushing', 'bluster', 'blustered', 'blusterer', 'blusterers', 'blustering', 'blusterous', 'blusters', 'blustery', 'boarded', 'boarder', 'boarders', 'boarding', 'boardinghouse', 'boardinghouses', 'boardings', 'boardroom', 'boardrooms', 'boards', 'boardwalk', 'boardwalks', 'boasted', 'boaster', 'boasters', 'boastful', 'boastfully', 'boastfulness', 'boastfulnesses', 'boasting', 'boasts', 'boated', 'boater', 'boaters', 'boathouse', 'boathouses', 'boating', 'boatings', 'boatman', 'boatmen', 'boatswain', 'boatswains', 'bobbed', 'bobbies', 'bobbin', 'bobbing', 'bobbins', 'bobble', 'bobbled', 'bobbles', 'bobbling', 'bobbysoxer', 'bobbysoxers', 'bobcat', 'bobcats', 'bobolink', 'bobolinks', 'bobsled', 'bobsledded', 'bobsledder', 'bobsledders', 'bobsledding', 'bobsleds', 'bobsleigh', 'bobsleighed', 'bobsleighing', 'bobsleighs', 'bobtail', 'bobtails', 'bobwhite', 'bobwhites', 'bocces', 'boccie', 'boccies', 'boccis', 'bocks', 'bodacious', 'bodega', 'bodegas', 'bodice', 'bodices', 'bodied', 'bodies', 'bodily', 'boding', 'bodkin', 'bodkins', 'bodybuilder', 'bodybuilders', 'bodybuilding', 'bodybuildings', 'bodyguard', 'bodyguards', 'bodysuit', 'bodysuits', 'bodywork', 'bodyworks', 'bogeyed', 'bogeying', 'bogeyman', 'bogeymen', 'bogeys', 'bogged', 'boggier', 'boggiest', 'bogging', 'boggle', 'boggled', 'boggles', 'boggling', 'bogied', 'bogieing', 'bogies', 'bogyman', 'bogymen', 'bohemian', 'bohemianism', 'bohemianisms', 'bohemians', 'boiled', 'boiler', 'boilermaker', 'boilermakers', 'boilerplate', 'boilerplates', 'boilers', 'boiling', 'boisterous', 'boisterously', 'boisterousness', 'boisterousnesses', 'bolder', 'boldest', 'boldface', 'boldfaced', 'boldfaces', 'boldly', 'boldness', 'boldnesses', 'bolero', 'boleros', 'bolivar', 'bolivares', 'bolivars', 'bollix', 'bollixed', 'bollixes', 'bollixing', 'bologna', 'bolognas', 'boloney', 'boloneys', 'bolshevik', 'bolsheviki', 'bolsheviks', 'bolster', 'bolstered', 'bolstering', 'bolsters', 'bolted', 'bolting', 'boluses', 'bombard', 'bombarded', 'bombardier', 'bombardiers', 'bombarding', 'bombardment', 'bombardments', 'bombards', 'bombast', 'bombastic', 'bombastically', 'bombasts', 'bombed', 'bomber', 'bombers', 'bombing', 'bombproof', 'bombproofed', 'bombproofing', 'bombproofs', 'bombshell', 'bombshells', 'bonanza', 'bonanzas', 'bonbon', 'bonbons', 'bondage', 'bondages', 'bonded', 'bondholder', 'bondholders', 'bonding', 'bondings', 'bondman', 'bondmen', 'bondsman', 'bondsmen', 'bondwoman', 'bondwomen', 'bonehead', 'boneheaded', 'boneheads', 'boneless', 'boners', 'boneyer', 'boneyest', 'bonfire', 'bonfires', 'bonged', 'bonging', 'bongoes', 'bongos', 'bonhomie', 'bonhomies', 'bonier', 'boniest', 'boniness', 'boninesses', 'boning', 'bonito', 'bonitoes', 'bonitos', 'bonkers', 'bonnet', 'bonnets', 'bonnie', 'bonnier', 'bonniest', 'bonsai', 'bonuses', 'boobed', 'boobies', 'boobing', 'booboo', 'booboos', 'boodle', 'boodles', 'boogeyman', 'boogeymen', 'boogie', 'boogied', 'boogieing', 'boogieman', 'boogiemen', 'boogies', 'boohoo', 'boohooed', 'boohooing', 'boohoos', 'booing', 'bookbinder', 'bookbinderies', 'bookbinders', 'bookbindery', 'bookbinding', 'bookbindings', 'bookcase', 'bookcases', 'booked', 'bookend', 'bookended', 'bookending', 'bookends', 'bookie', 'bookies', 'booking', 'bookings', 'bookish', 'bookkeeper', 'bookkeepers', 'bookkeeping', 'bookkeepings', 'booklet', 'booklets', 'bookmaker', 'bookmakers', 'bookmaking', 'bookmakings', 'bookmark', 'bookmarked', 'bookmarking', 'bookmarks', 'bookmobile', 'bookmobiles', 'bookplate', 'bookplates', 'bookseller', 'booksellers', 'bookshelf', 'bookshelves', 'bookshop', 'bookshops', 'bookstore', 'bookstores', 'bookworm', 'bookworms', 'boombox', 'boomboxes', 'boomed', 'boomerang', 'boomeranged', 'boomeranging', 'boomerangs', 'booming', 'boondocks', 'boondoggle', 'boondoggled', 'boondoggler', 'boondogglers', 'boondoggles', 'boondoggling', 'boonies', 'boorish', 'boorishly', 'boorishness', 'boorishnesses', 'boosted', 'booster', 'boosters', 'boosting', 'boosts', 'bootblack', 'bootblacks', 'booted', 'bootee', 'bootees', 'booths', 'bootie', 'booties', 'booting', 'bootleg', 'bootlegged', 'bootlegger', 'bootleggers', 'bootlegging', 'bootleggings', 'bootlegs', 'bootless', 'bootstrap', 'bootstrapped', 'bootstrapping', 'bootstraps', 'boozed', 'boozer', 'boozers', 'boozes', 'boozier', 'booziest', 'boozing', 'bopped', 'bopping', 'boraxes', 'bordello', 'bordellos', 'border', 'bordered', 'bordering', 'borderland', 'borderlands', 'borderline', 'borderlines', 'borders', 'boredom', 'boredoms', 'borers', 'boring', 'borons', 'borough', 'boroughs', 'borrow', 'borrowed', 'borrower', 'borrowers', 'borrowing', 'borrowings', 'borrows', 'borsch', 'borsches', 'borscht', 'borschts', 'borzoi', 'borzois', 'boshes', 'bosoms', 'bosomy', 'bossed', 'bosses', 'bossier', 'bossiest', 'bossily', 'bossiness', 'bossinesses', 'bossing', 'bossism', 'bossisms', 'bosuns', 'botanic', 'botanical', 'botanically', 'botanies', 'botanist', 'botanists', 'botany', 'botched', 'botcher', 'botchers', 'botches', 'botching', 'bother', 'bothered', 'bothering', 'bothers', 'bothersome', 'bottle', 'bottled', 'bottleneck', 'bottlenecks', 'bottler', 'bottlers', 'bottles', 'bottling', 'bottom', 'bottomed', 'bottoming', 'bottomless', 'bottoms', 'botulism', 'botulisms', 'boudoir', 'boudoirs', 'bouffant', 'bouffants', 'bougainvillea', 'bougainvilleas', 'boughs', 'bought', 'bouillabaisse', 'bouillabaisses', 'bouillon', 'bouillons', 'boulder', 'boulders', 'boulevard', 'boulevards', 'bounce', 'bounced', 'bouncer', 'bouncers', 'bounces', 'bouncier', 'bounciest', 'bouncily', 'bounciness', 'bouncinesses', 'bouncing', 'bouncy', 'boundaries', 'boundary', 'bounded', 'bounden', 'bounder', 'bounders', 'bounding', 'boundless', 'boundlessly', 'boundlessness', 'boundlessnesses', 'bounds', 'bounteous', 'bounteously', 'bounteousness', 'bounteousnesses', 'bounties', 'bountiful', 'bountifully', 'bountifulness', 'bountifulnesses', 'bounty', 'bouquet', 'bouquets', 'bourbon', 'bourbons', 'bourgeois', 'bourgeoisie', 'bourgeoisies', 'boutique', 'boutiques', 'boutonniere', 'boutonnieres', 'bouzouki', 'bouzoukis', 'bovine', 'bovines', 'bowdlerization', 'bowdlerizations', 'bowdlerize', 'bowdlerized', 'bowdlerizes', 'bowdlerizing', 'bowels', 'bowers', 'bowing', 'bowlder', 'bowlders', 'bowled', 'bowleg', 'bowlegged', 'bowlegs', 'bowler', 'bowlers', 'bowlful', 'bowlfuls', 'bowline', 'bowlines', 'bowling', 'bowlings', 'bowman', 'bowmen', 'bowsprit', 'bowsprits', 'bowstring', 'bowstrings', 'bowwow', 'bowwows', 'boxcar', 'boxcars', 'boxers', 'boxier', 'boxiest', 'boxing', 'boxings', 'boxlike', 'boxwood', 'boxwoods', 'boycott', 'boycotted', 'boycotting', 'boycotts', 'boyfriend', 'boyfriends', 'boyhood', 'boyhoods', 'boyish', 'boyishly', 'boyishness', 'boyishnesses', 'boysenberries', 'boysenberry', 'braced', 'bracelet', 'bracelets', 'bracer', 'bracero', 'braceros', 'bracers', 'braces', 'bracing', 'bracken', 'brackens', 'bracket', 'bracketed', 'bracketing', 'brackets', 'brackish', 'brackishness', 'brackishnesses', 'bracts', 'braggadocio', 'braggadocios', 'braggart', 'braggarts', 'bragged', 'bragger', 'braggers', 'bragging', 'braided', 'braiding', 'braidings', 'braids', 'braille', 'brailles', 'brainchild', 'brainchildren', 'brained', 'brainier', 'brainiest', 'braininess', 'braininesses', 'braining', 'brainless', 'brainlessly', 'brains', 'brainstorm', 'brainstormed', 'brainstorming', 'brainstormings', 'brainstorms', 'brainteaser', 'brainteasers', 'brainwash', 'brainwashed', 'brainwashes', 'brainwashing', 'brainwashings', 'brainy', 'braise', 'braised', 'braises', 'braising', 'braked', 'brakeman', 'brakemen', 'brakes', 'braking', 'bramble', 'brambles', 'bramblier', 'brambliest', 'brambly', 'branch', 'branched', 'branches', 'branching', 'branchlike', 'branded', 'brander', 'branders', 'brandied', 'brandies', 'branding', 'brandish', 'brandished', 'brandishes', 'brandishing', 'brands', 'brandy', 'brandying', 'brans', 'brasher', 'brashest', 'brashly', 'brashness', 'brashnesses', 'brasserie', 'brasseries', 'brasses', 'brassier', 'brassiere', 'brassieres', 'brassiest', 'brassily', 'brassiness', 'brassinesses', 'brassy', 'brattier', 'brattiest', 'bratty', 'bratwurst', 'bratwursts', 'bravado', 'bravadoes', 'bravados', 'braved', 'bravely', 'braveness', 'bravenesses', 'braver', 'braveries', 'bravery', 'braves', 'bravest', 'braving', 'bravos', 'bravura', 'bravuras', 'brawled', 'brawler', 'brawlers', 'brawling', 'brawls', 'brawnier', 'brawniest', 'brawniness', 'brawninesses', 'brawns', 'brawny', 'brayed', 'braying', 'brazed', 'brazen', 'brazened', 'brazening', 'brazenly', 'brazenness', 'brazennesses', 'brazens', 'brazer', 'brazers', 'brazes', 'brazier', 'braziers', 'brazing', 'breach', 'breached', 'breaches', 'breaching', 'breadbasket', 'breadbaskets', 'breadboard', 'breadboards', 'breadbox', 'breadboxes', 'breadcrumb', 'breadcrumbs', 'breaded', 'breadfruit', 'breadfruits', 'breading', 'breadline', 'breadlines', 'breads', 'breadth', 'breadths', 'breadwinner', 'breadwinners', 'breakable', 'breakables', 'breakage', 'breakages', 'breakaway', 'breakaways', 'breakdown', 'breakdowns', 'breaker', 'breakers', 'breakeven', 'breakevens', 'breakfast', 'breakfasted', 'breakfasting', 'breakfasts', 'breakfront', 'breakfronts', 'breaking', 'breakneck', 'breakout', 'breakouts', 'breaks', 'breakthrough', 'breakthroughs', 'breakup', 'breakups', 'breakwater', 'breakwaters', 'breams', 'breast', 'breastbone', 'breastbones', 'breasted', 'breasting', 'breastplate', 'breastplates', 'breasts', 'breaststroke', 'breaststrokes', 'breastwork', 'breastworks', 'breath', 'breathable', 'breathalyze', 'breathalyzed', 'breathalyzes', 'breathalyzing', 'breathe', 'breathed', 'breather', 'breathers', 'breathes', 'breathier', 'breathiest', 'breathing', 'breathings', 'breathless', 'breathlessly', 'breathlessness', 'breathlessnesses', 'breaths', 'breathtaking', 'breathtakingly', 'breathy', 'breech', 'breeches', 'breeder', 'breeders', 'breeding', 'breedings', 'breeds', 'breeze', 'breezed', 'breezes', 'breezeway', 'breezeways', 'breezier', 'breeziest', 'breezily', 'breeziness', 'breezinesses', 'breezing', 'breezy', 'brethren', 'breves', 'brevet', 'breveted', 'breveting', 'brevets', 'brevetted', 'brevetting', 'breviaries', 'breviary', 'brevities', 'brevity', 'brewed', 'brewer', 'breweries', 'brewers', 'brewery', 'brewing', 'brewpub', 'brewpubs', 'briars', 'bribed', 'briber', 'briberies', 'bribers', 'bribery', 'bribes', 'bribing', 'brickbat', 'brickbats', 'bricked', 'bricking', 'bricklayer', 'bricklayers', 'bricklaying', 'bricklayings', 'bricks', 'brickwork', 'brickworks', 'bridal', 'bridals', 'bridegroom', 'bridegrooms', 'brides', 'bridesmaid', 'bridesmaids', 'bridge', 'bridgeable', 'bridged', 'bridgehead', 'bridgeheads', 'bridges', 'bridgework', 'bridgeworks', 'bridging', 'bridle', 'bridled', 'bridles', 'bridling', 'briefcase', 'briefcases', 'briefed', 'briefer', 'briefest', 'briefing', 'briefings', 'briefly', 'briefness', 'briefnesses', 'briefs', 'briers', 'bries', 'brigade', 'brigades', 'brigadier', 'brigadiers', 'brigand', 'brigandage', 'brigandages', 'brigands', 'brigantine', 'brigantines', 'bright', 'brighten', 'brightened', 'brightener', 'brighteners', 'brightening', 'brightens', 'brighter', 'brightest', 'brightly', 'brightness', 'brightnesses', 'brights', 'brilliance', 'brilliances', 'brilliancies', 'brilliancy', 'brilliant', 'brilliantine', 'brilliantines', 'brilliantly', 'brilliants', 'brimful', 'brimfull', 'brimless', 'brimmed', 'brimming', 'brimstone', 'brimstones', 'brindle', 'brindled', 'brindles', 'brines', 'bringer', 'bringers', 'bringing', 'brings', 'brinier', 'briniest', 'brininess', 'brininesses', 'brinkmanship', 'brinkmanships', 'brinks', 'brinksmanship', 'brinksmanships', 'brioche', 'brioches', 'briquet', 'briquets', 'briquette', 'briquettes', 'brisked', 'brisker', 'briskest', 'brisket', 'briskets', 'brisking', 'briskly', 'briskness', 'brisknesses', 'brisks', 'bristle', 'bristled', 'bristles', 'bristlier', 'bristliest', 'bristling', 'bristly', 'britches', 'brittle', 'brittleness', 'brittlenesses', 'brittler', 'brittles', 'brittlest', 'broach', 'broached', 'broaches', 'broaching', 'broadband', 'broadbands', 'broadcast', 'broadcasted', 'broadcaster', 'broadcasters', 'broadcasting', 'broadcastings', 'broadcasts', 'broadcloth', 'broadcloths', 'broaden', 'broadened', 'broadening', 'broadens', 'broader', 'broadest', 'broadloom', 'broadlooms', 'broadly', 'broadminded', 'broadness', 'broadnesses', 'broads', 'broadsheet', 'broadsheets', 'broadside', 'broadsided', 'broadsides', 'broadsiding', 'broadsword', 'broadswords', 'brocade', 'brocaded', 'brocades', 'brocading', 'broccoli', 'broccolis', 'brochette', 'brochettes', 'brochure', 'brochures', 'brogan', 'brogans', 'brogue', 'brogues', 'broiled', 'broiler', 'broilers', 'broiling', 'broils', 'broken', 'brokenhearted', 'brokenheartedly', 'brokenly', 'brokenness', 'brokennesses', 'broker', 'brokerage', 'brokerages', 'brokered', 'brokering', 'brokers', 'bromide', 'bromides', 'bromidic', 'bromine', 'bromines', 'bronchi', 'bronchial', 'bronchitic', 'bronchitis', 'bronchitises', 'broncho', 'bronchos', 'bronchus', 'bronco', 'broncobuster', 'broncobusters', 'broncos', 'broncs', 'brontosaur', 'brontosauri', 'brontosaurs', 'brontosaurus', 'brontosauruses', 'bronze', 'bronzed', 'bronzes', 'bronzing', 'brooch', 'brooches', 'brooded', 'brooder', 'brooders', 'broodier', 'broodiest', 'brooding', 'broodingly', 'broodings', 'broodmare', 'broodmares', 'broods', 'broody', 'brooked', 'brooking', 'brooklet', 'brooklets', 'brooks', 'brooms', 'broomstick', 'broomsticks', 'brothel', 'brothels', 'brother', 'brotherhood', 'brotherhoods', 'brotherliness', 'brotherlinesses', 'brotherly', 'brothers', 'broths', 'brougham', 'broughams', 'brought', 'brouhaha', 'brouhahas', 'browbeat', 'browbeaten', 'browbeating', 'browbeats', 'browned', 'browner', 'brownest', 'brownie', 'brownies', 'browning', 'brownish', 'brownness', 'brownnesses', 'brownout', 'brownouts', 'browns', 'brownstone', 'brownstones', 'browse', 'browsed', 'browser', 'browsers', 'browses', 'browsing', 'bruins', 'bruise', 'bruised', 'bruiser', 'bruisers', 'bruises', 'bruising', 'bruisings', 'bruited', 'bruiting', 'bruits', 'brunch', 'brunched', 'brunches', 'brunching', 'brunet', 'brunets', 'brunette', 'brunettes', 'brunts', 'brushed', 'brushes', 'brushing', 'brushoff', 'brushoffs', 'brushwood', 'brushwoods', 'brushwork', 'brushworks', 'brusker', 'bruskest', 'brusque', 'brusquely', 'brusqueness', 'brusquenesses', 'brusquer', 'brusquest', 'brutal', 'brutalities', 'brutality', 'brutalization', 'brutalizations', 'brutalize', 'brutalized', 'brutalizes', 'brutalizing', 'brutally', 'brutes', 'brutish', 'brutishly', 'brutishness', 'brutishnesses', 'bubble', 'bubbled', 'bubblegum', 'bubblegums', 'bubbles', 'bubblier', 'bubblies', 'bubbliest', 'bubbling', 'bubbly', 'buboes', 'buccaneer', 'buccaneers', 'buckaroo', 'buckaroos', 'buckboard', 'buckboards', 'bucked', 'bucket', 'bucketed', 'bucketful', 'bucketfuls', 'bucketing', 'buckets', 'buckeye', 'buckeyes', 'bucking', 'buckle', 'buckled', 'buckler', 'bucklers', 'buckles', 'buckling', 'buckram', 'buckrams', 'bucksaw', 'bucksaws', 'buckshot', 'buckshots', 'buckskin', 'buckskins', 'buckteeth', 'bucktooth', 'bucktoothed', 'buckwheat', 'buckwheats', 'buckyball!', 'buckyballs!', 'bucolic', 'bucolically', 'bucolics', 'budded', 'buddies', 'budding', 'budged', 'budgerigar', 'budgerigars', 'budges', 'budget', 'budgetary', 'budgeted', 'budgeting', 'budgets', 'budgie', 'budgies', 'budging', 'buffalo', 'buffaloed', 'buffaloes', 'buffaloing', 'buffalos', 'buffed', 'buffer', 'buffered', 'buffering', 'buffers', 'buffet', 'buffeted', 'buffeting', 'buffets', 'buffing', 'buffoon', 'buffooneries', 'buffoonery', 'buffoonish', 'buffoons', 'bugaboo', 'bugaboos', 'bugbear', 'bugbears', 'bugged', 'bugger', 'buggered', 'buggering', 'buggers', 'buggier', 'buggies', 'buggiest', 'bugging', 'bugled', 'bugler', 'buglers', 'bugles', 'bugling', 'builder', 'builders', 'building', 'buildings', 'builds', 'buildup', 'buildups', 'bulbous', 'bulged', 'bulges', 'bulgier', 'bulgiest', 'bulging', 'bulimarexia', 'bulimarexias', 'bulimia', 'bulimias', 'bulimic', 'bulimics', 'bulked', 'bulkhead', 'bulkheads', 'bulkier', 'bulkiest', 'bulkiness', 'bulkinesses', 'bulking', 'bulldog', 'bulldogged', 'bulldogging', 'bulldogs', 'bulldoze', 'bulldozed', 'bulldozer', 'bulldozers', 'bulldozes', 'bulldozing', 'bulled', 'bullet', 'bulletin', 'bulletined', 'bulletining', 'bulletins', 'bulletproof', 'bulletproofed', 'bulletproofing', 'bulletproofs', 'bullets', 'bullfight', 'bullfighter', 'bullfighters', 'bullfighting', 'bullfightings', 'bullfights', 'bullfinch', 'bullfinches', 'bullfrog', 'bullfrogs', 'bullhead', 'bullheaded', 'bullheadedly', 'bullheadedness', 'bullheadednesses', 'bullheads', 'bullhorn', 'bullhorns', 'bullied', 'bullies', 'bulling', 'bullion', 'bullions', 'bullish', 'bullishly', 'bullishness', 'bullishnesses', 'bullock', 'bullocks', 'bullpen', 'bullpens', 'bullring', 'bullrings', 'bullshit', 'bullshits', 'bullshitted', 'bullshitter', 'bullshitters', 'bullshitting', 'bullying', 'bulrush', 'bulrushes', 'bulwark', 'bulwarks', 'bumble', 'bumblebee', 'bumblebees', 'bumbled', 'bumbler', 'bumblers', 'bumbles', 'bumbling', 'bummed', 'bummer', 'bummers', 'bummest', 'bumming', 'bumped', 'bumper', 'bumpers', 'bumpier', 'bumpiest', 'bumpiness', 'bumpinesses', 'bumping', 'bumpkin', 'bumpkins', 'bumptious', 'bumptiously', 'bumptiousness', 'bumptiousnesses', 'bunched', 'bunches', 'bunchier', 'bunchiest', 'bunching', 'bunchy', 'buncoed', 'buncoing', 'buncombe', 'buncombes', 'buncos', 'bundle', 'bundled', 'bundles', 'bundling', 'bungalow', 'bungalows', 'bunged', 'bungee', 'bungees', 'bunghole', 'bungholes', 'bunging', 'bungle', 'bungled', 'bungler', 'bunglers', 'bungles', 'bungling', 'bunion', 'bunions', 'bunked', 'bunker', 'bunkers', 'bunkhouse', 'bunkhouses', 'bunking', 'bunkos', 'bunkum', 'bunkums', 'bunnies', 'bunted', 'bunting', 'buntings', 'buoyancies', 'buoyancy', 'buoyant', 'buoyantly', 'buoyed', 'buoying', 'burble', 'burbled', 'burbles', 'burbling', 'burden', 'burdened', 'burdening', 'burdens', 'burdensome', 'burdock', 'burdocks', 'bureau', 'bureaucracies', 'bureaucracy', 'bureaucrat', 'bureaucratic', 'bureaucratically', 'bureaucratization', 'bureaucratizations', 'bureaucratize', 'bureaucratized', 'bureaucratizes', 'bureaucratizing', 'bureaucrats', 'bureaus', 'bureaux', 'burgeon', 'burgeoned', 'burgeoning', 'burgeons', 'burger', 'burgers', 'burgher', 'burghers', 'burghs', 'burglar', 'burglaries', 'burglarize', 'burglarized', 'burglarizes', 'burglarizing', 'burglarproof', 'burglarproofed', 'burglarproofing', 'burglarproofs', 'burglars', 'burglary', 'burgle', 'burgled', 'burgles', 'burgling', 'burgomaster', 'burgomasters', 'burgundies', 'burgundy', 'burial', 'burials', 'buried', 'buries', 'burka!', 'burkas!', 'burlap', 'burlaps', 'burled', 'burlesque', 'burlesqued', 'burlesques', 'burlesquing', 'burlier', 'burliest', 'burliness', 'burlinesses', 'burnable', 'burnables', 'burned', 'burner', 'burners', 'burning', 'burnish', 'burnished', 'burnisher', 'burnishers', 'burnishes', 'burnishing', 'burnoose', 'burnooses', 'burnous', 'burnouses', 'burnout', 'burnouts', 'burped', 'burping', 'burqa!', 'burqas!', 'burred', 'burring', 'burrito', 'burritos', 'burros', 'burrow', 'burrowed', 'burrower', 'burrowers', 'burrowing', 'burrows', 'bursae', 'bursar', 'bursaries', 'bursars', 'bursary', 'bursas', 'bursitis', 'bursitises', 'bursted', 'bursting', 'bursts', 'burying', 'busbies', 'busboy', 'busboys', 'busgirl', 'busgirls', 'bushed', 'bushel', 'busheled', 'busheling', 'bushelled', 'bushelling', 'bushels', 'bushes', 'bushier', 'bushiest', 'bushiness', 'bushinesses', 'bushing', 'bushings', 'bushman', 'bushmaster', 'bushmasters', 'bushmen', 'bushwhack', 'bushwhacked', 'bushwhacker', 'bushwhackers', 'bushwhacking', 'bushwhacks', 'busied', 'busier', 'busies', 'busiest', 'busily', 'business', 'businesses', 'businesslike', 'businessman', 'businessmen', 'businessperson', 'businesspersons', 'businesswoman', 'businesswomen', 'busing', 'busings', 'buskin', 'buskins', 'bussed', 'busses', 'bussing', 'bussings', 'busted', 'buster', 'busters', 'bustier', 'bustiest', 'busting', 'bustle', 'bustled', 'bustles', 'bustling', 'busybodies', 'busybody', 'busying', 'busyness', 'busynesses', 'busywork', 'busyworks', 'butane', 'butanes', 'butcher', 'butchered', 'butcheries', 'butchering', 'butchers', 'butchery', 'butches', 'butler', 'butlers', 'butted', 'butter', 'butterball', 'butterballs', 'buttercup', 'buttercups', 'buttered', 'butterfat', 'butterfats', 'butterfingered', 'butterfingers', 'butterflied', 'butterflies', 'butterfly', 'butterflying', 'butterier', 'butteries', 'butteriest', 'buttering', 'buttermilk', 'buttermilks', 'butternut', 'butternuts', 'butters', 'butterscotch', 'butterscotches', 'buttery', 'buttes', 'butting', 'buttock', 'buttocks', 'button', 'buttoned', 'buttonhole', 'buttonholed', 'buttonholes', 'buttonholing', 'buttoning', 'buttons', 'buttonwood', 'buttonwoods', 'buttress', 'buttressed', 'buttresses', 'buttressing', 'buyback', 'buybacks', 'buyers', 'buying', 'buyout', 'buyouts', 'buzzard', 'buzzards', 'buzzed', 'buzzer', 'buzzers', 'buzzes', 'buzzing', 'buzzkill!', 'buzzkills!', 'buzzword', 'buzzwords', 'byelaw', 'byelaws', 'bygone', 'bygones', 'bylaws', 'byline', 'bylines', 'bypass', 'bypassed', 'bypasses', 'bypassing', 'bypast', 'bypath', 'bypaths', 'byplay', 'byplays', 'byproduct', 'byproducts', 'byroad', 'byroads', 'bystander', 'bystanders', 'byways', 'byword', 'bywords', 'byzantine', 'cabala', 'cabalas', 'caballero', 'caballeros', 'cabals', 'cabana', 'cabanas', 'cabaret', 'cabarets', 'cabbage', 'cabbages', 'cabbed', 'cabbie', 'cabbies', 'cabbing', 'cabdriver', 'cabdrivers', 'cabinet', 'cabinetmaker', 'cabinetmakers', 'cabinetmaking', 'cabinetmakings', 'cabinetries', 'cabinetry', 'cabinets', 'cabinetwork', 'cabinetworks', 'cabins', 'cablecast', 'cablecasted', 'cablecasting', 'cablecasts', 'cabled', 'cablegram', 'cablegrams', 'cables', 'cabling', 'cabochon', 'cabochons', 'caboodle', 'caboodles', 'caboose', 'cabooses', 'cabriolet', 'cabriolets', 'cabstand', 'cabstands', 'cacaos', 'cached', 'cachepot', 'cachepots', 'caches', 'cachet', 'cachets', 'caching', 'cackle', 'cackled', 'cackler', 'cacklers', 'cackles', 'cackling', 'cacophonies', 'cacophonous', 'cacophony', 'cactus', 'cactuses', 'cadaver', 'cadaverous', 'cadavers', 'caddie', 'caddied', 'caddies', 'caddish', 'caddishly', 'caddishness', 'caddishnesses', 'caddying', 'cadence', 'cadenced', 'cadences', 'cadenza', 'cadenzas', 'cadets', 'cadged', 'cadger', 'cadgers', 'cadges', 'cadging', 'cadmium', 'cadmiums', 'cadres', 'caducei', 'caduceus', 'caesarean', 'caesareans', 'caesarian', 'caesarians', 'caesura', 'caesurae', 'caesuras', 'cafeteria', 'cafeterias', 'caffeine', 'caffeines', 'caftan', 'caftans', 'cagier', 'cagiest', 'cagily', 'caginess', 'caginesses', 'caging', 'cahoot', 'cahoots', 'caiman', 'caimans', 'cairns', 'caisson', 'caissons', 'caitiff', 'caitiffs', 'cajole', 'cajoled', 'cajolement', 'cajolements', 'cajoler', 'cajoleries', 'cajolers', 'cajolery', 'cajoles', 'cajoling', 'cakewalk', 'cakewalks', 'caking', 'calabash', 'calabashes', 'calaboose', 'calabooses', 'calamari', 'calamaris', 'calamine', 'calamines', 'calamities', 'calamitous', 'calamitously', 'calamity', 'calcareous', 'calciferous', 'calcification', 'calcifications', 'calcified', 'calcifies', 'calcify', 'calcifying', 'calcimine', 'calcimined', 'calcimines', 'calcimining', 'calcine', 'calcined', 'calcines', 'calcining', 'calcite', 'calcites', 'calcium', 'calciums', 'calculable', 'calculate', 'calculated', 'calculatedly', 'calculates', 'calculating', 'calculatingly', 'calculation', 'calculations', 'calculative', 'calculator', 'calculators', 'calculi', 'calculus', 'calculuses', 'caldera', 'calderas', 'caldron', 'caldrons', 'calendar', 'calendared', 'calendaring', 'calendars', 'calender', 'calendered', 'calendering', 'calenders', 'calfskin', 'calfskins', 'caliber', 'calibers', 'calibrate', 'calibrated', 'calibrates', 'calibrating', 'calibration', 'calibrations', 'calibrator', 'calibrators', 'calibre', 'calibres', 'calico', 'calicoes', 'calicos', 'californium', 'californiums', 'califs', 'caliper', 'calipered', 'calipering', 'calipers', 'caliph', 'caliphate', 'caliphates', 'caliphs', 'calisthenic', 'calisthenics', 'calked', 'calking', 'callas', 'callback', 'callbacks', 'called', 'caller', 'callers', 'calligrapher', 'calligraphers', 'calligraphic', 'calligraphies', 'calligraphist', 'calligraphists', 'calligraphy', 'calling', 'callings', 'calliope', 'calliopes', 'calliper', 'callipered', 'callipering', 'callipers', 'callisthenics', 'callosities', 'callosity', 'callous', 'calloused', 'callouses', 'callousing', 'callously', 'callousness', 'callousnesses', 'callow', 'callower', 'callowest', 'callowness', 'callownesses', 'callus', 'callused', 'calluses', 'callusing', 'calmed', 'calmer', 'calmest', 'calming', 'calmly', 'calmness', 'calmnesses', 'caloric', 'calorie', 'calories', 'calorific', 'calumet', 'calumets', 'calumniate', 'calumniated', 'calumniates', 'calumniating', 'calumniation', 'calumniations', 'calumniator', 'calumniators', 'calumnies', 'calumnious', 'calumny', 'calved', 'calves', 'calving', 'calyces', 'calypso', 'calypsos', 'calyxes', 'camaraderie', 'camaraderies', 'camber', 'cambered', 'cambering', 'cambers', 'cambia', 'cambial', 'cambium', 'cambiums', 'cambric', 'cambrics', 'camcorder', 'camcorders', 'camelhair', 'camelhairs', 'camellia', 'camellias', 'camels', 'cameos', 'camera', 'cameraman', 'cameramen', 'cameras', 'camerawoman', 'camerawomen', 'camisole', 'camisoles', 'camomile', 'camomiles', 'camouflage', 'camouflaged', 'camouflager', 'camouflagers', 'camouflages', 'camouflaging', 'campaign', 'campaigned', 'campaigner', 'campaigners', 'campaigning', 'campaigns', 'campanile', 'campaniles', 'campanili', 'campanologies', 'campanologist', 'campanologists', 'campanology', 'camped', 'camper', 'campers', 'campfire', 'campfires', 'campground', 'campgrounds', 'camphor', 'camphors', 'campier', 'campiest', 'camping', 'campings', 'campsite', 'campsites', 'campus', 'campuses', 'camshaft', 'camshafts', 'canalization', 'canalizations', 'canalize', 'canalized', 'canalizes', 'canalizing', 'canals', 'canape', 'canapes', 'canard', 'canards', 'canaries', 'canary', 'canasta', 'canastas', 'cancan', 'cancans', 'cancel', 'canceled', 'canceler', 'cancelers', 'canceling', 'cancellation', 'cancellations', 'cancelled', 'canceller', 'cancellers', 'cancelling', 'cancels', 'cancer', 'cancerous', 'cancers', 'candelabra', 'candelabras', 'candelabrum', 'candelabrums', 'candid', 'candidacies', 'candidacy', 'candidate', 'candidates', 'candidature', 'candidatures', 'candidly', 'candidness', 'candidnesses', 'candied', 'candies', 'candle', 'candled', 'candlelight', 'candlelights', 'candlepower', 'candlepowers', 'candler', 'candlers', 'candles', 'candlestick', 'candlesticks', 'candlewick', 'candlewicks', 'candling', 'candor', 'candors', 'candour', 'candours', 'candying', 'canebrake', 'canebrakes', 'caners', 'canine', 'canines', 'caning', 'canister', 'canisters', 'canker', 'cankered', 'cankering', 'cankerous', 'cankers', 'cannabis', 'cannabises', 'canned', 'cannelloni', 'canneries', 'cannery', 'cannibal', 'cannibalism', 'cannibalisms', 'cannibalistic', 'cannibalization', 'cannibalizations', 'cannibalize', 'cannibalized', 'cannibalizes', 'cannibalizing', 'cannibals', 'cannier', 'canniest', 'cannily', 'canniness', 'canninesses', 'canning', 'cannon', 'cannonade', 'cannonaded', 'cannonades', 'cannonading', 'cannonball', 'cannonballs', 'cannoned', 'cannoning', 'cannons', 'cannot', 'canoed', 'canoeing', 'canoeist', 'canoeists', 'canoes', 'canola', 'canolas', 'canonical', 'canonically', 'canonization', 'canonizations', 'canonize', 'canonized', 'canonizes', 'canonizing', 'canons', 'canopied', 'canopies', 'canopy', 'canopying', 'cantabile', 'cantaloup', 'cantaloupe', 'cantaloupes', 'cantaloups', 'cantankerous', 'cantankerously', 'cantankerousness', 'cantankerousnesses', 'cantata', 'cantatas', 'canted', 'canteen', 'canteens', 'canter', 'cantered', 'cantering', 'canters', 'canticle', 'canticles', 'cantilever', 'cantilevered', 'cantilevering', 'cantilevers', 'canting', 'canton', 'cantonal', 'cantonment', 'cantonments', 'cantons', 'cantor', 'cantors', 'cantos', 'canvas', 'canvasback', 'canvasbacks', 'canvased', 'canvases', 'canvasing', 'canvass', 'canvassed', 'canvasser', 'canvassers', 'canvasses', 'canvassing', 'canyon', 'canyons', 'capabilities', 'capability', 'capable', 'capably', 'capacious', 'capaciously', 'capaciousness', 'capaciousnesses', 'capacitance', 'capacitances', 'capacities', 'capacitor', 'capacitors', 'capacity', 'caparison', 'caparisoned', 'caparisoning', 'caparisons', 'capered', 'capering', 'capers', 'capeskin', 'capeskins', 'capillaries', 'capillarities', 'capillarity', 'capillary', 'capital', 'capitalism', 'capitalisms', 'capitalist', 'capitalistic', 'capitalistically', 'capitalists', 'capitalization', 'capitalizations', 'capitalize', 'capitalized', 'capitalizes', 'capitalizing', 'capitally', 'capitals', 'capitation', 'capitations', 'capitol', 'capitols', 'capitulate', 'capitulated', 'capitulates', 'capitulating', 'capitulation', 'capitulations', 'caplet', 'caplets', 'capons', 'capped', 'capping', 'cappuccino', 'cappuccinos', 'caprice', 'caprices', 'capricious', 'capriciously', 'capriciousness', 'capriciousnesses', 'capsicum', 'capsicums', 'capsize', 'capsized', 'capsizes', 'capsizing', 'capstan', 'capstans', 'capstone', 'capstones', 'capsular', 'capsule', 'capsuled', 'capsules', 'capsuling', 'capsulize', 'capsulized', 'capsulizes', 'capsulizing', 'captain', 'captaincies', 'captaincy', 'captained', 'captaining', 'captains', 'caption', 'captioned', 'captioning', 'captions', 'captious', 'captiously', 'captiousness', 'captiousnesses', 'captivate', 'captivated', 'captivates', 'captivating', 'captivation', 'captivations', 'captivator', 'captivators', 'captive', 'captives', 'captivities', 'captivity', 'captor', 'captors', 'capture', 'captured', 'captures', 'capturing', 'caracul', 'caraculs', 'carafe', 'carafes', 'caramel', 'caramelize', 'caramelized', 'caramelizes', 'caramelizing', 'caramels', 'carapace', 'carapaces', 'carats', 'caravan', 'caravans', 'caravansaries', 'caravansary', 'caravanserai', 'caravanserais', 'caravel', 'caravels', 'caraway', 'caraways', 'carbide', 'carbides', 'carbine', 'carbines', 'carbohydrate', 'carbohydrates', 'carbon', 'carbonaceous', 'carbonate', 'carbonated', 'carbonates', 'carbonating', 'carbonation', 'carbonations', 'carboniferous', 'carbonize', 'carbonized', 'carbonizes', 'carbonizing', 'carbons', 'carborundum', 'carborundums', 'carboy', 'carboys', 'carbs!', 'carbuncle', 'carbuncles', 'carbuncular', 'carburetor', 'carburetors', 'carburetter', 'carburetters', 'carburettor', 'carburettors', 'carcass', 'carcasses', 'carcinogen', 'carcinogenic', 'carcinogenicities', 'carcinogenicity', 'carcinogenics', 'carcinogens', 'carcinoma', 'carcinomas', 'carcinomata', 'cardamom', 'cardamoms', 'cardboard', 'cardboards', 'carded', 'carder', 'carders', 'cardiac', 'cardigan', 'cardigans', 'cardinal', 'cardinally', 'cardinals', 'carding', 'cardio!', 'cardiogram', 'cardiograms', 'cardiograph', 'cardiographs', 'cardiologies', 'cardiologist', 'cardiologists', 'cardiology', 'cardiopulmonary', 'cardios!', 'cardiovascular', 'cardsharp', 'cardsharper', 'cardsharpers', 'cardsharps', 'careen', 'careened', 'careening', 'careens', 'career', 'careered', 'careering', 'careerist', 'careerists', 'careers', 'carefree', 'careful', 'carefuller', 'carefullest', 'carefully', 'carefulness', 'carefulnesses', 'caregiver', 'caregivers', 'careless', 'carelessly', 'carelessness', 'carelessnesses', 'carers', 'caress', 'caressed', 'caresses', 'caressing', 'caretaker', 'caretakers', 'carets', 'careworn', 'carfare', 'carfares', 'cargoes', 'cargos', 'carhop', 'carhops', 'caribou', 'caribous', 'caricature', 'caricatured', 'caricatures', 'caricaturing', 'caricaturist', 'caricaturists', 'caries', 'carillon', 'carillons', 'caring', 'carings', 'carious', 'carjack', 'carjacked', 'carjacker', 'carjackers', 'carjacking', 'carjackings', 'carjacks', 'carload', 'carloads', 'carmine', 'carmines', 'carnage', 'carnages', 'carnal', 'carnalities', 'carnality', 'carnally', 'carnation', 'carnations', 'carnelian', 'carnelians', 'carney', 'carneys', 'carnies', 'carnival', 'carnivals', 'carnivore', 'carnivores', 'carnivorous', 'carnivorously', 'carnivorousness', 'carnivorousnesses', 'carobs', 'caroled', 'caroler', 'carolers', 'caroling', 'carolled', 'caroller', 'carollers', 'carolling', 'carols', 'caromed', 'caroming', 'caroms', 'carotene', 'carotenes', 'carotid', 'carotids', 'carousal', 'carousals', 'carouse', 'caroused', 'carousel', 'carousels', 'carouser', 'carousers', 'carouses', 'carousing', 'carpal', 'carpals', 'carped', 'carpel', 'carpels', 'carpenter', 'carpentered', 'carpentering', 'carpenters', 'carpentries', 'carpentry', 'carper', 'carpers', 'carpet', 'carpetbag', 'carpetbagged', 'carpetbagger', 'carpetbaggers', 'carpetbagging', 'carpetbags', 'carpeted', 'carpeting', 'carpetings', 'carpets', 'carping', 'carpool', 'carpooled', 'carpooling', 'carpools', 'carport', 'carports', 'carpus', 'carrel', 'carrell', 'carrells', 'carrels', 'carriage', 'carriages', 'carried', 'carrier', 'carriers', 'carries', 'carrion', 'carrions', 'carrot', 'carrots', 'carroty', 'carrousel', 'carrousels', 'carryall', 'carryalls', 'carrying', 'carryout', 'carryover', 'carryovers', 'carsick', 'carsickness', 'carsicknesses', 'cartage', 'cartages', 'carted', 'cartel', 'cartels', 'carter', 'carters', 'carthorse', 'carthorses', 'cartilage', 'cartilages', 'cartilaginous', 'carting', 'cartload', 'cartloads', 'cartographer', 'cartographers', 'cartographic', 'cartographies', 'cartography', 'carton', 'cartons', 'cartoon', 'cartooned', 'cartooning', 'cartoonist', 'cartoonists', 'cartoons', 'cartridge', 'cartridges', 'cartwheel', 'cartwheeled', 'cartwheeling', 'cartwheels', 'carved', 'carver', 'carvers', 'carves', 'carving', 'carvings', 'caryatid', 'caryatides', 'caryatids', 'casaba', 'casabas', 'cascade', 'cascaded', 'cascades', 'cascading', 'cascara', 'cascaras', 'caseharden', 'casehardened', 'casehardening', 'casehardens', 'casein', 'caseins', 'caseload', 'caseloads', 'casement', 'casements', 'casework', 'caseworker', 'caseworkers', 'caseworks', 'cashback!', 'cashbacks!', 'cashbook', 'cashbooks', 'cashed', 'cashes', 'cashew', 'cashews', 'cashier', 'cashiered', 'cashiering', 'cashiers', 'cashing', 'cashless', 'cashmere', 'cashmeres', 'casing', 'casings', 'casino', 'casinos', 'casket', 'caskets', 'cassava', 'cassavas', 'casserole', 'casseroled', 'casseroles', 'casseroling', 'cassette', 'cassettes', 'cassia', 'cassias', 'cassino', 'cassinos', 'cassock', 'cassocks', 'cassowaries', 'cassowary', 'castanet', 'castanets', 'castaway', 'castaways', 'castellated', 'caster', 'casters', 'castes', 'castigate', 'castigated', 'castigates', 'castigating', 'castigation', 'castigations', 'castigator', 'castigators', 'casting', 'castings', 'castle', 'castled', 'castles', 'castling', 'castoff', 'castoffs', 'castor', 'castors', 'castrate', 'castrated', 'castrates', 'castrating', 'castration', 'castrations', 'casual', 'casually', 'casualness', 'casualnesses', 'casuals', 'casualties', 'casualty', 'casuist', 'casuistic', 'casuistries', 'casuistry', 'casuists', 'cataclysm', 'cataclysmal', 'cataclysmic', 'cataclysms', 'catacomb', 'catacombs', 'catafalque', 'catafalques', 'catalepsies', 'catalepsy', 'cataleptic', 'cataleptics', 'catalog', 'cataloged', 'cataloger', 'catalogers', 'cataloging', 'catalogs', 'catalogue', 'catalogued', 'cataloguer', 'cataloguers', 'catalogues', 'cataloguing', 'catalpa', 'catalpas', 'catalyses', 'catalysis', 'catalyst', 'catalysts', 'catalytic', 'catalytics', 'catalyze', 'catalyzed', 'catalyzes', 'catalyzing', 'catamaran', 'catamarans', 'catapult', 'catapulted', 'catapulting', 'catapults', 'cataract', 'cataracts', 'catarrh', 'catarrhs', 'catastrophe', 'catastrophes', 'catastrophic', 'catastrophically', 'catatonia', 'catatonias', 'catatonic', 'catatonics', 'catbird', 'catbirds', 'catboat', 'catboats', 'catcall', 'catcalled', 'catcalling', 'catcalls', 'catchall', 'catchalls', 'catcher', 'catchers', 'catches', 'catchier', 'catchiest', 'catching', 'catchment', 'catchments', 'catchpenny', 'catchphrase', 'catchphrases', 'catchup', 'catchups', 'catchword', 'catchwords', 'catchy', 'catechism', 'catechisms', 'catechist', 'catechists', 'catechize', 'catechized', 'catechizes', 'catechizing', 'categorical', 'categorically', 'categories', 'categorization', 'categorizations', 'categorize', 'categorized', 'categorizes', 'categorizing', 'category', 'catercorner', 'catered', 'caterer', 'caterers', 'catering', 'caterpillar', 'caterpillars', 'caters', 'caterwaul', 'caterwauled', 'caterwauling', 'caterwauls', 'catfish', 'catfishes', 'catgut', 'catguts', 'catharses', 'catharsis', 'cathartic', 'cathartics', 'cathedral', 'cathedrals', 'catheter', 'catheterize', 'catheterized', 'catheterizes', 'catheterizing', 'catheters', 'cathode', 'cathodes', 'cathodic', 'catholic', 'catholicities', 'catholicity', 'cation', 'cations', 'catkin', 'catkins', 'catlike', 'catnap', 'catnapped', 'catnapping', 'catnaps', 'catnip', 'catnips', 'catsup', 'catsups', 'cattail', 'cattails', 'cattier', 'cattiest', 'cattily', 'cattiness', 'cattinesses', 'cattle', 'cattleman', 'cattlemen', 'catwalk', 'catwalks', 'caucus', 'caucused', 'caucuses', 'caucusing', 'caucussed', 'caucussing', 'caudal', 'caudally', 'caught', 'cauldron', 'cauldrons', 'cauliflower', 'cauliflowers', 'caulked', 'caulker', 'caulkers', 'caulking', 'caulkings', 'caulks', 'causal', 'causalities', 'causality', 'causally', 'causation', 'causations', 'causative', 'caused', 'causeless', 'causer', 'causerie', 'causeries', 'causers', 'causes', 'causeway', 'causeways', 'causing', 'caustic', 'caustically', 'causticities', 'causticity', 'caustics', 'cauterization', 'cauterizations', 'cauterize', 'cauterized', 'cauterizes', 'cauterizing', 'caution', 'cautionary', 'cautioned', 'cautioning', 'cautions', 'cautious', 'cautiously', 'cautiousness', 'cautiousnesses', 'cavalcade', 'cavalcades', 'cavalier', 'cavalierly', 'cavaliers', 'cavalries', 'cavalry', 'cavalryman', 'cavalrymen', 'caveat', 'caveats', 'caveman', 'cavemen', 'cavern', 'cavernous', 'cavernously', 'caverns', 'caviar', 'caviare', 'caviares', 'caviars', 'caviled', 'caviler', 'cavilers', 'caviling', 'cavilled', 'caviller', 'cavillers', 'cavilling', 'cavils', 'caving', 'cavings', 'cavities', 'cavity', 'cavort', 'cavorted', 'cavorting', 'cavorts', 'cawing', 'cayenne', 'cayennes', 'cayman', 'caymans', 'cayuse', 'cayuses', 'ceased', 'ceasefire', 'ceasefires', 'ceaseless', 'ceaselessly', 'ceaselessness', 'ceaselessnesses', 'ceases', 'ceasing', 'cedars', 'ceders', 'cedilla', 'cedillas', 'ceding', 'ceiling', 'ceilings', 'celandine', 'celandines', 'celebrant', 'celebrants', 'celebrate', 'celebrated', 'celebrates', 'celebrating', 'celebration', 'celebrations', 'celebrator', 'celebrators', 'celebratory', 'celebrities', 'celebrity', 'celeries', 'celerities', 'celerity', 'celery', 'celesta', 'celestas', 'celestial', 'celestially', 'celibacies', 'celibacy', 'celibate', 'celibates', 'cellar', 'cellars', 'celled', 'cellist', 'cellists', 'cellmate', 'cellmates', 'cellophane', 'cellophanes', 'cellos', 'cellphone', 'cellphones', 'cellular', 'cellulite', 'cellulites', 'celluloid', 'celluloids', 'cellulose', 'celluloses', 'cement', 'cementa', 'cemented', 'cementer', 'cementers', 'cementing', 'cements', 'cementum', 'cementums', 'cemeteries', 'cemetery', 'cenobite', 'cenobites', 'cenobitic', 'cenotaph', 'cenotaphs', 'censer', 'censers', 'censor', 'censored', 'censorial', 'censoring', 'censorious', 'censoriously', 'censoriousness', 'censoriousnesses', 'censors', 'censorship', 'censorships', 'censurable', 'censure', 'censured', 'censurer', 'censurers', 'censures', 'censuring', 'census', 'censused', 'censuses', 'censusing', 'centaur', 'centaurs', 'centavo', 'centavos', 'centenarian', 'centenarians', 'centenaries', 'centenary', 'centennial', 'centennially', 'centennials', 'center', 'centerboard', 'centerboards', 'centered', 'centerfold', 'centerfolds', 'centering', 'centerpiece', 'centerpieces', 'centers', 'centigrade', 'centigram', 'centigramme', 'centigrammes', 'centigrams', 'centiliter', 'centiliters', 'centime', 'centimes', 'centimeter', 'centimeters', 'centimetre', 'centimetres', 'centipede', 'centipedes', 'central', 'centralities', 'centrality', 'centralization', 'centralizations', 'centralize', 'centralized', 'centralizer', 'centralizers', 'centralizes', 'centralizing', 'centrally', 'centrals', 'centre', 'centred', 'centres', 'centrifugal', 'centrifugally', 'centrifuge', 'centrifuged', 'centrifuges', 'centrifuging', 'centring', 'centripetal', 'centripetally', 'centrism', 'centrisms', 'centrist', 'centrists', 'centuries', 'centurion', 'centurions', 'century', 'cephalic', 'ceramic', 'ceramicist', 'ceramicists', 'ceramics', 'ceramist', 'ceramists', 'cereal', 'cereals', 'cerebella', 'cerebellar', 'cerebellum', 'cerebellums', 'cerebra', 'cerebral', 'cerebrate', 'cerebrated', 'cerebrates', 'cerebrating', 'cerebration', 'cerebrations', 'cerebrum', 'cerebrums', 'cerement', 'cerements', 'ceremonial', 'ceremonially', 'ceremonials', 'ceremonies', 'ceremonious', 'ceremoniously', 'ceremoniousness', 'ceremoniousnesses', 'ceremony', 'cerise', 'cerises', 'cerium', 'ceriums', 'cermet', 'cermets', 'certain', 'certainly', 'certainties', 'certainty', 'certifiable', 'certifiably', 'certificate', 'certificated', 'certificates', 'certificating', 'certification', 'certifications', 'certified', 'certifies', 'certify', 'certifying', 'certitude', 'certitudes', 'cerulean', 'ceruleans', 'cervical', 'cervices', 'cervix', 'cervixes', 'cesarean', 'cesareans', 'cesium', 'cesiums', 'cessation', 'cessations', 'cession', 'cessions', 'cesspool', 'cesspools', 'cetacean', 'cetaceans', 'chafed', 'chafes', 'chaffed', 'chaffinch', 'chaffinches', 'chaffing', 'chaffs', 'chafing', 'chagrin', 'chagrined', 'chagrining', 'chagrinned', 'chagrinning', 'chagrins', 'chained', 'chaining', 'chains', 'chainsaw', 'chainsawed', 'chainsawing', 'chainsaws', 'chaired', 'chairing', 'chairlift', 'chairlifts', 'chairman', 'chairmanship', 'chairmanships', 'chairmen', 'chairperson', 'chairpersons', 'chairs', 'chairwoman', 'chairwomen', 'chaise', 'chaises', 'chalcedonies', 'chalcedony', 'chalet', 'chalets', 'chalice', 'chalices', 'chalkboard', 'chalkboards', 'chalked', 'chalkier', 'chalkiest', 'chalkiness', 'chalkinesses', 'chalking', 'chalks', 'chalky', 'challenge', 'challenged', 'challenger', 'challengers', 'challenges', 'challenging', 'challis', 'challises', 'chamber', 'chambered', 'chamberlain', 'chamberlains', 'chambermaid', 'chambermaids', 'chambers', 'chambray', 'chambrays', 'chameleon', 'chameleons', 'chammies', 'chammy', 'chamois', 'chamoix', 'chamomile', 'chamomiles', 'champagne', 'champagnes', 'champed', 'champing', 'champion', 'championed', 'championing', 'champions', 'championship', 'championships', 'champs', 'chance', 'chanced', 'chancel', 'chancelleries', 'chancellery', 'chancellor', 'chancellors', 'chancellorship', 'chancellorships', 'chancels', 'chanceries', 'chancery', 'chances', 'chancier', 'chanciest', 'chanciness', 'chancinesses', 'chancing', 'chancre', 'chancres', 'chancy', 'chandelier', 'chandeliers', 'chandler', 'chandlers', 'change', 'changeabilities', 'changeability', 'changeable', 'changeableness', 'changeablenesses', 'changeably', 'changed', 'changeless', 'changelessly', 'changeling', 'changelings', 'changeover', 'changeovers', 'changer', 'changers', 'changes', 'changing', 'channel', 'channeled', 'channeling', 'channelization', 'channelizations', 'channelize', 'channelized', 'channelizes', 'channelizing', 'channelled', 'channelling', 'channels', 'chanson', 'chansons', 'chanted', 'chanter', 'chanters', 'chanteuse', 'chanteuses', 'chantey', 'chanteys', 'chanticleer', 'chanticleers', 'chanties', 'chanting', 'chants', 'chanty', 'chaoses', 'chaotic', 'chaotically', 'chaparral', 'chaparrals', 'chapbook', 'chapbooks', 'chapeau', 'chapeaus', 'chapeaux', 'chapel', 'chapels', 'chaperon', 'chaperonage', 'chaperonages', 'chaperone', 'chaperoned', 'chaperones', 'chaperoning', 'chaperons', 'chaplain', 'chaplaincies', 'chaplaincy', 'chaplains', 'chaplet', 'chaplets', 'chapped', 'chapping', 'chapter', 'chapters', 'charabanc', 'charabancs', 'character', 'characteristic', 'characteristically', 'characteristics', 'characterization', 'characterizations', 'characterize', 'characterized', 'characterizes', 'characterizing', 'characterless', 'characters', 'charade', 'charades', 'charbroil', 'charbroiled', 'charbroiling', 'charbroils', 'charcoal', 'charcoals', 'chardonnay', 'chardonnays', 'chards', 'charge', 'chargeable', 'charged', 'charger', 'chargers', 'charges', 'charging', 'charier', 'chariest', 'charily', 'chariness', 'charinesses', 'chariot', 'charioteer', 'charioteers', 'chariots', 'charisma', 'charismas', 'charismata', 'charismatic', 'charismatics', 'charitable', 'charitableness', 'charitablenesses', 'charitably', 'charities', 'charity', 'charlatan', 'charlatanism', 'charlatanisms', 'charlatanries', 'charlatanry', 'charlatans', 'charmed', 'charmer', 'charmers', 'charming', 'charmingly', 'charms', 'charred', 'charring', 'charted', 'charter', 'chartered', 'charterer', 'charterers', 'chartering', 'charters', 'charting', 'chartreuse', 'chartreuses', 'charts', 'charwoman', 'charwomen', 'chased', 'chaser', 'chasers', 'chases', 'chasing', 'chasms', 'chassis', 'chaste', 'chastely', 'chasten', 'chastened', 'chasteness', 'chastenesses', 'chastening', 'chastens', 'chaster', 'chastest', 'chastise', 'chastised', 'chastisement', 'chastisements', 'chastiser', 'chastisers', 'chastises', 'chastising', 'chastities', 'chastity', 'chasuble', 'chasubles', 'chateau', 'chateaus', 'chateaux', 'chatelaine', 'chatelaines', 'chatted', 'chattel', 'chattels', 'chatter', 'chatterbox', 'chatterboxes', 'chattered', 'chatterer', 'chatterers', 'chattering', 'chatters', 'chattier', 'chattiest', 'chattily', 'chattiness', 'chattinesses', 'chatting', 'chatty', 'chauffeur', 'chauffeured', 'chauffeuring', 'chauffeurs', 'chauvinism', 'chauvinisms', 'chauvinist', 'chauvinistic', 'chauvinistically', 'chauvinists', 'cheapen', 'cheapened', 'cheapening', 'cheapens', 'cheaper', 'cheapest', 'cheaply', 'cheapness', 'cheapnesses', 'cheapskate', 'cheapskates', 'cheated', 'cheater', 'cheaters', 'cheating', 'cheats', 'checkbook', 'checkbooks', 'checked', 'checker', 'checkerboard', 'checkerboards', 'checkered', 'checkering', 'checkers', 'checking', 'checklist', 'checklists', 'checkmate', 'checkmated', 'checkmates', 'checkmating', 'checkoff', 'checkoffs', 'checkout', 'checkouts', 'checkpoint', 'checkpoints', 'checkroom', 'checkrooms', 'checks', 'checkup', 'checkups', 'cheddar', 'cheddars', 'cheekbone', 'cheekbones', 'cheeked', 'cheekier', 'cheekiest', 'cheekily', 'cheekiness', 'cheekinesses', 'cheeking', 'cheeks', 'cheeky', 'cheeped', 'cheeping', 'cheeps', 'cheered', 'cheerer', 'cheerers', 'cheerful', 'cheerfuller', 'cheerfullest', 'cheerfully', 'cheerfulness', 'cheerfulnesses', 'cheerier', 'cheeriest', 'cheerily', 'cheeriness', 'cheerinesses', 'cheering', 'cheerio', 'cheerios', 'cheerleader', 'cheerleaders', 'cheerless', 'cheerlessly', 'cheerlessness', 'cheerlessnesses', 'cheers', 'cheery', 'cheese', 'cheeseburger', 'cheeseburgers', 'cheesecake', 'cheesecakes', 'cheesecloth', 'cheesecloths', 'cheeseparing', 'cheeseparings', 'cheeses', 'cheesier', 'cheesiest', 'cheesiness', 'cheesinesses', 'cheesy', 'cheetah', 'cheetahs', 'chemical', 'chemically', 'chemicals', 'chemise', 'chemises', 'chemist', 'chemistries', 'chemistry', 'chemists', 'chemos', 'chemotherapeutic', 'chemotherapies', 'chemotherapy', 'chemurgies', 'chemurgy', 'chenille', 'chenilles', 'cheque', 'chequer', 'chequers', 'cheques', 'cherish', 'cherished', 'cherishes', 'cherishing', 'cheroot', 'cheroots', 'cherries', 'cherry', 'cherts', 'cherub', 'cherubic', 'cherubim', 'cherubims', 'cherubs', 'chervil', 'chervils', 'chessboard', 'chessboards', 'chesses', 'chessman', 'chessmen', 'chested', 'chesterfield', 'chesterfields', 'chestful', 'chestfuls', 'chestier', 'chestiest', 'chestnut', 'chestnuts', 'chests', 'chesty', 'chevalier', 'chevaliers', 'cheviot', 'cheviots', 'chevron', 'chevrons', 'chewed', 'chewer', 'chewers', 'chewier', 'chewiest', 'chewiness', 'chewinesses', 'chewing', 'chiaroscuro', 'chiaroscuros', 'chicane', 'chicaneries', 'chicanery', 'chicanes', 'chicer', 'chicest', 'chichi', 'chichis', 'chickadee', 'chickadees', 'chicken', 'chickened', 'chickenfeed', 'chickenfeeds', 'chickenhearted', 'chickening', 'chickenpox', 'chickenpoxes', 'chickens', 'chickpea', 'chickpeas', 'chicks', 'chickweed', 'chickweeds', 'chicle', 'chicles', 'chicness', 'chicnesses', 'chicories', 'chicory', 'chics', 'chidden', 'chided', 'chides', 'chiding', 'chidingly', 'chiefdom', 'chiefdoms', 'chiefer', 'chiefest', 'chiefly', 'chiefs', 'chieftain', 'chieftains', 'chieftainship', 'chieftainships', 'chiffon', 'chiffonier', 'chiffoniers', 'chiffons', 'chigger', 'chiggers', 'chignon', 'chignons', 'chihuahua', 'chihuahuas', 'chilblain', 'chilblains', 'childbearing', 'childbearings', 'childbirth', 'childbirths', 'childcare', 'childcares', 'childhood', 'childhoods', 'childish', 'childishly', 'childishness', 'childishnesses', 'childless', 'childlessness', 'childlessnesses', 'childlike', 'childproof', 'childproofed', 'childproofing', 'childproofs', 'children', 'chiles', 'chilies', 'chilled', 'chiller', 'chillers', 'chillest', 'chilli', 'chillier', 'chillies', 'chilliest', 'chilliness', 'chillinesses', 'chilling', 'chillingly', 'chillness', 'chillnesses', 'chills', 'chilly', 'chimaera', 'chimaeras', 'chimed', 'chimer', 'chimera', 'chimeras', 'chimeric', 'chimerical', 'chimers', 'chimes', 'chiming', 'chimney', 'chimneys', 'chimpanzee', 'chimpanzees', 'chimps', 'chinas', 'chinaware', 'chinawares', 'chinchilla', 'chinchillas', 'chines', 'chinked', 'chinking', 'chinks', 'chinned', 'chinning', 'chinos', 'chinstrap', 'chinstraps', 'chintz', 'chintzes', 'chintzier', 'chintziest', 'chintzy', 'chipmunk', 'chipmunks', 'chipped', 'chipper', 'chippers', 'chipping', 'chirographies', 'chirography', 'chiropodies', 'chiropodist', 'chiropodists', 'chiropody', 'chiropractic', 'chiropractics', 'chiropractor', 'chiropractors', 'chirped', 'chirpier', 'chirpiest', 'chirping', 'chirps', 'chirpy', 'chirrup', 'chirruped', 'chirruping', 'chirrupped', 'chirrupping', 'chirrups', 'chisel', 'chiseled', 'chiseler', 'chiselers', 'chiseling', 'chiselled', 'chiseller', 'chisellers', 'chiselling', 'chisels', 'chitchat', 'chitchats', 'chitchatted', 'chitchatting', 'chitin', 'chitinous', 'chitins', 'chitlings', 'chitlins', 'chitterlings', 'chivalries', 'chivalrous', 'chivalrously', 'chivalrousness', 'chivalrousnesses', 'chivalry', 'chives', 'chlamydia', 'chlamydiae', 'chlamydias', 'chloral', 'chlorals', 'chlordane', 'chlordanes', 'chloride', 'chlorides', 'chlorinate', 'chlorinated', 'chlorinates', 'chlorinating', 'chlorination', 'chlorinations', 'chlorine', 'chlorines', 'chlorofluorocarbon', 'chlorofluorocarbons', 'chloroform', 'chloroformed', 'chloroforming', 'chloroforms', 'chlorophyl', 'chlorophyll', 'chlorophylls', 'chlorophyls', 'chloroplast', 'chloroplasts', 'chocaholic', 'chocaholics', 'chockablock', 'chocked', 'chocking', 'chocks', 'chocoholic', 'chocoholics', 'chocolate', 'chocolates', 'chocolatey', 'chocolaty', 'choice', 'choicer', 'choices', 'choicest', 'choirboy', 'choirboys', 'choirmaster', 'choirmasters', 'choirs', 'chokecherries', 'chokecherry', 'choked', 'choker', 'chokers', 'chokes', 'choking', 'choler', 'cholera', 'choleras', 'choleric', 'cholers', 'cholesterol', 'cholesterols', 'chomped', 'chomping', 'chomps', 'choose', 'chooser', 'choosers', 'chooses', 'choosey', 'choosier', 'choosiest', 'choosiness', 'choosinesses', 'choosing', 'choosy', 'chophouse', 'chophouses', 'chopped', 'chopper', 'choppered', 'choppering', 'choppers', 'choppier', 'choppiest', 'choppily', 'choppiness', 'choppinesses', 'chopping', 'choppy', 'chopstick', 'chopsticks', 'choral', 'chorale', 'chorales', 'chorally', 'chorals', 'chordal', 'chordate', 'chordates', 'chords', 'chorea', 'choreas', 'choreograph', 'choreographed', 'choreographer', 'choreographers', 'choreographic', 'choreographically', 'choreographies', 'choreographing', 'choreographs', 'choreography', 'chores', 'chorister', 'choristers', 'choroid', 'choroids', 'chortle', 'chortled', 'chortler', 'chortlers', 'chortles', 'chortling', 'chorus', 'chorused', 'choruses', 'chorusing', 'chorussed', 'chorussing', 'chosen', 'chowder', 'chowders', 'chowed', 'chowing', 'chrism', 'chrisms', 'christen', 'christened', 'christening', 'christenings', 'christens', 'chromatic', 'chromatically', 'chromatin', 'chromatins', 'chrome', 'chromed', 'chromes', 'chroming', 'chromium', 'chromiums', 'chromosomal', 'chromosome', 'chromosomes', 'chronic', 'chronically', 'chronicle', 'chronicled', 'chronicler', 'chroniclers', 'chronicles', 'chronicling', 'chronograph', 'chronographs', 'chronological', 'chronologically', 'chronologies', 'chronologist', 'chronologists', 'chronology', 'chronometer', 'chronometers', 'chrysalides', 'chrysalis', 'chrysalises', 'chrysanthemum', 'chrysanthemums', 'chubbier', 'chubbiest', 'chubbiness', 'chubbinesses', 'chubby', 'chucked', 'chuckhole', 'chuckholes', 'chucking', 'chuckle', 'chuckled', 'chuckles', 'chuckling', 'chucks', 'chugged', 'chugging', 'chukka', 'chukkas', 'chummed', 'chummier', 'chummiest', 'chummily', 'chumminess', 'chumminesses', 'chumming', 'chummy', 'chumps', 'chunkier', 'chunkiest', 'chunkiness', 'chunkinesses', 'chunks', 'chunky', 'church', 'churches', 'churchgoer', 'churchgoers', 'churchgoing', 'churchgoings', 'churchman', 'churchmen', 'churchwarden', 'churchwardens', 'churchyard', 'churchyards', 'churlish', 'churlishly', 'churlishness', 'churlishnesses', 'churls', 'churned', 'churner', 'churners', 'churning', 'churns', 'chutes', 'chutney', 'chutneys', 'chutzpa', 'chutzpah', 'chutzpahs', 'chutzpas', 'chymes', 'ciabatta!', 'ciabattas!', 'cicada', 'cicadae', 'cicadas', 'cicatrice', 'cicatrices', 'cicatrix', 'cicatrixes', 'cicerone', 'cicerones', 'ciceroni', 'ciders', 'cigaret', 'cigarets', 'cigarette', 'cigarettes', 'cigarillo', 'cigarillos', 'cigars', 'cilantro', 'cilantros', 'cilium', 'cinched', 'cinches', 'cinching', 'cinchona', 'cinchonas', 'cincture', 'cinctures', 'cinder', 'cindered', 'cindering', 'cinders', 'cinema', 'cinemas', 'cinematic', 'cinematographer', 'cinematographers', 'cinematographic', 'cinematographies', 'cinematography', 'cinnabar', 'cinnabars', 'cinnamon', 'cinnamons', 'cipher', 'ciphered', 'ciphering', 'ciphers', 'circadian', 'circle', 'circled', 'circles', 'circlet', 'circlets', 'circling', 'circuit', 'circuital', 'circuited', 'circuities', 'circuiting', 'circuitous', 'circuitously', 'circuitousness', 'circuitousnesses', 'circuitries', 'circuitry', 'circuits', 'circuity', 'circular', 'circularities', 'circularity', 'circularize', 'circularized', 'circularizes', 'circularizing', 'circularly', 'circulars', 'circulate', 'circulated', 'circulates', 'circulating', 'circulation', 'circulations', 'circulatory', 'circumcise', 'circumcised', 'circumcises', 'circumcising', 'circumcision', 'circumcisions', 'circumference', 'circumferences', 'circumferential', 'circumflex', 'circumflexes', 'circumlocution', 'circumlocutions', 'circumnavigate', 'circumnavigated', 'circumnavigates', 'circumnavigating', 'circumnavigation', 'circumnavigations', 'circumpolar', 'circumscribe', 'circumscribed', 'circumscribes', 'circumscribing', 'circumscription', 'circumscriptions', 'circumspect', 'circumspection', 'circumspections', 'circumspectly', 'circumstance', 'circumstanced', 'circumstances', 'circumstancing', 'circumstantial', 'circumstantially', 'circumvent', 'circumvented', 'circumventing', 'circumvention', 'circumventions', 'circumvents', 'circus', 'circuses', 'cirque', 'cirques', 'cirrhoses', 'cirrhosis', 'cirrhotic', 'cirrhotics', 'cirri', 'cirrus', 'cistern', 'cisterns', 'citadel', 'citadels', 'citation', 'citations', 'cities', 'citified', 'citing', 'citizen', 'citizenries', 'citizenry', 'citizens', 'citizenship', 'citizenships', 'citric', 'citron', 'citronella', 'citronellas', 'citrons', 'citrous', 'citrus', 'citruses', 'civets', 'civically', 'civics', 'civies', 'civilian', 'civilians', 'civilisation', 'civilisations', 'civilise', 'civilised', 'civilises', 'civilising', 'civilities', 'civility', 'civilization', 'civilizations', 'civilize', 'civilized', 'civilizes', 'civilizing', 'civilly', 'civvies', 'clacked', 'clacking', 'clacks', 'cladding', 'claddings', 'claimable', 'claimant', 'claimants', 'claimed', 'claimer', 'claimers', 'claiming', 'claims', 'clairvoyance', 'clairvoyances', 'clairvoyant', 'clairvoyants', 'clambake', 'clambakes', 'clamber', 'clambered', 'clamberer', 'clamberers', 'clambering', 'clambers', 'clammed', 'clammier', 'clammiest', 'clammily', 'clamminess', 'clamminesses', 'clamming', 'clammy', 'clamor', 'clamored', 'clamoring', 'clamorous', 'clamors', 'clamour', 'clamoured', 'clamouring', 'clamours', 'clampdown', 'clampdowns', 'clamped', 'clamping', 'clamps', 'clandestine', 'clandestinely', 'clanged', 'clanging', 'clangor', 'clangorous', 'clangorously', 'clangors', 'clangour', 'clangours', 'clangs', 'clanked', 'clanking', 'clanks', 'clannish', 'clannishness', 'clannishnesses', 'clansman', 'clansmen', 'clapboard', 'clapboarded', 'clapboarding', 'clapboards', 'clapped', 'clapper', 'clappers', 'clapping', 'clappings', 'claptrap', 'claptraps', 'claque', 'claques', 'claret', 'clarets', 'clarification', 'clarifications', 'clarified', 'clarifies', 'clarify', 'clarifying', 'clarinet', 'clarinetist', 'clarinetists', 'clarinets', 'clarinettist', 'clarinettists', 'clarion', 'clarions', 'clarities', 'clarity', 'clashed', 'clashes', 'clashing', 'clasped', 'clasping', 'clasps', 'classed', 'classes', 'classic', 'classical', 'classically', 'classicals', 'classicism', 'classicisms', 'classicist', 'classicists', 'classics', 'classier', 'classiest', 'classifiable', 'classification', 'classifications', 'classified', 'classifieds', 'classifier', 'classifiers', 'classifies', 'classify', 'classifying', 'classiness', 'classinesses', 'classing', 'classless', 'classmate', 'classmates', 'classroom', 'classrooms', 'classwork', 'classworks', 'classy', 'clatter', 'clattered', 'clattering', 'clatters', 'clausal', 'clause', 'clauses', 'claustrophobia', 'claustrophobias', 'claustrophobic', 'clavichord', 'clavichords', 'clavicle', 'clavicles', 'clavier', 'claviers', 'clawed', 'clawing', 'clayey', 'clayier', 'clayiest', 'clays', 'cleanable', 'cleaned', 'cleaner', 'cleaners', 'cleanest', 'cleaning', 'cleanings', 'cleanlier', 'cleanliest', 'cleanliness', 'cleanlinesses', 'cleanly', 'cleanness', 'cleannesses', 'cleans', 'cleanse', 'cleansed', 'cleanser', 'cleansers', 'cleanses', 'cleansing', 'cleanup', 'cleanups', 'clearance', 'clearances', 'cleared', 'clearer', 'clearest', 'clearheaded', 'clearing', 'clearinghouse', 'clearinghouses', 'clearings', 'clearly', 'clearness', 'clearnesses', 'clears', 'cleats', 'cleavage', 'cleavages', 'cleave', 'cleaved', 'cleaver', 'cleavers', 'cleaves', 'cleaving', 'clefts', 'clematis', 'clematises', 'clemencies', 'clemency', 'clement', 'clemently', 'clench', 'clenched', 'clenches', 'clenching', 'clerestories', 'clerestory', 'clergies', 'clergy', 'clergyman', 'clergymen', 'clergywoman', 'clergywomen', 'cleric', 'clerical', 'clericalism', 'clericalisms', 'clerically', 'clerics', 'clerked', 'clerking', 'clerks', 'clerkship', 'clerkships', 'clever', 'cleverer', 'cleverest', 'cleverly', 'cleverness', 'clevernesses', 'clevis', 'clevises', 'clewed', 'clewing', 'cliche', 'cliched', 'cliches', 'clicked', 'clicker', 'clickers', 'clicking', 'clicks', 'client', 'clientele', 'clienteles', 'clients', 'cliffhanger', 'cliffhangers', 'cliffs', 'climacteric', 'climacterics', 'climactic', 'climate', 'climates', 'climatic', 'climatically', 'climatologies', 'climatologist', 'climatologists', 'climatology', 'climax', 'climaxed', 'climaxes', 'climaxing', 'climbable', 'climbed', 'climber', 'climbers', 'climbing', 'climbings', 'climbs', 'climes', 'clinch', 'clinched', 'clincher', 'clinchers', 'clinches', 'clinching', 'clinger', 'clingers', 'clingier', 'clingiest', 'clinging', 'clings', 'clingy', 'clinic', 'clinical', 'clinically', 'clinician', 'clinicians', 'clinics', 'clinked', 'clinker', 'clinkers', 'clinking', 'clinks', 'cliometric', 'cliometrician', 'cliometricians', 'cliometrics', 'clipboard', 'clipboards', 'clipped', 'clipper', 'clippers', 'clipping', 'clippings', 'clique', 'cliques', 'cliquey', 'cliquier', 'cliquiest', 'cliquish', 'cliquishly', 'cliquishness', 'cliquishnesses', 'clitoral', 'clitorides', 'clitoris', 'clitorises', 'clits!', 'cloaca', 'cloacae', 'cloacas', 'cloaked', 'cloaking', 'cloakroom', 'cloakrooms', 'cloaks', 'clobber', 'clobbered', 'clobbering', 'clobbers', 'cloche', 'cloches', 'clocked', 'clocking', 'clocks', 'clockwise', 'clockwork', 'clockworks', 'cloddish', 'clodhopper', 'clodhoppers', 'clogged', 'clogging', 'cloisonne', 'cloisonnes', 'cloister', 'cloistered', 'cloistering', 'cloisters', 'cloistral', 'clomped', 'clomping', 'clomps', 'clonal', 'cloned', 'clones', 'cloning', 'clonked', 'clonking', 'clonks', 'clopped', 'clopping', 'closed', 'closefisted', 'closely', 'closemouthed', 'closeness', 'closenesses', 'closeout', 'closeouts', 'closer', 'closes', 'closest', 'closet', 'closeted', 'closeting', 'closets', 'closeup', 'closeups', 'closing', 'closings', 'closure', 'closures', 'clothe', 'clothed', 'clothes', 'clotheshorse', 'clotheshorses', 'clothesline', 'clotheslines', 'clothespin', 'clothespins', 'clothier', 'clothiers', 'clothing', 'clothings', 'cloths', 'clotted', 'clotting', 'cloture', 'clotures', 'cloudburst', 'cloudbursts', 'clouded', 'cloudier', 'cloudiest', 'cloudiness', 'cloudinesses', 'clouding', 'cloudless', 'clouds', 'cloudy', 'clouted', 'clouting', 'clouts', 'cloven', 'clover', 'cloverleaf', 'cloverleafs', 'cloverleaves', 'clovers', 'cloves', 'clowned', 'clowning', 'clownish', 'clownishly', 'clownishness', 'clownishnesses', 'clowns', 'cloyed', 'cloying', 'clubbed', 'clubbing', 'clubfeet', 'clubfoot', 'clubfooted', 'clubhouse', 'clubhouses', 'clucked', 'clucking', 'clucks', 'clueing', 'clueless', 'cluing', 'clumped', 'clumpier', 'clumpiest', 'clumping', 'clumps', 'clumpy', 'clumsier', 'clumsiest', 'clumsily', 'clumsiness', 'clumsinesses', 'clumsy', 'clunked', 'clunker', 'clunkers', 'clunkier', 'clunkiest', 'clunking', 'clunks', 'clunky', 'cluster', 'clustered', 'clustering', 'clusters', 'clutch', 'clutched', 'clutches', 'clutching', 'clutter', 'cluttered', 'cluttering', 'clutters', 'cnidarian', 'cnidarians', 'coached', 'coaches', 'coaching', 'coachman', 'coachmen', 'coadjutor', 'coadjutors', 'coagulant', 'coagulants', 'coagulate', 'coagulated', 'coagulates', 'coagulating', 'coagulation', 'coagulations', 'coagulator', 'coagulators', 'coaled', 'coalesce', 'coalesced', 'coalescence', 'coalescences', 'coalescent', 'coalesces', 'coalescing', 'coalface', 'coalfaces', 'coaling', 'coalition', 'coalitionist', 'coalitionists', 'coalitions', 'coarse', 'coarsely', 'coarsen', 'coarsened', 'coarseness', 'coarsenesses', 'coarsening', 'coarsens', 'coarser', 'coarsest', 'coastal', 'coasted', 'coaster', 'coasters', 'coasting', 'coastline', 'coastlines', 'coasts', 'coated', 'coating', 'coatings', 'coattail', 'coattails', 'coauthor', 'coauthored', 'coauthoring', 'coauthors', 'coaxed', 'coaxer', 'coaxers', 'coaxes', 'coaxial', 'coaxing', 'coaxingly', 'cobalt', 'cobalts', 'cobble', 'cobbled', 'cobbler', 'cobblers', 'cobbles', 'cobblestone', 'cobblestones', 'cobbling', 'cobras', 'cobweb', 'cobwebbier', 'cobwebbiest', 'cobwebby', 'cobwebs', 'cocain', 'cocaine', 'cocaines', 'cocains', 'cocas', 'coccus', 'coccyges', 'coccyx', 'coccyxes', 'cochineal', 'cochineals', 'cochlea', 'cochleae', 'cochlear', 'cochleas', 'cockade', 'cockades', 'cockamamie', 'cockatoo', 'cockatoos', 'cockatrice', 'cockatrices', 'cockcrow', 'cockcrows', 'cocked', 'cockerel', 'cockerels', 'cockeyed', 'cockfight', 'cockfighting', 'cockfightings', 'cockfights', 'cockier', 'cockiest', 'cockily', 'cockiness', 'cockinesses', 'cocking', 'cockle', 'cockles', 'cockleshell', 'cockleshells', 'cockney', 'cockneys', 'cockpit', 'cockpits', 'cockroach', 'cockroaches', 'cockscomb', 'cockscombs', 'cocksucker', 'cocksuckers', 'cocksure', 'cocktail', 'cocktails', 'cocoanut', 'cocoanuts', 'cocoas', 'coconut', 'coconuts', 'cocoon', 'cocooned', 'cocooning', 'cocoons', 'coddle', 'coddled', 'coddles', 'coddling', 'codeine', 'codeines', 'codependencies', 'codependency', 'codependent', 'codependents', 'coders', 'codfish', 'codfishes', 'codger', 'codgers', 'codices', 'codicil', 'codicils', 'codification', 'codifications', 'codified', 'codifier', 'codifiers', 'codifies', 'codify', 'codifying', 'coding', 'codpiece', 'codpieces', 'coeducation', 'coeducational', 'coeducations', 'coefficient', 'coefficients', 'coelenterate', 'coelenterates', 'coequal', 'coequally', 'coequals', 'coerce', 'coerced', 'coercer', 'coercers', 'coerces', 'coercing', 'coercion', 'coercions', 'coercive', 'coeval', 'coevally', 'coevals', 'coexist', 'coexisted', 'coexistence', 'coexistences', 'coexistent', 'coexisting', 'coexists', 'coextensive', 'coffee', 'coffeecake', 'coffeecakes', 'coffeehouse', 'coffeehouses', 'coffeemaker', 'coffeemakers', 'coffeepot', 'coffeepots', 'coffees', 'coffer', 'cofferdam', 'cofferdams', 'coffers', 'coffin', 'coffined', 'coffining', 'coffins', 'cogencies', 'cogency', 'cogent', 'cogently', 'cogitate', 'cogitated', 'cogitates', 'cogitating', 'cogitation', 'cogitations', 'cogitative', 'cogitator', 'cogitators', 'cognac', 'cognacs', 'cognate', 'cognates', 'cognition', 'cognitional', 'cognitions', 'cognitive', 'cognitively', 'cognizable', 'cognizance', 'cognizances', 'cognizant', 'cognomen', 'cognomens', 'cognomina', 'cognoscente', 'cognoscenti', 'cogwheel', 'cogwheels', 'cohabit', 'cohabitant', 'cohabitants', 'cohabitation', 'cohabitations', 'cohabited', 'cohabiting', 'cohabits', 'coheir', 'coheirs', 'cohere', 'cohered', 'coherence', 'coherences', 'coherencies', 'coherency', 'coherent', 'coherently', 'coheres', 'cohering', 'cohesion', 'cohesions', 'cohesive', 'cohesively', 'cohesiveness', 'cohesivenesses', 'cohort', 'cohorts', 'coifed', 'coiffed', 'coiffing', 'coiffure', 'coiffured', 'coiffures', 'coiffuring', 'coifing', 'coiled', 'coiling', 'coinage', 'coinages', 'coincide', 'coincided', 'coincidence', 'coincidences', 'coincident', 'coincidental', 'coincidentally', 'coincides', 'coinciding', 'coined', 'coiner', 'coiners', 'coining', 'coinsurance', 'coinsurances', 'coital', 'coitus', 'coituses', 'coking', 'colander', 'colanders', 'coldblooded', 'colder', 'coldest', 'coldly', 'coldness', 'coldnesses', 'coleslaw', 'coleslaws', 'coleus', 'coleuses', 'colicky', 'colics', 'coliseum', 'coliseums', 'colitis', 'colitises', 'collaborate', 'collaborated', 'collaborates', 'collaborating', 'collaboration', 'collaborations', 'collaborative', 'collaborator', 'collaborators', 'collage', 'collages', 'collapse', 'collapsed', 'collapses', 'collapsible', 'collapsing', 'collar', 'collarbone', 'collarbones', 'collard', 'collards', 'collared', 'collaring', 'collarless', 'collars', 'collate', 'collated', 'collateral', 'collateralize', 'collateralized', 'collateralizes', 'collateralizing', 'collaterally', 'collaterals', 'collates', 'collating', 'collation', 'collations', 'collator', 'collators', 'colleague', 'colleagues', 'collect', 'collectable', 'collectables', 'collected', 'collectedly', 'collectible', 'collectibles', 'collecting', 'collection', 'collections', 'collective', 'collectively', 'collectives', 'collectivism', 'collectivisms', 'collectivist', 'collectivists', 'collectivization', 'collectivizations', 'collectivize', 'collectivized', 'collectivizes', 'collectivizing', 'collector', 'collectors', 'collects', 'colleen', 'colleens', 'college', 'colleges', 'collegialities', 'collegiality', 'collegian', 'collegians', 'collegiate', 'collide', 'collided', 'collides', 'colliding', 'collie', 'collier', 'collieries', 'colliers', 'colliery', 'collies', 'collision', 'collisions', 'collocate', 'collocated', 'collocates', 'collocating', 'collocation', 'collocations', 'colloid', 'colloidal', 'colloids', 'colloquia', 'colloquial', 'colloquialism', 'colloquialisms', 'colloquially', 'colloquies', 'colloquium', 'colloquiums', 'colloquy', 'collude', 'colluded', 'colludes', 'colluding', 'collusion', 'collusions', 'collusive', 'cologne', 'colognes', 'colonel', 'colonelcies', 'colonelcy', 'colonels', 'colones', 'colonial', 'colonialism', 'colonialisms', 'colonialist', 'colonialists', 'colonially', 'colonials', 'colonies', 'colonist', 'colonists', 'colonization', 'colonizations', 'colonize', 'colonized', 'colonizer', 'colonizers', 'colonizes', 'colonizing', 'colonnade', 'colonnaded', 'colonnades', 'colonoscopies!', 'colonoscopy!', 'colons', 'colony', 'colophon', 'colophons', 'colorant', 'colorants', 'coloration', 'colorations', 'coloratura', 'coloraturas', 'colorblind', 'colorblindness', 'colorblindnesses', 'colored', 'coloreds', 'colorfast', 'colorfastness', 'colorfastnesses', 'colorful', 'colorfully', 'colorfulness', 'colorfulnesses', 'coloring', 'colorings', 'colorization', 'colorizations', 'colorize', 'colorized', 'colorizes', 'colorizing', 'colorless', 'colorlessly', 'colorlessness', 'colorlessnesses', 'colors', 'colossal', 'colossally', 'colossi', 'colossus', 'colossuses', 'colostomies', 'colostomy', 'colostrum', 'colostrums', 'colour', 'coloured', 'colouring', 'colours', 'coltish', 'columbine', 'columbines', 'column', 'columnar', 'columned', 'columnist', 'columnists', 'columns', 'comaker', 'comakers', 'comatose', 'combat', 'combatant', 'combatants', 'combated', 'combating', 'combative', 'combativeness', 'combativenesses', 'combats', 'combatted', 'combatting', 'combed', 'comber', 'combers', 'combination', 'combinations', 'combine', 'combined', 'combiner', 'combiners', 'combines', 'combing', 'combings', 'combining', 'combos', 'combustibilities', 'combustibility', 'combustible', 'combustibles', 'combustion', 'combustions', 'combustive', 'comeback', 'comebacks', 'comedian', 'comedians', 'comedic', 'comedienne', 'comediennes', 'comedies', 'comedown', 'comedowns', 'comedy', 'comelier', 'comeliest', 'comeliness', 'comelinesses', 'comely', 'comers', 'comestible', 'comestibles', 'comets', 'comeuppance', 'comeuppances', 'comfier', 'comfiest', 'comfit', 'comfits', 'comfort', 'comfortable', 'comfortableness', 'comfortablenesses', 'comfortably', 'comforted', 'comforter', 'comforters', 'comforting', 'comfortingly', 'comforts', 'comical', 'comicalities', 'comicality', 'comically', 'comics', 'coming', 'comings', 'comities', 'comity', 'command', 'commandant', 'commandants', 'commanded', 'commandeer', 'commandeered', 'commandeering', 'commandeers', 'commander', 'commanders', 'commanding', 'commandment', 'commandments', 'commando', 'commandoes', 'commandos', 'commands', 'commas', 'commemorate', 'commemorated', 'commemorates', 'commemorating', 'commemoration', 'commemorations', 'commemorative', 'commemorator', 'commemorators', 'commence', 'commenced', 'commencement', 'commencements', 'commences', 'commencing', 'commend', 'commendable', 'commendably', 'commendation', 'commendations', 'commendatory', 'commended', 'commending', 'commends', 'commensurable', 'commensurate', 'commensurately', 'comment', 'commentaries', 'commentary', 'commentate', 'commentated', 'commentates', 'commentating', 'commentator', 'commentators', 'commented', 'commenting', 'comments', 'commerce', 'commerces', 'commercial', 'commercialism', 'commercialisms', 'commercialization', 'commercializations', 'commercialize', 'commercialized', 'commercializes', 'commercializing', 'commercially', 'commercials', 'commie', 'commies', 'commingle', 'commingled', 'commingles', 'commingling', 'commiserate', 'commiserated', 'commiserates', 'commiserating', 'commiseration', 'commiserations', 'commiserative', 'commissar', 'commissariat', 'commissariats', 'commissaries', 'commissars', 'commissary', 'commission', 'commissioned', 'commissioner', 'commissioners', 'commissioning', 'commissions', 'commit', 'commitment', 'commitments', 'commits', 'committal', 'committals', 'committed', 'committee', 'committeeman', 'committeemen', 'committees', 'committeewoman', 'committeewomen', 'committing', 'commode', 'commodes', 'commodious', 'commodiously', 'commodities', 'commodity', 'commodore', 'commodores', 'common', 'commonalties', 'commonalty', 'commoner', 'commoners', 'commonest', 'commonly', 'commonness', 'commonnesses', 'commonplace', 'commonplaces', 'commons', 'commonsense', 'commonweal', 'commonweals', 'commonwealth', 'commonwealths', 'commotion', 'commotions', 'communal', 'communally', 'commune', 'communed', 'communes', 'communicabilities', 'communicability', 'communicable', 'communicably', 'communicant', 'communicants', 'communicate', 'communicated', 'communicates', 'communicating', 'communication', 'communications', 'communicative', 'communicator', 'communicators', 'communing', 'communion', 'communions', 'communique', 'communiques', 'communism', 'communisms', 'communist', 'communistic', 'communists', 'communities', 'community', 'commutable', 'commutation', 'commutations', 'commutative', 'commutator', 'commutators', 'commute', 'commuted', 'commuter', 'commuters', 'commutes', 'commuting', 'compact', 'compacted', 'compacter', 'compactest', 'compacting', 'compactly', 'compactness', 'compactnesses', 'compactor', 'compactors', 'compacts', 'companies', 'companion', 'companionable', 'companionably', 'companions', 'companionship', 'companionships', 'companionway', 'companionways', 'company', 'comparabilities', 'comparability', 'comparable', 'comparably', 'comparative', 'comparatively', 'comparatives', 'compare', 'compared', 'compares', 'comparing', 'comparison', 'comparisons', 'compartment', 'compartmental', 'compartmentalization', 'compartmentalizations', 'compartmentalize', 'compartmentalized', 'compartmentalizes', 'compartmentalizing', 'compartments', 'compass', 'compassed', 'compasses', 'compassing', 'compassion', 'compassionate', 'compassionately', 'compassions', 'compatibilities', 'compatibility', 'compatible', 'compatibles', 'compatibly', 'compatriot', 'compatriots', 'comped', 'compeer', 'compeers', 'compel', 'compelled', 'compelling', 'compellingly', 'compels', 'compendia', 'compendious', 'compendium', 'compendiums', 'compensate', 'compensated', 'compensates', 'compensating', 'compensation', 'compensations', 'compensatory', 'compete', 'competed', 'competence', 'competences', 'competencies', 'competency', 'competent', 'competently', 'competes', 'competing', 'competition', 'competitions', 'competitive', 'competitively', 'competitiveness', 'competitivenesses', 'competitor', 'competitors', 'compilation', 'compilations', 'compile', 'compiled', 'compiler', 'compilers', 'compiles', 'compiling', 'comping', 'complacence', 'complacences', 'complacencies', 'complacency', 'complacent', 'complacently', 'complain', 'complainant', 'complainants', 'complained', 'complainer', 'complainers', 'complaining', 'complains', 'complaint', 'complaints', 'complaisance', 'complaisances', 'complaisant', 'complaisantly', 'complected', 'complement', 'complementary', 'complemented', 'complementing', 'complements', 'complete', 'completed', 'completely', 'completeness', 'completenesses', 'completer', 'completes', 'completest', 'completing', 'completion', 'completions', 'complex', 'complexes', 'complexion', 'complexional', 'complexioned', 'complexions', 'complexities', 'complexity', 'complexly', 'compliance', 'compliances', 'compliant', 'compliantly', 'complicate', 'complicated', 'complicatedly', 'complicates', 'complicating', 'complication', 'complications', 'complicit', 'complicities', 'complicity', 'complied', 'complies', 'compliment', 'complimentary', 'complimented', 'complimenting', 'compliments', 'comply', 'complying', 'component', 'components', 'comport', 'comported', 'comporting', 'comportment', 'comportments', 'comports', 'compose', 'composed', 'composedly', 'composer', 'composers', 'composes', 'composing', 'composite', 'compositely', 'composites', 'composition', 'compositions', 'compositor', 'compositors', 'compost', 'composted', 'composting', 'composts', 'composure', 'composures', 'compote', 'compotes', 'compound', 'compoundable', 'compounded', 'compounding', 'compounds', 'comprehend', 'comprehended', 'comprehending', 'comprehends', 'comprehensibilities', 'comprehensibility', 'comprehensible', 'comprehensibly', 'comprehension', 'comprehensions', 'comprehensive', 'comprehensively', 'comprehensiveness', 'comprehensivenesses', 'comprehensives', 'compress', 'compressed', 'compresses', 'compressible', 'compressing', 'compression', 'compressions', 'compressor', 'compressors', 'comprise', 'comprised', 'comprises', 'comprising', 'compromise', 'compromised', 'compromises', 'compromising', 'comptroller', 'comptrollers', 'compulsion', 'compulsions', 'compulsive', 'compulsively', 'compulsiveness', 'compulsivenesses', 'compulsories', 'compulsorily', 'compulsory', 'compunction', 'compunctions', 'computation', 'computational', 'computations', 'compute', 'computed', 'computer', 'computerization', 'computerizations', 'computerize', 'computerized', 'computerizes', 'computerizing', 'computers', 'computes', 'computing', 'computings', 'comrade', 'comradely', 'comrades', 'comradeship', 'comradeships', 'concatenate', 'concatenated', 'concatenates', 'concatenating', 'concatenation', 'concatenations', 'concave', 'concavely', 'concaveness', 'concavenesses', 'concavities', 'concavity', 'conceal', 'concealable', 'concealed', 'concealer', 'concealers', 'concealing', 'concealment', 'concealments', 'conceals', 'concede', 'conceded', 'concedes', 'conceding', 'conceit', 'conceited', 'conceitedly', 'conceitedness', 'conceitednesses', 'conceits', 'conceivable', 'conceivably', 'conceive', 'conceived', 'conceives', 'conceiving', 'concentrate', 'concentrated', 'concentrates', 'concentrating', 'concentration', 'concentrations', 'concentric', 'concentrically', 'concept', 'conception', 'conceptional', 'conceptions', 'concepts', 'conceptual', 'conceptualization', 'conceptualizations', 'conceptualize', 'conceptualized', 'conceptualizes', 'conceptualizing', 'conceptually', 'concern', 'concerned', 'concerning', 'concerns', 'concert', 'concerted', 'concertedly', 'concerti', 'concertina', 'concertinaed', 'concertinaing', 'concertinas', 'concerting', 'concertize', 'concertized', 'concertizes', 'concertizing', 'concertmaster', 'concertmasters', 'concerto', 'concertos', 'concerts', 'concession', 'concessionaire', 'concessionaires', 'concessional', 'concessionary', 'concessions', 'conches', 'conchs', 'concierge', 'concierges', 'conciliate', 'conciliated', 'conciliates', 'conciliating', 'conciliation', 'conciliations', 'conciliator', 'conciliators', 'conciliatory', 'concise', 'concisely', 'conciseness', 'concisenesses', 'conciser', 'concisest', 'concision', 'concisions', 'conclave', 'conclaves', 'conclude', 'concluded', 'concludes', 'concluding', 'conclusion', 'conclusions', 'conclusive', 'conclusively', 'conclusiveness', 'conclusivenesses', 'concoct', 'concocted', 'concocting', 'concoction', 'concoctions', 'concocts', 'concomitant', 'concomitantly', 'concomitants', 'concord', 'concordance', 'concordances', 'concordant', 'concordat', 'concordats', 'concords', 'concourse', 'concourses', 'concrete', 'concreted', 'concretely', 'concreteness', 'concretenesses', 'concretes', 'concreting', 'concretion', 'concretions', 'concubinage', 'concubinages', 'concubine', 'concubines', 'concupiscence', 'concupiscences', 'concupiscent', 'concur', 'concurred', 'concurrence', 'concurrences', 'concurrent', 'concurrently', 'concurring', 'concurs', 'concuss', 'concussed', 'concusses', 'concussing', 'concussion', 'concussions', 'concussive', 'condemn', 'condemnation', 'condemnations', 'condemnatory', 'condemned', 'condemner', 'condemners', 'condemning', 'condemns', 'condensate', 'condensates', 'condensation', 'condensations', 'condense', 'condensed', 'condenser', 'condensers', 'condenses', 'condensing', 'condescend', 'condescended', 'condescending', 'condescendingly', 'condescends', 'condescension', 'condescensions', 'condign', 'condiment', 'condiments', 'condition', 'conditional', 'conditionally', 'conditionals', 'conditioned', 'conditioner', 'conditioners', 'conditioning', 'conditionings', 'conditions', 'condoes', 'condole', 'condoled', 'condolence', 'condolences', 'condoles', 'condoling', 'condom', 'condominium', 'condominiums', 'condoms', 'condone', 'condoned', 'condones', 'condoning', 'condor', 'condors', 'condos', 'conduce', 'conduced', 'conduces', 'conducing', 'conducive', 'conduct', 'conductance', 'conductances', 'conducted', 'conductibilities', 'conductibility', 'conductible', 'conducting', 'conduction', 'conductions', 'conductive', 'conductivities', 'conductivity', 'conductor', 'conductors', 'conductress', 'conductresses', 'conducts', 'conduit', 'conduits', 'coneys', 'confab', 'confabbed', 'confabbing', 'confabs', 'confabulate', 'confabulated', 'confabulates', 'confabulating', 'confabulation', 'confabulations', 'confection', 'confectioner', 'confectioneries', 'confectioners', 'confectionery', 'confections', 'confederacies', 'confederacy', 'confederate', 'confederated', 'confederates', 'confederating', 'confederation', 'confederations', 'confer', 'conferee', 'conferees', 'conference', 'conferences', 'conferment', 'conferments', 'conferrable', 'conferral', 'conferrals', 'conferred', 'conferrer', 'conferrers', 'conferring', 'confers', 'confess', 'confessed', 'confessedly', 'confesses', 'confessing', 'confession', 'confessional', 'confessionals', 'confessions', 'confessor', 'confessors', 'confetti', 'confidant', 'confidante', 'confidantes', 'confidants', 'confide', 'confided', 'confidence', 'confidences', 'confident', 'confidential', 'confidentialities', 'confidentiality', 'confidentially', 'confidently', 'confider', 'confiders', 'confides', 'confiding', 'configuration', 'configurations', 'configure', 'configured', 'configures', 'configuring', 'confine', 'confined', 'confinement', 'confinements', 'confines', 'confining', 'confirm', 'confirmation', 'confirmations', 'confirmed', 'confirming', 'confirms', 'confiscate', 'confiscated', 'confiscates', 'confiscating', 'confiscation', 'confiscations', 'confiscator', 'confiscators', 'confiscatory', 'conflagration', 'conflagrations', 'conflate', 'conflated', 'conflates', 'conflating', 'conflation', 'conflations', 'conflict', 'conflicted', 'conflicting', 'conflicts', 'confluence', 'confluences', 'confluent', 'conform', 'conformable', 'conformance', 'conformances', 'conformation', 'conformations', 'conformed', 'conformer', 'conformers', 'conforming', 'conformism', 'conformisms', 'conformist', 'conformists', 'conformities', 'conformity', 'conforms', 'confound', 'confounded', 'confounding', 'confounds', 'confraternities', 'confraternity', 'confrere', 'confreres', 'confront', 'confrontation', 'confrontational', 'confrontations', 'confronted', 'confronting', 'confronts', 'confuse', 'confused', 'confusedly', 'confuses', 'confusing', 'confusingly', 'confusion', 'confusions', 'confutation', 'confutations', 'confute', 'confuted', 'confutes', 'confuting', 'congaed', 'congaing', 'congas', 'congeal', 'congealed', 'congealing', 'congealment', 'congealments', 'congeals', 'congenial', 'congenialities', 'congeniality', 'congenially', 'congenital', 'congenitally', 'conger', 'congeries', 'congers', 'congest', 'congested', 'congesting', 'congestion', 'congestions', 'congestive', 'congests', 'conglomerate', 'conglomerated', 'conglomerates', 'conglomerating', 'conglomeration', 'conglomerations', 'congrats', 'congratulate', 'congratulated', 'congratulates', 'congratulating', 'congratulation', 'congratulations', 'congratulatory', 'congregant', 'congregants', 'congregate', 'congregated', 'congregates', 'congregating', 'congregation', 'congregational', 'congregationalism', 'congregationalisms', 'congregationalist', 'congregationalists', 'congregations', 'congress', 'congresses', 'congressional', 'congressman', 'congressmen', 'congressperson', 'congresspersons', 'congresswoman', 'congresswomen', 'congruence', 'congruences', 'congruent', 'congruently', 'congruities', 'congruity', 'congruous', 'conical', 'conically', 'conics', 'conies', 'conifer', 'coniferous', 'conifers', 'conjectural', 'conjecture', 'conjectured', 'conjectures', 'conjecturing', 'conjoin', 'conjoined', 'conjoiner', 'conjoiners', 'conjoining', 'conjoins', 'conjoint', 'conjointly', 'conjugal', 'conjugally', 'conjugate', 'conjugated', 'conjugates', 'conjugating', 'conjugation', 'conjugations', 'conjunct', 'conjunction', 'conjunctions', 'conjunctiva', 'conjunctivae', 'conjunctivas', 'conjunctive', 'conjunctives', 'conjunctivitis', 'conjunctivitises', 'conjuncts', 'conjuncture', 'conjunctures', 'conjuration', 'conjurations', 'conjure', 'conjured', 'conjurer', 'conjurers', 'conjures', 'conjuring', 'conjuror', 'conjurors', 'conked', 'conking', 'conman', 'conmen', 'connect', 'connectable', 'connected', 'connecter', 'connecters', 'connectible', 'connecting', 'connection', 'connections', 'connective', 'connectives', 'connectivities', 'connectivity', 'connector', 'connectors', 'connects', 'conned', 'connexion', 'connexions', 'conning', 'conniption', 'conniptions', 'connivance', 'connivances', 'connive', 'connived', 'conniver', 'connivers', 'connives', 'conniving', 'connoisseur', 'connoisseurs', 'connotation', 'connotations', 'connotative', 'connote', 'connoted', 'connotes', 'connoting', 'connubial', 'conquer', 'conquerable', 'conquered', 'conquering', 'conqueror', 'conquerors', 'conquers', 'conquest', 'conquests', 'conquistador', 'conquistadores', 'conquistadors', 'consanguineous', 'consanguinities', 'consanguinity', 'conscience', 'conscienceless', 'consciences', 'conscientious', 'conscientiously', 'conscientiousness', 'conscientiousnesses', 'conscious', 'consciously', 'consciousness', 'consciousnesses', 'conscript', 'conscripted', 'conscripting', 'conscription', 'conscriptions', 'conscripts', 'consecrate', 'consecrated', 'consecrates', 'consecrating', 'consecration', 'consecrations', 'consecutive', 'consecutively', 'consensual', 'consensus', 'consensuses', 'consent', 'consented', 'consenting', 'consents', 'consequence', 'consequences', 'consequent', 'consequential', 'consequentially', 'consequently', 'conservancies', 'conservancy', 'conservation', 'conservationism', 'conservationisms', 'conservationist', 'conservationists', 'conservations', 'conservatism', 'conservatisms', 'conservative', 'conservatively', 'conservatives', 'conservator', 'conservatories', 'conservators', 'conservatory', 'conserve', 'conserved', 'conserves', 'conserving', 'consider', 'considerable', 'considerably', 'considerate', 'considerately', 'considerateness', 'consideratenesses', 'consideration', 'considerations', 'considered', 'considering', 'considers', 'consign', 'consigned', 'consignee', 'consignees', 'consigning', 'consignment', 'consignments', 'consignor', 'consignors', 'consigns', 'consist', 'consisted', 'consistence', 'consistences', 'consistencies', 'consistency', 'consistent', 'consistently', 'consisting', 'consistories', 'consistory', 'consists', 'consolable', 'consolation', 'consolations', 'consolatory', 'console', 'consoled', 'consoles', 'consolidate', 'consolidated', 'consolidates', 'consolidating', 'consolidation', 'consolidations', 'consolidator', 'consolidators', 'consoling', 'consolingly', 'consomme', 'consommes', 'consonance', 'consonances', 'consonant', 'consonantly', 'consonants', 'consort', 'consorted', 'consortia', 'consorting', 'consortium', 'consortiums', 'consorts', 'conspectus', 'conspectuses', 'conspicuous', 'conspicuously', 'conspicuousness', 'conspicuousnesses', 'conspiracies', 'conspiracy', 'conspirator', 'conspiratorial', 'conspiratorially', 'conspirators', 'conspire', 'conspired', 'conspires', 'conspiring', 'constable', 'constables', 'constabularies', 'constabulary', 'constancies', 'constancy', 'constant', 'constantly', 'constants', 'constellation', 'constellations', 'consternation', 'consternations', 'constipate', 'constipated', 'constipates', 'constipating', 'constipation', 'constipations', 'constituencies', 'constituency', 'constituent', 'constituents', 'constitute', 'constituted', 'constitutes', 'constituting', 'constitution', 'constitutional', 'constitutionalities', 'constitutionality', 'constitutionally', 'constitutionals', 'constitutions', 'constitutive', 'constrain', 'constrained', 'constraining', 'constrains', 'constraint', 'constraints', 'constrict', 'constricted', 'constricting', 'constriction', 'constrictions', 'constrictive', 'constrictor', 'constrictors', 'constricts', 'construable', 'construct', 'constructed', 'constructing', 'construction', 'constructional', 'constructionist', 'constructionists', 'constructions', 'constructive', 'constructively', 'constructiveness', 'constructivenesses', 'constructor', 'constructors', 'constructs', 'construe', 'construed', 'construes', 'construing', 'consubstantiation', 'consubstantiations', 'consul', 'consular', 'consulate', 'consulates', 'consuls', 'consulship', 'consulships', 'consult', 'consultancies', 'consultancy', 'consultant', 'consultants', 'consultation', 'consultations', 'consultative', 'consulted', 'consulting', 'consults', 'consumable', 'consumables', 'consume', 'consumed', 'consumer', 'consumerism', 'consumerisms', 'consumerist', 'consumerists', 'consumers', 'consumes', 'consuming', 'consummate', 'consummated', 'consummately', 'consummates', 'consummating', 'consummation', 'consummations', 'consumption', 'consumptions', 'consumptive', 'consumptives', 'contact', 'contacted', 'contacting', 'contacts', 'contagion', 'contagions', 'contagious', 'contagiously', 'contagiousness', 'contagiousnesses', 'contain', 'containable', 'contained', 'container', 'containerization', 'containerizations', 'containerize', 'containerized', 'containerizes', 'containerizing', 'containers', 'containing', 'containment', 'containments', 'contains', 'contaminant', 'contaminants', 'contaminate', 'contaminated', 'contaminates', 'contaminating', 'contamination', 'contaminations', 'contaminator', 'contaminators', 'contemn', 'contemned', 'contemning', 'contemns', 'contemplate', 'contemplated', 'contemplates', 'contemplating', 'contemplation', 'contemplations', 'contemplative', 'contemplatives', 'contemporaneities', 'contemporaneity', 'contemporaneous', 'contemporaneously', 'contemporaries', 'contemporary', 'contempt', 'contemptible', 'contemptibly', 'contempts', 'contemptuous', 'contemptuously', 'contemptuousness', 'contemptuousnesses', 'contend', 'contended', 'contender', 'contenders', 'contending', 'contends', 'content', 'contented', 'contentedly', 'contentedness', 'contentednesses', 'contenting', 'contention', 'contentions', 'contentious', 'contentiously', 'contentiousness', 'contentiousnesses', 'contently', 'contentment', 'contentments', 'contents', 'conterminous', 'conterminously', 'contest', 'contestable', 'contestant', 'contestants', 'contested', 'contesting', 'contests', 'context', 'contexts', 'contextual', 'contextualize', 'contextualized', 'contextualizes', 'contextualizing', 'contextually', 'contiguities', 'contiguity', 'contiguous', 'contiguously', 'continence', 'continences', 'continent', 'continental', 'continentals', 'continents', 'contingencies', 'contingency', 'contingent', 'contingently', 'contingents', 'continua', 'continual', 'continually', 'continuance', 'continuances', 'continuation', 'continuations', 'continue', 'continued', 'continues', 'continuing', 'continuities', 'continuity', 'continuous', 'continuously', 'continuum', 'continuums', 'contort', 'contorted', 'contorting', 'contortion', 'contortionist', 'contortionists', 'contortions', 'contorts', 'contour', 'contoured', 'contouring', 'contours', 'contraband', 'contrabands', 'contraception', 'contraceptions', 'contraceptive', 'contraceptives', 'contract', 'contracted', 'contractible', 'contractile', 'contracting', 'contraction', 'contractions', 'contractor', 'contractors', 'contracts', 'contractual', 'contractually', 'contradict', 'contradicted', 'contradicting', 'contradiction', 'contradictions', 'contradictory', 'contradicts', 'contradistinction', 'contradistinctions', 'contrail', 'contrails', 'contraindicate', 'contraindicated', 'contraindicates', 'contraindicating', 'contraindication', 'contraindications', 'contralto', 'contraltos', 'contraption', 'contraptions', 'contrapuntal', 'contrapuntally', 'contraries', 'contrarieties', 'contrariety', 'contrarily', 'contrariness', 'contrarinesses', 'contrariwise', 'contrary', 'contrast', 'contrasted', 'contrasting', 'contrasts', 'contravene', 'contravened', 'contravenes', 'contravening', 'contravention', 'contraventions', 'contretemps', 'contribute', 'contributed', 'contributes', 'contributing', 'contribution', 'contributions', 'contributor', 'contributors', 'contributory', 'contrite', 'contritely', 'contriteness', 'contritenesses', 'contrition', 'contritions', 'contrivance', 'contrivances', 'contrive', 'contrived', 'contriver', 'contrivers', 'contrives', 'contriving', 'control', 'controllable', 'controlled', 'controller', 'controllers', 'controlling', 'controls', 'controversial', 'controversially', 'controversies', 'controversy', 'controvert', 'controverted', 'controvertible', 'controverting', 'controverts', 'contumacies', 'contumacious', 'contumaciously', 'contumacy', 'contumelies', 'contumelious', 'contumely', 'contuse', 'contused', 'contuses', 'contusing', 'contusion', 'contusions', 'conundrum', 'conundrums', 'conurbation', 'conurbations', 'convalesce', 'convalesced', 'convalescence', 'convalescences', 'convalescent', 'convalescents', 'convalesces', 'convalescing', 'convection', 'convectional', 'convections', 'convective', 'convene', 'convened', 'convener', 'conveners', 'convenes', 'convenience', 'conveniences', 'convenient', 'conveniently', 'convening', 'convent', 'conventicle', 'conventicles', 'convention', 'conventional', 'conventionalities', 'conventionality', 'conventionalize', 'conventionalized', 'conventionalizes', 'conventionalizing', 'conventionally', 'conventions', 'convents', 'converge', 'converged', 'convergence', 'convergences', 'convergent', 'converges', 'converging', 'conversant', 'conversation', 'conversational', 'conversationalist', 'conversationalists', 'conversationally', 'conversations', 'converse', 'conversed', 'conversely', 'converses', 'conversing', 'conversion', 'conversions', 'convert', 'converted', 'converter', 'converters', 'convertibilities', 'convertibility', 'convertible', 'convertibles', 'converting', 'convertor', 'convertors', 'converts', 'convex', 'convexities', 'convexity', 'convexly', 'convey', 'conveyable', 'conveyance', 'conveyances', 'conveyed', 'conveyer', 'conveyers', 'conveying', 'conveyor', 'conveyors', 'conveys', 'convict', 'convicted', 'convicting', 'conviction', 'convictions', 'convicts', 'convince', 'convinced', 'convinces', 'convincing', 'convincingly', 'convivial', 'convivialities', 'conviviality', 'convivially', 'convocation', 'convocations', 'convoke', 'convoked', 'convokes', 'convoking', 'convoluted', 'convolution', 'convolutions', 'convoy', 'convoyed', 'convoying', 'convoys', 'convulse', 'convulsed', 'convulses', 'convulsing', 'convulsion', 'convulsions', 'convulsive', 'convulsively', 'cooing', 'cookbook', 'cookbooks', 'cooked', 'cooker', 'cookeries', 'cookers', 'cookery', 'cookie', 'cookies', 'cooking', 'cookings', 'cookout', 'cookouts', 'cookware', 'cookwares', 'coolant', 'coolants', 'cooled', 'cooler', 'coolers', 'coolest', 'coolie', 'coolies', 'cooling', 'coolly', 'coolness', 'coolnesses', 'coonskin', 'coonskins', 'cooped', 'cooper', 'cooperage', 'cooperages', 'cooperate', 'cooperated', 'cooperates', 'cooperating', 'cooperation', 'cooperations', 'cooperative', 'cooperatively', 'cooperativeness', 'cooperativenesses', 'cooperatives', 'cooperator', 'cooperators', 'coopered', 'coopering', 'coopers', 'cooping', 'coordinate', 'coordinated', 'coordinately', 'coordinates', 'coordinating', 'coordination', 'coordinations', 'coordinator', 'coordinators', 'cootie', 'cooties', 'copacetic', 'copays', 'copied', 'copier', 'copiers', 'copies', 'copilot', 'copilots', 'coping', 'copings', 'copious', 'copiously', 'copiousness', 'copiousnesses', 'copped', 'copper', 'copperhead', 'copperheads', 'copperplate', 'copperplates', 'coppers', 'coppery', 'coppice', 'coppices', 'copping', 'copras', 'copses', 'copter', 'copters', 'copula', 'copulae', 'copulas', 'copulate', 'copulated', 'copulates', 'copulating', 'copulation', 'copulations', 'copulative', 'copulatives', 'copybook', 'copybooks', 'copycat', 'copycats', 'copycatted', 'copycatting', 'copying', 'copyist', 'copyists', 'copyright', 'copyrighted', 'copyrighting', 'copyrights', 'copywriter', 'copywriters', 'coquetries', 'coquetry', 'coquette', 'coquetted', 'coquettes', 'coquetting', 'coquettish', 'coquettishly', 'coracle', 'coracles', 'corals', 'corbel', 'corbels', 'cordage', 'cordages', 'corded', 'cordial', 'cordialities', 'cordiality', 'cordially', 'cordials', 'cordillera', 'cordilleras', 'cording', 'cordite', 'cordites', 'cordless', 'cordon', 'cordoned', 'cordoning', 'cordons', 'cordovan', 'cordovans', 'corduroy', 'corduroys', 'corers', 'corespondent', 'corespondents', 'corgis', 'coriander', 'corianders', 'coring', 'corked', 'corker', 'corkers', 'corking', 'corkscrew', 'corkscrewed', 'corkscrewing', 'corkscrews', 'cormorant', 'cormorants', 'cornball', 'cornballs', 'cornbread', 'cornbreads', 'corncob', 'corncobs', 'cornea', 'corneal', 'corneas', 'corned', 'corner', 'cornered', 'cornering', 'corners', 'cornerstone', 'cornerstones', 'cornet', 'cornets', 'cornflakes', 'cornflower', 'cornflowers', 'cornice', 'cornices', 'cornier', 'corniest', 'cornily', 'corniness', 'corninesses', 'corning', 'cornmeal', 'cornmeals', 'cornrow', 'cornrowed', 'cornrowing', 'cornrows', 'cornstalk', 'cornstalks', 'cornstarch', 'cornstarches', 'cornucopia', 'cornucopias', 'corolla', 'corollaries', 'corollary', 'corollas', 'corona', 'coronae', 'coronal', 'coronals', 'coronaries', 'coronary', 'coronas', 'coronation', 'coronations', 'coroner', 'coroners', 'coronet', 'coronets', 'corpora', 'corporal', 'corporals', 'corporate', 'corporately', 'corporation', 'corporations', 'corporeal', 'corporealities', 'corporeality', 'corporeally', 'corpse', 'corpses', 'corpsman', 'corpsmen', 'corpulence', 'corpulences', 'corpulent', 'corpus', 'corpuscle', 'corpuscles', 'corpuscular', 'corpuses', 'corral', 'corralled', 'corralling', 'corrals', 'correct', 'correctable', 'corrected', 'correcter', 'correctest', 'correcting', 'correction', 'correctional', 'corrections', 'corrective', 'correctives', 'correctly', 'correctness', 'correctnesses', 'corrects', 'correlate', 'correlated', 'correlates', 'correlating', 'correlation', 'correlations', 'correlative', 'correlatives', 'correspond', 'corresponded', 'correspondence', 'correspondences', 'correspondent', 'correspondents', 'corresponding', 'correspondingly', 'corresponds', 'corridor', 'corridors', 'corroborate', 'corroborated', 'corroborates', 'corroborating', 'corroboration', 'corroborations', 'corroborative', 'corroborator', 'corroborators', 'corroboratory', 'corrode', 'corroded', 'corrodes', 'corroding', 'corrosion', 'corrosions', 'corrosive', 'corrosively', 'corrosives', 'corrugate', 'corrugated', 'corrugates', 'corrugating', 'corrugation', 'corrugations', 'corrupt', 'corrupted', 'corrupter', 'corruptest', 'corruptibilities', 'corruptibility', 'corruptible', 'corrupting', 'corruption', 'corruptions', 'corruptly', 'corruptness', 'corruptnesses', 'corrupts', 'corsage', 'corsages', 'corsair', 'corsairs', 'corset', 'corseted', 'corseting', 'corsets', 'cortege', 'corteges', 'cortex', 'cortexes', 'cortical', 'cortices', 'cortisone', 'cortisones', 'corundum', 'corundums', 'coruscate', 'coruscated', 'coruscates', 'coruscating', 'coruscation', 'coruscations', 'corvette', 'corvettes', 'coses', 'cosier', 'cosies', 'cosiest', 'cosign', 'cosignatories', 'cosignatory', 'cosigned', 'cosigner', 'cosigners', 'cosigning', 'cosigns', 'cosily', 'cosine', 'cosines', 'cosiness', 'cosinesses', 'cosmetic', 'cosmetically', 'cosmetician', 'cosmeticians', 'cosmetics', 'cosmetologies', 'cosmetologist', 'cosmetologists', 'cosmetology', 'cosmic', 'cosmically', 'cosmogonies', 'cosmogonist', 'cosmogonists', 'cosmogony', 'cosmological', 'cosmologies', 'cosmologist', 'cosmologists', 'cosmology', 'cosmonaut', 'cosmonauts', 'cosmopolitan', 'cosmopolitanism', 'cosmopolitanisms', 'cosmopolitans', 'cosmos', 'cosmoses', 'cosplay!', 'cosplays!', 'cosponsor', 'cosponsored', 'cosponsoring', 'cosponsors', 'cosset', 'cosseted', 'cosseting', 'cossets', 'costar', 'costarred', 'costarring', 'costars', 'costed', 'costing', 'costlier', 'costliest', 'costliness', 'costlinesses', 'costly', 'costume', 'costumed', 'costumer', 'costumers', 'costumes', 'costuming', 'cotangent', 'cotangents', 'coterie', 'coteries', 'coterminous', 'cotillion', 'cotillions', 'cottage', 'cottager', 'cottagers', 'cottages', 'cottar', 'cottars', 'cotter', 'cotters', 'cotton', 'cottoned', 'cottoning', 'cottonmouth', 'cottonmouths', 'cottons', 'cottonseed', 'cottonseeds', 'cottontail', 'cottontails', 'cottonwood', 'cottonwoods', 'cottony', 'cotyledon', 'cotyledons', 'couched', 'couches', 'couching', 'cougar', 'cougars', 'coughed', 'coughing', 'coughs', 'coulee', 'coulees', 'coulomb', 'coulombs', 'council', 'councillor', 'councillors', 'councilman', 'councilmen', 'councilor', 'councilors', 'councilperson', 'councilpersons', 'councils', 'councilwoman', 'councilwomen', 'counsel', 'counseled', 'counseling', 'counselled', 'counselling', 'counsellor', 'counsellors', 'counselor', 'counselors', 'counsels', 'countable', 'countdown', 'countdowns', 'counted', 'countenance', 'countenanced', 'countenances', 'countenancing', 'counter', 'counteract', 'counteracted', 'counteracting', 'counteraction', 'counteractions', 'counteractive', 'counteracts', 'counterattack', 'counterattacked', 'counterattacking', 'counterattacks', 'counterbalance', 'counterbalanced', 'counterbalances', 'counterbalancing', 'counterclaim', 'counterclaimed', 'counterclaiming', 'counterclaims', 'counterclockwise', 'counterculture', 'countercultures', 'countered', 'counterespionage', 'counterespionages', 'counterfeit', 'counterfeited', 'counterfeiter', 'counterfeiters', 'counterfeiting', 'counterfeits', 'counterfoil', 'counterfoils', 'countering', 'counterinsurgencies', 'counterinsurgency', 'counterintelligence', 'counterintelligences', 'counterman', 'countermand', 'countermanded', 'countermanding', 'countermands', 'countermeasure', 'countermeasures', 'countermen', 'counteroffensive', 'counteroffensives', 'counteroffer', 'counteroffered', 'counteroffering', 'counteroffers', 'counterpane', 'counterpanes', 'counterpart', 'counterparts', 'counterpoint', 'counterpoints', 'counterpoise', 'counterpoised', 'counterpoises', 'counterpoising', 'counterproductive', 'counterrevolution', 'counterrevolutionaries', 'counterrevolutionary', 'counterrevolutions', 'counters', 'countersank', 'countersign', 'countersignature', 'countersignatures', 'countersigned', 'countersigning', 'countersigns', 'countersink', 'countersinking', 'countersinks', 'counterspies', 'counterspy', 'countersunk', 'countertenor', 'countertenors', 'countervail', 'countervailed', 'countervailing', 'countervails', 'counterweight', 'counterweights', 'countess', 'countesses', 'counties', 'counting', 'countless', 'countries', 'countrified', 'country', 'countryman', 'countrymen', 'countryside', 'countrysides', 'countrywoman', 'countrywomen', 'counts', 'county', 'coupes', 'couple', 'coupled', 'couples', 'couplet', 'couplets', 'coupling', 'couplings', 'coupon', 'coupons', 'courage', 'courageous', 'courageously', 'courageousness', 'courageousnesses', 'courages', 'courier', 'couriered', 'couriering', 'couriers', 'course', 'coursed', 'courser', 'coursers', 'courses', 'coursing', 'courted', 'courteous', 'courteously', 'courteousness', 'courteousnesses', 'courtesan', 'courtesans', 'courtesies', 'courtesy', 'courthouse', 'courthouses', 'courtier', 'courtiers', 'courting', 'courtlier', 'courtliest', 'courtliness', 'courtlinesses', 'courtly', 'courtroom', 'courtrooms', 'courts', 'courtship', 'courtships', 'courtyard', 'courtyards', 'couscous', 'couscouses', 'cousin', 'cousins', 'couture', 'coutures', 'couturier', 'couturiers', 'covenant', 'covenanted', 'covenanting', 'covenants', 'covens', 'coverage', 'coverages', 'coverall', 'coveralls', 'covered', 'covering', 'coverings', 'coverlet', 'coverlets', 'covers', 'covert', 'covertly', 'covertness', 'covertnesses', 'coverts', 'coverup', 'coverups', 'coveted', 'coveting', 'covetous', 'covetously', 'covetousness', 'covetousnesses', 'covets', 'coveys', 'coward', 'cowardice', 'cowardices', 'cowardliness', 'cowardlinesses', 'cowardly', 'cowards', 'cowbell', 'cowbells', 'cowbird', 'cowbirds', 'cowboy', 'cowboys', 'cowcatcher', 'cowcatchers', 'cowered', 'cowering', 'cowers', 'cowgirl', 'cowgirls', 'cowhand', 'cowhands', 'cowherd', 'cowherds', 'cowhide', 'cowhides', 'cowing', 'cowlick', 'cowlicks', 'cowling', 'cowlings', 'cowman', 'cowmen', 'coworker', 'coworkers', 'cowpoke', 'cowpokes', 'cowpox', 'cowpoxes', 'cowpuncher', 'cowpunchers', 'cowrie', 'cowries', 'cowslip', 'cowslips', 'coxcomb', 'coxcombs', 'coxswain', 'coxswains', 'coyest', 'coyness', 'coynesses', 'coyote', 'coyotes', 'coypus', 'cozenage', 'cozenages', 'cozened', 'cozening', 'cozens', 'cozier', 'cozies', 'coziest', 'cozily', 'coziness', 'cozinesses', 'crabbed', 'crabber', 'crabbers', 'crabbier', 'crabbiest', 'crabbily', 'crabbiness', 'crabbinesses', 'crabbing', 'crabby', 'crabgrass', 'crabgrasses', 'crablike', 'crackdown', 'crackdowns', 'cracked', 'cracker', 'crackerjack', 'crackerjacks', 'crackers', 'crackhead', 'crackheads', 'cracking', 'crackle', 'crackled', 'crackles', 'crackling', 'cracklings', 'crackly', 'crackpot', 'crackpots', 'cracks', 'crackup', 'crackups', 'cradle', 'cradled', 'cradles', 'cradling', 'crafted', 'craftier', 'craftiest', 'craftily', 'craftiness', 'craftinesses', 'crafting', 'crafts', 'craftsman', 'craftsmanship', 'craftsmanships', 'craftsmen', 'craftswoman', 'craftswomen', 'crafty', 'craggier', 'craggiest', 'cragginess', 'cragginesses', 'craggy', 'crammed', 'cramming', 'cramped', 'cramping', 'crampings', 'crampon', 'crampons', 'cramps', 'cranberries', 'cranberry', 'craned', 'cranes', 'crania', 'cranial', 'craning', 'cranium', 'craniums', 'crankcase', 'crankcases', 'cranked', 'crankier', 'crankiest', 'crankily', 'crankiness', 'crankinesses', 'cranking', 'cranks', 'crankshaft', 'crankshafts', 'cranky', 'crannied', 'crannies', 'cranny', 'crapes', 'crapped', 'crappie', 'crappier', 'crappies', 'crappiest', 'crapping', 'crappy', 'crapshooter', 'crapshooters', 'crashed', 'crashes', 'crashing', 'crasser', 'crassest', 'crassly', 'crassness', 'crassnesses', 'crated', 'crater', 'cratered', 'cratering', 'craters', 'crates', 'crating', 'cravat', 'cravats', 'craved', 'craven', 'cravenly', 'cravenness', 'cravennesses', 'cravens', 'craves', 'craving', 'cravings', 'crawdad', 'crawdads', 'crawfish', 'crawfishes', 'crawled', 'crawler', 'crawlers', 'crawlier', 'crawlies', 'crawliest', 'crawling', 'crawls', 'crawlspace', 'crawlspaces', 'crawly', 'crayfish', 'crayfishes', 'crayon', 'crayoned', 'crayoning', 'crayons', 'crazed', 'crazes', 'crazier', 'crazies', 'craziest', 'crazily', 'craziness', 'crazinesses', 'crazing', 'creaked', 'creakier', 'creakiest', 'creakily', 'creakiness', 'creakinesses', 'creaking', 'creaks', 'creaky', 'creamed', 'creamer', 'creameries', 'creamers', 'creamery', 'creamier', 'creamiest', 'creamily', 'creaminess', 'creaminesses', 'creaming', 'creams', 'creamy', 'crease', 'creased', 'creases', 'creasing', 'create', 'created', 'creates', 'creating', 'creation', 'creationism', 'creationisms', 'creationist', 'creationists', 'creations', 'creative', 'creatively', 'creativeness', 'creativenesses', 'creatives', 'creativities', 'creativity', 'creator', 'creators', 'creature', 'creatures', 'creche', 'creches', 'credence', 'credences', 'credential', 'credentials', 'credenza', 'credenzas', 'credibilities', 'credibility', 'credible', 'credibly', 'credit', 'creditable', 'creditably', 'credited', 'crediting', 'creditor', 'creditors', 'credits', 'credos', 'credulities', 'credulity', 'credulous', 'credulously', 'credulousness', 'credulousnesses', 'creeds', 'creeks', 'creels', 'creeped', 'creeper', 'creepers', 'creepier', 'creepiest', 'creepily', 'creepiness', 'creepinesses', 'creeping', 'creeps', 'creepy', 'cremains', 'cremate', 'cremated', 'cremates', 'cremating', 'cremation', 'cremations', 'crematoria', 'crematories', 'crematorium', 'crematoriums', 'crematory', 'cremes', 'crenelate', 'crenelated', 'crenelates', 'crenelating', 'crenelation', 'crenelations', 'crenellate', 'crenellated', 'crenellates', 'crenellating', 'crenellation', 'crenellations', 'creole', 'creoles', 'creosote', 'creosoted', 'creosotes', 'creosoting', 'crepes', 'crescendi', 'crescendo', 'crescendos', 'crescent', 'crescents', 'cresses', 'crested', 'crestfallen', 'cresting', 'crestless', 'crests', 'cretaceous', 'cretin', 'cretinism', 'cretinisms', 'cretinous', 'cretins', 'cretonne', 'cretonnes', 'crevasse', 'crevasses', 'crevice', 'crevices', 'crewed', 'crewel', 'crewels', 'crewelwork', 'crewelworks', 'crewing', 'crewman', 'crewmen', 'cribbage', 'cribbages', 'cribbed', 'cribber', 'cribbers', 'cribbing', 'cricked', 'cricket', 'cricketer', 'cricketers', 'crickets', 'cricking', 'cricks', 'criers', 'crimes', 'criminal', 'criminalities', 'criminality', 'criminally', 'criminals', 'criminologies', 'criminologist', 'criminologists', 'criminology', 'crimped', 'crimping', 'crimps', 'crimson', 'crimsoned', 'crimsoning', 'crimsons', 'cringe', 'cringed', 'cringes', 'cringing', 'crinkle', 'crinkled', 'crinkles', 'crinklier', 'crinkliest', 'crinkling', 'crinkly', 'crinoline', 'crinolines', 'cripple', 'crippled', 'crippler', 'cripplers', 'cripples', 'crippling', 'crises', 'crisis', 'crisped', 'crisper', 'crispest', 'crispier', 'crispiest', 'crispiness', 'crispinesses', 'crisping', 'crisply', 'crispness', 'crispnesses', 'crisps', 'crispy', 'crisscross', 'crisscrossed', 'crisscrosses', 'crisscrossing', 'criteria', 'criterion', 'criterions', 'critic', 'critical', 'critically', 'criticism', 'criticisms', 'criticize', 'criticized', 'criticizer', 'criticizers', 'criticizes', 'criticizing', 'critics', 'critique', 'critiqued', 'critiques', 'critiquing', 'critter', 'critters', 'croaked', 'croakier', 'croakiest', 'croaking', 'croaks', 'croaky', 'crochet', 'crocheted', 'crocheter', 'crocheters', 'crocheting', 'crochetings', 'crochets', 'crocked', 'crockeries', 'crockery', 'crocks', 'crocodile', 'crocodiles', 'crocus', 'crocuses', 'croissant', 'croissants', 'crones', 'cronies', 'cronyism', 'cronyisms', 'crooked', 'crookeder', 'crookedest', 'crookedly', 'crookedness', 'crookednesses', 'crooking', 'crookneck', 'crooknecks', 'crooks', 'crooned', 'crooner', 'crooners', 'crooning', 'croons', 'cropland', 'croplands', 'cropped', 'cropper', 'croppers', 'cropping', 'croquet', 'croquets', 'croquette', 'croquettes', 'crosier', 'crosiers', 'crossbar', 'crossbars', 'crossbeam', 'crossbeams', 'crossbones', 'crossbow', 'crossbowman', 'crossbowmen', 'crossbows', 'crossbred', 'crossbreed', 'crossbreeding', 'crossbreeds', 'crosscheck', 'crosschecked', 'crosschecking', 'crosschecks', 'crosscurrent', 'crosscurrents', 'crosscut', 'crosscuts', 'crosscutting', 'crossed', 'crosser', 'crosses', 'crossest', 'crossfire', 'crossfires', 'crosshatch', 'crosshatched', 'crosshatches', 'crosshatching', 'crossing', 'crossings', 'crossly', 'crossness', 'crossnesses', 'crossover', 'crossovers', 'crosspatch', 'crosspatches', 'crosspiece', 'crosspieces', 'crossroad', 'crossroads', 'crosstown', 'crosswalk', 'crosswalks', 'crossways', 'crosswind', 'crosswinds', 'crosswise', 'crossword', 'crosswords', 'crotch', 'crotches', 'crotchet', 'crotchets', 'crotchety', 'crouch', 'crouched', 'crouches', 'crouching', 'croupier', 'croupiers', 'croupiest', 'croups', 'croupy', 'crouton', 'croutons', 'crowbar', 'crowbars', 'crowded', 'crowdfund!', 'crowdfunded!', 'crowdfunding!', 'crowdfundings!', 'crowdfunds!', 'crowding', 'crowds', 'crowed', 'crowfeet', 'crowfoot', 'crowfoots', 'crowing', 'crowned', 'crowning', 'crowns', 'crozier', 'croziers', 'cruces', 'crucial', 'crucially', 'crucible', 'crucibles', 'crucified', 'crucifies', 'crucifix', 'crucifixes', 'crucifixion', 'crucifixions', 'cruciform', 'cruciforms', 'crucify', 'crucifying', 'cruddier', 'cruddiest', 'cruddy', 'crudely', 'crudeness', 'crudenesses', 'cruder', 'crudes', 'crudest', 'crudites', 'crudities', 'crudity', 'cruds', 'crueler', 'cruelest', 'crueller', 'cruellest', 'cruelly', 'cruelness', 'cruelnesses', 'cruelties', 'cruelty', 'cruets', 'cruise', 'cruised', 'cruiser', 'cruisers', 'cruises', 'cruising', 'cruller', 'crullers', 'crumbed', 'crumbier', 'crumbiest', 'crumbing', 'crumble', 'crumbled', 'crumbles', 'crumblier', 'crumbliest', 'crumbliness', 'crumblinesses', 'crumbling', 'crumbly', 'crumbs', 'crumby', 'crummier', 'crummiest', 'crumminess', 'crumminesses', 'crummy', 'crumpet', 'crumpets', 'crumple', 'crumpled', 'crumples', 'crumpling', 'crunch', 'crunched', 'crunches', 'crunchier', 'crunchiest', 'crunchiness', 'crunchinesses', 'crunching', 'crunchy', 'crupper', 'cruppers', 'crusade', 'crusaded', 'crusader', 'crusaders', 'crusades', 'crusading', 'cruses', 'crushed', 'crusher', 'crushers', 'crushes', 'crushing', 'crustacean', 'crustaceans', 'crustal', 'crusted', 'crustier', 'crustiest', 'crustily', 'crustiness', 'crustinesses', 'crusting', 'crusts', 'crusty', 'crutch', 'crutches', 'cruxes', 'crybabies', 'crybaby', 'crying', 'cryogenic', 'cryogenics', 'cryosurgeries', 'cryosurgery', 'cryptic', 'cryptically', 'cryptogram', 'cryptograms', 'cryptographer', 'cryptographers', 'cryptographies', 'cryptography', 'crypts', 'crystal', 'crystalline', 'crystallization', 'crystallizations', 'crystallize', 'crystallized', 'crystallizes', 'crystallizing', 'crystals', 'cubbyhole', 'cubbyholes', 'cubers', 'cubical', 'cubicle', 'cubicles', 'cubing', 'cubism', 'cubisms', 'cubist', 'cubists', 'cubits', 'cuckold', 'cuckolded', 'cuckolding', 'cuckoldries', 'cuckoldry', 'cuckolds', 'cuckoo', 'cuckoos', 'cucumber', 'cucumbers', 'cuddle', 'cuddled', 'cuddles', 'cuddlier', 'cuddliest', 'cuddling', 'cuddly', 'cudgel', 'cudgeled', 'cudgeling', 'cudgelled', 'cudgelling', 'cudgels', 'cueing', 'cuffed', 'cuffing', 'cufflink', 'cufflinks', 'cuisine', 'cuisines', 'culinary', 'culled', 'cullender', 'cullenders', 'culling', 'culminate', 'culminated', 'culminates', 'culminating', 'culmination', 'culminations', 'culotte', 'culottes', 'culpabilities', 'culpability', 'culpable', 'culpably', 'culprit', 'culprits', 'cultism', 'cultisms', 'cultist', 'cultists', 'cultivable', 'cultivatable', 'cultivate', 'cultivated', 'cultivates', 'cultivating', 'cultivation', 'cultivations', 'cultivator', 'cultivators', 'cultural', 'culturally', 'culture', 'cultured', 'cultures', 'culturing', 'culvert', 'culverts', 'cumber', 'cumbered', 'cumbering', 'cumbers', 'cumbersome', 'cumbersomeness', 'cumbersomenesses', 'cumbrous', 'cumins', 'cummed', 'cummerbund', 'cummerbunds', 'cumming', 'cumquat', 'cumquats', 'cumulative', 'cumulatively', 'cumuli', 'cumulonimbi', 'cumulonimbus', 'cumulonimbuses', 'cumulus', 'cuneiform', 'cuneiforms', 'cunnilingus', 'cunnilinguses', 'cunning', 'cunninger', 'cunningest', 'cunningly', 'cunnings', 'cupboard', 'cupboards', 'cupcake', 'cupcakes', 'cupful', 'cupfuls', 'cupidities', 'cupidity', 'cupids', 'cupola', 'cupolaed', 'cupolas', 'cupped', 'cupping', 'cupric', 'cupsful', 'curabilities', 'curability', 'curable', 'curacies', 'curacy', 'curare', 'curares', 'curate', 'curated', 'curates', 'curating', 'curative', 'curatives', 'curator', 'curatorial', 'curators', 'curbed', 'curbing', 'curbings', 'curbstone', 'curbstones', 'curdle', 'curdled', 'curdles', 'curdling', 'curers', 'curettage', 'curettages', 'curfew', 'curfews', 'curiae', 'curies', 'curing', 'curios', 'curiosities', 'curiosity', 'curious', 'curiously', 'curiousness', 'curiousnesses', 'curium', 'curiums', 'curled', 'curler', 'curlers', 'curlew', 'curlews', 'curlicue', 'curlicued', 'curlicues', 'curlicuing', 'curlier', 'curliest', 'curliness', 'curlinesses', 'curling', 'curlings', 'curlycue', 'curlycues', 'curmudgeon', 'curmudgeonly', 'curmudgeons', 'currant', 'currants', 'currencies', 'currency', 'current', 'currently', 'currents', 'curricula', 'curricular', 'curriculum', 'curriculums', 'curried', 'curries', 'currycomb', 'currycombed', 'currycombing', 'currycombs', 'currying', 'cursed', 'cursedly', 'curses', 'cursing', 'cursive', 'cursively', 'cursives', 'cursor', 'cursorily', 'cursoriness', 'cursorinesses', 'cursors', 'cursory', 'curtail', 'curtailed', 'curtailing', 'curtailment', 'curtailments', 'curtails', 'curtain', 'curtained', 'curtaining', 'curtains', 'curter', 'curtest', 'curtly', 'curtness', 'curtnesses', 'curtsey', 'curtseyed', 'curtseying', 'curtseys', 'curtsied', 'curtsies', 'curtsy', 'curtsying', 'curvaceous', 'curvaceousness', 'curvaceousnesses', 'curvacious', 'curvature', 'curvatures', 'curved', 'curves', 'curvier', 'curviest', 'curving', 'cushier', 'cushiest', 'cushion', 'cushioned', 'cushioning', 'cushions', 'cuspid', 'cuspidor', 'cuspidors', 'cuspids', 'cussed', 'cusses', 'cussing', 'custard', 'custards', 'custodial', 'custodian', 'custodians', 'custodianship', 'custodianships', 'custodies', 'custody', 'custom', 'customarily', 'customary', 'customer', 'customers', 'customhouse', 'customhouses', 'customization', 'customizations', 'customize', 'customized', 'customizes', 'customizing', 'customs', 'cutaneous', 'cutaway', 'cutaways', 'cutback', 'cutbacks', 'cutely', 'cuteness', 'cutenesses', 'cutesie', 'cutesier', 'cutesiest', 'cutest', 'cutesy', 'cuticle', 'cuticles', 'cuties', 'cutlas', 'cutlases', 'cutlass', 'cutlasses', 'cutler', 'cutleries', 'cutlers', 'cutlery', 'cutlet', 'cutlets', 'cutoff', 'cutoffs', 'cutout', 'cutouts', 'cutter', 'cutters', 'cutthroat', 'cutthroats', 'cutting', 'cuttingly', 'cuttings', 'cuttlefish', 'cuttlefishes', 'cutups', 'cutworm', 'cutworms', 'cyanide', 'cyanides', 'cyans', 'cyberbullies!', 'cyberbully!', 'cybernetic', 'cybernetics', 'cyberpunk', 'cyberpunks', 'cybersex!', 'cybersexes!', 'cyberspace', 'cyberspaces', 'cyborg', 'cyborgs', 'cyclamen', 'cyclamens', 'cycled', 'cycles', 'cyclic', 'cyclical', 'cyclically', 'cycling', 'cyclist', 'cyclists', 'cyclometer', 'cyclometers', 'cyclone', 'cyclones', 'cyclonic', 'cyclopaedia', 'cyclopaedias', 'cyclopedia', 'cyclopedias', 'cyclopes', 'cyclops', 'cyclotron', 'cyclotrons', 'cyders', 'cygnet', 'cygnets', 'cylinder', 'cylinders', 'cylindrical', 'cymbal', 'cymbalist', 'cymbalists', 'cymbals', 'cynical', 'cynically', 'cynicism', 'cynicisms', 'cynics', 'cynosure', 'cynosures', 'cypher', 'cyphered', 'cyphering', 'cyphers', 'cypress', 'cypresses', 'cystic', 'cytologies', 'cytologist', 'cytologists', 'cytology', 'cytoplasm', 'cytoplasmic', 'cytoplasms', 'cytosine', 'cytosines', 'czarina', 'czarinas', 'czarist', 'czarists', 'dabbed', 'dabber', 'dabbers', 'dabbing', 'dabble', 'dabbled', 'dabbler', 'dabblers', 'dabbles', 'dabbling', 'dachas', 'dachshund', 'dachshunds', 'dactyl', 'dactylic', 'dactylics', 'dactyls', 'dadaism', 'dadaisms', 'dadaist', 'dadaists', 'daddies', 'dadoes', 'daemon', 'daemonic', 'daemons', 'daffier', 'daffiest', 'daffiness', 'daffinesses', 'daffodil', 'daffodils', 'dafter', 'daftest', 'daftly', 'daftness', 'daftnesses', 'dagger', 'daggers', 'daguerreotype', 'daguerreotyped', 'daguerreotypes', 'daguerreotyping', 'dahlia', 'dahlias', 'dailies', 'dailiness', 'dailinesses', 'daintier', 'dainties', 'daintiest', 'daintily', 'daintiness', 'daintinesses', 'dainty', 'daiquiri', 'daiquiris', 'dairies', 'dairying', 'dairyings', 'dairymaid', 'dairymaids', 'dairyman', 'dairymen', 'dairywoman', 'dairywomen', 'daises', 'daisies', 'dalliance', 'dalliances', 'dallied', 'dallier', 'dalliers', 'dallies', 'dallying', 'dalmatian', 'dalmatians', 'damage', 'damageable', 'damaged', 'damages', 'damaging', 'damask', 'damasked', 'damasking', 'damasks', 'dammed', 'damming', 'dammit', 'damnable', 'damnably', 'damnation', 'damnations', 'damndest', 'damned', 'damnedest', 'damning', 'damped', 'dampen', 'dampened', 'dampener', 'dampeners', 'dampening', 'dampens', 'damper', 'dampers', 'dampest', 'damping', 'damply', 'dampness', 'dampnesses', 'damsel', 'damselflies', 'damselfly', 'damsels', 'damson', 'damsons', 'danced', 'dancer', 'dancers', 'dances', 'dancing', 'dancings', 'dandelion', 'dandelions', 'dander', 'danders', 'dandier', 'dandies', 'dandiest', 'dandified', 'dandifies', 'dandify', 'dandifying', 'dandle', 'dandled', 'dandles', 'dandling', 'dandruff', 'dandruffs', 'danged', 'danger', 'dangerous', 'dangerously', 'dangers', 'danging', 'dangle', 'dangled', 'dangler', 'danglers', 'dangles', 'dangling', 'danish', 'danishes', 'danker', 'dankest', 'dankly', 'dankness', 'danknesses', 'danseuse', 'danseuses', 'dapper', 'dapperer', 'dapperest', 'dapple', 'dappled', 'dapples', 'dappling', 'daredevil', 'daredevilries', 'daredevilry', 'daredevils', 'darers', 'daresay', 'daring', 'daringly', 'darings', 'darken', 'darkened', 'darkener', 'darkeners', 'darkening', 'darkens', 'darker', 'darkest', 'darkly', 'darkness', 'darknesses', 'darkroom', 'darkrooms', 'darks', 'darling', 'darlingest', 'darlings', 'darned', 'darneder', 'darnedest', 'darner', 'darners', 'darning', 'dartboard', 'dartboards', 'darted', 'darter', 'darters', 'darting', 'dashboard', 'dashboards', 'dashed', 'dasher', 'dashers', 'dashes', 'dashiki', 'dashikis', 'dashing', 'dashingly', 'dastard', 'dastardliness', 'dastardlinesses', 'dastardly', 'dastards', 'databank', 'databanks', 'database', 'databases', 'dateless', 'dateline', 'datelined', 'datelines', 'datelining', 'daters', 'dating', 'dative', 'datives', 'daubed', 'dauber', 'daubers', 'daubing', 'daughter', 'daughterly', 'daughters', 'daunted', 'daunting', 'dauntingly', 'dauntless', 'dauntlessly', 'dauntlessness', 'dauntlessnesses', 'daunts', 'dauphin', 'dauphins', 'davenport', 'davenports', 'davits', 'dawdle', 'dawdled', 'dawdler', 'dawdlers', 'dawdles', 'dawdling', 'dawned', 'dawning', 'daybed', 'daybeds', 'daybreak', 'daybreaks', 'daycare', 'daycares', 'daydream', 'daydreamed', 'daydreamer', 'daydreamers', 'daydreaming', 'daydreams', 'daydreamt', 'daylight', 'daylights', 'daytime', 'daytimes', 'dazedly', 'dazing', 'dazzle', 'dazzled', 'dazzler', 'dazzlers', 'dazzles', 'dazzling', 'dazzlingly', 'deacon', 'deaconess', 'deaconesses', 'deacons', 'deactivate', 'deactivated', 'deactivates', 'deactivating', 'deactivation', 'deactivations', 'deadbeat', 'deadbeats', 'deadbolt', 'deadbolts', 'deaden', 'deadened', 'deadening', 'deadens', 'deader', 'deadest', 'deadlier', 'deadliest', 'deadline', 'deadlines', 'deadliness', 'deadlinesses', 'deadlock', 'deadlocked', 'deadlocking', 'deadlocks', 'deadly', 'deadpan', 'deadpanned', 'deadpanning', 'deadpans', 'deadweight', 'deadweights', 'deadwood', 'deadwoods', 'deafen', 'deafened', 'deafening', 'deafeningly', 'deafens', 'deafer', 'deafest', 'deafness', 'deafnesses', 'dealer', 'dealers', 'dealership', 'dealerships', 'dealing', 'dealings', 'deaneries', 'deanery', 'deanship', 'deanships', 'dearer', 'dearest', 'dearie', 'dearies', 'dearly', 'dearness', 'dearnesses', 'dearth', 'dearths', 'deathbed', 'deathbeds', 'deathblow', 'deathblows', 'deathless', 'deathlessly', 'deathlike', 'deathly', 'deaths', 'deathtrap', 'deathtraps', 'deathwatch', 'deathwatches', 'debacle', 'debacles', 'debark', 'debarkation', 'debarkations', 'debarked', 'debarking', 'debarks', 'debarment', 'debarments', 'debarred', 'debarring', 'debars', 'debase', 'debased', 'debasement', 'debasements', 'debases', 'debasing', 'debatable', 'debate', 'debated', 'debater', 'debaters', 'debates', 'debating', 'debatings', 'debauch', 'debauched', 'debauchee', 'debauchees', 'debaucheries', 'debauchery', 'debauches', 'debauching', 'debenture', 'debentures', 'debilitate', 'debilitated', 'debilitates', 'debilitating', 'debilitation', 'debilitations', 'debilities', 'debility', 'debited', 'debiting', 'debits', 'debonair', 'debonaire', 'debonairly', 'debonairness', 'debonairnesses', 'debouch', 'debouched', 'debouches', 'debouching', 'debrief', 'debriefed', 'debriefing', 'debriefings', 'debriefs', 'debris', 'debtor', 'debtors', 'debugged', 'debugging', 'debugs', 'debunk', 'debunked', 'debunking', 'debunks', 'debutante', 'debutantes', 'debuted', 'debuting', 'debuts', 'decade', 'decadence', 'decadences', 'decadencies', 'decadency', 'decadent', 'decadently', 'decadents', 'decades', 'decaffeinate', 'decaffeinated', 'decaffeinates', 'decaffeinating', 'decafs', 'decagon', 'decagons', 'decals', 'decamp', 'decamped', 'decamping', 'decampment', 'decampments', 'decamps', 'decant', 'decanted', 'decanter', 'decanters', 'decanting', 'decants', 'decapitate', 'decapitated', 'decapitates', 'decapitating', 'decapitation', 'decapitations', 'decapitator', 'decapitators', 'decathlon', 'decathlons', 'decayed', 'decaying', 'decays', 'decease', 'deceased', 'deceases', 'deceasing', 'decedent', 'decedents', 'deceit', 'deceitful', 'deceitfully', 'deceitfulness', 'deceitfulnesses', 'deceits', 'deceive', 'deceived', 'deceiver', 'deceivers', 'deceives', 'deceiving', 'deceivingly', 'decelerate', 'decelerated', 'decelerates', 'decelerating', 'deceleration', 'decelerations', 'decelerator', 'decelerators', 'decencies', 'decency', 'decennial', 'decennials', 'decent', 'decently', 'decentralization', 'decentralizations', 'decentralize', 'decentralized', 'decentralizes', 'decentralizing', 'deception', 'deceptions', 'deceptive', 'deceptively', 'deceptiveness', 'deceptivenesses', 'decibel', 'decibels', 'decidable', 'decide', 'decided', 'decidedly', 'decides', 'deciding', 'deciduous', 'deciliter', 'deciliters', 'decimal', 'decimals', 'decimate', 'decimated', 'decimates', 'decimating', 'decimation', 'decimations', 'decimeter', 'decimeters', 'decipher', 'decipherable', 'deciphered', 'deciphering', 'deciphers', 'decision', 'decisions', 'decisive', 'decisively', 'decisiveness', 'decisivenesses', 'decked', 'deckhand', 'deckhands', 'decking', 'declaim', 'declaimed', 'declaimer', 'declaimers', 'declaiming', 'declaims', 'declamation', 'declamations', 'declamatory', 'declarable', 'declaration', 'declarations', 'declarative', 'declaratory', 'declare', 'declared', 'declarer', 'declarers', 'declares', 'declaring', 'declassification', 'declassifications', 'declassified', 'declassifies', 'declassify', 'declassifying', 'declension', 'declensions', 'declination', 'declinations', 'decline', 'declined', 'decliner', 'decliners', 'declines', 'declining', 'declivities', 'declivity', 'decode', 'decoded', 'decoder', 'decoders', 'decodes', 'decoding', 'decolletage', 'decolletages', 'decollete', 'decolonization', 'decolonizations', 'decolonize', 'decolonized', 'decolonizes', 'decolonizing', 'decommission', 'decommissioned', 'decommissioning', 'decommissions', 'decompose', 'decomposed', 'decomposes', 'decomposing', 'decomposition', 'decompositions', 'decompress', 'decompressed', 'decompresses', 'decompressing', 'decompression', 'decompressions', 'decongestant', 'decongestants', 'deconstruction', 'deconstructions', 'decontaminate', 'decontaminated', 'decontaminates', 'decontaminating', 'decontamination', 'decontaminations', 'decontrol', 'decontrolled', 'decontrolling', 'decontrols', 'decorate', 'decorated', 'decorates', 'decorating', 'decoratings', 'decoration', 'decorations', 'decorative', 'decoratively', 'decorator', 'decorators', 'decorous', 'decorously', 'decorousness', 'decorousnesses', 'decors', 'decorum', 'decorums', 'decoupage', 'decoupaged', 'decoupages', 'decoupaging', 'decoyed', 'decoying', 'decoys', 'decrease', 'decreased', 'decreases', 'decreasing', 'decreasingly', 'decree', 'decreed', 'decreeing', 'decrees', 'decrepit', 'decrepitude', 'decrepitudes', 'decrescendi', 'decrescendo', 'decrescendos', 'decried', 'decries', 'decriminalization', 'decriminalizations', 'decriminalize', 'decriminalized', 'decriminalizes', 'decriminalizing', 'decrying', 'dedicate', 'dedicated', 'dedicates', 'dedicating', 'dedication', 'dedications', 'dedicator', 'dedicators', 'dedicatory', 'deduce', 'deduced', 'deduces', 'deducible', 'deducing', 'deduct', 'deducted', 'deductible', 'deductibles', 'deducting', 'deduction', 'deductions', 'deductive', 'deductively', 'deducts', 'deeded', 'deeding', 'deejay', 'deejays', 'deemed', 'deeming', 'deepen', 'deepened', 'deepening', 'deepens', 'deeper', 'deepest', 'deeply', 'deepness', 'deepnesses', 'deerskin', 'deerskins', 'deescalate', 'deescalated', 'deescalates', 'deescalating', 'deescalation', 'deescalations', 'deface', 'defaced', 'defacement', 'defacements', 'defacer', 'defacers', 'defaces', 'defacing', 'defalcate', 'defalcated', 'defalcates', 'defalcating', 'defalcation', 'defalcations', 'defamation', 'defamations', 'defamatory', 'defame', 'defamed', 'defamer', 'defamers', 'defames', 'defaming', 'default', 'defaulted', 'defaulter', 'defaulters', 'defaulting', 'defaults', 'defeat', 'defeated', 'defeater', 'defeaters', 'defeating', 'defeatism', 'defeatisms', 'defeatist', 'defeatists', 'defeats', 'defecate', 'defecated', 'defecates', 'defecating', 'defecation', 'defecations', 'defect', 'defected', 'defecting', 'defection', 'defections', 'defective', 'defectively', 'defectiveness', 'defectivenesses', 'defectives', 'defector', 'defectors', 'defects', 'defence', 'defences', 'defend', 'defendant', 'defendants', 'defended', 'defender', 'defenders', 'defending', 'defends', 'defense', 'defensed', 'defenseless', 'defenselessly', 'defenselessness', 'defenselessnesses', 'defenses', 'defensible', 'defensibly', 'defensing', 'defensive', 'defensively', 'defensiveness', 'defensivenesses', 'defensives', 'deference', 'deferences', 'deferential', 'deferentially', 'deferment', 'deferments', 'deferral', 'deferrals', 'deferred', 'deferring', 'defers', 'deffer', 'deffest', 'defiance', 'defiances', 'defiant', 'defiantly', 'deficiencies', 'deficiency', 'deficient', 'deficit', 'deficits', 'defied', 'defies', 'defile', 'defiled', 'defilement', 'defilements', 'defiler', 'defilers', 'defiles', 'defiling', 'definable', 'define', 'defined', 'definer', 'definers', 'defines', 'defining', 'definite', 'definitely', 'definiteness', 'definitenesses', 'definition', 'definitions', 'definitive', 'definitively', 'deflate', 'deflated', 'deflates', 'deflating', 'deflation', 'deflationary', 'deflations', 'deflect', 'deflected', 'deflecting', 'deflection', 'deflections', 'deflective', 'deflector', 'deflectors', 'deflects', 'deflower', 'deflowered', 'deflowering', 'deflowers', 'defogged', 'defogger', 'defoggers', 'defogging', 'defogs', 'defoliant', 'defoliants', 'defoliate', 'defoliated', 'defoliates', 'defoliating', 'defoliation', 'defoliations', 'defoliator', 'defoliators', 'deforest', 'deforestation', 'deforestations', 'deforested', 'deforesting', 'deforests', 'deform', 'deformation', 'deformations', 'deformed', 'deforming', 'deformities', 'deformity', 'deforms', 'defraud', 'defrauded', 'defrauder', 'defrauders', 'defrauding', 'defrauds', 'defray', 'defrayal', 'defrayals', 'defrayed', 'defraying', 'defrays', 'defrock', 'defrocked', 'defrocking', 'defrocks', 'defrost', 'defrosted', 'defroster', 'defrosters', 'defrosting', 'defrosts', 'defter', 'deftest', 'deftly', 'deftness', 'deftnesses', 'defunct', 'defuse', 'defused', 'defuses', 'defusing', 'defying', 'degases', 'degassed', 'degassing', 'degeneracies', 'degeneracy', 'degenerate', 'degenerated', 'degenerates', 'degenerating', 'degeneration', 'degenerations', 'degenerative', 'degradable', 'degradation', 'degradations', 'degrade', 'degraded', 'degrades', 'degrading', 'degree', 'degrees', 'dehumanization', 'dehumanizations', 'dehumanize', 'dehumanized', 'dehumanizes', 'dehumanizing', 'dehumidified', 'dehumidifier', 'dehumidifiers', 'dehumidifies', 'dehumidify', 'dehumidifying', 'dehydrate', 'dehydrated', 'dehydrates', 'dehydrating', 'dehydration', 'dehydrations', 'dehydrator', 'dehydrators', 'dehydrogenate', 'dehydrogenated', 'dehydrogenates', 'dehydrogenating', 'deiced', 'deicer', 'deicers', 'deices', 'deicing', 'deification', 'deifications', 'deified', 'deifies', 'deifying', 'deigned', 'deigning', 'deigns', 'deisms', 'deistic', 'deists', 'deities', 'deject', 'dejected', 'dejectedly', 'dejecting', 'dejection', 'dejections', 'dejects', 'delayed', 'delayer', 'delayers', 'delaying', 'delays', 'delectable', 'delectably', 'delectation', 'delectations', 'delegate', 'delegated', 'delegates', 'delegating', 'delegation', 'delegations', 'delete', 'deleted', 'deleterious', 'deletes', 'deleting', 'deletion', 'deletions', 'deleverage!', 'deleveraged!', 'deleverages!', 'deleveraging!', 'delfts', 'delftware', 'delftwares', 'deliberate', 'deliberated', 'deliberately', 'deliberateness', 'deliberatenesses', 'deliberates', 'deliberating', 'deliberation', 'deliberations', 'deliberative', 'delicacies', 'delicacy', 'delicate', 'delicately', 'delicateness', 'delicatenesses', 'delicatessen', 'delicatessens', 'delicious', 'deliciously', 'deliciousness', 'deliciousnesses', 'delight', 'delighted', 'delightedly', 'delightful', 'delightfully', 'delighting', 'delights', 'delimit', 'delimitation', 'delimitations', 'delimited', 'delimiting', 'delimits', 'delineate', 'delineated', 'delineates', 'delineating', 'delineation', 'delineations', 'delinquencies', 'delinquency', 'delinquent', 'delinquently', 'delinquents', 'deliquesce', 'deliquesced', 'deliquescent', 'deliquesces', 'deliquescing', 'deliria', 'delirious', 'deliriously', 'deliriousness', 'deliriousnesses', 'delirium', 'deliriums', 'deliver', 'deliverance', 'deliverances', 'delivered', 'deliverer', 'deliverers', 'deliveries', 'delivering', 'delivers', 'delivery', 'deliveryman', 'deliverymen', 'delouse', 'deloused', 'delouses', 'delousing', 'delphinia', 'delphinium', 'delphiniums', 'deltas', 'delude', 'deluded', 'deludes', 'deluding', 'deluge', 'deluged', 'deluges', 'deluging', 'delusion', 'delusional', 'delusions', 'delusive', 'delusively', 'deluxe', 'delved', 'delver', 'delvers', 'delves', 'delving', 'demagnetization', 'demagnetizations', 'demagnetize', 'demagnetized', 'demagnetizes', 'demagnetizing', 'demagog', 'demagogic', 'demagogies', 'demagogs', 'demagogue', 'demagogueries', 'demagoguery', 'demagogues', 'demagogy', 'demand', 'demanded', 'demanding', 'demands', 'demarcate', 'demarcated', 'demarcates', 'demarcating', 'demarcation', 'demarcations', 'demean', 'demeaned', 'demeaning', 'demeanor', 'demeanors', 'demeanour', 'demeanours', 'demeans', 'demented', 'dementedly', 'dementia', 'dementias', 'demerit', 'demerits', 'demesne', 'demesnes', 'demigod', 'demigoddess', 'demigoddesses', 'demigods', 'demijohn', 'demijohns', 'demilitarization', 'demilitarizations', 'demilitarize', 'demilitarized', 'demilitarizes', 'demilitarizing', 'demimondaine', 'demimondaines', 'demimonde', 'demimondes', 'demise', 'demised', 'demises', 'demising', 'demitasse', 'demitasses', 'demobilization', 'demobilizations', 'demobilize', 'demobilized', 'demobilizes', 'demobilizing', 'democracies', 'democracy', 'democrat', 'democratic', 'democratically', 'democratization', 'democratizations', 'democratize', 'democratized', 'democratizes', 'democratizing', 'democrats', 'demode', 'demodulate', 'demodulated', 'demodulates', 'demodulating', 'demodulation', 'demodulations', 'demographer', 'demographers', 'demographic', 'demographically', 'demographics', 'demographies', 'demography', 'demolish', 'demolished', 'demolishes', 'demolishing', 'demolition', 'demolitions', 'demonetization', 'demonetizations', 'demonetize', 'demonetized', 'demonetizes', 'demonetizing', 'demoniac', 'demoniacal', 'demoniacally', 'demonic', 'demonologies', 'demonology', 'demons', 'demonstrable', 'demonstrably', 'demonstrate', 'demonstrated', 'demonstrates', 'demonstrating', 'demonstration', 'demonstrations', 'demonstrative', 'demonstratively', 'demonstrativeness', 'demonstrativenesses', 'demonstratives', 'demonstrator', 'demonstrators', 'demoralization', 'demoralizations', 'demoralize', 'demoralized', 'demoralizes', 'demoralizing', 'demote', 'demoted', 'demotes', 'demotic', 'demoting', 'demotion', 'demotions', 'demulcent', 'demulcents', 'demure', 'demurely', 'demureness', 'demurenesses', 'demurer', 'demurest', 'demurral', 'demurrals', 'demurred', 'demurrer', 'demurrers', 'demurring', 'demurs', 'demystification', 'demystifications', 'demystified', 'demystifies', 'demystify', 'demystifying', 'denationalize', 'denationalized', 'denationalizes', 'denationalizing', 'denature', 'denatured', 'denatures', 'denaturing', 'dendrite', 'dendrites', 'dengue', 'dengues', 'deniable', 'denial', 'denials', 'denied', 'denier', 'deniers', 'denies', 'denigrate', 'denigrated', 'denigrates', 'denigrating', 'denigration', 'denigrations', 'denims', 'denizen', 'denizens', 'denominate', 'denominated', 'denominates', 'denominating', 'denomination', 'denominational', 'denominations', 'denominator', 'denominators', 'denotation', 'denotations', 'denotative', 'denote', 'denoted', 'denotes', 'denoting', 'denouement', 'denouements', 'denounce', 'denounced', 'denouncement', 'denouncements', 'denounces', 'denouncing', 'densely', 'denseness', 'densenesses', 'denser', 'densest', 'densities', 'density', 'dental', 'dentally', 'dented', 'dentifrice', 'dentifrices', 'dentin', 'dentine', 'dentines', 'denting', 'dentins', 'dentist', 'dentistries', 'dentistry', 'dentists', 'dentition', 'dentitions', 'denture', 'dentures', 'denuclearize', 'denuclearized', 'denuclearizes', 'denuclearizing', 'denudation', 'denudations', 'denude', 'denuded', 'denudes', 'denuding', 'denunciation', 'denunciations', 'denying', 'deodorant', 'deodorants', 'deodorization', 'deodorizations', 'deodorize', 'deodorized', 'deodorizer', 'deodorizers', 'deodorizes', 'deodorizing', 'depart', 'departed', 'departing', 'department', 'departmental', 'departmentalization', 'departmentalizations', 'departmentalize', 'departmentalized', 'departmentalizes', 'departmentalizing', 'departmentally', 'departments', 'departs', 'departure', 'departures', 'depend', 'dependabilities', 'dependability', 'dependable', 'dependably', 'dependance', 'dependances', 'dependant', 'dependants', 'depended', 'dependence', 'dependences', 'dependencies', 'dependency', 'dependent', 'dependently', 'dependents', 'depending', 'depends', 'depersonalize', 'depersonalized', 'depersonalizes', 'depersonalizing', 'depict', 'depicted', 'depicting', 'depiction', 'depictions', 'depicts', 'depilatories', 'depilatory', 'deplane', 'deplaned', 'deplanes', 'deplaning', 'deplete', 'depleted', 'depletes', 'depleting', 'depletion', 'depletions', 'deplorable', 'deplorably', 'deplore', 'deplored', 'deplores', 'deploring', 'deploy', 'deployed', 'deploying', 'deployment', 'deployments', 'deploys', 'depolarization', 'depolarizations', 'depolarize', 'depolarized', 'depolarizes', 'depolarizing', 'depoliticize', 'depoliticized', 'depoliticizes', 'depoliticizing', 'deponent', 'deponents', 'depopulate', 'depopulated', 'depopulates', 'depopulating', 'depopulation', 'depopulations', 'deport', 'deportation', 'deportations', 'deported', 'deportee', 'deportees', 'deporting', 'deportment', 'deportments', 'deports', 'depose', 'deposed', 'deposes', 'deposing', 'deposit', 'deposited', 'depositing', 'deposition', 'depositions', 'depositor', 'depositories', 'depositors', 'depository', 'deposits', 'depots', 'deprave', 'depraved', 'depraves', 'depraving', 'depravities', 'depravity', 'deprecate', 'deprecated', 'deprecates', 'deprecating', 'deprecation', 'deprecations', 'deprecatory', 'depreciate', 'depreciated', 'depreciates', 'depreciating', 'depreciation', 'depreciations', 'depredation', 'depredations', 'depress', 'depressant', 'depressants', 'depressed', 'depresses', 'depressing', 'depressingly', 'depression', 'depressions', 'depressive', 'depressives', 'depressor', 'depressors', 'depressurize', 'depressurized', 'depressurizes', 'depressurizing', 'deprivation', 'deprivations', 'deprive', 'deprived', 'deprives', 'depriving', 'deprogram', 'deprogramed', 'deprograming', 'deprogrammed', 'deprogramming', 'deprograms', 'depths', 'deputation', 'deputations', 'depute', 'deputed', 'deputes', 'deputies', 'deputing', 'deputize', 'deputized', 'deputizes', 'deputizing', 'deputy', 'derail', 'derailed', 'derailing', 'derailleur', 'derailleurs', 'derailment', 'derailments', 'derails', 'derange', 'deranged', 'derangement', 'derangements', 'deranges', 'deranging', 'derbies', 'deregulate', 'deregulated', 'deregulates', 'deregulating', 'deregulation', 'deregulations', 'derelict', 'dereliction', 'derelictions', 'derelicts', 'deride', 'derided', 'derides', 'deriding', 'derision', 'derisions', 'derisive', 'derisively', 'derisiveness', 'derisivenesses', 'derisory', 'derivation', 'derivations', 'derivative', 'derivatives', 'derive', 'derived', 'derives', 'deriving', 'dermal', 'dermatitides', 'dermatitis', 'dermatitises', 'dermatological', 'dermatologies', 'dermatologist', 'dermatologists', 'dermatology', 'dermis', 'dermises', 'derogate', 'derogated', 'derogates', 'derogating', 'derogation', 'derogations', 'derogatorily', 'derogatory', 'derrick', 'derricks', 'derriere', 'derrieres', 'derringer', 'derringers', 'dervish', 'dervishes', 'desalinate', 'desalinated', 'desalinates', 'desalinating', 'desalination', 'desalinations', 'desalinization', 'desalinizations', 'desalinize', 'desalinized', 'desalinizes', 'desalinizing', 'desalt', 'desalted', 'desalting', 'desalts', 'descant', 'descanted', 'descanting', 'descants', 'descend', 'descendant', 'descendants', 'descended', 'descendent', 'descendents', 'descending', 'descends', 'descent', 'descents', 'describable', 'describe', 'described', 'describer', 'describers', 'describes', 'describing', 'descried', 'descries', 'description', 'descriptions', 'descriptive', 'descriptively', 'descriptiveness', 'descriptivenesses', 'descry', 'descrying', 'desecrate', 'desecrated', 'desecrates', 'desecrating', 'desecration', 'desecrations', 'desegregate', 'desegregated', 'desegregates', 'desegregating', 'desegregation', 'desegregations', 'desensitization', 'desensitizations', 'desensitize', 'desensitized', 'desensitizes', 'desensitizing', 'desert', 'deserted', 'deserter', 'deserters', 'deserting', 'desertion', 'desertions', 'deserts', 'deserve', 'deserved', 'deservedly', 'deserves', 'deserving', 'deshabille', 'deshabilles', 'desiccant', 'desiccants', 'desiccate', 'desiccated', 'desiccates', 'desiccating', 'desiccation', 'desiccations', 'desiccator', 'desiccators', 'desiderata', 'desideratum', 'design', 'designate', 'designated', 'designates', 'designating', 'designation', 'designations', 'designed', 'designer', 'designers', 'designing', 'designings', 'designs', 'desirabilities', 'desirability', 'desirable', 'desirableness', 'desirablenesses', 'desirably', 'desire', 'desired', 'desires', 'desiring', 'desirous', 'desist', 'desisted', 'desisting', 'desists', 'desktop', 'desktops', 'desolate', 'desolated', 'desolately', 'desolateness', 'desolatenesses', 'desolates', 'desolating', 'desolation', 'desolations', 'despair', 'despaired', 'despairing', 'despairingly', 'despairs', 'despatch', 'despatched', 'despatches', 'despatching', 'desperado', 'desperadoes', 'desperados', 'desperate', 'desperately', 'desperateness', 'desperatenesses', 'desperation', 'desperations', 'despicable', 'despicably', 'despise', 'despised', 'despises', 'despising', 'despite', 'despoil', 'despoiled', 'despoiler', 'despoilers', 'despoiling', 'despoilment', 'despoilments', 'despoils', 'despoliation', 'despoliations', 'despondence', 'despondences', 'despondencies', 'despondency', 'despondent', 'despondently', 'despot', 'despotic', 'despotically', 'despotism', 'despotisms', 'despots', 'dessert', 'desserts', 'destabilization', 'destabilizations', 'destabilize', 'destabilized', 'destabilizes', 'destabilizing', 'destination', 'destinations', 'destine', 'destined', 'destines', 'destinies', 'destining', 'destiny', 'destitute', 'destitution', 'destitutions', 'destroy', 'destroyed', 'destroyer', 'destroyers', 'destroying', 'destroys', 'destruct', 'destructed', 'destructibilities', 'destructibility', 'destructible', 'destructing', 'destruction', 'destructions', 'destructive', 'destructively', 'destructiveness', 'destructivenesses', 'destructs', 'desuetude', 'desuetudes', 'desultorily', 'desultory', 'detach', 'detachable', 'detached', 'detaches', 'detaching', 'detachment', 'detachments', 'detail', 'detailed', 'detailing', 'details', 'detain', 'detained', 'detainee', 'detainees', 'detaining', 'detainment', 'detainments', 'detains', 'detect', 'detectable', 'detected', 'detectible', 'detecting', 'detection', 'detections', 'detective', 'detectives', 'detector', 'detectors', 'detects', 'detente', 'detentes', 'detention', 'detentions', 'detergent', 'detergents', 'deteriorate', 'deteriorated', 'deteriorates', 'deteriorating', 'deterioration', 'deteriorations', 'determent', 'determents', 'determinable', 'determinant', 'determinants', 'determinate', 'determination', 'determinations', 'determine', 'determined', 'determinedly', 'determiner', 'determiners', 'determines', 'determining', 'determinism', 'determinisms', 'deterred', 'deterrence', 'deterrences', 'deterrent', 'deterrents', 'deterring', 'deters', 'detest', 'detestable', 'detestably', 'detestation', 'detestations', 'detested', 'detesting', 'detests', 'dethrone', 'dethroned', 'dethronement', 'dethronements', 'dethrones', 'dethroning', 'detonate', 'detonated', 'detonates', 'detonating', 'detonation', 'detonations', 'detonator', 'detonators', 'detour', 'detoured', 'detouring', 'detours', 'detoxed', 'detoxes', 'detoxification', 'detoxifications', 'detoxified', 'detoxifies', 'detoxify', 'detoxifying', 'detoxing', 'detract', 'detracted', 'detracting', 'detraction', 'detractions', 'detractor', 'detractors', 'detracts', 'detriment', 'detrimental', 'detrimentally', 'detriments', 'detritus', 'deuces', 'deuterium', 'deuteriums', 'devaluation', 'devaluations', 'devalue', 'devalued', 'devalues', 'devaluing', 'devastate', 'devastated', 'devastates', 'devastating', 'devastatingly', 'devastation', 'devastations', 'devastator', 'devastators', 'develop', 'developed', 'developer', 'developers', 'developing', 'development', 'developmental', 'developmentally', 'developments', 'develops', 'deviance', 'deviances', 'deviancies', 'deviancy', 'deviant', 'deviants', 'deviate', 'deviated', 'deviates', 'deviating', 'deviation', 'deviations', 'device', 'devices', 'deviled', 'deviling', 'devilish', 'devilishly', 'devilishness', 'devilishnesses', 'devilled', 'devilling', 'devilment', 'devilments', 'devilries', 'devilry', 'devils', 'deviltries', 'deviltry', 'devious', 'deviously', 'deviousness', 'deviousnesses', 'devise', 'devised', 'devises', 'devising', 'devitalize', 'devitalized', 'devitalizes', 'devitalizing', 'devoid', 'devolution', 'devolutions', 'devolve', 'devolved', 'devolves', 'devolving', 'devote', 'devoted', 'devotedly', 'devotee', 'devotees', 'devotes', 'devoting', 'devotion', 'devotional', 'devotionals', 'devotions', 'devour', 'devoured', 'devouring', 'devours', 'devout', 'devouter', 'devoutest', 'devoutly', 'devoutness', 'devoutnesses', 'dewberries', 'dewberry', 'dewclaw', 'dewclaws', 'dewdrop', 'dewdrops', 'dewier', 'dewiest', 'dewiness', 'dewinesses', 'dewlap', 'dewlaps', 'dexterities', 'dexterity', 'dexterous', 'dexterously', 'dexterousness', 'dexterousnesses', 'dextrose', 'dextroses', 'dextrous', 'dhotis', 'diabetes', 'diabetic', 'diabetics', 'diabolic', 'diabolical', 'diabolically', 'diacritic', 'diacritical', 'diacritics', 'diadem', 'diadems', 'diaereses', 'diaeresis', 'diagnose', 'diagnosed', 'diagnoses', 'diagnosing', 'diagnosis', 'diagnostic', 'diagnostically', 'diagnostician', 'diagnosticians', 'diagnostics', 'diagonal', 'diagonally', 'diagonals', 'diagram', 'diagramed', 'diagraming', 'diagrammatic', 'diagrammatically', 'diagrammed', 'diagramming', 'diagrams', 'dialect', 'dialectal', 'dialectic', 'dialectical', 'dialectics', 'dialects', 'dialed', 'dialing', 'dialled', 'dialling', 'dialog', 'dialogs', 'dialogue', 'dialogues', 'dialyses', 'dialysis', 'diameter', 'diameters', 'diametric', 'diametrical', 'diametrically', 'diamond', 'diamondback', 'diamondbacks', 'diamonds', 'diapason', 'diapasons', 'diaper', 'diapered', 'diapering', 'diapers', 'diaphanous', 'diaphragm', 'diaphragmatic', 'diaphragms', 'diaries', 'diarist', 'diarists', 'diarrhea', 'diarrheas', 'diarrhoea', 'diarrhoeas', 'diaspora', 'diasporas', 'diastase', 'diastases', 'diastole', 'diastoles', 'diastolic', 'diathermies', 'diathermy', 'diatom', 'diatomic', 'diatoms', 'diatonic', 'diatribe', 'diatribes', 'dibble', 'dibbled', 'dibbles', 'dibbling', 'dichotomies', 'dichotomous', 'dichotomy', 'dicier', 'diciest', 'dicing', 'dicker', 'dickered', 'dickering', 'dickers', 'dickey', 'dickeys', 'dickies', 'dicotyledon', 'dicotyledonous', 'dicotyledons', 'dictate', 'dictated', 'dictates', 'dictating', 'dictation', 'dictations', 'dictator', 'dictatorial', 'dictatorially', 'dictators', 'dictatorship', 'dictatorships', 'diction', 'dictionaries', 'dictionary', 'dictions', 'dictum', 'dictums', 'didactic', 'didactically', 'diddle', 'diddled', 'diddler', 'diddlers', 'diddles', 'diddling', 'didoes', 'diehard', 'diehards', 'dielectric', 'dielectrics', 'diereses', 'dieresis', 'diesel', 'dieseled', 'dieseling', 'diesels', 'dietaries', 'dietary', 'dieted', 'dieter', 'dieters', 'dietetic', 'dietetics', 'dietician', 'dieticians', 'dieting', 'dietitian', 'dietitians', 'differ', 'differed', 'difference', 'differences', 'different', 'differential', 'differentials', 'differentiate', 'differentiated', 'differentiates', 'differentiating', 'differentiation', 'differentiations', 'differently', 'differing', 'differs', 'difficult', 'difficulties', 'difficultly', 'difficulty', 'diffidence', 'diffidences', 'diffident', 'diffidently', 'diffraction', 'diffractions', 'diffuse', 'diffused', 'diffusely', 'diffuseness', 'diffusenesses', 'diffuses', 'diffusing', 'diffusion', 'diffusions', 'diffusive', 'digerati', 'digest', 'digested', 'digestibilities', 'digestibility', 'digestible', 'digesting', 'digestion', 'digestions', 'digestive', 'digests', 'digger', 'diggers', 'digging', 'diggings', 'digital', 'digitalis', 'digitalises', 'digitally', 'digitize', 'digitized', 'digitizes', 'digitizing', 'digits', 'dignified', 'dignifies', 'dignify', 'dignifying', 'dignitaries', 'dignitary', 'dignities', 'dignity', 'digraph', 'digraphs', 'digress', 'digressed', 'digresses', 'digressing', 'digression', 'digressions', 'digressive', 'diking', 'dilapidated', 'dilapidation', 'dilapidations', 'dilatation', 'dilatations', 'dilate', 'dilated', 'dilates', 'dilating', 'dilation', 'dilations', 'dilator', 'dilators', 'dilatory', 'dilemma', 'dilemmas', 'dilettante', 'dilettantes', 'dilettanti', 'dilettantish', 'dilettantism', 'dilettantisms', 'diligence', 'diligences', 'diligent', 'diligently', 'dillies', 'dillydallied', 'dillydallies', 'dillydally', 'dillydallying', 'dilute', 'diluted', 'dilutes', 'diluting', 'dilution', 'dilutions', 'dimension', 'dimensional', 'dimensions', 'diminish', 'diminished', 'diminishes', 'diminishing', 'diminuendo', 'diminuendoes', 'diminuendos', 'diminution', 'diminutions', 'diminutive', 'diminutives', 'dimities', 'dimity', 'dimmed', 'dimmer', 'dimmers', 'dimmest', 'dimming', 'dimness', 'dimnesses', 'dimple', 'dimpled', 'dimples', 'dimpling', 'dimply', 'dimwit', 'dimwits', 'dimwitted', 'dinars', 'diners', 'dinette', 'dinettes', 'dingbat', 'dingbats', 'dingdong', 'dingdongs', 'dinged', 'dinghies', 'dinghy', 'dingier', 'dingiest', 'dingily', 'dinginess', 'dinginesses', 'dinging', 'dingle', 'dingles', 'dingoes', 'dingus', 'dinguses', 'dining', 'dinkier', 'dinkies', 'dinkiest', 'dinned', 'dinner', 'dinnered', 'dinnering', 'dinners', 'dinnertime', 'dinnertimes', 'dinnerware', 'dinnerwares', 'dinning', 'dinosaur', 'dinosaurs', 'dints', 'diocesan', 'diocesans', 'diocese', 'dioceses', 'diodes', 'diorama', 'dioramas', 'dioxide', 'dioxides', 'dioxin', 'dioxins', 'diphtheria', 'diphtherias', 'diphthong', 'diphthongs', 'diploid', 'diploids', 'diploma', 'diplomacies', 'diplomacy', 'diplomas', 'diplomat', 'diplomata', 'diplomatic', 'diplomatically', 'diplomatist', 'diplomatists', 'diplomats', 'dipole', 'dipoles', 'dipped', 'dipper', 'dippers', 'dippier', 'dippiest', 'dipping', 'dipsomania', 'dipsomaniac', 'dipsomaniacs', 'dipsomanias', 'dipstick', 'dipsticks', 'dipterous', 'diptych', 'diptychs', 'direct', 'directed', 'directer', 'directest', 'directing', 'direction', 'directional', 'directions', 'directive', 'directives', 'directly', 'directness', 'directnesses', 'director', 'directorate', 'directorates', 'directorial', 'directories', 'directors', 'directorship', 'directorships', 'directory', 'directs', 'direful', 'direly', 'direst', 'dirges', 'dirigible', 'dirigibles', 'dirndl', 'dirndls', 'dirtied', 'dirtier', 'dirties', 'dirtiest', 'dirtily', 'dirtiness', 'dirtinesses', 'dirts', 'dirtying', 'disabilities', 'disability', 'disable', 'disabled', 'disablement', 'disablements', 'disables', 'disabling', 'disabuse', 'disabused', 'disabuses', 'disabusing', 'disadvantage', 'disadvantaged', 'disadvantageous', 'disadvantageously', 'disadvantages', 'disadvantaging', 'disaffect', 'disaffected', 'disaffecting', 'disaffection', 'disaffections', 'disaffects', 'disaffiliate', 'disaffiliated', 'disaffiliates', 'disaffiliating', 'disaffiliation', 'disaffiliations', 'disagree', 'disagreeable', 'disagreeableness', 'disagreeablenesses', 'disagreeably', 'disagreed', 'disagreeing', 'disagreement', 'disagreements', 'disagrees', 'disallow', 'disallowed', 'disallowing', 'disallows', 'disappear', 'disappearance', 'disappearances', 'disappeared', 'disappearing', 'disappears', 'disappoint', 'disappointed', 'disappointing', 'disappointingly', 'disappointment', 'disappointments', 'disappoints', 'disapprobation', 'disapprobations', 'disapproval', 'disapprovals', 'disapprove', 'disapproved', 'disapproves', 'disapproving', 'disapprovingly', 'disarm', 'disarmament', 'disarmaments', 'disarmed', 'disarming', 'disarmingly', 'disarms', 'disarrange', 'disarranged', 'disarrangement', 'disarrangements', 'disarranges', 'disarranging', 'disarray', 'disarrayed', 'disarraying', 'disarrays', 'disassemble', 'disassembled', 'disassembles', 'disassembling', 'disassociate', 'disassociated', 'disassociates', 'disassociating', 'disassociation', 'disassociations', 'disaster', 'disasters', 'disastrous', 'disastrously', 'disavow', 'disavowal', 'disavowals', 'disavowed', 'disavowing', 'disavows', 'disband', 'disbanded', 'disbanding', 'disbandment', 'disbandments', 'disbands', 'disbar', 'disbarment', 'disbarments', 'disbarred', 'disbarring', 'disbars', 'disbelief', 'disbeliefs', 'disbelieve', 'disbelieved', 'disbeliever', 'disbelievers', 'disbelieves', 'disbelieving', 'disbelievingly', 'disbursal', 'disbursals', 'disburse', 'disbursed', 'disbursement', 'disbursements', 'disburses', 'disbursing', 'discard', 'discarded', 'discarding', 'discards', 'discern', 'discerned', 'discernible', 'discernibly', 'discerning', 'discerningly', 'discernment', 'discernments', 'discerns', 'discharge', 'discharged', 'discharges', 'discharging', 'disciple', 'disciples', 'discipleship', 'discipleships', 'disciplinarian', 'disciplinarians', 'disciplinary', 'discipline', 'disciplined', 'disciplines', 'disciplining', 'disclaim', 'disclaimed', 'disclaimer', 'disclaimers', 'disclaiming', 'disclaims', 'disclose', 'disclosed', 'discloses', 'disclosing', 'disclosure', 'disclosures', 'discoed', 'discographies', 'discography', 'discoing', 'discolor', 'discoloration', 'discolorations', 'discolored', 'discoloring', 'discolors', 'discolour', 'discoloured', 'discolouring', 'discolours', 'discombobulate', 'discombobulated', 'discombobulates', 'discombobulating', 'discombobulation', 'discombobulations', 'discomfit', 'discomfited', 'discomfiting', 'discomfits', 'discomfiture', 'discomfitures', 'discomfort', 'discomforted', 'discomforting', 'discomforts', 'discommode', 'discommoded', 'discommodes', 'discommoding', 'discompose', 'discomposed', 'discomposes', 'discomposing', 'discomposure', 'discomposures', 'disconcert', 'disconcerted', 'disconcerting', 'disconcertingly', 'disconcerts', 'disconnect', 'disconnected', 'disconnectedly', 'disconnectedness', 'disconnectednesses', 'disconnecting', 'disconnection', 'disconnections', 'disconnects', 'disconsolate', 'disconsolately', 'discontent', 'discontented', 'discontentedly', 'discontenting', 'discontentment', 'discontentments', 'discontents', 'discontinuance', 'discontinuances', 'discontinuation', 'discontinuations', 'discontinue', 'discontinued', 'discontinues', 'discontinuing', 'discontinuities', 'discontinuity', 'discontinuous', 'discontinuously', 'discord', 'discordance', 'discordances', 'discordant', 'discordantly', 'discorded', 'discording', 'discords', 'discos', 'discotheque', 'discotheques', 'discount', 'discounted', 'discountenance', 'discountenanced', 'discountenances', 'discountenancing', 'discounter', 'discounters', 'discounting', 'discounts', 'discourage', 'discouraged', 'discouragement', 'discouragements', 'discourages', 'discouraging', 'discouragingly', 'discourse', 'discoursed', 'discourses', 'discoursing', 'discourteous', 'discourteously', 'discourtesies', 'discourtesy', 'discover', 'discovered', 'discoverer', 'discoverers', 'discoveries', 'discovering', 'discovers', 'discovery', 'discredit', 'discreditable', 'discreditably', 'discredited', 'discrediting', 'discredits', 'discreet', 'discreeter', 'discreetest', 'discreetly', 'discreetness', 'discreetnesses', 'discrepancies', 'discrepancy', 'discrepant', 'discrete', 'discretely', 'discreteness', 'discretenesses', 'discretion', 'discretionary', 'discretions', 'discriminate', 'discriminated', 'discriminates', 'discriminating', 'discrimination', 'discriminations', 'discriminator', 'discriminators', 'discriminatory', 'discursive', 'discursively', 'discursiveness', 'discursivenesses', 'discus', 'discuses', 'discuss', 'discussant', 'discussants', 'discussed', 'discusses', 'discussing', 'discussion', 'discussions', 'disdain', 'disdained', 'disdainful', 'disdainfully', 'disdaining', 'disdains', 'disease', 'diseased', 'diseases', 'disembark', 'disembarkation', 'disembarkations', 'disembarked', 'disembarking', 'disembarks', 'disembodied', 'disembodies', 'disembodiment', 'disembodiments', 'disembody', 'disembodying', 'disembowel', 'disemboweled', 'disemboweling', 'disembowelled', 'disembowelling', 'disembowelment', 'disembowelments', 'disembowels', 'disenchant', 'disenchanted', 'disenchanting', 'disenchantment', 'disenchantments', 'disenchants', 'disencumber', 'disencumbered', 'disencumbering', 'disencumbers', 'disenfranchise', 'disenfranchised', 'disenfranchisement', 'disenfranchisements', 'disenfranchises', 'disenfranchising', 'disengage', 'disengaged', 'disengagement', 'disengagements', 'disengages', 'disengaging', 'disentangle', 'disentangled', 'disentanglement', 'disentanglements', 'disentangles', 'disentangling', 'disequilibria', 'disequilibrium', 'disequilibriums', 'disestablish', 'disestablished', 'disestablishes', 'disestablishing', 'disestablishment', 'disestablishments', 'disesteem', 'disesteemed', 'disesteeming', 'disesteems', 'disfavor', 'disfavored', 'disfavoring', 'disfavors', 'disfavour', 'disfavours', 'disfigure', 'disfigured', 'disfigurement', 'disfigurements', 'disfigures', 'disfiguring', 'disfranchise', 'disfranchised', 'disfranchisement', 'disfranchisements', 'disfranchises', 'disfranchising', 'disgorge', 'disgorged', 'disgorgement', 'disgorgements', 'disgorges', 'disgorging', 'disgrace', 'disgraced', 'disgraceful', 'disgracefully', 'disgracefulness', 'disgracefulnesses', 'disgraces', 'disgracing', 'disgruntle', 'disgruntled', 'disgruntlement', 'disgruntlements', 'disgruntles', 'disgruntling', 'disguise', 'disguised', 'disguises', 'disguising', 'disgust', 'disgusted', 'disgustedly', 'disgusting', 'disgustingly', 'disgusts', 'dishabille', 'dishabilles', 'disharmonies', 'disharmonious', 'disharmony', 'dishcloth', 'dishcloths', 'dishearten', 'disheartened', 'disheartening', 'dishearteningly', 'disheartens', 'dished', 'dishes', 'dishevel', 'disheveled', 'disheveling', 'dishevelled', 'dishevelling', 'dishevelment', 'dishevelments', 'dishevels', 'dishing', 'dishonest', 'dishonesties', 'dishonestly', 'dishonesty', 'dishonor', 'dishonorable', 'dishonorably', 'dishonored', 'dishonoring', 'dishonors', 'dishpan', 'dishpans', 'dishrag', 'dishrags', 'dishtowel', 'dishtowels', 'dishware', 'dishwares', 'dishwasher', 'dishwashers', 'dishwater', 'dishwaters', 'disillusion', 'disillusioned', 'disillusioning', 'disillusionment', 'disillusionments', 'disillusions', 'disinclination', 'disinclinations', 'disincline', 'disinclined', 'disinclines', 'disinclining', 'disinfect', 'disinfectant', 'disinfectants', 'disinfected', 'disinfecting', 'disinfection', 'disinfections', 'disinfects', 'disinflation', 'disinflations', 'disinformation', 'disinformations', 'disingenuous', 'disingenuously', 'disinherit', 'disinheritance', 'disinheritances', 'disinherited', 'disinheriting', 'disinherits', 'disintegrate', 'disintegrated', 'disintegrates', 'disintegrating', 'disintegration', 'disintegrations', 'disinter', 'disinterest', 'disinterested', 'disinterestedly', 'disinterestedness', 'disinterestednesses', 'disinterests', 'disinterment', 'disinterments', 'disinterred', 'disinterring', 'disinters', 'disinvestment', 'disinvestments', 'disjoint', 'disjointed', 'disjointedly', 'disjointedness', 'disjointednesses', 'disjointing', 'disjoints', 'disjunctive', 'diskette', 'diskettes', 'dislike', 'disliked', 'dislikes', 'disliking', 'dislocate', 'dislocated', 'dislocates', 'dislocating', 'dislocation', 'dislocations', 'dislodge', 'dislodged', 'dislodges', 'dislodging', 'disloyal', 'disloyally', 'disloyalties', 'disloyalty', 'dismal', 'dismally', 'dismantle', 'dismantled', 'dismantlement', 'dismantlements', 'dismantles', 'dismantling', 'dismay', 'dismayed', 'dismaying', 'dismays', 'dismember', 'dismembered', 'dismembering', 'dismemberment', 'dismemberments', 'dismembers', 'dismiss', 'dismissal', 'dismissals', 'dismissed', 'dismisses', 'dismissing', 'dismissive', 'dismissively', 'dismount', 'dismounted', 'dismounting', 'dismounts', 'disobedience', 'disobediences', 'disobedient', 'disobediently', 'disobey', 'disobeyed', 'disobeying', 'disobeys', 'disoblige', 'disobliged', 'disobliges', 'disobliging', 'disorder', 'disordered', 'disordering', 'disorderliness', 'disorderlinesses', 'disorderly', 'disorders', 'disorganization', 'disorganizations', 'disorganize', 'disorganized', 'disorganizes', 'disorganizing', 'disorient', 'disorientate', 'disorientated', 'disorientates', 'disorientating', 'disorientation', 'disorientations', 'disoriented', 'disorienting', 'disorients', 'disown', 'disowned', 'disowning', 'disowns', 'disparage', 'disparaged', 'disparagement', 'disparagements', 'disparages', 'disparaging', 'disparagingly', 'disparate', 'disparately', 'disparities', 'disparity', 'dispassion', 'dispassionate', 'dispassionately', 'dispassions', 'dispatch', 'dispatched', 'dispatcher', 'dispatchers', 'dispatches', 'dispatching', 'dispel', 'dispelled', 'dispelling', 'dispels', 'dispensable', 'dispensaries', 'dispensary', 'dispensation', 'dispensations', 'dispense', 'dispensed', 'dispenser', 'dispensers', 'dispenses', 'dispensing', 'dispersal', 'dispersals', 'disperse', 'dispersed', 'disperses', 'dispersing', 'dispersion', 'dispersions', 'dispirit', 'dispirited', 'dispiriting', 'dispirits', 'displace', 'displaced', 'displacement', 'displacements', 'displaces', 'displacing', 'display', 'displayed', 'displaying', 'displays', 'displease', 'displeased', 'displeases', 'displeasing', 'displeasure', 'displeasures', 'disport', 'disported', 'disporting', 'disports', 'disposable', 'disposables', 'disposal', 'disposals', 'dispose', 'disposed', 'disposer', 'disposers', 'disposes', 'disposing', 'disposition', 'dispositions', 'dispossess', 'dispossessed', 'dispossesses', 'dispossessing', 'dispossession', 'dispossessions', 'dispraise', 'dispraised', 'dispraises', 'dispraising', 'disproof', 'disproofs', 'disproportion', 'disproportional', 'disproportionate', 'disproportionately', 'disproportions', 'disprovable', 'disprove', 'disproved', 'disproven', 'disproves', 'disproving', 'disputable', 'disputably', 'disputant', 'disputants', 'disputation', 'disputations', 'disputatious', 'disputatiously', 'dispute', 'disputed', 'disputer', 'disputers', 'disputes', 'disputing', 'disqualification', 'disqualifications', 'disqualified', 'disqualifies', 'disqualify', 'disqualifying', 'disquiet', 'disquieted', 'disquieting', 'disquiets', 'disquietude', 'disquietudes', 'disquisition', 'disquisitions', 'disregard', 'disregarded', 'disregardful', 'disregarding', 'disregards', 'disrepair', 'disrepairs', 'disreputable', 'disreputably', 'disrepute', 'disreputes', 'disrespect', 'disrespected', 'disrespectful', 'disrespectfully', 'disrespecting', 'disrespects', 'disrobe', 'disrobed', 'disrobes', 'disrobing', 'disrupt', 'disrupted', 'disrupting', 'disruption', 'disruptions', 'disruptive', 'disruptively', 'disrupts', 'dissatisfaction', 'dissatisfactions', 'dissatisfied', 'dissatisfies', 'dissatisfy', 'dissatisfying', 'dissect', 'dissected', 'dissecting', 'dissection', 'dissections', 'dissector', 'dissectors', 'dissects', 'dissed', 'dissemblance', 'dissemblances', 'dissemble', 'dissembled', 'dissembler', 'dissemblers', 'dissembles', 'dissembling', 'disseminate', 'disseminated', 'disseminates', 'disseminating', 'dissemination', 'disseminations', 'dissension', 'dissensions', 'dissent', 'dissented', 'dissenter', 'dissenters', 'dissenting', 'dissents', 'dissertation', 'dissertations', 'disservice', 'disservices', 'disses', 'dissever', 'dissevered', 'dissevering', 'dissevers', 'dissidence', 'dissidences', 'dissident', 'dissidents', 'dissimilar', 'dissimilarities', 'dissimilarity', 'dissimilitude', 'dissimilitudes', 'dissimulate', 'dissimulated', 'dissimulates', 'dissimulating', 'dissimulation', 'dissimulations', 'dissimulator', 'dissimulators', 'dissing', 'dissipate', 'dissipated', 'dissipates', 'dissipating', 'dissipation', 'dissipations', 'dissociate', 'dissociated', 'dissociates', 'dissociating', 'dissociation', 'dissociations', 'dissoluble', 'dissolute', 'dissolutely', 'dissoluteness', 'dissolutenesses', 'dissolution', 'dissolutions', 'dissolve', 'dissolved', 'dissolves', 'dissolving', 'dissonance', 'dissonances', 'dissonant', 'dissuade', 'dissuaded', 'dissuades', 'dissuading', 'dissuasion', 'dissuasions', 'dissuasive', 'distaff', 'distaffs', 'distal', 'distally', 'distance', 'distanced', 'distances', 'distancing', 'distant', 'distantly', 'distaste', 'distasteful', 'distastefully', 'distastefulness', 'distastefulnesses', 'distastes', 'distemper', 'distempers', 'distend', 'distended', 'distending', 'distends', 'distension', 'distensions', 'distention', 'distentions', 'distil', 'distill', 'distillate', 'distillates', 'distillation', 'distillations', 'distilled', 'distiller', 'distilleries', 'distillers', 'distillery', 'distilling', 'distills', 'distils', 'distinct', 'distincter', 'distinctest', 'distinction', 'distinctions', 'distinctive', 'distinctively', 'distinctiveness', 'distinctivenesses', 'distinctly', 'distinctness', 'distinctnesses', 'distinguish', 'distinguishable', 'distinguished', 'distinguishes', 'distinguishing', 'distort', 'distorted', 'distorting', 'distortion', 'distortions', 'distorts', 'distract', 'distracted', 'distractedly', 'distracting', 'distraction', 'distractions', 'distracts', 'distrait', 'distraught', 'distress', 'distressed', 'distresses', 'distressful', 'distressing', 'distressingly', 'distribute', 'distributed', 'distributes', 'distributing', 'distribution', 'distributions', 'distributive', 'distributively', 'distributor', 'distributors', 'district', 'districts', 'distrust', 'distrusted', 'distrustful', 'distrustfully', 'distrusting', 'distrusts', 'disturb', 'disturbance', 'disturbances', 'disturbed', 'disturber', 'disturbers', 'disturbing', 'disturbs', 'disunion', 'disunions', 'disunite', 'disunited', 'disunites', 'disunities', 'disuniting', 'disunity', 'disuse', 'disused', 'disuses', 'disusing', 'ditched', 'ditches', 'ditching', 'dither', 'dithered', 'ditherer', 'ditherers', 'dithering', 'dithers', 'ditsier', 'ditsiest', 'ditties', 'dittoed', 'dittoes', 'dittoing', 'dittos', 'ditzes', 'ditzier', 'ditziest', 'diuretic', 'diuretics', 'diurnal', 'diurnally', 'divalent', 'divans', 'diverge', 'diverged', 'divergence', 'divergences', 'divergent', 'diverges', 'diverging', 'divers', 'diverse', 'diversely', 'diverseness', 'diversenesses', 'diversification', 'diversifications', 'diversified', 'diversifies', 'diversify', 'diversifying', 'diversion', 'diversionary', 'diversions', 'diversities', 'diversity', 'divert', 'diverted', 'diverticulitis', 'diverticulitises', 'diverting', 'diverts', 'divest', 'divested', 'divesting', 'divestiture', 'divestitures', 'divestment', 'divestments', 'divests', 'dividable', 'divide', 'divided', 'dividend', 'dividends', 'divider', 'dividers', 'divides', 'dividing', 'divination', 'divinations', 'divine', 'divined', 'divinely', 'diviner', 'diviners', 'divines', 'divinest', 'diving', 'divings', 'divining', 'divinities', 'divinity', 'divisibilities', 'divisibility', 'divisible', 'division', 'divisional', 'divisions', 'divisive', 'divisively', 'divisiveness', 'divisivenesses', 'divisor', 'divisors', 'divorce', 'divorced', 'divorcee', 'divorcees', 'divorcement', 'divorcements', 'divorces', 'divorcing', 'divots', 'divulge', 'divulged', 'divulges', 'divulging', 'divvied', 'divvies', 'divvying', 'dixieland', 'dixielands', 'dizzied', 'dizzier', 'dizzies', 'dizziest', 'dizzily', 'dizziness', 'dizzinesses', 'dizzying', 'djellaba', 'djellabah', 'djellabahs', 'djellabas', 'djinns', 'doable', 'dobbin', 'dobbins', 'doberman', 'dobermans', 'docent', 'docents', 'docile', 'docilely', 'docilities', 'docility', 'docked', 'docket', 'docketed', 'docketing', 'dockets', 'docking', 'dockworker', 'dockworkers', 'dockyard', 'dockyards', 'doctor', 'doctoral', 'doctorate', 'doctorates', 'doctored', 'doctoring', 'doctors', 'doctrinaire', 'doctrinaires', 'doctrinal', 'doctrine', 'doctrines', 'docudrama', 'docudramas', 'document', 'documentaries', 'documentary', 'documentation', 'documentations', 'documented', 'documenting', 'documents', 'dodder', 'doddered', 'doddering', 'dodders', 'dodged', 'dodger', 'dodgers', 'dodges', 'dodging', 'dodoes', 'doeskin', 'doeskins', 'doffed', 'doffing', 'dogcart', 'dogcarts', 'dogcatcher', 'dogcatchers', 'dogear', 'dogeared', 'dogearing', 'dogears', 'dogfight', 'dogfights', 'dogfish', 'dogfishes', 'dogged', 'doggedly', 'doggedness', 'doggednesses', 'doggerel', 'doggerels', 'doggie', 'doggier', 'doggies', 'doggiest', 'dogging', 'doggone', 'doggoned', 'doggoneder', 'doggonedest', 'doggoner', 'doggones', 'doggonest', 'doggoning', 'doghouse', 'doghouses', 'dogies', 'dogleg', 'doglegged', 'doglegging', 'doglegs', 'dogmas', 'dogmata', 'dogmatic', 'dogmatically', 'dogmatism', 'dogmatisms', 'dogmatist', 'dogmatists', 'dogtrot', 'dogtrots', 'dogtrotted', 'dogtrotting', 'dogwood', 'dogwoods', 'doilies', 'doings', 'doldrums', 'doleful', 'dolefully', 'dolefulness', 'dolefulnesses', 'doling', 'dollar', 'dollars', 'dolled', 'dollhouse', 'dollhouses', 'dollies', 'dolling', 'dollop', 'dolloped', 'dolloping', 'dollops', 'dolmen', 'dolmens', 'dolomite', 'dolomites', 'dolorous', 'dolorously', 'dolors', 'dolphin', 'dolphins', 'doltish', 'doltishly', 'doltishness', 'doltishnesses', 'domain', 'domains', 'domestic', 'domestically', 'domesticate', 'domesticated', 'domesticates', 'domesticating', 'domestication', 'domestications', 'domesticities', 'domesticity', 'domestics', 'domicile', 'domiciled', 'domiciles', 'domiciliary', 'domiciling', 'dominance', 'dominances', 'dominant', 'dominantly', 'dominants', 'dominate', 'dominated', 'dominates', 'dominating', 'domination', 'dominations', 'dominatrices', 'dominatrix', 'dominatrixes', 'domineer', 'domineered', 'domineering', 'domineeringly', 'domineers', 'doming', 'dominion', 'dominions', 'domino', 'dominoes', 'dominos', 'donate', 'donated', 'donates', 'donating', 'donation', 'donations', 'dongle', 'dongles', 'donkey', 'donkeys', 'donned', 'donning', 'donnybrook', 'donnybrooks', 'donors', 'donuts', 'doodad', 'doodads', 'doodle', 'doodlebug', 'doodlebugs', 'doodled', 'doodler', 'doodlers', 'doodles', 'doodling', 'doohickey', 'doohickeys', 'doomed', 'dooming', 'doomsayer', 'doomsayers', 'doomsday', 'doomsdays', 'doorbell', 'doorbells', 'doorkeeper', 'doorkeepers', 'doorknob', 'doorknobs', 'doorman', 'doormat', 'doormats', 'doormen', 'doorplate', 'doorplates', 'doorstep', 'doorstepped', 'doorstepping', 'doorsteps', 'doorstop', 'doorstops', 'doorway', 'doorways', 'dooryard', 'dooryards', 'dopas', 'dopers', 'dopier', 'dopiest', 'dopiness', 'dopinesses', 'doping', 'dopings', 'dories', 'dorkier', 'dorkiest', 'dormancies', 'dormancy', 'dormant', 'dormer', 'dormers', 'dormice', 'dormitories', 'dormitory', 'dormouse', 'dorsal', 'dorsally', 'dosage', 'dosages', 'dosimeter', 'dosimeters', 'dosing', 'dossier', 'dossiers', 'dotage', 'dotages', 'dotard', 'dotards', 'dotcom!', 'dotcoms!', 'doters', 'doting', 'dotingly', 'dotted', 'dottier', 'dottiest', 'dotting', 'double', 'doubled', 'doubleheader', 'doubleheaders', 'doubles', 'doublespeak', 'doublespeaks', 'doublet', 'doublets', 'doubling', 'doubloon', 'doubloons', 'doubly', 'doubted', 'doubter', 'doubters', 'doubtful', 'doubtfuller', 'doubtfullest', 'doubtfully', 'doubtfulness', 'doubtfulnesses', 'doubting', 'doubtingly', 'doubtless', 'doubtlessly', 'doubts', 'douche', 'douched', 'douches', 'douching', 'doughier', 'doughiest', 'doughnut', 'doughnuts', 'doughs', 'doughtier', 'doughtiest', 'doughty', 'doughy', 'dourer', 'dourest', 'dourly', 'dourness', 'dournesses', 'doused', 'douses', 'dousing', 'dovecote', 'dovecotes', 'dovetail', 'dovetailed', 'dovetailing', 'dovetails', 'dovish', 'dowager', 'dowagers', 'dowdier', 'dowdiest', 'dowdily', 'dowdiness', 'dowdinesses', 'doweled', 'doweling', 'dowelled', 'dowelling', 'dowels', 'dowered', 'dowering', 'dowers', 'downbeat', 'downbeats', 'downcast', 'downdraft', 'downdrafts', 'downed', 'downer', 'downers', 'downfall', 'downfallen', 'downfalls', 'downgrade', 'downgraded', 'downgrades', 'downgrading', 'downhearted', 'downheartedly', 'downheartedness', 'downheartednesses', 'downhill', 'downhills', 'downier', 'downiest', 'downing', 'download', 'downloaded', 'downloading', 'downloads', 'downplay', 'downplayed', 'downplaying', 'downplays', 'downpour', 'downpours', 'downrange', 'downright', 'downriver', 'downscale', 'downscaled', 'downscales', 'downscaling', 'downshift', 'downshifted', 'downshifting', 'downshifts', 'downside', 'downsides', 'downsize', 'downsized', 'downsizes', 'downsizing', 'downsizings', 'downspout', 'downspouts', 'downstage', 'downstairs', 'downstate', 'downstates', 'downstream', 'downswing', 'downswings', 'downtime', 'downtimes', 'downtown', 'downtowns', 'downtrend', 'downtrends', 'downtrodden', 'downturn', 'downturns', 'downward', 'downwards', 'downwind', 'dowries', 'dowsed', 'dowser', 'dowsers', 'dowses', 'dowsing', 'doxologies', 'doxology', 'doyenne', 'doyennes', 'doyens', 'dozens', 'dozenth', 'dozing', 'drabber', 'drabbest', 'drably', 'drabness', 'drabnesses', 'drachma', 'drachmae', 'drachmai', 'drachmas', 'draconian', 'drafted', 'draftee', 'draftees', 'drafter', 'drafters', 'draftier', 'draftiest', 'draftily', 'draftiness', 'draftinesses', 'drafting', 'draftings', 'drafts', 'draftsman', 'draftsmanship', 'draftsmanships', 'draftsmen', 'draftswoman', 'draftswomen', 'drafty', 'dragged', 'draggier', 'draggiest', 'dragging', 'draggy', 'dragnet', 'dragnets', 'dragon', 'dragonflies', 'dragonfly', 'dragons', 'dragoon', 'dragooned', 'dragooning', 'dragoons', 'drainage', 'drainages', 'drainboard', 'drainboards', 'drained', 'drainer', 'drainers', 'draining', 'drainpipe', 'drainpipes', 'drains', 'drakes', 'dramas', 'dramatic', 'dramatically', 'dramatics', 'dramatist', 'dramatists', 'dramatization', 'dramatizations', 'dramatize', 'dramatized', 'dramatizes', 'dramatizing', 'draped', 'draper', 'draperies', 'drapers', 'drapery', 'drapes', 'draping', 'drastic', 'drastically', 'draught', 'draughted', 'draughtier', 'draughtiest', 'draughting', 'draughts', 'draughtsman', 'draughtsmen', 'draughty', 'drawback', 'drawbacks', 'drawbridge', 'drawbridges', 'drawer', 'drawers', 'drawing', 'drawings', 'drawled', 'drawling', 'drawls', 'drawstring', 'drawstrings', 'dreaded', 'dreadful', 'dreadfully', 'dreadfulness', 'dreadfulnesses', 'dreading', 'dreadlocks', 'dreadnaught', 'dreadnaughts', 'dreadnought', 'dreadnoughts', 'dreads', 'dreamboat', 'dreamboats', 'dreamed', 'dreamer', 'dreamers', 'dreamier', 'dreamiest', 'dreamily', 'dreaminess', 'dreaminesses', 'dreaming', 'dreamland', 'dreamlands', 'dreamless', 'dreamlike', 'dreams', 'dreamt', 'dreamworld', 'dreamworlds', 'dreamy', 'drearier', 'dreariest', 'drearily', 'dreariness', 'drearinesses', 'dreary', 'dredge', 'dredged', 'dredger', 'dredgers', 'dredges', 'dredging', 'drench', 'drenched', 'drenches', 'drenching', 'dressage', 'dressages', 'dressed', 'dresser', 'dressers', 'dresses', 'dressier', 'dressiest', 'dressiness', 'dressinesses', 'dressing', 'dressings', 'dressmaker', 'dressmakers', 'dressmaking', 'dressmakings', 'dressy', 'dribble', 'dribbled', 'dribbler', 'dribblers', 'dribbles', 'dribbling', 'driblet', 'driblets', 'driers', 'driest', 'drifted', 'drifter', 'drifters', 'drifting', 'drifts', 'driftwood', 'driftwoods', 'drilled', 'driller', 'drillers', 'drilling', 'drillmaster', 'drillmasters', 'drills', 'drinkable', 'drinker', 'drinkers', 'drinking', 'drinks', 'dripped', 'drippier', 'drippiest', 'dripping', 'drippings', 'drippy', 'drivel', 'driveled', 'driveler', 'drivelers', 'driveling', 'drivelled', 'drivelling', 'drivels', 'driven', 'driver', 'drivers', 'drives', 'driveway', 'driveways', 'driving', 'drizzle', 'drizzled', 'drizzles', 'drizzlier', 'drizzliest', 'drizzling', 'drizzly', 'drogue', 'drogues', 'droller', 'drolleries', 'drollery', 'drollest', 'drollness', 'drollnesses', 'drolly', 'dromedaries', 'dromedary', 'droned', 'drones', 'droning', 'drooled', 'drooling', 'drools', 'drooped', 'droopier', 'droopiest', 'droopiness', 'droopinesses', 'drooping', 'droops', 'droopy', 'dropkick', 'dropkicks', 'droplet', 'droplets', 'dropout', 'dropouts', 'dropped', 'dropper', 'droppers', 'dropping', 'droppings', 'dropsical', 'dropsies', 'dropsy', 'drosses', 'drought', 'droughts', 'drouth', 'drouths', 'drover', 'drovers', 'droves', 'drowned', 'drowning', 'drownings', 'drowns', 'drowse', 'drowsed', 'drowses', 'drowsier', 'drowsiest', 'drowsily', 'drowsiness', 'drowsinesses', 'drowsing', 'drowsy', 'drubbed', 'drubber', 'drubbers', 'drubbing', 'drubbings', 'drudge', 'drudged', 'drudgeries', 'drudgery', 'drudges', 'drudging', 'drugged', 'druggie', 'druggies', 'drugging', 'druggist', 'druggists', 'druggy', 'drugstore', 'drugstores', 'druidism', 'druidisms', 'druids', 'drumbeat', 'drumbeats', 'drumlin', 'drumlins', 'drummed', 'drummer', 'drummers', 'drumming', 'drumstick', 'drumsticks', 'drunkard', 'drunkards', 'drunken', 'drunkenly', 'drunkenness', 'drunkennesses', 'drunker', 'drunkest', 'drunks', 'drupes', 'druthers', 'dryads', 'dryers', 'drying', 'dryness', 'drynesses', 'drywall', 'drywalls', 'dualism', 'dualisms', 'dualities', 'duality', 'dubbed', 'dubber', 'dubbers', 'dubbin', 'dubbing', 'dubbins', 'dubieties', 'dubiety', 'dubious', 'dubiously', 'dubiousness', 'dubiousnesses', 'ducats', 'duchess', 'duchesses', 'duchies', 'duckbill', 'duckbills', 'ducked', 'duckier', 'duckies', 'duckiest', 'ducking', 'duckling', 'ducklings', 'duckpins', 'duckweed', 'duckweeds', 'ductile', 'ductilities', 'ductility', 'ductless', 'dudgeon', 'dudgeons', 'duding', 'dueled', 'dueler', 'duelers', 'dueling', 'duelist', 'duelists', 'duelled', 'duelling', 'duellist', 'duellists', 'duenna', 'duennas', 'duffer', 'duffers', 'dugout', 'dugouts', 'dukedom', 'dukedoms', 'dulcet', 'dulcimer', 'dulcimers', 'dullard', 'dullards', 'dulled', 'duller', 'dullest', 'dulling', 'dullness', 'dullnesses', 'dulness', 'dulnesses', 'dumbbell', 'dumbbells', 'dumber', 'dumbest', 'dumbfound', 'dumbfounded', 'dumbfounding', 'dumbfounds', 'dumbly', 'dumbness', 'dumbnesses', 'dumbstruck', 'dumbwaiter', 'dumbwaiters', 'dumdum', 'dumdums', 'dumfound', 'dumfounded', 'dumfounding', 'dumfounds', 'dummies', 'dumped', 'dumpier', 'dumpiest', 'dumpiness', 'dumpinesses', 'dumping', 'dumpling', 'dumplings', 'dumpster', 'dumpsters', 'dunces', 'dunderhead', 'dunderheads', 'dungaree', 'dungarees', 'dunged', 'dungeon', 'dungeons', 'dunghill', 'dunghills', 'dunging', 'dunked', 'dunking', 'dunned', 'dunner', 'dunnest', 'dunning', 'duodecimal', 'duodena', 'duodenal', 'duodenum', 'duodenums', 'dupers', 'duping', 'duplex', 'duplexes', 'duplicate', 'duplicated', 'duplicates', 'duplicating', 'duplication', 'duplications', 'duplicator', 'duplicators', 'duplicities', 'duplicitous', 'duplicity', 'durabilities', 'durability', 'durable', 'durably', 'durance', 'durances', 'duration', 'durations', 'duress', 'duresses', 'during', 'durums', 'duskier', 'duskiest', 'duskiness', 'duskinesses', 'dusks', 'dusted', 'duster', 'dusters', 'dustier', 'dustiest', 'dustiness', 'dustinesses', 'dusting', 'dustless', 'dustpan', 'dustpans', 'duteous', 'duteously', 'dutiable', 'duties', 'dutiful', 'dutifully', 'dutifulness', 'dutifulnesses', 'duvets', 'dwarfed', 'dwarfing', 'dwarfish', 'dwarfism', 'dwarfisms', 'dwarfs', 'dwarves', 'dweebs', 'dwelled', 'dweller', 'dwellers', 'dwelling', 'dwellings', 'dwells', 'dwindle', 'dwindled', 'dwindles', 'dwindling', 'dybbuk', 'dybbukim', 'dybbuks', 'dyeing', 'dyestuff', 'dyestuffs', 'dyings', 'dynamic', 'dynamical', 'dynamically', 'dynamics', 'dynamism', 'dynamisms', 'dynamite', 'dynamited', 'dynamiter', 'dynamiters', 'dynamites', 'dynamiting', 'dynamo', 'dynamos', 'dynastic', 'dynasties', 'dynasty', 'dysenteries', 'dysentery', 'dysfunction', 'dysfunctional', 'dysfunctions', 'dyslectic', 'dyslectics', 'dyslexia', 'dyslexias', 'dyslexic', 'dyslexics', 'dyspepsia', 'dyspepsias', 'dyspeptic', 'dyspeptics', 'dysprosium', 'dysprosiums', 'eagerer', 'eagerest', 'eagerly', 'eagerness', 'eagernesses', 'eagles', 'eaglet', 'eaglets', 'earache', 'earaches', 'earbud!', 'earbuds!', 'eardrum', 'eardrums', 'earful', 'earfuls', 'earldom', 'earldoms', 'earlier', 'earliest', 'earliness', 'earlinesses', 'earlobe', 'earlobes', 'earmark', 'earmarked', 'earmarking', 'earmarks', 'earmuff', 'earmuffs', 'earned', 'earner', 'earners', 'earnest', 'earnestly', 'earnestness', 'earnestnesses', 'earnests', 'earning', 'earnings', 'earphone', 'earphones', 'earplug', 'earplugs', 'earring', 'earrings', 'earshot', 'earshots', 'earsplitting', 'earthbound', 'earthed', 'earthen', 'earthenware', 'earthenwares', 'earthier', 'earthiest', 'earthiness', 'earthinesses', 'earthing', 'earthlier', 'earthliest', 'earthling', 'earthlings', 'earthly', 'earthquake', 'earthquakes', 'earths', 'earthshaking', 'earthward', 'earthwards', 'earthwork', 'earthworks', 'earthworm', 'earthworms', 'earthy', 'earwax', 'earwaxes', 'earwig', 'earwigs', 'easels', 'easement', 'easements', 'easier', 'easiest', 'easily', 'easiness', 'easinesses', 'easing', 'eastbound', 'easterlies', 'easterly', 'eastern', 'easterner', 'easterners', 'easternmost', 'easts', 'eastward', 'eastwards', 'easygoing', 'eatable', 'eatables', 'eateries', 'eaters', 'eatery', 'eating', 'eavesdrop', 'eavesdropped', 'eavesdropper', 'eavesdroppers', 'eavesdropping', 'eavesdrops', 'ebbing', 'ebonies', 'ebullience', 'ebulliences', 'ebullient', 'ebulliently', 'ebullition', 'ebullitions', 'eccentric', 'eccentrically', 'eccentricities', 'eccentricity', 'eccentrics', 'ecclesiastic', 'ecclesiastical', 'ecclesiastically', 'ecclesiastics', 'echelon', 'echelons', 'echinoderm', 'echinoderms', 'echoed', 'echoes', 'echoic', 'echoing', 'echolocation', 'echolocations', 'eclair', 'eclairs', 'eclats', 'eclectic', 'eclectically', 'eclecticism', 'eclecticisms', 'eclectics', 'eclipse', 'eclipsed', 'eclipses', 'eclipsing', 'ecliptic', 'ecliptics', 'eclogue', 'eclogues', 'ecocide', 'ecocides', 'ecologic', 'ecological', 'ecologically', 'ecologies', 'ecologist', 'ecologists', 'ecology', 'economic', 'economical', 'economically', 'economics', 'economies', 'economist', 'economists', 'economize', 'economized', 'economizer', 'economizers', 'economizes', 'economizing', 'economy', 'ecosystem', 'ecosystems', 'ecotourism!', 'ecotourisms!', 'ecrus', 'ecstasies', 'ecstasy', 'ecstatic', 'ecstatically', 'ecumenical', 'ecumenically', 'ecumenicism', 'ecumenicisms', 'ecumenism', 'ecumenisms', 'eczema', 'eczemas', 'edamame!', 'eddied', 'eddies', 'eddying', 'edelweiss', 'edelweisses', 'edemas', 'edemata', 'edgers', 'edgeways', 'edgewise', 'edgier', 'edgiest', 'edgily', 'edginess', 'edginesses', 'edging', 'edgings', 'edibilities', 'edibility', 'edible', 'edibleness', 'ediblenesses', 'edibles', 'edicts', 'edification', 'edifications', 'edifice', 'edifices', 'edified', 'edifier', 'edifiers', 'edifies', 'edifying', 'edited', 'editing', 'edition', 'editions', 'editor', 'editorial', 'editorialize', 'editorialized', 'editorializes', 'editorializing', 'editorially', 'editorials', 'editors', 'editorship', 'editorships', 'educabilities', 'educability', 'educable', 'educate', 'educated', 'educates', 'educating', 'education', 'educational', 'educationally', 'educations', 'educator', 'educators', 'educed', 'educes', 'educing', 'edutainment', 'edutainments', 'eerier', 'eeriest', 'eerily', 'eeriness', 'eerinesses', 'efface', 'effaced', 'effacement', 'effacements', 'effaces', 'effacing', 'effect', 'effected', 'effecting', 'effective', 'effectively', 'effectiveness', 'effectivenesses', 'effects', 'effectual', 'effectually', 'effectuate', 'effectuated', 'effectuates', 'effectuating', 'effeminacies', 'effeminacy', 'effeminate', 'effeminately', 'effendi', 'effendis', 'efferent', 'effervesce', 'effervesced', 'effervescence', 'effervescences', 'effervescent', 'effervescently', 'effervesces', 'effervescing', 'effete', 'effetely', 'effeteness', 'effetenesses', 'efficacies', 'efficacious', 'efficaciously', 'efficacy', 'efficiencies', 'efficiency', 'efficient', 'efficiently', 'effigies', 'effigy', 'efflorescence', 'efflorescences', 'efflorescent', 'effluence', 'effluences', 'effluent', 'effluents', 'effluvia', 'effluvium', 'effluviums', 'effort', 'effortless', 'effortlessly', 'effortlessness', 'effortlessnesses', 'efforts', 'effronteries', 'effrontery', 'effulgence', 'effulgences', 'effulgent', 'effuse', 'effused', 'effuses', 'effusing', 'effusion', 'effusions', 'effusive', 'effusively', 'effusiveness', 'effusivenesses', 'egalitarian', 'egalitarianism', 'egalitarianisms', 'egalitarians', 'eggbeater', 'eggbeaters', 'eggcup', 'eggcups', 'egghead', 'eggheads', 'egging', 'eggnog', 'eggnogs', 'eggplant', 'eggplants', 'eggshell', 'eggshells', 'egises', 'eglantine', 'eglantines', 'egocentric', 'egocentrically', 'egocentricities', 'egocentricity', 'egocentrics', 'egoism', 'egoisms', 'egoist', 'egoistic', 'egoistical', 'egoistically', 'egoists', 'egomania', 'egomaniac', 'egomaniacs', 'egomanias', 'egotism', 'egotisms', 'egotist', 'egotistic', 'egotistical', 'egotistically', 'egotists', 'egregious', 'egregiously', 'egregiousness', 'egregiousnesses', 'egress', 'egresses', 'egrets', 'eiderdown', 'eiderdowns', 'eiders', 'eighteen', 'eighteens', 'eighteenth', 'eighteenths', 'eighth', 'eighths', 'eighties', 'eightieth', 'eightieths', 'eights', 'eighty', 'einsteinium', 'einsteiniums', 'either', 'ejaculate', 'ejaculated', 'ejaculates', 'ejaculating', 'ejaculation', 'ejaculations', 'ejaculatory', 'ejected', 'ejecting', 'ejection', 'ejections', 'ejector', 'ejectors', 'ejects', 'elaborate', 'elaborated', 'elaborately', 'elaborateness', 'elaboratenesses', 'elaborates', 'elaborating', 'elaboration', 'elaborations', 'elands', 'elans', 'elapse', 'elapsed', 'elapses', 'elapsing', 'elastic', 'elastically', 'elasticities', 'elasticity', 'elasticize', 'elasticized', 'elasticizes', 'elasticizing', 'elastics', 'elated', 'elatedly', 'elates', 'elating', 'elation', 'elations', 'elbowed', 'elbowing', 'elbowroom', 'elbowrooms', 'elbows', 'elderberries', 'elderberry', 'eldercare!', 'eldercares!', 'elderly', 'elders', 'eldest', 'electable', 'elected', 'electing', 'election', 'electioneer', 'electioneered', 'electioneering', 'electioneers', 'elections', 'elective', 'electives', 'elector', 'electoral', 'electorate', 'electorates', 'electors', 'electric', 'electrical', 'electrically', 'electrician', 'electricians', 'electricities', 'electricity', 'electrification', 'electrifications', 'electrified', 'electrifier', 'electrifiers', 'electrifies', 'electrify', 'electrifying', 'electrocardiogram', 'electrocardiograms', 'electrocardiograph', 'electrocardiographies', 'electrocardiographs', 'electrocardiography', 'electrocute', 'electrocuted', 'electrocutes', 'electrocuting', 'electrocution', 'electrocutions', 'electrode', 'electrodes', 'electroencephalogram', 'electroencephalograms', 'electroencephalograph', 'electroencephalographic', 'electroencephalographies', 'electroencephalographs', 'electroencephalography', 'electrologist', 'electrologists', 'electrolyses', 'electrolysis', 'electrolyte', 'electrolytes', 'electrolytic', 'electromagnet', 'electromagnetic', 'electromagnetically', 'electromagnetism', 'electromagnetisms', 'electromagnets', 'electromotive', 'electron', 'electronic', 'electronica!', 'electronically', 'electronicas!', 'electronics', 'electrons', 'electroplate', 'electroplated', 'electroplates', 'electroplating', 'electroscope', 'electroscopes', 'electroscopic', 'electroshock', 'electroshocks', 'electrostatics', 'electrotype', 'electrotypes', 'elects', 'eleemosynary', 'elegance', 'elegances', 'elegant', 'elegantly', 'elegiac', 'elegiacal', 'elegiacs', 'elegies', 'element', 'elemental', 'elementally', 'elementary', 'elements', 'elephant', 'elephantiases', 'elephantiasis', 'elephantine', 'elephants', 'elevate', 'elevated', 'elevates', 'elevating', 'elevation', 'elevations', 'elevator', 'elevators', 'eleven', 'elevens', 'eleventh', 'elevenths', 'elfish', 'elicit', 'elicitation', 'elicitations', 'elicited', 'eliciting', 'elicits', 'elided', 'elides', 'eliding', 'eligibilities', 'eligibility', 'eligible', 'eliminate', 'eliminated', 'eliminates', 'eliminating', 'elimination', 'eliminations', 'elision', 'elisions', 'elites', 'elitism', 'elitisms', 'elitist', 'elitists', 'elixir', 'elixirs', 'ellipse', 'ellipses', 'ellipsis', 'ellipsoid', 'ellipsoidal', 'ellipsoids', 'elliptic', 'elliptical', 'elliptically', 'elocution', 'elocutionary', 'elocutionist', 'elocutionists', 'elocutions', 'elodea', 'elodeas', 'elongate', 'elongated', 'elongates', 'elongating', 'elongation', 'elongations', 'eloped', 'elopement', 'elopements', 'elopes', 'eloping', 'eloquence', 'eloquences', 'eloquent', 'eloquently', 'elsewhere', 'elucidate', 'elucidated', 'elucidates', 'elucidating', 'elucidation', 'elucidations', 'eluded', 'eludes', 'eluding', 'elusive', 'elusively', 'elusiveness', 'elusivenesses', 'elvers', 'emaciate', 'emaciated', 'emaciates', 'emaciating', 'emaciation', 'emaciations', 'emailed', 'emailing', 'emails', 'emanate', 'emanated', 'emanates', 'emanating', 'emanation', 'emanations', 'emancipate', 'emancipated', 'emancipates', 'emancipating', 'emancipation', 'emancipations', 'emancipator', 'emancipators', 'emasculate', 'emasculated', 'emasculates', 'emasculating', 'emasculation', 'emasculations', 'embalm', 'embalmed', 'embalmer', 'embalmers', 'embalming', 'embalms', 'embank', 'embanked', 'embanking', 'embankment', 'embankments', 'embanks', 'embargo', 'embargoed', 'embargoes', 'embargoing', 'embark', 'embarkation', 'embarkations', 'embarked', 'embarking', 'embarks', 'embarrass', 'embarrassed', 'embarrasses', 'embarrassing', 'embarrassingly', 'embarrassment', 'embarrassments', 'embassies', 'embassy', 'embattled', 'embedded', 'embedding', 'embeds', 'embellish', 'embellished', 'embellishes', 'embellishing', 'embellishment', 'embellishments', 'embers', 'embezzle', 'embezzled', 'embezzlement', 'embezzlements', 'embezzler', 'embezzlers', 'embezzles', 'embezzling', 'embitter', 'embittered', 'embittering', 'embitterment', 'embitterments', 'embitters', 'emblazon', 'emblazoned', 'emblazoning', 'emblazonment', 'emblazonments', 'emblazons', 'emblem', 'emblematic', 'emblems', 'embodied', 'embodies', 'embodiment', 'embodiments', 'embody', 'embodying', 'embolden', 'emboldened', 'emboldening', 'emboldens', 'embolism', 'embolisms', 'emboss', 'embossed', 'embosser', 'embossers', 'embosses', 'embossing', 'embouchure', 'embouchures', 'embower', 'embowered', 'embowering', 'embowers', 'embrace', 'embraceable', 'embraced', 'embraces', 'embracing', 'embrasure', 'embrasures', 'embrocation', 'embrocations', 'embroider', 'embroidered', 'embroiderer', 'embroiderers', 'embroideries', 'embroidering', 'embroiders', 'embroidery', 'embroil', 'embroiled', 'embroiling', 'embroilment', 'embroilments', 'embroils', 'embryo', 'embryologies', 'embryologist', 'embryologists', 'embryology', 'embryonic', 'embryos', 'emceed', 'emceeing', 'emcees', 'emendation', 'emendations', 'emended', 'emending', 'emends', 'emerald', 'emeralds', 'emerge', 'emerged', 'emergence', 'emergences', 'emergencies', 'emergency', 'emergent', 'emerges', 'emerging', 'emeries', 'emerita', 'emeritus', 'emetic', 'emetics', 'emigrant', 'emigrants', 'emigrate', 'emigrated', 'emigrates', 'emigrating', 'emigration', 'emigrations', 'emigre', 'emigres', 'eminence', 'eminences', 'eminent', 'eminently', 'emirate', 'emirates', 'emissaries', 'emissary', 'emission', 'emissions', 'emitted', 'emitter', 'emitters', 'emitting', 'emoji!', 'emojis!', 'emollient', 'emollients', 'emolument', 'emoluments', 'emoted', 'emotes', 'emoticon', 'emoticons', 'emoting', 'emotion', 'emotional', 'emotionalism', 'emotionalisms', 'emotionalize', 'emotionalized', 'emotionalizes', 'emotionalizing', 'emotionally', 'emotions', 'emotive', 'empanel', 'empaneled', 'empaneling', 'empanelled', 'empanelling', 'empanels', 'empathetic', 'empathies', 'empathize', 'empathized', 'empathizes', 'empathizing', 'empathy', 'emperor', 'emperors', 'emphases', 'emphasis', 'emphasize', 'emphasized', 'emphasizes', 'emphasizing', 'emphatic', 'emphatically', 'emphysema', 'emphysemas', 'empire', 'empires', 'empiric', 'empirical', 'empirically', 'empiricism', 'empiricisms', 'empiricist', 'empiricists', 'emplacement', 'emplacements', 'employ', 'employable', 'employe', 'employed', 'employee', 'employees', 'employer', 'employers', 'employes', 'employing', 'employment', 'employments', 'employs', 'emporia', 'emporium', 'emporiums', 'empower', 'empowered', 'empowering', 'empowerment', 'empowerments', 'empowers', 'empress', 'empresses', 'emptied', 'emptier', 'empties', 'emptiest', 'emptily', 'emptiness', 'emptinesses', 'emptying', 'empyrean', 'empyreans', 'emulate', 'emulated', 'emulates', 'emulating', 'emulation', 'emulations', 'emulative', 'emulator', 'emulators', 'emulsification', 'emulsifications', 'emulsified', 'emulsifier', 'emulsifiers', 'emulsifies', 'emulsify', 'emulsifying', 'emulsion', 'emulsions', 'enable', 'enabled', 'enabler', 'enablers', 'enables', 'enabling', 'enacted', 'enacting', 'enactment', 'enactments', 'enacts', 'enamel', 'enameled', 'enameler', 'enamelers', 'enameling', 'enamelled', 'enamelling', 'enamels', 'enamelware', 'enamelwares', 'enamor', 'enamored', 'enamoring', 'enamors', 'enamour', 'enamoured', 'enamouring', 'enamours', 'encamp', 'encamped', 'encamping', 'encampment', 'encampments', 'encamps', 'encapsulate', 'encapsulated', 'encapsulates', 'encapsulating', 'encapsulation', 'encapsulations', 'encase', 'encased', 'encasement', 'encasements', 'encases', 'encasing', 'encephalitic', 'encephalitides', 'encephalitis', 'enchain', 'enchained', 'enchaining', 'enchains', 'enchant', 'enchanted', 'enchanter', 'enchanters', 'enchanting', 'enchantingly', 'enchantment', 'enchantments', 'enchantress', 'enchantresses', 'enchants', 'enchilada', 'enchiladas', 'encipher', 'enciphered', 'enciphering', 'enciphers', 'encircle', 'encircled', 'encirclement', 'encirclements', 'encircles', 'encircling', 'enclave', 'enclaves', 'enclose', 'enclosed', 'encloses', 'enclosing', 'enclosure', 'enclosures', 'encode', 'encoded', 'encoder', 'encoders', 'encodes', 'encoding', 'encomia', 'encomium', 'encomiums', 'encompass', 'encompassed', 'encompasses', 'encompassing', 'encore', 'encored', 'encores', 'encoring', 'encounter', 'encountered', 'encountering', 'encounters', 'encourage', 'encouraged', 'encouragement', 'encouragements', 'encourages', 'encouraging', 'encouragingly', 'encroach', 'encroached', 'encroaches', 'encroaching', 'encroachment', 'encroachments', 'encrust', 'encrustation', 'encrustations', 'encrusted', 'encrusting', 'encrusts', 'encumber', 'encumbered', 'encumbering', 'encumbers', 'encumbrance', 'encumbrances', 'encyclical', 'encyclicals', 'encyclopaedia', 'encyclopaedias', 'encyclopaedic', 'encyclopedia', 'encyclopedias', 'encyclopedic', 'encyst', 'encysted', 'encysting', 'encystment', 'encystments', 'encysts', 'endanger', 'endangered', 'endangering', 'endangerment', 'endangerments', 'endangers', 'endear', 'endeared', 'endearing', 'endearingly', 'endearment', 'endearments', 'endears', 'endeavor', 'endeavored', 'endeavoring', 'endeavors', 'endeavour', 'endeavoured', 'endeavouring', 'endeavours', 'endemic', 'endemically', 'endemics', 'ending', 'endings', 'endive', 'endives', 'endless', 'endlessly', 'endlessness', 'endlessnesses', 'endmost', 'endocrine', 'endocrines', 'endocrinologies', 'endocrinologist', 'endocrinologists', 'endocrinology', 'endogenous', 'endogenously', 'endorphin', 'endorphins', 'endorse', 'endorsed', 'endorsement', 'endorsements', 'endorser', 'endorsers', 'endorses', 'endorsing', 'endoscope', 'endoscopes', 'endoscopic', 'endoscopies', 'endoscopy', 'endothermic', 'endowed', 'endowing', 'endowment', 'endowments', 'endows', 'endpoint', 'endpoints', 'endued', 'endues', 'enduing', 'endurable', 'endurance', 'endurances', 'endure', 'endured', 'endures', 'enduring', 'endways', 'endwise', 'enemas', 'enemata', 'enemies', 'energetic', 'energetically', 'energies', 'energize', 'energized', 'energizer', 'energizers', 'energizes', 'energizing', 'energy', 'enervate', 'enervated', 'enervates', 'enervating', 'enervation', 'enervations', 'enfeeble', 'enfeebled', 'enfeeblement', 'enfeeblements', 'enfeebles', 'enfeebling', 'enfilade', 'enfiladed', 'enfilades', 'enfilading', 'enfold', 'enfolded', 'enfolding', 'enfolds', 'enforce', 'enforceable', 'enforced', 'enforcement', 'enforcements', 'enforcer', 'enforcers', 'enforces', 'enforcing', 'enfranchise', 'enfranchised', 'enfranchisement', 'enfranchisements', 'enfranchises', 'enfranchising', 'engage', 'engaged', 'engagement', 'engagements', 'engages', 'engaging', 'engagingly', 'engender', 'engendered', 'engendering', 'engenders', 'engine', 'engineer', 'engineered', 'engineering', 'engineerings', 'engineers', 'engines', 'engorge', 'engorged', 'engorgement', 'engorgements', 'engorges', 'engorging', 'engram', 'engrams', 'engrave', 'engraved', 'engraver', 'engravers', 'engraves', 'engraving', 'engravings', 'engross', 'engrossed', 'engrosses', 'engrossing', 'engrossment', 'engrossments', 'engulf', 'engulfed', 'engulfing', 'engulfment', 'engulfments', 'engulfs', 'enhance', 'enhanced', 'enhancement', 'enhancements', 'enhances', 'enhancing', 'enigma', 'enigmas', 'enigmatic', 'enigmatically', 'enjambement', 'enjambements', 'enjambment', 'enjambments', 'enjoin', 'enjoined', 'enjoining', 'enjoins', 'enjoyable', 'enjoyably', 'enjoyed', 'enjoying', 'enjoyment', 'enjoyments', 'enjoys', 'enlarge', 'enlargeable', 'enlarged', 'enlargement', 'enlargements', 'enlarger', 'enlargers', 'enlarges', 'enlarging', 'enlighten', 'enlightened', 'enlightening', 'enlightenment', 'enlightenments', 'enlightens', 'enlist', 'enlisted', 'enlistee', 'enlistees', 'enlisting', 'enlistment', 'enlistments', 'enlists', 'enliven', 'enlivened', 'enlivening', 'enlivenment', 'enlivenments', 'enlivens', 'enmesh', 'enmeshed', 'enmeshes', 'enmeshing', 'enmeshment', 'enmeshments', 'enmities', 'enmity', 'ennoble', 'ennobled', 'ennoblement', 'ennoblements', 'ennobles', 'ennobling', 'ennuis', 'enormities', 'enormity', 'enormous', 'enormously', 'enormousness', 'enormousnesses', 'enough', 'enoughs', 'enplane', 'enplaned', 'enplanes', 'enplaning', 'enquire', 'enquired', 'enquires', 'enquiries', 'enquiring', 'enquiry', 'enrage', 'enraged', 'enrages', 'enraging', 'enrapture', 'enraptured', 'enraptures', 'enrapturing', 'enrich', 'enriched', 'enriches', 'enriching', 'enrichment', 'enrichments', 'enroll', 'enrolled', 'enrolling', 'enrollment', 'enrollments', 'enrolls', 'enrolment', 'enrolments', 'enrols', 'ensconce', 'ensconced', 'ensconces', 'ensconcing', 'ensemble', 'ensembles', 'enshrine', 'enshrined', 'enshrinement', 'enshrinements', 'enshrines', 'enshrining', 'enshroud', 'enshrouded', 'enshrouding', 'enshrouds', 'ensign', 'ensigns', 'ensilage', 'ensilages', 'enslave', 'enslaved', 'enslavement', 'enslavements', 'enslaves', 'enslaving', 'ensnare', 'ensnared', 'ensnarement', 'ensnarements', 'ensnares', 'ensnaring', 'ensued', 'ensues', 'ensuing', 'ensure', 'ensured', 'ensurer', 'ensurers', 'ensures', 'ensuring', 'entail', 'entailed', 'entailing', 'entailment', 'entailments', 'entails', 'entangle', 'entangled', 'entanglement', 'entanglements', 'entangles', 'entangling', 'entente', 'ententes', 'entered', 'entering', 'enteritides', 'enteritis', 'enteritises', 'enterprise', 'enterprises', 'enterprising', 'enterprisingly', 'enters', 'entertain', 'entertained', 'entertainer', 'entertainers', 'entertaining', 'entertainingly', 'entertainings', 'entertainment', 'entertainments', 'entertains', 'enthral', 'enthrall', 'enthralled', 'enthralling', 'enthrallment', 'enthrallments', 'enthralls', 'enthrals', 'enthrone', 'enthroned', 'enthronement', 'enthronements', 'enthrones', 'enthroning', 'enthuse', 'enthused', 'enthuses', 'enthusiasm', 'enthusiasms', 'enthusiast', 'enthusiastic', 'enthusiastically', 'enthusiasts', 'enthusing', 'entice', 'enticed', 'enticement', 'enticements', 'entices', 'enticing', 'enticingly', 'entire', 'entirely', 'entireties', 'entirety', 'entities', 'entitle', 'entitled', 'entitlement', 'entitlements', 'entitles', 'entitling', 'entity', 'entomb', 'entombed', 'entombing', 'entombment', 'entombments', 'entombs', 'entomological', 'entomologies', 'entomologist', 'entomologists', 'entomology', 'entourage', 'entourages', 'entrails', 'entrance', 'entranced', 'entrancement', 'entrancements', 'entrances', 'entrancing', 'entrancingly', 'entrant', 'entrants', 'entrap', 'entrapment', 'entrapments', 'entrapped', 'entrapping', 'entraps', 'entreat', 'entreated', 'entreaties', 'entreating', 'entreatingly', 'entreats', 'entreaty', 'entree', 'entrees', 'entrench', 'entrenched', 'entrenches', 'entrenching', 'entrenchment', 'entrenchments', 'entrepreneur', 'entrepreneurial', 'entrepreneurs', 'entries', 'entropies', 'entropy', 'entrust', 'entrusted', 'entrusting', 'entrusts', 'entryway', 'entryways', 'entwine', 'entwined', 'entwines', 'entwining', 'enumerable', 'enumerate', 'enumerated', 'enumerates', 'enumerating', 'enumeration', 'enumerations', 'enumerator', 'enumerators', 'enunciate', 'enunciated', 'enunciates', 'enunciating', 'enunciation', 'enunciations', 'enured', 'enures', 'enureses', 'enuresis', 'enuresises', 'enuring', 'envelop', 'envelope', 'enveloped', 'enveloper', 'envelopers', 'envelopes', 'enveloping', 'envelopment', 'envelopments', 'envelops', 'envenom', 'envenomed', 'envenoming', 'envenoms', 'enviable', 'enviably', 'envied', 'envies', 'envious', 'enviously', 'enviousness', 'enviousnesses', 'environment', 'environmental', 'environmentalism', 'environmentalisms', 'environmentalist', 'environmentalists', 'environmentally', 'environments', 'environs', 'envisage', 'envisaged', 'envisages', 'envisaging', 'envision', 'envisioned', 'envisioning', 'envisions', 'envoys', 'envying', 'envyingly', 'enzymatic', 'enzyme', 'enzymes', 'eolian', 'epaulet', 'epaulets', 'epaulette', 'epaulettes', 'ephedrine', 'ephedrines', 'ephemera', 'ephemeral', 'ephemerally', 'epicenter', 'epicenters', 'epicentre', 'epicentres', 'epicure', 'epicurean', 'epicureans', 'epicures', 'epidemic', 'epidemically', 'epidemics', 'epidemiologies', 'epidemiologist', 'epidemiologists', 'epidemiology', 'epidermal', 'epidermic', 'epidermis', 'epidermises', 'epiglottides', 'epiglottis', 'epiglottises', 'epigram', 'epigrammatic', 'epigrams', 'epigraph', 'epigraphies', 'epigraphs', 'epigraphy', 'epilepsies', 'epilepsy', 'epileptic', 'epileptics', 'epilog', 'epilogs', 'epilogue', 'epilogues', 'epinephrin', 'epinephrine', 'epinephrines', 'epinephrins', 'epiphanies', 'epiphany', 'episcopacies', 'episcopacy', 'episcopal', 'episcopate', 'episcopates', 'episode', 'episodes', 'episodic', 'episodically', 'epistle', 'epistles', 'epistolary', 'epitaph', 'epitaphs', 'epithelia', 'epithelial', 'epithelium', 'epitheliums', 'epithet', 'epithets', 'epitome', 'epitomes', 'epitomize', 'epitomized', 'epitomizes', 'epitomizing', 'epochal', 'epochs', 'epoxied', 'epoxies', 'epoxyed', 'epoxying', 'epsilon', 'epsilons', 'equabilities', 'equability', 'equable', 'equably', 'equaled', 'equaling', 'equalities', 'equality', 'equalization', 'equalizations', 'equalize', 'equalized', 'equalizer', 'equalizers', 'equalizes', 'equalizing', 'equalled', 'equalling', 'equally', 'equals', 'equanimities', 'equanimity', 'equatable', 'equate', 'equated', 'equates', 'equating', 'equation', 'equations', 'equator', 'equatorial', 'equators', 'equerries', 'equerry', 'equestrian', 'equestrianism', 'equestrianisms', 'equestrians', 'equestrienne', 'equestriennes', 'equidistant', 'equidistantly', 'equilateral', 'equilaterals', 'equilibria', 'equilibrium', 'equilibriums', 'equine', 'equines', 'equinoctial', 'equinox', 'equinoxes', 'equipage', 'equipages', 'equipment', 'equipments', 'equipoise', 'equipoises', 'equipped', 'equipping', 'equips', 'equitable', 'equitably', 'equitation', 'equitations', 'equities', 'equity', 'equivalence', 'equivalences', 'equivalencies', 'equivalency', 'equivalent', 'equivalently', 'equivalents', 'equivocal', 'equivocally', 'equivocalness', 'equivocalnesses', 'equivocate', 'equivocated', 'equivocates', 'equivocating', 'equivocation', 'equivocations', 'equivocator', 'equivocators', 'eradicable', 'eradicate', 'eradicated', 'eradicates', 'eradicating', 'eradication', 'eradications', 'eradicator', 'eradicators', 'erasable', 'erased', 'eraser', 'erasers', 'erases', 'erasing', 'erasure', 'erasures', 'erbium', 'erbiums', 'erected', 'erectile', 'erecting', 'erection', 'erections', 'erectly', 'erectness', 'erectnesses', 'erector', 'erectors', 'erects', 'erelong', 'eremite', 'eremites', 'ergonomic', 'ergonomically', 'ergonomics', 'ergosterol', 'ergosterols', 'ergots', 'ermine', 'ermines', 'eroded', 'erodes', 'erodible', 'eroding', 'erogenous', 'erosion', 'erosions', 'erosive', 'erotic', 'erotica', 'erotically', 'eroticism', 'eroticisms', 'errand', 'errands', 'errant', 'errata', 'erratas', 'erratic', 'erratically', 'erratum', 'erring', 'erroneous', 'erroneously', 'errors', 'ersatz', 'ersatzes', 'erstwhile', 'eructation', 'eructations', 'eructed', 'eructing', 'eructs', 'erudite', 'eruditely', 'erudition', 'eruditions', 'erupted', 'erupting', 'eruption', 'eruptions', 'eruptive', 'erupts', 'erysipelas', 'erysipelases', 'erythrocyte', 'erythrocytes', 'escalate', 'escalated', 'escalates', 'escalating', 'escalation', 'escalations', 'escalator', 'escalators', 'escallop', 'escalloped', 'escalloping', 'escallops', 'escalop', 'escalops', 'escapade', 'escapades', 'escape', 'escaped', 'escapee', 'escapees', 'escapement', 'escapements', 'escapes', 'escaping', 'escapism', 'escapisms', 'escapist', 'escapists', 'escargot', 'escargots', 'escarole', 'escaroles', 'escarpment', 'escarpments', 'eschew', 'eschewed', 'eschewing', 'eschews', 'escort', 'escorted', 'escorting', 'escorts', 'escritoire', 'escritoires', 'escrow', 'escrows', 'escudo', 'escudos', 'escutcheon', 'escutcheons', 'esophageal', 'esophagi', 'esophagus', 'esoteric', 'esoterically', 'espadrille', 'espadrilles', 'espalier', 'espaliered', 'espaliering', 'espaliers', 'especial', 'especially', 'espied', 'espies', 'espionage', 'espionages', 'esplanade', 'esplanades', 'espousal', 'espousals', 'espouse', 'espoused', 'espouses', 'espousing', 'espresso', 'espressos', 'esprit', 'esprits', 'espying', 'esquire', 'esquires', 'essayed', 'essayer', 'essayers', 'essaying', 'essayist', 'essayists', 'essays', 'essence', 'essences', 'essential', 'essentially', 'essentials', 'establish', 'established', 'establishes', 'establishing', 'establishment', 'establishments', 'estate', 'estates', 'esteem', 'esteemed', 'esteeming', 'esteems', 'esters', 'esthete', 'esthetes', 'esthetic', 'esthetically', 'esthetics', 'estimable', 'estimate', 'estimated', 'estimates', 'estimating', 'estimation', 'estimations', 'estimator', 'estimators', 'estrange', 'estranged', 'estrangement', 'estrangements', 'estranges', 'estranging', 'estrogen', 'estrogens', 'estrous', 'estrus', 'estruses', 'estuaries', 'estuary', 'etched', 'etcher', 'etchers', 'etches', 'etching', 'etchings', 'eternal', 'eternally', 'eternalness', 'eternalnesses', 'eternities', 'eternity', 'ethane', 'ethanes', 'ethanol', 'ethanols', 'ethereal', 'ethereally', 'ethers', 'ethical', 'ethically', 'ethics', 'ethnic', 'ethnically', 'ethnicities', 'ethnicity', 'ethnics', 'ethnocentric', 'ethnocentrism', 'ethnocentrisms', 'ethnological', 'ethnologies', 'ethnologist', 'ethnologists', 'ethnology', 'ethological', 'ethologies', 'ethologist', 'ethologists', 'ethology', 'ethoses', 'ethylene', 'ethylenes', 'ethyls', 'etiologic', 'etiological', 'etiologies', 'etiology', 'etiquette', 'etiquettes', 'etudes', 'etymological', 'etymologically', 'etymologies', 'etymologist', 'etymologists', 'etymology', 'eucalypti', 'eucalyptus', 'eucalyptuses', 'euchre', 'euchred', 'euchres', 'euchring', 'euclidean', 'eugenic', 'eugenically', 'eugenicist', 'eugenicists', 'eugenics', 'eulogies', 'eulogist', 'eulogistic', 'eulogists', 'eulogize', 'eulogized', 'eulogizer', 'eulogizers', 'eulogizes', 'eulogizing', 'eulogy', 'eunuch', 'eunuchs', 'euphemism', 'euphemisms', 'euphemistic', 'euphemistically', 'euphonies', 'euphonious', 'euphoniously', 'euphony', 'euphoria', 'euphorias', 'euphoric', 'euphorically', 'eureka', 'europium', 'europiums', 'euthanasia', 'euthanasias', 'euthanize', 'euthanized', 'euthanizes', 'euthanizing', 'euthenics', 'evacuate', 'evacuated', 'evacuates', 'evacuating', 'evacuation', 'evacuations', 'evacuee', 'evacuees', 'evaded', 'evader', 'evaders', 'evades', 'evading', 'evaluate', 'evaluated', 'evaluates', 'evaluating', 'evaluation', 'evaluations', 'evanescence', 'evanescences', 'evanescent', 'evangelic', 'evangelical', 'evangelicalism', 'evangelicalisms', 'evangelically', 'evangelicals', 'evangelism', 'evangelisms', 'evangelist', 'evangelistic', 'evangelists', 'evangelize', 'evangelized', 'evangelizes', 'evangelizing', 'evaporate', 'evaporated', 'evaporates', 'evaporating', 'evaporation', 'evaporations', 'evaporator', 'evaporators', 'evasion', 'evasions', 'evasive', 'evasively', 'evasiveness', 'evasivenesses', 'evened', 'evener', 'evenest', 'evenhanded', 'evenhandedly', 'evening', 'evenings', 'evenly', 'evenness', 'evennesses', 'evensong', 'evensongs', 'eventful', 'eventfully', 'eventfulness', 'eventfulnesses', 'eventide', 'eventides', 'events', 'eventual', 'eventualities', 'eventuality', 'eventually', 'eventuate', 'eventuated', 'eventuates', 'eventuating', 'everglade', 'everglades', 'evergreen', 'evergreens', 'everlasting', 'everlastingly', 'everlastings', 'evermore', 'everybody', 'everyday', 'everyone', 'everyplace', 'everything', 'everywhere', 'evicted', 'evicting', 'eviction', 'evictions', 'evicts', 'evidence', 'evidenced', 'evidences', 'evidencing', 'evident', 'evidently', 'evildoer', 'evildoers', 'evildoing', 'evildoings', 'eviler', 'evilest', 'eviller', 'evillest', 'evilly', 'evilness', 'evilnesses', 'evince', 'evinced', 'evinces', 'evincing', 'eviscerate', 'eviscerated', 'eviscerates', 'eviscerating', 'evisceration', 'eviscerations', 'evocation', 'evocations', 'evocative', 'evocatively', 'evoked', 'evokes', 'evoking', 'evolution', 'evolutionary', 'evolutionist', 'evolutionists', 'evolutions', 'evolve', 'evolved', 'evolves', 'evolving', 'exacerbate', 'exacerbated', 'exacerbates', 'exacerbating', 'exacerbation', 'exacerbations', 'exacted', 'exacter', 'exactest', 'exacting', 'exactingly', 'exaction', 'exactions', 'exactitude', 'exactitudes', 'exactly', 'exactness', 'exactnesses', 'exacts', 'exaggerate', 'exaggerated', 'exaggeratedly', 'exaggerates', 'exaggerating', 'exaggeration', 'exaggerations', 'exaggerator', 'exaggerators', 'exaltation', 'exaltations', 'exalted', 'exalting', 'exalts', 'examination', 'examinations', 'examine', 'examined', 'examiner', 'examiners', 'examines', 'examining', 'example', 'exampled', 'examples', 'exampling', 'exasperate', 'exasperated', 'exasperates', 'exasperating', 'exasperation', 'exasperations', 'excavate', 'excavated', 'excavates', 'excavating', 'excavation', 'excavations', 'excavator', 'excavators', 'exceed', 'exceeded', 'exceeding', 'exceedingly', 'exceeds', 'excelled', 'excellence', 'excellences', 'excellencies', 'excellency', 'excellent', 'excellently', 'excelling', 'excels', 'excelsior', 'excelsiors', 'except', 'excepted', 'excepting', 'exception', 'exceptionable', 'exceptional', 'exceptionally', 'exceptions', 'excepts', 'excerpt', 'excerpted', 'excerpting', 'excerpts', 'excess', 'excesses', 'excessive', 'excessively', 'exchange', 'exchangeable', 'exchanged', 'exchanges', 'exchanging', 'exchequer', 'exchequers', 'excise', 'excised', 'excises', 'excising', 'excision', 'excisions', 'excitabilities', 'excitability', 'excitable', 'excitably', 'excitation', 'excitations', 'excite', 'excited', 'excitedly', 'excitement', 'excitements', 'exciter', 'exciters', 'excites', 'exciting', 'excitingly', 'exclaim', 'exclaimed', 'exclaiming', 'exclaims', 'exclamation', 'exclamations', 'exclamatory', 'exclude', 'excluded', 'excludes', 'excluding', 'exclusion', 'exclusions', 'exclusive', 'exclusively', 'exclusiveness', 'exclusivenesses', 'exclusives', 'exclusivities', 'exclusivity', 'excommunicate', 'excommunicated', 'excommunicates', 'excommunicating', 'excommunication', 'excommunications', 'excoriate', 'excoriated', 'excoriates', 'excoriating', 'excoriation', 'excoriations', 'excrement', 'excremental', 'excrements', 'excrescence', 'excrescences', 'excrescent', 'excreta', 'excrete', 'excreted', 'excretes', 'excreting', 'excretion', 'excretions', 'excretory', 'excruciating', 'excruciatingly', 'exculpate', 'exculpated', 'exculpates', 'exculpating', 'exculpation', 'exculpations', 'exculpatory', 'excursion', 'excursionist', 'excursionists', 'excursions', 'excursive', 'excursively', 'excursiveness', 'excursivenesses', 'excusable', 'excusably', 'excuse', 'excused', 'excuses', 'excusing', 'execrable', 'execrably', 'execrate', 'execrated', 'execrates', 'execrating', 'execration', 'execrations', 'execute', 'executed', 'executes', 'executing', 'execution', 'executioner', 'executioners', 'executions', 'executive', 'executives', 'executor', 'executors', 'executrices', 'executrix', 'executrixes', 'exegeses', 'exegesis', 'exegetic', 'exegetical', 'exemplar', 'exemplars', 'exemplary', 'exemplification', 'exemplifications', 'exemplified', 'exemplifies', 'exemplify', 'exemplifying', 'exempt', 'exempted', 'exempting', 'exemption', 'exemptions', 'exempts', 'exercise', 'exercised', 'exerciser', 'exercisers', 'exercises', 'exercising', 'exerted', 'exerting', 'exertion', 'exertions', 'exerts', 'exhalation', 'exhalations', 'exhale', 'exhaled', 'exhales', 'exhaling', 'exhaust', 'exhausted', 'exhaustible', 'exhausting', 'exhaustion', 'exhaustions', 'exhaustive', 'exhaustively', 'exhaustiveness', 'exhaustivenesses', 'exhausts', 'exhibit', 'exhibited', 'exhibiting', 'exhibition', 'exhibitionism', 'exhibitionisms', 'exhibitionist', 'exhibitionists', 'exhibitions', 'exhibitor', 'exhibitors', 'exhibits', 'exhilarate', 'exhilarated', 'exhilarates', 'exhilarating', 'exhilaration', 'exhilarations', 'exhort', 'exhortation', 'exhortations', 'exhorted', 'exhorting', 'exhorts', 'exhumation', 'exhumations', 'exhume', 'exhumed', 'exhumes', 'exhuming', 'exigence', 'exigences', 'exigencies', 'exigency', 'exigent', 'exiguities', 'exiguity', 'exiguous', 'exiled', 'exiles', 'exiling', 'existed', 'existence', 'existences', 'existent', 'existential', 'existentialism', 'existentialisms', 'existentialist', 'existentialists', 'existentially', 'existing', 'exists', 'exited', 'exiting', 'exobiologies', 'exobiology', 'exodus', 'exoduses', 'exogenous', 'exonerate', 'exonerated', 'exonerates', 'exonerating', 'exoneration', 'exonerations', 'exoplanet!', 'exoplanets!', 'exorbitance', 'exorbitances', 'exorbitant', 'exorbitantly', 'exorcise', 'exorcised', 'exorcises', 'exorcising', 'exorcism', 'exorcisms', 'exorcist', 'exorcists', 'exorcize', 'exorcized', 'exorcizes', 'exorcizing', 'exoskeleton', 'exoskeletons', 'exosphere', 'exospheres', 'exothermic', 'exotic', 'exotically', 'exoticism', 'exoticisms', 'exotics', 'expand', 'expandable', 'expanded', 'expanding', 'expands', 'expanse', 'expanses', 'expansible', 'expansion', 'expansionary', 'expansionism', 'expansionisms', 'expansionist', 'expansionists', 'expansions', 'expansive', 'expansively', 'expansiveness', 'expansivenesses', 'expatiate', 'expatiated', 'expatiates', 'expatiating', 'expatiation', 'expatiations', 'expatriate', 'expatriated', 'expatriates', 'expatriating', 'expatriation', 'expatriations', 'expect', 'expectancies', 'expectancy', 'expectant', 'expectantly', 'expectation', 'expectations', 'expected', 'expecting', 'expectorant', 'expectorants', 'expectorate', 'expectorated', 'expectorates', 'expectorating', 'expectoration', 'expectorations', 'expects', 'expedience', 'expediences', 'expediencies', 'expediency', 'expedient', 'expediently', 'expedients', 'expedite', 'expedited', 'expediter', 'expediters', 'expedites', 'expediting', 'expedition', 'expeditionary', 'expeditions', 'expeditious', 'expeditiously', 'expeditiousness', 'expeditiousnesses', 'expeditor', 'expeditors', 'expelled', 'expelling', 'expels', 'expend', 'expendable', 'expendables', 'expended', 'expending', 'expenditure', 'expenditures', 'expends', 'expense', 'expenses', 'expensive', 'expensively', 'expensiveness', 'expensivenesses', 'experience', 'experienced', 'experiences', 'experiencing', 'experiment', 'experimental', 'experimentally', 'experimentation', 'experimentations', 'experimented', 'experimenter', 'experimenters', 'experimenting', 'experiments', 'expert', 'expertise', 'expertises', 'expertly', 'expertness', 'expertnesses', 'experts', 'expiate', 'expiated', 'expiates', 'expiating', 'expiation', 'expiations', 'expiatory', 'expiration', 'expirations', 'expire', 'expired', 'expires', 'expiries', 'expiring', 'expiry', 'explain', 'explainable', 'explained', 'explaining', 'explains', 'explanation', 'explanations', 'explanatory', 'expletive', 'expletives', 'explicable', 'explicate', 'explicated', 'explicates', 'explicating', 'explication', 'explications', 'explicit', 'explicitly', 'explicitness', 'explicitnesses', 'explode', 'exploded', 'explodes', 'exploding', 'exploit', 'exploitable', 'exploitation', 'exploitations', 'exploitative', 'exploited', 'exploiter', 'exploiters', 'exploiting', 'exploits', 'exploration', 'explorations', 'exploratory', 'explore', 'explored', 'explorer', 'explorers', 'explores', 'exploring', 'explosion', 'explosions', 'explosive', 'explosively', 'explosiveness', 'explosivenesses', 'explosives', 'exponent', 'exponential', 'exponentially', 'exponents', 'export', 'exportable', 'exportation', 'exportations', 'exported', 'exporter', 'exporters', 'exporting', 'exports', 'expose', 'exposed', 'exposes', 'exposing', 'exposition', 'expositions', 'expositor', 'expositors', 'expository', 'expostulate', 'expostulated', 'expostulates', 'expostulating', 'expostulation', 'expostulations', 'exposure', 'exposures', 'expound', 'expounded', 'expounder', 'expounders', 'expounding', 'expounds', 'express', 'expressed', 'expresses', 'expressible', 'expressing', 'expression', 'expressionism', 'expressionisms', 'expressionist', 'expressionistic', 'expressionists', 'expressionless', 'expressions', 'expressive', 'expressively', 'expressiveness', 'expressivenesses', 'expressly', 'expressway', 'expressways', 'expropriate', 'expropriated', 'expropriates', 'expropriating', 'expropriation', 'expropriations', 'expropriator', 'expropriators', 'expulsion', 'expulsions', 'expunge', 'expunged', 'expunges', 'expunging', 'expurgate', 'expurgated', 'expurgates', 'expurgating', 'expurgation', 'expurgations', 'exquisite', 'exquisitely', 'exquisiteness', 'exquisitenesses', 'extant', 'extemporaneous', 'extemporaneously', 'extemporaneousness', 'extemporaneousnesses', 'extempore', 'extemporization', 'extemporizations', 'extemporize', 'extemporized', 'extemporizes', 'extemporizing', 'extend', 'extendable', 'extended', 'extender', 'extenders', 'extendible', 'extending', 'extends', 'extensible', 'extension', 'extensions', 'extensive', 'extensively', 'extensiveness', 'extensivenesses', 'extent', 'extents', 'extenuate', 'extenuated', 'extenuates', 'extenuating', 'extenuation', 'extenuations', 'exterior', 'exteriors', 'exterminate', 'exterminated', 'exterminates', 'exterminating', 'extermination', 'exterminations', 'exterminator', 'exterminators', 'external', 'externalization', 'externalizations', 'externalize', 'externalized', 'externalizes', 'externalizing', 'externally', 'externals', 'extinct', 'extincted', 'extincting', 'extinction', 'extinctions', 'extincts', 'extinguish', 'extinguishable', 'extinguished', 'extinguisher', 'extinguishers', 'extinguishes', 'extinguishing', 'extirpate', 'extirpated', 'extirpates', 'extirpating', 'extirpation', 'extirpations', 'extoll', 'extolled', 'extolling', 'extolls', 'extols', 'extort', 'extorted', 'extorting', 'extortion', 'extortionate', 'extortionately', 'extortioner', 'extortioners', 'extortionist', 'extortionists', 'extortions', 'extorts', 'extract', 'extracted', 'extracting', 'extraction', 'extractions', 'extractor', 'extractors', 'extracts', 'extracurricular', 'extraditable', 'extradite', 'extradited', 'extradites', 'extraditing', 'extradition', 'extraditions', 'extralegal', 'extramarital', 'extramural', 'extraneous', 'extraneously', 'extraordinarily', 'extraordinary', 'extrapolate', 'extrapolated', 'extrapolates', 'extrapolating', 'extrapolation', 'extrapolations', 'extras', 'extrasensory', 'extraterrestrial', 'extraterrestrials', 'extraterritorial', 'extraterritorialities', 'extraterritoriality', 'extravagance', 'extravagances', 'extravagant', 'extravagantly', 'extravaganza', 'extravaganzas', 'extravehicular', 'extravert', 'extraverts', 'extreme', 'extremely', 'extremeness', 'extremenesses', 'extremer', 'extremes', 'extremest', 'extremism', 'extremisms', 'extremist', 'extremists', 'extremities', 'extremity', 'extricable', 'extricate', 'extricated', 'extricates', 'extricating', 'extrication', 'extrications', 'extrinsic', 'extrinsically', 'extroversion', 'extroversions', 'extrovert', 'extroverted', 'extroverts', 'extrude', 'extruded', 'extrudes', 'extruding', 'extrusion', 'extrusions', 'extrusive', 'exuberance', 'exuberances', 'exuberant', 'exuberantly', 'exudation', 'exudations', 'exuded', 'exudes', 'exuding', 'exultant', 'exultantly', 'exultation', 'exultations', 'exulted', 'exulting', 'exults', 'exurban', 'exurbanite', 'exurbanites', 'exurbia', 'exurbias', 'exurbs', 'eyeball', 'eyeballed', 'eyeballing', 'eyeballs', 'eyebrow', 'eyebrows', 'eyedropper', 'eyedroppers', 'eyeful', 'eyefuls', 'eyeglass', 'eyeglasses', 'eyeing', 'eyelash', 'eyelashes', 'eyeless', 'eyelet', 'eyelets', 'eyelid', 'eyelids', 'eyeliner', 'eyeliners', 'eyeopener', 'eyeopeners', 'eyeopening', 'eyepiece', 'eyepieces', 'eyesight', 'eyesights', 'eyesore', 'eyesores', 'eyestrain', 'eyestrains', 'eyeteeth', 'eyetooth', 'eyewash', 'eyewashes', 'eyewitness', 'eyewitnesses', 'eyries', 'fabled', 'fables', 'fabric', 'fabricate', 'fabricated', 'fabricates', 'fabricating', 'fabrication', 'fabrications', 'fabricator', 'fabricators', 'fabrics', 'fabulous', 'fabulously', 'facade', 'facades', 'facecloth', 'facecloths', 'faceless', 'facelift', 'facelifts', 'faceted', 'faceting', 'facetious', 'facetiously', 'facetiousness', 'facetiousnesses', 'facets', 'facetted', 'facetting', 'facial', 'facially', 'facials', 'facile', 'facilely', 'facilitate', 'facilitated', 'facilitates', 'facilitating', 'facilitation', 'facilitations', 'facilitator', 'facilitators', 'facilities', 'facility', 'facing', 'facings', 'facsimile', 'facsimiled', 'facsimileing', 'facsimiles', 'faction', 'factional', 'factionalism', 'factionalisms', 'factions', 'factious', 'factitious', 'factoid', 'factoids', 'factor', 'factored', 'factorial', 'factorials', 'factories', 'factoring', 'factors', 'factory', 'factotum', 'factotums', 'factual', 'factually', 'faculties', 'faculty', 'faddish', 'faddist', 'faddists', 'fading', 'faecal', 'faeces', 'faerie', 'faeries', 'fagged', 'fagging', 'faggot', 'faggoting', 'faggotings', 'faggots', 'fagoting', 'fagotings', 'fagots', 'faience', 'faiences', 'failed', 'failing', 'failings', 'faille', 'failles', 'failure', 'failures', 'fainer', 'fainest', 'fainted', 'fainter', 'faintest', 'fainthearted', 'fainting', 'faintly', 'faintness', 'faintnesses', 'faints', 'fairer', 'fairest', 'fairground', 'fairgrounds', 'fairies', 'fairing', 'fairings', 'fairly', 'fairness', 'fairnesses', 'fairway', 'fairways', 'fairyland', 'fairylands', 'faithful', 'faithfully', 'faithfulness', 'faithfulnesses', 'faithfuls', 'faithless', 'faithlessly', 'faithlessness', 'faithlessnesses', 'faiths', 'fajita', 'fajitas', 'fakers', 'faking', 'fakirs', 'falcon', 'falconer', 'falconers', 'falconries', 'falconry', 'falcons', 'fallacies', 'fallacious', 'fallaciously', 'fallacy', 'fallen', 'fallibilities', 'fallibility', 'fallible', 'fallibleness', 'falliblenesses', 'fallibly', 'falling', 'falloff', 'falloffs', 'fallout', 'fallouts', 'fallow', 'fallowed', 'fallowing', 'fallows', 'falsehood', 'falsehoods', 'falsely', 'falseness', 'falsenesses', 'falser', 'falsest', 'falsetto', 'falsettos', 'falsie', 'falsies', 'falsification', 'falsifications', 'falsified', 'falsifier', 'falsifiers', 'falsifies', 'falsify', 'falsifying', 'falsities', 'falsity', 'falter', 'faltered', 'faltering', 'falteringly', 'falters', 'fames', 'familial', 'familiar', 'familiarities', 'familiarity', 'familiarization', 'familiarizations', 'familiarize', 'familiarized', 'familiarizes', 'familiarizing', 'familiarly', 'familiars', 'families', 'family', 'famine', 'famines', 'famish', 'famished', 'famishes', 'famishing', 'famous', 'famously', 'fanatic', 'fanatical', 'fanatically', 'fanaticism', 'fanaticisms', 'fanatics', 'fanboy!', 'fanboys!', 'fancied', 'fancier', 'fanciers', 'fancies', 'fanciest', 'fanciful', 'fancifully', 'fancifulness', 'fancifulnesses', 'fancily', 'fanciness', 'fancinesses', 'fancying', 'fancywork', 'fancyworks', 'fandango', 'fandangoes', 'fandangos', 'fanfare', 'fanfares', 'fanged', 'fanlight', 'fanlights', 'fanned', 'fannies', 'fanning', 'fantail', 'fantails', 'fantasia', 'fantasias', 'fantasied', 'fantasies', 'fantasize', 'fantasized', 'fantasizes', 'fantasizing', 'fantastic', 'fantastical', 'fantastically', 'fantasy', 'fantasying', 'fanzine', 'fanzines', 'farads', 'faraway', 'farces', 'farcical', 'farcically', 'farewell', 'farewells', 'farfetched', 'farina', 'farinaceous', 'farinas', 'faring', 'farmed', 'farmer', 'farmers', 'farmhand', 'farmhands', 'farmhouse', 'farmhouses', 'farming', 'farmings', 'farmland', 'farmlands', 'farmstead', 'farmsteads', 'farmyard', 'farmyards', 'faros', 'farrago', 'farragoes', 'farragos', 'farrier', 'farriers', 'farrow', 'farrowed', 'farrowing', 'farrows', 'farseeing', 'farsighted', 'farsightedness', 'farsightednesses', 'farted', 'farther', 'farthermost', 'farthest', 'farthing', 'farthings', 'farting', 'fascia', 'fasciae', 'fascias', 'fascicle', 'fascicles', 'fascinate', 'fascinated', 'fascinates', 'fascinating', 'fascinatingly', 'fascination', 'fascinations', 'fascism', 'fascisms', 'fascist', 'fascistic', 'fascists', 'fashion', 'fashionable', 'fashionably', 'fashioned', 'fashioner', 'fashioners', 'fashioning', 'fashionista!', 'fashionistas!', 'fashions', 'fastback', 'fastbacks', 'fastball', 'fastballs', 'fasted', 'fasten', 'fastened', 'fastener', 'fasteners', 'fastening', 'fastenings', 'fastens', 'faster', 'fastest', 'fastidious', 'fastidiously', 'fastidiousness', 'fastidiousnesses', 'fasting', 'fastness', 'fastnesses', 'fatalism', 'fatalisms', 'fatalist', 'fatalistic', 'fatalistically', 'fatalists', 'fatalities', 'fatality', 'fatally', 'fatback', 'fatbacks', 'fateful', 'fatefully', 'fatefulness', 'fatefulnesses', 'fathead', 'fatheaded', 'fatheads', 'father', 'fathered', 'fatherhood', 'fatherhoods', 'fathering', 'fatherland', 'fatherlands', 'fatherless', 'fatherly', 'fathers', 'fathom', 'fathomable', 'fathomed', 'fathoming', 'fathomless', 'fathoms', 'fatigue', 'fatigued', 'fatigues', 'fatiguing', 'fating', 'fatness', 'fatnesses', 'fatten', 'fattened', 'fattening', 'fattens', 'fatter', 'fattest', 'fattier', 'fatties', 'fattiest', 'fattiness', 'fattinesses', 'fatuities', 'fatuity', 'fatuous', 'fatuously', 'fatuousness', 'fatuousnesses', 'fatwas', 'faucet', 'faucets', 'faulted', 'faultfinder', 'faultfinders', 'faultfinding', 'faultfindings', 'faultier', 'faultiest', 'faultily', 'faultiness', 'faultinesses', 'faulting', 'faultless', 'faultlessly', 'faultlessness', 'faultlessnesses', 'faults', 'faulty', 'faunae', 'faunas', 'fauvism', 'fauvisms', 'fauvist', 'fauvists', 'favorable', 'favorably', 'favored', 'favoring', 'favorite', 'favorites', 'favoritism', 'favoritisms', 'favors', 'favour', 'favoured', 'favouring', 'favours', 'fawned', 'fawner', 'fawners', 'fawnest', 'fawning', 'faxing', 'fayest', 'fazing', 'fealties', 'fealty', 'feared', 'fearful', 'fearfully', 'fearfulness', 'fearfulnesses', 'fearing', 'fearless', 'fearlessly', 'fearlessness', 'fearlessnesses', 'fearsome', 'feasibilities', 'feasibility', 'feasible', 'feasibly', 'feasted', 'feaster', 'feasters', 'feasting', 'feasts', 'feather', 'featherbedding', 'featherbeddings', 'feathered', 'featherier', 'featheriest', 'feathering', 'featherless', 'feathers', 'featherweight', 'featherweights', 'feathery', 'feature', 'featured', 'featureless', 'features', 'featuring', 'febrile', 'feckless', 'fecklessly', 'fecund', 'fecundate', 'fecundated', 'fecundates', 'fecundating', 'fecundation', 'fecundations', 'fecundities', 'fecundity', 'federal', 'federalism', 'federalisms', 'federalist', 'federalists', 'federalization', 'federalizations', 'federalize', 'federalized', 'federalizes', 'federalizing', 'federally', 'federals', 'federate', 'federated', 'federates', 'federating', 'federation', 'federations', 'fedora', 'fedoras', 'feeble', 'feebleness', 'feeblenesses', 'feebler', 'feeblest', 'feebly', 'feedback', 'feedbacks', 'feedbag', 'feedbags', 'feeder', 'feeders', 'feeding', 'feedings', 'feedlot', 'feedlots', 'feeler', 'feelers', 'feeling', 'feelingly', 'feelings', 'feigned', 'feigning', 'feigns', 'feinted', 'feinting', 'feints', 'feistier', 'feistiest', 'feisty', 'feldspar', 'feldspars', 'felicitate', 'felicitated', 'felicitates', 'felicitating', 'felicitation', 'felicitations', 'felicities', 'felicitous', 'felicitously', 'felicity', 'feline', 'felines', 'fellatio', 'fellatios', 'felled', 'feller', 'fellest', 'felling', 'fellow', 'fellowman', 'fellowmen', 'fellows', 'fellowship', 'fellowships', 'felonies', 'felonious', 'felons', 'felony', 'felted', 'felting', 'female', 'femaleness', 'femalenesses', 'females', 'feminine', 'femininely', 'feminines', 'femininities', 'femininity', 'feminism', 'feminisms', 'feminist', 'feminists', 'femora', 'femoral', 'femurs', 'fenced', 'fencer', 'fencers', 'fences', 'fencing', 'fencings', 'fended', 'fender', 'fenders', 'fending', 'fenestration', 'fenestrations', 'fennel', 'fennels', 'ferment', 'fermentation', 'fermentations', 'fermented', 'fermenting', 'ferments', 'fermium', 'fermiums', 'fernier', 'ferniest', 'ferocious', 'ferociously', 'ferociousness', 'ferociousnesses', 'ferocities', 'ferocity', 'ferret', 'ferreted', 'ferreting', 'ferrets', 'ferric', 'ferried', 'ferries', 'ferromagnetic', 'ferrous', 'ferrule', 'ferrules', 'ferryboat', 'ferryboats', 'ferrying', 'ferryman', 'ferrymen', 'fertile', 'fertilities', 'fertility', 'fertilization', 'fertilizations', 'fertilize', 'fertilized', 'fertilizer', 'fertilizers', 'fertilizes', 'fertilizing', 'ferule', 'ferules', 'fervencies', 'fervency', 'fervent', 'fervently', 'fervid', 'fervidly', 'fervor', 'fervors', 'fervour', 'fervours', 'fessed', 'fesses', 'fessing', 'festal', 'fester', 'festered', 'festering', 'festers', 'festival', 'festivals', 'festive', 'festively', 'festiveness', 'festivenesses', 'festivities', 'festivity', 'festoon', 'festooned', 'festooning', 'festoons', 'fetas', 'fetched', 'fetcher', 'fetchers', 'fetches', 'fetching', 'fetchingly', 'fetich', 'fetiches', 'fetidness', 'fetidnesses', 'feting', 'fetish', 'fetishes', 'fetishism', 'fetishisms', 'fetishist', 'fetishistic', 'fetishists', 'fetlock', 'fetlocks', 'fetter', 'fettered', 'fettering', 'fetters', 'fettle', 'fettles', 'fettuccine', 'fettuccines', 'fetuses', 'feudal', 'feudalism', 'feudalisms', 'feudalistic', 'feuded', 'feuding', 'fevered', 'feverish', 'feverishly', 'feverishness', 'feverishnesses', 'fevers', 'fewest', 'fewness', 'fewnesses', 'fezzes', 'fiance', 'fiancee', 'fiancees', 'fiances', 'fiasco', 'fiascoes', 'fiascos', 'fibbed', 'fibber', 'fibbers', 'fibbing', 'fiberboard', 'fiberboards', 'fiberfill', 'fiberfills', 'fiberglass', 'fiberglasses', 'fibers', 'fibres', 'fibril', 'fibrillate', 'fibrillated', 'fibrillates', 'fibrillating', 'fibrillation', 'fibrillations', 'fibrils', 'fibrin', 'fibrins', 'fibroid', 'fibroses', 'fibrosis', 'fibrous', 'fibula', 'fibulae', 'fibular', 'fibulas', 'fiches', 'fichus', 'fickle', 'fickleness', 'ficklenesses', 'fickler', 'ficklest', 'fiction', 'fictional', 'fictionalization', 'fictionalizations', 'fictionalize', 'fictionalized', 'fictionalizes', 'fictionalizing', 'fictionally', 'fictions', 'fictitious', 'fictitiously', 'fictive', 'fiddle', 'fiddled', 'fiddler', 'fiddlers', 'fiddles', 'fiddlesticks', 'fiddling', 'fidelities', 'fidelity', 'fidget', 'fidgeted', 'fidgeting', 'fidgets', 'fidgety', 'fiduciaries', 'fiduciary', 'fiefdom', 'fiefdoms', 'fielded', 'fielder', 'fielders', 'fielding', 'fields', 'fieldwork', 'fieldworker', 'fieldworkers', 'fieldworks', 'fiendish', 'fiendishly', 'fiends', 'fierce', 'fiercely', 'fierceness', 'fiercenesses', 'fiercer', 'fiercest', 'fierier', 'fieriest', 'fieriness', 'fierinesses', 'fiesta', 'fiestas', 'fifers', 'fifteen', 'fifteens', 'fifteenth', 'fifteenths', 'fifthly', 'fifths', 'fifties', 'fiftieth', 'fiftieths', 'fighter', 'fighters', 'fighting', 'fightings', 'fights', 'figment', 'figments', 'figuration', 'figurations', 'figurative', 'figuratively', 'figure', 'figured', 'figurehead', 'figureheads', 'figures', 'figurine', 'figurines', 'figuring', 'filament', 'filamentous', 'filaments', 'filbert', 'filberts', 'filched', 'filches', 'filching', 'filers', 'fileted', 'fileting', 'filets', 'filial', 'filibuster', 'filibustered', 'filibusterer', 'filibusterers', 'filibustering', 'filibusters', 'filigree', 'filigreed', 'filigreeing', 'filigrees', 'filing', 'filings', 'filled', 'filler', 'fillers', 'fillet', 'filleted', 'filleting', 'fillets', 'fillies', 'filling', 'fillings', 'fillip', 'filliped', 'filliping', 'fillips', 'filmed', 'filmier', 'filmiest', 'filminess', 'filminesses', 'filming', 'filmmaker', 'filmmakers', 'filmstrip', 'filmstrips', 'filter', 'filterable', 'filtered', 'filterer', 'filterers', 'filtering', 'filters', 'filthier', 'filthiest', 'filthily', 'filthiness', 'filthinesses', 'filths', 'filthy', 'filtrable', 'filtrate', 'filtrated', 'filtrates', 'filtrating', 'filtration', 'filtrations', 'finagle', 'finagled', 'finagler', 'finaglers', 'finagles', 'finagling', 'finale', 'finales', 'finalist', 'finalists', 'finalities', 'finality', 'finalization', 'finalizations', 'finalize', 'finalized', 'finalizes', 'finalizing', 'finally', 'finals', 'finance', 'financed', 'finances', 'financial', 'financially', 'financier', 'financiers', 'financing', 'financings', 'finches', 'finder', 'finders', 'finding', 'findings', 'finely', 'fineness', 'finenesses', 'fineries', 'finery', 'finespun', 'finesse', 'finessed', 'finesses', 'finessing', 'finest', 'finger', 'fingerboard', 'fingerboards', 'fingered', 'fingering', 'fingerings', 'fingerling', 'fingerlings', 'fingernail', 'fingernails', 'fingerprint', 'fingerprinted', 'fingerprinting', 'fingerprints', 'fingers', 'fingertip', 'fingertips', 'finial', 'finials', 'finical', 'finickier', 'finickiest', 'finickiness', 'finickinesses', 'finicky', 'fining', 'finises', 'finish', 'finished', 'finisher', 'finishers', 'finishes', 'finishing', 'finite', 'finitely', 'finked', 'finking', 'finned', 'finnier', 'finniest', 'fiords', 'firearm', 'firearms', 'fireball', 'fireballs', 'firebomb', 'firebombed', 'firebombing', 'firebombs', 'firebox', 'fireboxes', 'firebrand', 'firebrands', 'firebreak', 'firebreaks', 'firebrick', 'firebricks', 'firebug', 'firebugs', 'firecracker', 'firecrackers', 'firedamp', 'firedamps', 'firefight', 'firefighter', 'firefighters', 'firefighting', 'firefightings', 'firefights', 'fireflies', 'firefly', 'firehouse', 'firehouses', 'firelight', 'firelights', 'fireman', 'firemen', 'fireplace', 'fireplaces', 'fireplug', 'fireplugs', 'firepower', 'firepowers', 'fireproof', 'fireproofed', 'fireproofing', 'fireproofs', 'firers', 'fireside', 'firesides', 'firestorm', 'firestorms', 'firetrap', 'firetraps', 'firetruck', 'firetrucks', 'firewall', 'firewalls', 'firewater', 'firewaters', 'firewood', 'firewoods', 'firework', 'fireworks', 'firing', 'firmament', 'firmaments', 'firmed', 'firmer', 'firmest', 'firming', 'firmly', 'firmness', 'firmnesses', 'firmware', 'firmwares', 'firstborn', 'firstborns', 'firsthand', 'firstly', 'firsts', 'firths', 'fiscal', 'fiscally', 'fiscals', 'fishbowl', 'fishbowls', 'fishcake', 'fishcakes', 'fished', 'fisher', 'fisheries', 'fisherman', 'fishermen', 'fishers', 'fishery', 'fishes', 'fishhook', 'fishhooks', 'fishier', 'fishiest', 'fishily', 'fishiness', 'fishinesses', 'fishing', 'fishings', 'fishmonger', 'fishmongers', 'fishnet', 'fishnets', 'fishpond', 'fishponds', 'fishtail', 'fishtailed', 'fishtailing', 'fishtails', 'fishwife', 'fishwives', 'fissile', 'fission', 'fissionable', 'fissions', 'fissure', 'fissures', 'fistfight', 'fistfights', 'fistful', 'fistfuls', 'fisticuffs', 'fistula', 'fistulae', 'fistulas', 'fistulous', 'fitful', 'fitfully', 'fitfulness', 'fitfulnesses', 'fitness', 'fitnesses', 'fitted', 'fitter', 'fitters', 'fittest', 'fitting', 'fittingly', 'fittings', 'fixable', 'fixate', 'fixated', 'fixates', 'fixating', 'fixation', 'fixations', 'fixative', 'fixatives', 'fixedly', 'fixers', 'fixing', 'fixings', 'fixities', 'fixity', 'fixture', 'fixtures', 'fizzed', 'fizzes', 'fizzier', 'fizziest', 'fizzing', 'fizzle', 'fizzled', 'fizzles', 'fizzling', 'fjords', 'flabbergast', 'flabbergasted', 'flabbergasting', 'flabbergasts', 'flabbier', 'flabbiest', 'flabbily', 'flabbiness', 'flabbinesses', 'flabby', 'flabs', 'flaccid', 'flaccidities', 'flaccidity', 'flaccidly', 'flacks', 'flagella', 'flagellate', 'flagellated', 'flagellates', 'flagellating', 'flagellation', 'flagellations', 'flagellum', 'flagellums', 'flagged', 'flagging', 'flagman', 'flagmen', 'flagon', 'flagons', 'flagpole', 'flagpoles', 'flagrance', 'flagrances', 'flagrancies', 'flagrancy', 'flagrant', 'flagrantly', 'flagship', 'flagships', 'flagstaff', 'flagstaffs', 'flagstone', 'flagstones', 'flailed', 'flailing', 'flails', 'flairs', 'flaked', 'flakes', 'flakier', 'flakiest', 'flakiness', 'flakinesses', 'flaking', 'flambe', 'flambeed', 'flambeing', 'flambes', 'flamboyance', 'flamboyances', 'flamboyancies', 'flamboyancy', 'flamboyant', 'flamboyantly', 'flamed', 'flamenco', 'flamencos', 'flameproof', 'flameproofed', 'flameproofing', 'flameproofs', 'flames', 'flamethrower', 'flamethrowers', 'flaming', 'flamingo', 'flamingoes', 'flamingos', 'flammabilities', 'flammability', 'flammable', 'flammables', 'flange', 'flanges', 'flanked', 'flanker', 'flankers', 'flanking', 'flanks', 'flannel', 'flanneled', 'flannelet', 'flannelets', 'flannelette', 'flannelettes', 'flanneling', 'flannelled', 'flannelling', 'flannels', 'flapjack', 'flapjacks', 'flapped', 'flapper', 'flappers', 'flapping', 'flared', 'flares', 'flareup', 'flareups', 'flaring', 'flashback', 'flashbacks', 'flashbulb', 'flashbulbs', 'flashcard', 'flashcards', 'flashcube', 'flashcubes', 'flashed', 'flasher', 'flashers', 'flashes', 'flashest', 'flashgun', 'flashguns', 'flashier', 'flashiest', 'flashily', 'flashiness', 'flashinesses', 'flashing', 'flashings', 'flashlight', 'flashlights', 'flashpoint', 'flashpoints', 'flashy', 'flasks', 'flatbed', 'flatbeds', 'flatboat', 'flatboats', 'flatcar', 'flatcars', 'flatfeet', 'flatfish', 'flatfishes', 'flatfoot', 'flatfooted', 'flatfoots', 'flatiron', 'flatirons', 'flatland', 'flatlands', 'flatly', 'flatness', 'flatnesses', 'flatted', 'flatten', 'flattened', 'flattening', 'flattens', 'flatter', 'flattered', 'flatterer', 'flatterers', 'flatteries', 'flattering', 'flatteringly', 'flatters', 'flattery', 'flattest', 'flatting', 'flattish', 'flattop', 'flattops', 'flatulence', 'flatulences', 'flatulent', 'flatus', 'flatuses', 'flatware', 'flatwares', 'flatworm', 'flatworms', 'flaunt', 'flaunted', 'flaunting', 'flauntingly', 'flaunts', 'flautist', 'flautists', 'flavor', 'flavored', 'flavorful', 'flavoring', 'flavorings', 'flavorless', 'flavors', 'flavorsome', 'flavour', 'flavoured', 'flavouring', 'flavours', 'flawed', 'flawing', 'flawless', 'flawlessly', 'flawlessness', 'flawlessnesses', 'flaxen', 'flaxes', 'flayed', 'flaying', 'fleabag', 'fleabags', 'flecked', 'flecking', 'flecks', 'fledgeling', 'fledgelings', 'fledgling', 'fledglings', 'fleece', 'fleeced', 'fleecer', 'fleecers', 'fleeces', 'fleecier', 'fleeciest', 'fleeciness', 'fleecinesses', 'fleecing', 'fleecy', 'fleeing', 'fleeted', 'fleeter', 'fleetest', 'fleeting', 'fleetingly', 'fleetingness', 'fleetingnesses', 'fleetly', 'fleetness', 'fleetnesses', 'fleets', 'fleshed', 'fleshes', 'fleshier', 'fleshiest', 'fleshing', 'fleshlier', 'fleshliest', 'fleshly', 'fleshpot', 'fleshpots', 'fleshy', 'flexed', 'flexes', 'flexibilities', 'flexibility', 'flexible', 'flexibly', 'flexing', 'flexitime', 'flexitimes', 'flextime', 'flextimes', 'flibbertigibbet', 'flibbertigibbets', 'flicked', 'flicker', 'flickered', 'flickering', 'flickers', 'flicking', 'flicks', 'fliers', 'fliest', 'flight', 'flightier', 'flightiest', 'flightiness', 'flightinesses', 'flightless', 'flights', 'flighty', 'flimflam', 'flimflammed', 'flimflamming', 'flimflams', 'flimsier', 'flimsiest', 'flimsily', 'flimsiness', 'flimsinesses', 'flimsy', 'flinch', 'flinched', 'flinches', 'flinching', 'flinging', 'flings', 'flintier', 'flintiest', 'flintlock', 'flintlocks', 'flints', 'flinty', 'flippancies', 'flippancy', 'flippant', 'flippantly', 'flipped', 'flipper', 'flippers', 'flippest', 'flipping', 'flirtation', 'flirtations', 'flirtatious', 'flirtatiously', 'flirtatiousness', 'flirtatiousnesses', 'flirted', 'flirting', 'flirts', 'flitted', 'flitting', 'floated', 'floater', 'floaters', 'floating', 'floats', 'flocked', 'flocking', 'flockings', 'flocks', 'flogged', 'flogger', 'floggers', 'flogging', 'floggings', 'flooded', 'floodgate', 'floodgates', 'flooding', 'floodlight', 'floodlighted', 'floodlighting', 'floodlights', 'floodlit', 'floodplain', 'floodplains', 'floods', 'floodwater', 'floodwaters', 'floorboard', 'floorboards', 'floored', 'flooring', 'floorings', 'floors', 'floorwalker', 'floorwalkers', 'floozie', 'floozies', 'floozy', 'flophouse', 'flophouses', 'flopped', 'floppier', 'floppies', 'floppiest', 'floppily', 'floppiness', 'floppinesses', 'flopping', 'floppy', 'florae', 'floral', 'floras', 'florescence', 'florescences', 'florescent', 'floret', 'florets', 'florid', 'florider', 'floridest', 'floridly', 'floridness', 'floridnesses', 'florin', 'florins', 'florist', 'florists', 'flossed', 'flosses', 'flossier', 'flossiest', 'flossing', 'flossy', 'flotation', 'flotations', 'flotilla', 'flotillas', 'flotsam', 'flotsams', 'flounce', 'flounced', 'flounces', 'flouncier', 'flounciest', 'flouncing', 'flouncy', 'flounder', 'floundered', 'floundering', 'flounders', 'floured', 'flouring', 'flourish', 'flourished', 'flourishes', 'flourishing', 'flours', 'floury', 'flouted', 'flouter', 'flouters', 'flouting', 'flouts', 'flowchart', 'flowcharts', 'flowed', 'flower', 'flowerbed', 'flowerbeds', 'flowered', 'flowerier', 'floweriest', 'floweriness', 'flowerinesses', 'flowering', 'flowerless', 'flowerpot', 'flowerpots', 'flowers', 'flowery', 'flowing', 'flubbed', 'flubbing', 'fluctuate', 'fluctuated', 'fluctuates', 'fluctuating', 'fluctuation', 'fluctuations', 'fluencies', 'fluency', 'fluent', 'fluently', 'fluffed', 'fluffier', 'fluffiest', 'fluffiness', 'fluffinesses', 'fluffing', 'fluffs', 'fluffy', 'fluidities', 'fluidity', 'fluidly', 'fluids', 'flukes', 'flukey', 'flukier', 'flukiest', 'flumes', 'flummox', 'flummoxed', 'flummoxes', 'flummoxing', 'flunked', 'flunkey', 'flunkeys', 'flunkies', 'flunking', 'flunks', 'flunky', 'fluoresce', 'fluoresced', 'fluorescence', 'fluorescences', 'fluorescent', 'fluoresces', 'fluorescing', 'fluoridate', 'fluoridated', 'fluoridates', 'fluoridating', 'fluoridation', 'fluoridations', 'fluoride', 'fluorides', 'fluorine', 'fluorines', 'fluorite', 'fluorites', 'fluorocarbon', 'fluorocarbons', 'fluoroscope', 'fluoroscopes', 'fluoroscopic', 'flurried', 'flurries', 'flurry', 'flurrying', 'flushed', 'flusher', 'flushes', 'flushest', 'flushing', 'fluster', 'flustered', 'flustering', 'flusters', 'fluted', 'flutes', 'fluting', 'flutings', 'flutist', 'flutists', 'flutter', 'fluttered', 'fluttering', 'flutters', 'fluttery', 'fluxed', 'fluxes', 'fluxing', 'flyable', 'flyblown', 'flybys', 'flycatcher', 'flycatchers', 'flyers', 'flying', 'flyings', 'flyleaf', 'flyleaves', 'flypaper', 'flypapers', 'flyspeck', 'flyspecked', 'flyspecking', 'flyspecks', 'flyswatter', 'flyswatters', 'flyway', 'flyways', 'flyweight', 'flyweights', 'flywheel', 'flywheels', 'foaled', 'foaling', 'foamed', 'foamier', 'foamiest', 'foaminess', 'foaminesses', 'foaming', 'fobbed', 'fobbing', 'focally', 'focused', 'focuses', 'focusing', 'focussed', 'focusses', 'focussing', 'fodder', 'fodders', 'foetal', 'foetus', 'foetuses', 'fogbound', 'fogeys', 'fogged', 'foggier', 'foggiest', 'foggily', 'fogginess', 'fogginesses', 'fogging', 'foghorn', 'foghorns', 'fogies', 'fogyish', 'foible', 'foibles', 'foiled', 'foiling', 'foisted', 'foisting', 'foists', 'foldaway', 'folded', 'folder', 'folders', 'folding', 'foldout', 'foldouts', 'foliage', 'foliages', 'folios', 'folklore', 'folklores', 'folkloric', 'folklorist', 'folklorists', 'folksier', 'folksiest', 'folksiness', 'folksinesses', 'folksinger', 'folksingers', 'folksinging', 'folksingings', 'folksy', 'folktale', 'folktales', 'folkway', 'folkways', 'follicle', 'follicles', 'follies', 'follow', 'followed', 'follower', 'followers', 'following', 'followings', 'follows', 'foment', 'fomentation', 'fomentations', 'fomented', 'fomenting', 'foments', 'fondant', 'fondants', 'fonder', 'fondest', 'fondle', 'fondled', 'fondles', 'fondling', 'fondly', 'fondness', 'fondnesses', 'fondue', 'fondues', 'fondus', 'fontanel', 'fontanelle', 'fontanelles', 'fontanels', 'foodie', 'foodies', 'foodstuff', 'foodstuffs', 'fooled', 'fooleries', 'foolery', 'foolhardier', 'foolhardiest', 'foolhardily', 'foolhardiness', 'foolhardinesses', 'foolhardy', 'fooling', 'foolish', 'foolishly', 'foolishness', 'foolishnesses', 'foolproof', 'foolscap', 'foolscaps', 'footage', 'footages', 'football', 'footballer', 'footballers', 'footballs', 'footbridge', 'footbridges', 'footed', 'footfall', 'footfalls', 'foothill', 'foothills', 'foothold', 'footholds', 'footing', 'footings', 'footless', 'footlights', 'footling', 'footlings', 'footlocker', 'footlockers', 'footloose', 'footman', 'footmen', 'footnote', 'footnoted', 'footnotes', 'footnoting', 'footpath', 'footpaths', 'footprint', 'footprints', 'footrace', 'footraces', 'footrest', 'footrests', 'footsie', 'footsies', 'footsore', 'footstep', 'footsteps', 'footstool', 'footstools', 'footwear', 'footwears', 'footwork', 'footworks', 'fopperies', 'foppery', 'foppish', 'foppishness', 'foppishnesses', 'forage', 'foraged', 'forager', 'foragers', 'forages', 'foraging', 'forayed', 'foraying', 'forays', 'forbad', 'forbade', 'forbear', 'forbearance', 'forbearances', 'forbearing', 'forbears', 'forbid', 'forbidden', 'forbidding', 'forbiddingly', 'forbids', 'forbore', 'forborne', 'forced', 'forceful', 'forcefully', 'forcefulness', 'forcefulnesses', 'forceps', 'forces', 'forcible', 'forcibly', 'forcing', 'fordable', 'forded', 'fording', 'forearm', 'forearmed', 'forearming', 'forearms', 'forebear', 'forebears', 'forebode', 'foreboded', 'forebodes', 'foreboding', 'forebodings', 'forecast', 'forecasted', 'forecaster', 'forecasters', 'forecasting', 'forecastle', 'forecastles', 'forecasts', 'foreclose', 'foreclosed', 'forecloses', 'foreclosing', 'foreclosure', 'foreclosures', 'forecourt', 'forecourts', 'foredoom', 'foredoomed', 'foredooming', 'foredooms', 'forefather', 'forefathers', 'forefeet', 'forefinger', 'forefingers', 'forefoot', 'forefront', 'forefronts', 'foregather', 'foregathered', 'foregathering', 'foregathers', 'forego', 'foregoes', 'foregoing', 'foregone', 'foreground', 'foregrounded', 'foregrounding', 'foregrounds', 'forehand', 'forehands', 'forehead', 'foreheads', 'foreign', 'foreigner', 'foreigners', 'foreignness', 'foreignnesses', 'foreknew', 'foreknow', 'foreknowing', 'foreknowledge', 'foreknowledges', 'foreknown', 'foreknows', 'foreleg', 'forelegs', 'forelimb', 'forelimbs', 'forelock', 'forelocks', 'foreman', 'foremast', 'foremasts', 'foremen', 'foremost', 'forename', 'forenamed', 'forenames', 'forenoon', 'forenoons', 'forensic', 'forensically', 'forensics', 'foreordain', 'foreordained', 'foreordaining', 'foreordains', 'forepart', 'foreparts', 'foreperson', 'forepersons', 'foreplay', 'foreplays', 'forequarter', 'forequarters', 'forerunner', 'forerunners', 'foresail', 'foresails', 'foresaw', 'foresee', 'foreseeable', 'foreseeing', 'foreseen', 'foreseer', 'foreseers', 'foresees', 'foreshadow', 'foreshadowed', 'foreshadowing', 'foreshadows', 'foreshorten', 'foreshortened', 'foreshortening', 'foreshortens', 'foresight', 'foresighted', 'foresightedness', 'foresightednesses', 'foresights', 'foreskin', 'foreskins', 'forest', 'forestall', 'forestalled', 'forestalling', 'forestalls', 'forestation', 'forestations', 'forested', 'forester', 'foresters', 'foresting', 'forestland', 'forestlands', 'forestries', 'forestry', 'forests', 'foreswear', 'foreswearing', 'foreswears', 'foreswore', 'foresworn', 'foretaste', 'foretasted', 'foretastes', 'foretasting', 'foretell', 'foretelling', 'foretells', 'forethought', 'forethoughts', 'foretold', 'forever', 'forevermore', 'forevers', 'forewarn', 'forewarned', 'forewarning', 'forewarns', 'forewent', 'forewoman', 'forewomen', 'foreword', 'forewords', 'forfeit', 'forfeited', 'forfeiting', 'forfeits', 'forfeiture', 'forfeitures', 'forgather', 'forgathered', 'forgathering', 'forgathers', 'forgave', 'forged', 'forger', 'forgeries', 'forgers', 'forgery', 'forges', 'forget', 'forgetful', 'forgetfully', 'forgetfulness', 'forgetfulnesses', 'forgets', 'forgettable', 'forgetting', 'forging', 'forgings', 'forgivable', 'forgive', 'forgiven', 'forgiveness', 'forgivenesses', 'forgiver', 'forgivers', 'forgives', 'forgiving', 'forgoer', 'forgoers', 'forgoes', 'forgoing', 'forgone', 'forgot', 'forgotten', 'forked', 'forkful', 'forkfuls', 'forking', 'forklift', 'forklifts', 'forlorn', 'forlornly', 'formal', 'formaldehyde', 'formaldehydes', 'formalism', 'formalisms', 'formalist', 'formalists', 'formalities', 'formality', 'formalization', 'formalizations', 'formalize', 'formalized', 'formalizes', 'formalizing', 'formally', 'formals', 'format', 'formated', 'formating', 'formation', 'formations', 'formative', 'formats', 'formatted', 'formatting', 'formattings', 'formed', 'former', 'formerly', 'formers', 'formfitting', 'formic', 'formidable', 'formidably', 'forming', 'formless', 'formlessly', 'formlessness', 'formlessnesses', 'formula', 'formulae', 'formulaic', 'formulas', 'formulate', 'formulated', 'formulates', 'formulating', 'formulation', 'formulations', 'formulator', 'formulators', 'fornicate', 'fornicated', 'fornicates', 'fornicating', 'fornication', 'fornications', 'fornicator', 'fornicators', 'forsake', 'forsaken', 'forsakes', 'forsaking', 'forsook', 'forsooth', 'forswear', 'forswearing', 'forswears', 'forswore', 'forsworn', 'forsythia', 'forsythias', 'fortes', 'forthcoming', 'forthcomings', 'forthright', 'forthrightly', 'forthrightness', 'forthrightnesses', 'forthwith', 'forties', 'fortieth', 'fortieths', 'fortification', 'fortifications', 'fortified', 'fortifier', 'fortifiers', 'fortifies', 'fortify', 'fortifying', 'fortissimo', 'fortitude', 'fortitudes', 'fortnight', 'fortnightly', 'fortnights', 'fortress', 'fortresses', 'fortuities', 'fortuitous', 'fortuitously', 'fortuitousness', 'fortuitousnesses', 'fortuity', 'fortunate', 'fortunately', 'fortune', 'fortunes', 'fortuneteller', 'fortunetellers', 'fortunetelling', 'fortunetellings', 'forums', 'forward', 'forwarded', 'forwarder', 'forwarders', 'forwardest', 'forwarding', 'forwardly', 'forwardness', 'forwardnesses', 'forwards', 'forwent', 'fossil', 'fossilization', 'fossilizations', 'fossilize', 'fossilized', 'fossilizes', 'fossilizing', 'fossils', 'foster', 'fostered', 'fostering', 'fosters', 'fought', 'foulard', 'foulards', 'fouled', 'fouler', 'foulest', 'fouling', 'foully', 'foulmouthed', 'foulness', 'foulnesses', 'foundation', 'foundations', 'founded', 'founder', 'foundered', 'foundering', 'founders', 'founding', 'foundling', 'foundlings', 'foundries', 'foundry', 'founds', 'fountain', 'fountainhead', 'fountainheads', 'fountains', 'founts', 'fourfold', 'fourposter', 'fourposters', 'fourscore', 'fourscores', 'foursome', 'foursomes', 'foursquare', 'fourteen', 'fourteens', 'fourteenth', 'fourteenths', 'fourth', 'fourthly', 'fourths', 'fowled', 'fowling', 'foxfire', 'foxfires', 'foxglove', 'foxgloves', 'foxhole', 'foxholes', 'foxhound', 'foxhounds', 'foxier', 'foxiest', 'foxily', 'foxiness', 'foxinesses', 'foxing', 'foxtrot', 'foxtrots', 'foxtrotted', 'foxtrotting', 'foyers', 'fracas', 'fracases', 'frack!', 'fracked!', 'fracking!', 'frackings!', 'fracks!', 'fractal', 'fractals', 'fraction', 'fractional', 'fractionally', 'fractions', 'fractious', 'fractiously', 'fractiousness', 'fractiousnesses', 'fracture', 'fractured', 'fractures', 'fracturing', 'fragile', 'fragilities', 'fragility', 'fragment', 'fragmentary', 'fragmentation', 'fragmentations', 'fragmented', 'fragmenting', 'fragments', 'fragrance', 'fragrances', 'fragrant', 'fragrantly', 'frailer', 'frailest', 'frailly', 'frailness', 'frailnesses', 'frailties', 'frailty', 'framed', 'framer', 'framers', 'frames', 'framework', 'frameworks', 'framing', 'franchise', 'franchised', 'franchisee', 'franchisees', 'franchiser', 'franchisers', 'franchises', 'franchising', 'franchisor', 'franchisors', 'francium', 'franciums', 'francs', 'frangibilities', 'frangibility', 'frangible', 'franked', 'franker', 'frankest', 'frankfurter', 'frankfurters', 'frankincense', 'frankincenses', 'franking', 'frankly', 'frankness', 'franknesses', 'franks', 'frantic', 'frantically', 'frappe', 'frappes', 'fraternal', 'fraternally', 'fraternities', 'fraternity', 'fraternization', 'fraternizations', 'fraternize', 'fraternized', 'fraternizer', 'fraternizers', 'fraternizes', 'fraternizing', 'fratricidal', 'fratricide', 'fratricides', 'frauds', 'fraudulence', 'fraudulences', 'fraudulent', 'fraudulently', 'fraught', 'frayed', 'fraying', 'frazzle', 'frazzled', 'frazzles', 'frazzling', 'freaked', 'freakier', 'freakiest', 'freaking', 'freakish', 'freakishly', 'freakishness', 'freakishnesses', 'freakout', 'freakouts', 'freaks', 'freaky', 'freckle', 'freckled', 'freckles', 'frecklier', 'freckliest', 'freckling', 'freckly', 'freebase', 'freebased', 'freebases', 'freebasing', 'freebee', 'freebees', 'freebie', 'freebies', 'freebooter', 'freebooters', 'freeborn', 'freedman', 'freedmen', 'freedom', 'freedoms', 'freehand', 'freehold', 'freeholder', 'freeholders', 'freeholds', 'freeing', 'freelance', 'freelanced', 'freelancer', 'freelancers', 'freelances', 'freelancing', 'freeload', 'freeloaded', 'freeloader', 'freeloaders', 'freeloading', 'freeloads', 'freely', 'freeman', 'freemen', 'freest', 'freestanding', 'freestone', 'freestones', 'freestyle', 'freestyles', 'freethinker', 'freethinkers', 'freethinking', 'freethinkings', 'freeware', 'freewares', 'freeway', 'freeways', 'freewheel', 'freewheeled', 'freewheeling', 'freewheels', 'freewill', 'freezable', 'freeze', 'freezer', 'freezers', 'freezes', 'freezing', 'freezings', 'freight', 'freighted', 'freighter', 'freighters', 'freighting', 'freights', 'frenetic', 'frenetically', 'frenzied', 'frenziedly', 'frenzies', 'frenzy', 'frequencies', 'frequency', 'frequent', 'frequented', 'frequenter', 'frequenters', 'frequentest', 'frequenting', 'frequently', 'frequents', 'fresco', 'frescoes', 'frescos', 'freshen', 'freshened', 'freshener', 'fresheners', 'freshening', 'freshens', 'fresher', 'freshest', 'freshet', 'freshets', 'freshly', 'freshman', 'freshmen', 'freshness', 'freshnesses', 'freshwater', 'freshwaters', 'fretful', 'fretfully', 'fretfulness', 'fretfulnesses', 'fretsaw', 'fretsaws', 'fretted', 'fretting', 'fretwork', 'fretworks', 'friable', 'friaries', 'friars', 'friary', 'fricassee', 'fricasseed', 'fricasseeing', 'fricassees', 'fricative', 'fricatives', 'friction', 'frictional', 'frictions', 'fridge', 'fridges', 'friedcake', 'friedcakes', 'friend', 'friended!', 'friending!', 'friendless', 'friendlier', 'friendlies', 'friendliest', 'friendliness', 'friendlinesses', 'friendly', 'friends', 'friendship', 'friendships', 'friers', 'frieze', 'friezes', 'frigate', 'frigates', 'frigged', 'frigging', 'fright', 'frighted', 'frighten', 'frightened', 'frightening', 'frighteningly', 'frightens', 'frightful', 'frightfully', 'frightfulness', 'frightfulnesses', 'frighting', 'frights', 'frigid', 'frigidities', 'frigidity', 'frigidly', 'frigidness', 'frigidnesses', 'frillier', 'frilliest', 'frills', 'frilly', 'fringe', 'fringed', 'fringes', 'fringing', 'fripperies', 'frippery', 'frisked', 'friskier', 'friskiest', 'friskily', 'friskiness', 'friskinesses', 'frisking', 'frisks', 'frisky', 'fritter', 'frittered', 'frittering', 'fritters', 'fritzes', 'frivolities', 'frivolity', 'frivolous', 'frivolously', 'frivolousness', 'frivolousnesses', 'frizzed', 'frizzes', 'frizzier', 'frizziest', 'frizzing', 'frizzle', 'frizzled', 'frizzles', 'frizzlier', 'frizzliest', 'frizzling', 'frizzly', 'frizzy', 'frocks', 'frogman', 'frogmen', 'frolic', 'frolicked', 'frolicker', 'frolickers', 'frolicking', 'frolics', 'frolicsome', 'fronds', 'frontage', 'frontages', 'frontal', 'frontally', 'fronted', 'frontier', 'frontiers', 'frontiersman', 'frontiersmen', 'fronting', 'frontispiece', 'frontispieces', 'frontrunner', 'frontrunners', 'fronts', 'frontward', 'frontwards', 'frostbit', 'frostbite', 'frostbites', 'frostbiting', 'frostbitten', 'frosted', 'frostier', 'frostiest', 'frostily', 'frostiness', 'frostinesses', 'frosting', 'frostings', 'frosts', 'frosty', 'frothed', 'frothier', 'frothiest', 'frothiness', 'frothinesses', 'frothing', 'froths', 'frothy', 'froufrou', 'froufrous', 'froward', 'frowardness', 'frowardnesses', 'frowned', 'frowning', 'frowns', 'frowsier', 'frowsiest', 'frowsy', 'frowzier', 'frowziest', 'frowzily', 'frowziness', 'frowzinesses', 'frowzy', 'frozen', 'fructified', 'fructifies', 'fructify', 'fructifying', 'fructose', 'fructoses', 'frugal', 'frugalities', 'frugality', 'frugally', 'fruitcake', 'fruitcakes', 'fruited', 'fruitful', 'fruitfully', 'fruitfulness', 'fruitfulnesses', 'fruitier', 'fruitiest', 'fruitiness', 'fruitinesses', 'fruiting', 'fruition', 'fruitions', 'fruitless', 'fruitlessly', 'fruitlessness', 'fruitlessnesses', 'fruits', 'fruity', 'frumpier', 'frumpiest', 'frumpish', 'frumps', 'frumpy', 'frusta', 'frustrate', 'frustrated', 'frustrates', 'frustrating', 'frustratingly', 'frustration', 'frustrations', 'frustum', 'frustums', 'fryers', 'frying', 'fuchsia', 'fuchsias', 'fucked', 'fucker', 'fuckers', 'fucking', 'fuddle', 'fuddled', 'fuddles', 'fuddling', 'fudged', 'fudges', 'fudging', 'fuehrer', 'fuehrers', 'fueled', 'fueling', 'fuelled', 'fuelling', 'fugitive', 'fugitives', 'fugues', 'fuhrer', 'fuhrers', 'fulcra', 'fulcrum', 'fulcrums', 'fulfil', 'fulfill', 'fulfilled', 'fulfilling', 'fulfillment', 'fulfillments', 'fulfills', 'fulfilment', 'fulfilments', 'fulfils', 'fullback', 'fullbacks', 'fulled', 'fuller', 'fullers', 'fullest', 'fulling', 'fullness', 'fullnesses', 'fulminate', 'fulminated', 'fulminates', 'fulminating', 'fulmination', 'fulminations', 'fulness', 'fulnesses', 'fulsome', 'fulsomely', 'fulsomeness', 'fulsomenesses', 'fumble', 'fumbled', 'fumbler', 'fumblers', 'fumbles', 'fumbling', 'fumblingly', 'fumier', 'fumiest', 'fumigant', 'fumigants', 'fumigate', 'fumigated', 'fumigates', 'fumigating', 'fumigation', 'fumigations', 'fumigator', 'fumigators', 'fuming', 'function', 'functional', 'functionally', 'functionaries', 'functionary', 'functioned', 'functioning', 'functions', 'fundamental', 'fundamentalism', 'fundamentalisms', 'fundamentalist', 'fundamentalists', 'fundamentally', 'fundamentals', 'funded', 'funding', 'fundings', 'fundraiser', 'fundraisers', 'funeral', 'funerals', 'funerary', 'funereal', 'funereally', 'fungal', 'fungible', 'fungibles', 'fungicidal', 'fungicide', 'fungicides', 'fungoid', 'fungous', 'fungus', 'funguses', 'funicular', 'funiculars', 'funked', 'funkier', 'funkiest', 'funkiness', 'funkinesses', 'funking', 'funnel', 'funneled', 'funneling', 'funnelled', 'funnelling', 'funnels', 'funner', 'funnest', 'funnier', 'funnies', 'funniest', 'funnily', 'funniness', 'funninesses', 'funnyman', 'funnymen', 'furbelow', 'furbelows', 'furbish', 'furbished', 'furbishes', 'furbishing', 'furies', 'furious', 'furiously', 'furled', 'furling', 'furlong', 'furlongs', 'furlough', 'furloughed', 'furloughing', 'furloughs', 'furnace', 'furnaces', 'furnish', 'furnished', 'furnishes', 'furnishing', 'furnishings', 'furniture', 'furnitures', 'furore', 'furores', 'furors', 'furred', 'furrier', 'furriers', 'furriest', 'furriness', 'furrinesses', 'furring', 'furrings', 'furrow', 'furrowed', 'furrowing', 'furrows', 'further', 'furtherance', 'furtherances', 'furthered', 'furthering', 'furthermore', 'furthermost', 'furthers', 'furthest', 'furtive', 'furtively', 'furtiveness', 'furtivenesses', 'furzes', 'fusees', 'fuselage', 'fuselages', 'fusibilities', 'fusibility', 'fusible', 'fusileer', 'fusileers', 'fusilier', 'fusiliers', 'fusillade', 'fusillades', 'fusing', 'fusion', 'fusions', 'fussbudget', 'fussbudgets', 'fussed', 'fusses', 'fussier', 'fussiest', 'fussily', 'fussiness', 'fussinesses', 'fussing', 'fusspot', 'fusspots', 'fustian', 'fustians', 'fustier', 'fustiest', 'fustiness', 'fustinesses', 'futile', 'futilely', 'futilities', 'futility', 'futons', 'future', 'futures', 'futurism', 'futurisms', 'futurist', 'futuristic', 'futurists', 'futurities', 'futurity', 'futurologies', 'futurologist', 'futurologists', 'futurology', 'futzed', 'futzes', 'futzing', 'fuzing', 'fuzzed', 'fuzzes', 'fuzzier', 'fuzziest', 'fuzzily', 'fuzziness', 'fuzzinesses', 'fuzzing', 'gabardine', 'gabardines', 'gabbed', 'gabbier', 'gabbiest', 'gabbiness', 'gabbinesses', 'gabbing', 'gabble', 'gabbled', 'gabbles', 'gabbling', 'gaberdine', 'gaberdines', 'gabfest', 'gabfests', 'gabled', 'gables', 'gadabout', 'gadabouts', 'gadded', 'gadder', 'gadders', 'gadding', 'gadflies', 'gadfly', 'gadget', 'gadgetries', 'gadgetry', 'gadgets', 'gadolinium', 'gadoliniums', 'gaffed', 'gaffer', 'gaffers', 'gaffes', 'gaffing', 'gagged', 'gagging', 'gaggle', 'gaggles', 'gaging', 'gaieties', 'gaiety', 'gained', 'gainer', 'gainers', 'gainful', 'gainfully', 'gaining', 'gainsaid', 'gainsay', 'gainsayer', 'gainsayers', 'gainsaying', 'gainsays', 'gaiter', 'gaiters', 'galactic', 'galaxies', 'galaxy', 'galena', 'galenas', 'gallant', 'gallanter', 'gallantest', 'gallantly', 'gallantries', 'gallantry', 'gallants', 'gallbladder', 'gallbladders', 'galled', 'galleon', 'galleons', 'galleria', 'gallerias', 'galleries', 'gallery', 'galley', 'galleys', 'gallimaufries', 'gallimaufry', 'galling', 'gallium', 'galliums', 'gallivant', 'gallivanted', 'gallivanting', 'gallivants', 'gallon', 'gallons', 'gallop', 'galloped', 'galloping', 'gallops', 'gallows', 'gallowses', 'gallstone', 'gallstones', 'galoot', 'galoots', 'galore', 'galosh', 'galoshe', 'galoshes', 'galumph', 'galumphed', 'galumphing', 'galumphs', 'galvanic', 'galvanise', 'galvanised', 'galvanises', 'galvanising', 'galvanism', 'galvanisms', 'galvanization', 'galvanizations', 'galvanize', 'galvanized', 'galvanizes', 'galvanizing', 'galvanometer', 'galvanometers', 'gambit', 'gambits', 'gamble', 'gambled', 'gambler', 'gamblers', 'gambles', 'gambling', 'gamblings', 'gambol', 'gamboled', 'gamboling', 'gambolled', 'gambolling', 'gambols', 'gamecock', 'gamecocks', 'gamekeeper', 'gamekeepers', 'gamely', 'gameness', 'gamenesses', 'gamesmanship', 'gamesmanships', 'gamest', 'gamester', 'gamesters', 'gamete', 'gametes', 'gametic', 'gamier', 'gamiest', 'gamine', 'gamines', 'gaminess', 'gaminesses', 'gaming', 'gamings', 'gamins', 'gammas', 'gammon', 'gammons', 'gamuts', 'gander', 'ganders', 'gangbusters', 'ganged', 'ganging', 'gangland', 'ganglands', 'ganglia', 'ganglier', 'gangliest', 'gangling', 'ganglion', 'ganglionic', 'ganglions', 'gangly', 'gangplank', 'gangplanks', 'gangrene', 'gangrened', 'gangrenes', 'gangrening', 'gangrenous', 'gangster', 'gangsters', 'gangway', 'gangways', 'gannet', 'gannets', 'gantlet', 'gantlets', 'gantries', 'gantry', 'gaoled', 'gaoler', 'gaolers', 'gaoling', 'gaping', 'garage', 'garaged', 'garages', 'garaging', 'garbage', 'garbages', 'garbanzo', 'garbanzos', 'garbed', 'garbing', 'garble', 'garbled', 'garbles', 'garbling', 'garcon', 'garcons', 'garden', 'gardened', 'gardener', 'gardeners', 'gardenia', 'gardenias', 'gardening', 'gardenings', 'gardens', 'garfish', 'garfishes', 'gargantuan', 'gargle', 'gargled', 'gargles', 'gargling', 'gargoyle', 'gargoyles', 'garish', 'garishly', 'garishness', 'garishnesses', 'garland', 'garlanded', 'garlanding', 'garlands', 'garlic', 'garlicky', 'garlics', 'garment', 'garments', 'garner', 'garnered', 'garnering', 'garners', 'garnet', 'garnets', 'garnish', 'garnished', 'garnishee', 'garnisheed', 'garnisheeing', 'garnishees', 'garnishes', 'garnishing', 'garnishment', 'garnishments', 'garote', 'garoted', 'garotes', 'garoting', 'garotte', 'garotted', 'garottes', 'garotting', 'garret', 'garrets', 'garrison', 'garrisoned', 'garrisoning', 'garrisons', 'garrote', 'garroted', 'garroter', 'garroters', 'garrotes', 'garroting', 'garrotte', 'garrotted', 'garrottes', 'garrotting', 'garrulities', 'garrulity', 'garrulous', 'garrulously', 'garrulousness', 'garrulousnesses', 'garter', 'garters', 'gasbag', 'gasbags', 'gaseous', 'gashed', 'gashes', 'gashing', 'gasket', 'gaskets', 'gaslight', 'gaslights', 'gasohol', 'gasohols', 'gasolene', 'gasolenes', 'gasoline', 'gasolines', 'gasped', 'gasping', 'gassed', 'gasses', 'gassier', 'gassiest', 'gassing', 'gastric', 'gastritides', 'gastritis', 'gastritises', 'gastroenteritides', 'gastroenteritis', 'gastrointestinal', 'gastronomic', 'gastronomical', 'gastronomically', 'gastronomies', 'gastronomy', 'gastropod', 'gastropods', 'gasworks', 'gatecrash', 'gatecrashed', 'gatecrasher', 'gatecrashers', 'gatecrashes', 'gatecrashing', 'gatehouse', 'gatehouses', 'gatekeeper', 'gatekeepers', 'gatepost', 'gateposts', 'gateway', 'gateways', 'gather', 'gathered', 'gatherer', 'gatherers', 'gathering', 'gatherings', 'gathers', 'gating', 'gators', 'gauche', 'gauchely', 'gaucheness', 'gauchenesses', 'gaucher', 'gaucherie', 'gaucheries', 'gauchest', 'gaucho', 'gauchos', 'gaudier', 'gaudiest', 'gaudily', 'gaudiness', 'gaudinesses', 'gauged', 'gauges', 'gauging', 'gaunter', 'gauntest', 'gauntlet', 'gauntlets', 'gauntness', 'gauntnesses', 'gauzes', 'gauzier', 'gauziest', 'gauziness', 'gauzinesses', 'gavels', 'gavotte', 'gavottes', 'gawked', 'gawkier', 'gawkiest', 'gawkily', 'gawkiness', 'gawkinesses', 'gawking', 'gayest', 'gayeties', 'gayety', 'gayness', 'gaynesses', 'gazebo', 'gazeboes', 'gazebos', 'gazelle', 'gazelles', 'gazers', 'gazette', 'gazetted', 'gazetteer', 'gazetteers', 'gazettes', 'gazetting', 'gazing', 'gazpacho', 'gazpachos', 'gearbox', 'gearboxes', 'geared', 'gearing', 'gearings', 'gearshift', 'gearshifts', 'gearwheel', 'gearwheels', 'geckoes', 'geckos', 'geegaw', 'geegaws', 'geeing', 'geekier', 'geekiest', 'geezer', 'geezers', 'geisha', 'geishas', 'gelatin', 'gelatine', 'gelatines', 'gelatinous', 'gelatins', 'gelcap', 'gelcaps', 'gelded', 'gelding', 'geldings', 'gelignite', 'gelignites', 'gelled', 'gelling', 'gemmologies', 'gemmology', 'gemological', 'gemologies', 'gemologist', 'gemologists', 'gemology', 'gemstone', 'gemstones', 'gendarme', 'gendarmes', 'gender', 'genders', 'genealogical', 'genealogically', 'genealogies', 'genealogist', 'genealogists', 'genealogy', 'genera', 'general', 'generalissimo', 'generalissimos', 'generalist', 'generalists', 'generalities', 'generality', 'generalization', 'generalizations', 'generalize', 'generalized', 'generalizes', 'generalizing', 'generally', 'generals', 'generalship', 'generalships', 'generate', 'generated', 'generates', 'generating', 'generation', 'generational', 'generations', 'generative', 'generator', 'generators', 'generic', 'generically', 'generics', 'generosities', 'generosity', 'generous', 'generously', 'generousness', 'generousnesses', 'geneses', 'genesis', 'genetic', 'genetically', 'geneticist', 'geneticists', 'genetics', 'genial', 'genialities', 'geniality', 'genially', 'genies', 'genital', 'genitalia', 'genitally', 'genitals', 'genitive', 'genitives', 'genitourinary', 'genius', 'geniuses', 'genocidal', 'genocide', 'genocides', 'genome', 'genomes', 'genres', 'genteel', 'genteelly', 'genteelness', 'genteelnesses', 'gentian', 'gentians', 'gentile', 'gentiles', 'gentilities', 'gentility', 'gentle', 'gentled', 'gentlefolk', 'gentlefolks', 'gentleman', 'gentlemanly', 'gentlemen', 'gentleness', 'gentlenesses', 'gentler', 'gentles', 'gentlest', 'gentlewoman', 'gentlewomen', 'gentling', 'gently', 'gentries', 'gentrification', 'gentrifications', 'gentrified', 'gentrifies', 'gentrify', 'gentrifying', 'gentry', 'genuflect', 'genuflected', 'genuflecting', 'genuflection', 'genuflections', 'genuflects', 'genuine', 'genuinely', 'genuineness', 'genuinenesses', 'genuses', 'geocache!', 'geocached!', 'geocaches!', 'geocaching!', 'geocentric', 'geocentrically', 'geochemistries', 'geochemistry', 'geodes', 'geodesic', 'geodesics', 'geodesies', 'geodesy', 'geodetic', 'geoengineering!', 'geoengineerings!', 'geographer', 'geographers', 'geographic', 'geographical', 'geographically', 'geographies', 'geography', 'geologic', 'geological', 'geologically', 'geologies', 'geologist', 'geologists', 'geology', 'geomagnetic', 'geomagnetism', 'geomagnetisms', 'geometric', 'geometrical', 'geometrically', 'geometries', 'geometry', 'geophysical', 'geophysicist', 'geophysicists', 'geophysics', 'geopolitical', 'geopolitics', 'geostationary', 'geosynchronous', 'geosyncline', 'geosynclines', 'geothermal', 'geothermic', 'geranium', 'geraniums', 'gerbil', 'gerbils', 'geriatric', 'geriatrics', 'germane', 'germanium', 'germaniums', 'germicidal', 'germicide', 'germicides', 'germinal', 'germinate', 'germinated', 'germinates', 'germinating', 'germination', 'germinations', 'gerontological', 'gerontologies', 'gerontologist', 'gerontologists', 'gerontology', 'gerrymander', 'gerrymandered', 'gerrymandering', 'gerrymanders', 'gerund', 'gerunds', 'gestapo', 'gestapos', 'gestate', 'gestated', 'gestates', 'gestating', 'gestation', 'gestational', 'gestations', 'gesticulate', 'gesticulated', 'gesticulates', 'gesticulating', 'gesticulation', 'gesticulations', 'gestural', 'gesture', 'gestured', 'gestures', 'gesturing', 'gesundheit', 'getaway', 'getaways', 'getting', 'getups', 'gewgaw', 'gewgaws', 'geyser', 'geysered', 'geysering', 'geysers', 'ghastlier', 'ghastliest', 'ghastliness', 'ghastlinesses', 'ghastly', 'gherkin', 'gherkins', 'ghetto', 'ghettoes', 'ghettoize', 'ghettoized', 'ghettoizes', 'ghettoizing', 'ghettos', 'ghosted', 'ghosting', 'ghostlier', 'ghostliest', 'ghostliness', 'ghostlinesses', 'ghostly', 'ghosts', 'ghostwrite', 'ghostwriter', 'ghostwriters', 'ghostwrites', 'ghostwriting', 'ghostwritten', 'ghostwrote', 'ghoulish', 'ghoulishly', 'ghoulishness', 'ghoulishnesses', 'ghouls', 'giantess', 'giantesses', 'giants', 'gibber', 'gibbered', 'gibbering', 'gibberish', 'gibberishes', 'gibbers', 'gibbet', 'gibbeted', 'gibbeting', 'gibbets', 'gibbon', 'gibbons', 'gibbous', 'gibing', 'giblet', 'giblets', 'giddier', 'giddiest', 'giddily', 'giddiness', 'giddinesses', 'gifted', 'gifting', 'gigabyte', 'gigabytes', 'gigahertz', 'gigantic', 'gigantically', 'gigged', 'gigging', 'giggle', 'giggled', 'giggler', 'gigglers', 'giggles', 'gigglier', 'giggliest', 'giggling', 'giggly', 'gigolo', 'gigolos', 'gilded', 'gilder', 'gilders', 'gilding', 'gildings', 'gimbals', 'gimcrack', 'gimcrackeries', 'gimcrackery', 'gimcracks', 'gimlet', 'gimleted', 'gimleting', 'gimlets', 'gimmes', 'gimmick', 'gimmickries', 'gimmickry', 'gimmicks', 'gimmicky', 'gimped', 'gimpier', 'gimpiest', 'gimping', 'ginger', 'gingerbread', 'gingerbreads', 'gingerly', 'gingers', 'gingersnap', 'gingersnaps', 'gingery', 'gingham', 'ginghams', 'gingivitis', 'gingivitises', 'gingko', 'gingkoes', 'gingkos', 'ginkgo', 'ginkgoes', 'ginkgos', 'ginned', 'ginning', 'ginseng', 'ginsengs', 'gipsies', 'giraffe', 'giraffes', 'girded', 'girder', 'girders', 'girding', 'girdle', 'girdled', 'girdles', 'girdling', 'girlfriend', 'girlfriends', 'girlhood', 'girlhoods', 'girlish', 'girlishly', 'girlishness', 'girlishnesses', 'girted', 'girths', 'girting', 'gismos', 'gists', 'giveaway', 'giveaways', 'giveback', 'givebacks', 'givens', 'givers', 'giving', 'gizmos', 'gizzard', 'gizzards', 'glaceed', 'glaceing', 'glaces', 'glacial', 'glacially', 'glaciate', 'glaciated', 'glaciates', 'glaciating', 'glaciation', 'glaciations', 'glacier', 'glaciers', 'gladden', 'gladdened', 'gladdening', 'gladdens', 'gladder', 'gladdest', 'glades', 'gladiator', 'gladiatorial', 'gladiators', 'gladiola', 'gladiolas', 'gladioli', 'gladiolus', 'gladioluses', 'gladly', 'gladness', 'gladnesses', 'gladsome', 'glamor', 'glamorization', 'glamorizations', 'glamorize', 'glamorized', 'glamorizes', 'glamorizing', 'glamorous', 'glamorously', 'glamors', 'glamour', 'glamourize', 'glamourized', 'glamourizes', 'glamourizing', 'glamourous', 'glamours', 'glance', 'glanced', 'glances', 'glancing', 'glandes', 'glands', 'glandular', 'glared', 'glares', 'glaring', 'glaringly', 'glasnost', 'glasnosts', 'glassblower', 'glassblowers', 'glassblowing', 'glassblowings', 'glassed', 'glasses', 'glassful', 'glassfuls', 'glassier', 'glassiest', 'glassily', 'glassiness', 'glassinesses', 'glassing', 'glassware', 'glasswares', 'glassy', 'glaucoma', 'glaucomas', 'glazed', 'glazes', 'glazier', 'glaziers', 'glazing', 'glazings', 'gleamed', 'gleaming', 'gleams', 'gleaned', 'gleaner', 'gleaners', 'gleaning', 'gleanings', 'gleans', 'gleeful', 'gleefully', 'gleefulness', 'gleefulnesses', 'glees', 'glibber', 'glibbest', 'glibly', 'glibness', 'glibnesses', 'glided', 'glider', 'gliders', 'glides', 'gliding', 'glidings', 'glimmer', 'glimmered', 'glimmering', 'glimmerings', 'glimmers', 'glimpse', 'glimpsed', 'glimpses', 'glimpsing', 'glinted', 'glinting', 'glints', 'glissandi', 'glissando', 'glissandos', 'glisten', 'glistened', 'glistening', 'glistens', 'glister', 'glistered', 'glistering', 'glisters', 'glitch', 'glitches', 'glitter', 'glittered', 'glittering', 'glitters', 'glittery', 'glitzes', 'glitzier', 'glitziest', 'glitzy', 'gloaming', 'gloamings', 'gloated', 'gloating', 'gloatingly', 'gloats', 'global', 'globalism', 'globalisms', 'globalist', 'globalists', 'globalization', 'globalizations', 'globalize', 'globalized', 'globalizes', 'globalizing', 'globally', 'globes', 'globetrotter', 'globetrotters', 'globular', 'globule', 'globules', 'globulin', 'globulins', 'glockenspiel', 'glockenspiels', 'gloomier', 'gloomiest', 'gloomily', 'gloominess', 'gloominesses', 'glooms', 'gloomy', 'gloppier', 'gloppiest', 'gloppy', 'glops', 'gloried', 'glories', 'glorification', 'glorifications', 'glorified', 'glorifies', 'glorify', 'glorifying', 'glorious', 'gloriously', 'glorying', 'glossaries', 'glossary', 'glossed', 'glosses', 'glossier', 'glossies', 'glossiest', 'glossily', 'glossiness', 'glossinesses', 'glossing', 'glossolalia', 'glossolalias', 'glossy', 'glottal', 'glottides', 'glottis', 'glottises', 'gloved', 'gloves', 'gloving', 'glowed', 'glower', 'glowered', 'glowering', 'glowers', 'glowing', 'glowingly', 'glowworm', 'glowworms', 'glucose', 'glucoses', 'glueing', 'gluier', 'gluiest', 'gluing', 'glumly', 'glummer', 'glummest', 'glumness', 'glumnesses', 'gluten', 'glutenous', 'glutens', 'glutinous', 'glutinously', 'glutted', 'glutting', 'glutton', 'gluttonies', 'gluttonous', 'gluttonously', 'gluttons', 'gluttony', 'glycerin', 'glycerine', 'glycerines', 'glycerins', 'glycerol', 'glycerols', 'glycogen', 'glycogens', 'gnarled', 'gnarling', 'gnarls', 'gnashed', 'gnashes', 'gnashing', 'gnawed', 'gnawing', 'gneiss', 'gneisses', 'gnomes', 'gnomic', 'gnomish', 'goaded', 'goading', 'goalie', 'goalies', 'goalkeeper', 'goalkeepers', 'goalkeeping', 'goalkeepings', 'goalpost', 'goalposts', 'goaltender', 'goaltenders', 'goatee', 'goatees', 'goatherd', 'goatherds', 'goatskin', 'goatskins', 'gobbed', 'gobbet', 'gobbets', 'gobbing', 'gobble', 'gobbled', 'gobbledegook', 'gobbledegooks', 'gobbledygook', 'gobbledygooks', 'gobbler', 'gobblers', 'gobbles', 'gobbling', 'goblet', 'goblets', 'goblin', 'goblins', 'godchild', 'godchildren', 'goddammit', 'goddamn', 'goddamned', 'goddaughter', 'goddaughters', 'goddess', 'goddesses', 'godfather', 'godfathers', 'godforsaken', 'godhead', 'godheads', 'godhood', 'godhoods', 'godless', 'godlessness', 'godlessnesses', 'godlier', 'godliest', 'godlike', 'godliness', 'godlinesses', 'godmother', 'godmothers', 'godparent', 'godparents', 'godsend', 'godsends', 'godson', 'godsons', 'gofers', 'goggle', 'goggled', 'goggles', 'goggling', 'goings', 'goiter', 'goiters', 'goitre', 'goitres', 'goldbrick', 'goldbricked', 'goldbricker', 'goldbrickers', 'goldbricking', 'goldbricks', 'golden', 'goldener', 'goldenest', 'goldenrod', 'goldenrods', 'goldfinch', 'goldfinches', 'goldfish', 'goldfishes', 'goldmine', 'goldmines', 'goldsmith', 'goldsmiths', 'golfed', 'golfer', 'golfers', 'golfing', 'gollies', 'gonadal', 'gonads', 'gondola', 'gondolas', 'gondolier', 'gondoliers', 'goners', 'gonged', 'gonging', 'gonorrhea', 'gonorrheal', 'gonorrheas', 'gonorrhoea', 'gonorrhoeas', 'goober', 'goobers', 'goodby', 'goodbye', 'goodbyes', 'goodbys', 'goodhearted', 'goodie', 'goodies', 'goodish', 'goodlier', 'goodliest', 'goodly', 'goodness', 'goodnesses', 'goodwill', 'goodwills', 'goofball', 'goofballs', 'goofed', 'goofier', 'goofiest', 'goofiness', 'goofinesses', 'goofing', 'google!', 'googled!', 'googles!', 'googling!', 'gooier', 'gooiest', 'goops', 'gooseberries', 'gooseberry', 'goosebumps', 'goosed', 'gooseflesh', 'goosefleshes', 'gooses', 'goosing', 'gopher', 'gophers', 'gorged', 'gorgeous', 'gorgeously', 'gorgeousness', 'gorgeousnesses', 'gorges', 'gorging', 'gorgon', 'gorgons', 'gorier', 'goriest', 'gorilla', 'gorillas', 'gorily', 'goriness', 'gorinesses', 'goring', 'gormandize', 'gormandized', 'gormandizer', 'gormandizers', 'gormandizes', 'gormandizing', 'gorps', 'gorses', 'goshawk', 'goshawks', 'gosling', 'goslings', 'gospel', 'gospels', 'gossamer', 'gossamers', 'gossip', 'gossiped', 'gossiper', 'gossipers', 'gossiping', 'gossipped', 'gossipping', 'gossips', 'gossipy', 'gotcha', 'gotten', 'gouged', 'gouger', 'gougers', 'gouges', 'gouging', 'goulash', 'goulashes', 'gourde', 'gourdes', 'gourds', 'gourmand', 'gourmands', 'gourmet', 'gourmets', 'goutier', 'goutiest', 'gouts', 'govern', 'governable', 'governance', 'governances', 'governed', 'governess', 'governesses', 'governing', 'government', 'governmental', 'governments', 'governor', 'governors', 'governorship', 'governorships', 'governs', 'gowned', 'gowning', 'grabbed', 'grabber', 'grabbers', 'grabbier', 'grabbiest', 'grabbing', 'grabby', 'graced', 'graceful', 'gracefully', 'gracefulness', 'gracefulnesses', 'graceless', 'gracelessly', 'gracelessness', 'gracelessnesses', 'graces', 'gracing', 'gracious', 'graciously', 'graciousness', 'graciousnesses', 'grackle', 'grackles', 'gradate', 'gradated', 'gradates', 'gradating', 'gradation', 'gradations', 'graded', 'grader', 'graders', 'grades', 'gradient', 'gradients', 'grading', 'gradual', 'gradualism', 'gradualisms', 'gradually', 'gradualness', 'gradualnesses', 'graduate', 'graduated', 'graduates', 'graduating', 'graduation', 'graduations', 'graffiti', 'graffito', 'grafted', 'grafter', 'grafters', 'grafting', 'grafts', 'graham', 'grained', 'grainier', 'grainiest', 'graininess', 'graininesses', 'grains', 'grainy', 'grammar', 'grammarian', 'grammarians', 'grammars', 'grammatical', 'grammatically', 'gramme', 'grammes', 'gramophone', 'gramophones', 'grampus', 'grampuses', 'granaries', 'granary', 'grandam', 'grandams', 'grandaunt', 'grandaunts', 'grandchild', 'grandchildren', 'granddad', 'granddaddies', 'granddaddy', 'granddads', 'granddaughter', 'granddaughters', 'grandee', 'grandees', 'grander', 'grandest', 'grandeur', 'grandeurs', 'grandfather', 'grandfathered', 'grandfathering', 'grandfatherly', 'grandfathers', 'grandiloquence', 'grandiloquences', 'grandiloquent', 'grandiose', 'grandiosely', 'grandiosities', 'grandiosity', 'grandly', 'grandma', 'grandmas', 'grandmother', 'grandmotherly', 'grandmothers', 'grandnephew', 'grandnephews', 'grandness', 'grandnesses', 'grandniece', 'grandnieces', 'grandpa', 'grandparent', 'grandparents', 'grandpas', 'grands', 'grandson', 'grandsons', 'grandstand', 'grandstanded', 'grandstanding', 'grandstands', 'granduncle', 'granduncles', 'grange', 'granges', 'granite', 'granites', 'granitic', 'grannie', 'grannies', 'granny', 'granola', 'granolas', 'granted', 'grantee', 'grantees', 'granter', 'granters', 'granting', 'grantor', 'grantors', 'grants', 'grantsmanship', 'grantsmanships', 'granular', 'granularities', 'granularity', 'granulate', 'granulated', 'granulates', 'granulating', 'granulation', 'granulations', 'granule', 'granules', 'grapefruit', 'grapefruits', 'grapes', 'grapeshot', 'grapeshots', 'grapevine', 'grapevines', 'graphed', 'graphic', 'graphical', 'graphically', 'graphics', 'graphing', 'graphite', 'graphites', 'graphologies', 'graphologist', 'graphologists', 'graphology', 'graphs', 'grapnel', 'grapnels', 'grapple', 'grappled', 'grapples', 'grappling', 'graspable', 'grasped', 'grasping', 'grasps', 'grassed', 'grasses', 'grasshopper', 'grasshoppers', 'grassier', 'grassiest', 'grassing', 'grassland', 'grasslands', 'grassy', 'grated', 'grateful', 'gratefully', 'gratefulness', 'gratefulnesses', 'grater', 'graters', 'grates', 'gratification', 'gratifications', 'gratified', 'gratifies', 'gratify', 'gratifying', 'grating', 'gratingly', 'gratings', 'gratis', 'gratitude', 'gratitudes', 'gratuities', 'gratuitous', 'gratuitously', 'gratuitousness', 'gratuitousnesses', 'gratuity', 'gravamen', 'gravamens', 'gravamina', 'graved', 'gravedigger', 'gravediggers', 'gravel', 'graveled', 'graveling', 'gravelled', 'gravelling', 'gravelly', 'gravels', 'gravely', 'graven', 'graveness', 'gravenesses', 'graver', 'graves', 'graveside', 'gravesides', 'gravest', 'gravestone', 'gravestones', 'graveyard', 'graveyards', 'gravid', 'gravies', 'gravimeter', 'gravimeters', 'graving', 'gravitate', 'gravitated', 'gravitates', 'gravitating', 'gravitation', 'gravitational', 'gravitations', 'gravities', 'gravity', 'graybeard', 'graybeards', 'grayed', 'grayer', 'grayest', 'graying', 'grayish', 'grayness', 'graynesses', 'grazed', 'grazer', 'grazers', 'grazes', 'grazing', 'grease', 'greased', 'greasepaint', 'greasepaints', 'greases', 'greasier', 'greasiest', 'greasily', 'greasiness', 'greasinesses', 'greasing', 'greasy', 'greatcoat', 'greatcoats', 'greater', 'greatest', 'greathearted', 'greatly', 'greatness', 'greatnesses', 'greats', 'grebes', 'greedier', 'greediest', 'greedily', 'greediness', 'greedinesses', 'greeds', 'greedy', 'greenback', 'greenbacks', 'greenbelt', 'greenbelts', 'greened', 'greener', 'greeneries', 'greenery', 'greenest', 'greengage', 'greengages', 'greengrocer', 'greengrocers', 'greenhorn', 'greenhorns', 'greenhouse', 'greenhouses', 'greening', 'greenish', 'greenly', 'greenmail', 'greenmails', 'greenness', 'greennesses', 'greenroom', 'greenrooms', 'greens', 'greensward', 'greenswards', 'greenwood', 'greenwoods', 'greeted', 'greeter', 'greeters', 'greeting', 'greetings', 'greets', 'gregarious', 'gregariously', 'gregariousness', 'gregariousnesses', 'gremlin', 'gremlins', 'grenade', 'grenades', 'grenadier', 'grenadiers', 'grenadine', 'grenadines', 'greyed', 'greyer', 'greyest', 'greyhound', 'greyhounds', 'greying', 'griddle', 'griddlecake', 'griddlecakes', 'griddles', 'gridiron', 'gridirons', 'gridlock', 'gridlocked', 'gridlocks', 'griefs', 'grievance', 'grievances', 'grieve', 'grieved', 'griever', 'grievers', 'grieves', 'grieving', 'grievous', 'grievously', 'grievousness', 'grievousnesses', 'griffin', 'griffins', 'griffon', 'griffons', 'grille', 'grilled', 'grilles', 'grilling', 'grills', 'grimace', 'grimaced', 'grimaces', 'grimacing', 'grimed', 'grimes', 'grimier', 'grimiest', 'griminess', 'griminesses', 'griming', 'grimly', 'grimmer', 'grimmest', 'grimness', 'grimnesses', 'grinder', 'grinders', 'grinding', 'grinds', 'grindstone', 'grindstones', 'gringo', 'gringos', 'grinned', 'grinning', 'griped', 'griper', 'gripers', 'gripes', 'griping', 'grippe', 'gripped', 'gripper', 'grippers', 'grippes', 'gripping', 'grislier', 'grisliest', 'grisliness', 'grislinesses', 'grisly', 'gristle', 'gristles', 'gristlier', 'gristliest', 'gristly', 'gristmill', 'gristmills', 'grists', 'gritted', 'gritter', 'gritters', 'grittier', 'grittiest', 'grittiness', 'grittinesses', 'gritting', 'gritty', 'grizzled', 'grizzlier', 'grizzlies', 'grizzliest', 'grizzly', 'groaned', 'groaning', 'groans', 'groats', 'grocer', 'groceries', 'grocers', 'grocery', 'groggier', 'groggiest', 'groggily', 'grogginess', 'grogginesses', 'groggy', 'grogs', 'groins', 'grommet', 'grommets', 'groomed', 'groomer', 'groomers', 'grooming', 'groomings', 'grooms', 'groomsman', 'groomsmen', 'groove', 'grooved', 'grooves', 'groovier', 'grooviest', 'grooving', 'groovy', 'groped', 'groper', 'gropers', 'gropes', 'groping', 'grosbeak', 'grosbeaks', 'grosgrain', 'grosgrains', 'grossed', 'grosser', 'grosses', 'grossest', 'grossing', 'grossly', 'grossness', 'grossnesses', 'grotesque', 'grotesquely', 'grotesqueness', 'grotesquenesses', 'grotesques', 'grotto', 'grottoes', 'grottos', 'grouch', 'grouched', 'grouches', 'grouchier', 'grouchiest', 'grouchily', 'grouchiness', 'grouchinesses', 'grouching', 'grouchy', 'ground', 'groundbreaking', 'groundbreakings', 'grounded', 'grounder', 'grounders', 'groundhog', 'groundhogs', 'grounding', 'groundings', 'groundless', 'groundlessly', 'groundnut', 'groundnuts', 'grounds', 'groundswell', 'groundswells', 'groundwater', 'groundwaters', 'groundwork', 'groundworks', 'grouped', 'grouper', 'groupers', 'groupie', 'groupies', 'grouping', 'groupings', 'groups', 'groupware', 'groupwares', 'grouse', 'groused', 'grouser', 'grousers', 'grouses', 'grousing', 'grouted', 'grouting', 'grouts', 'grovel', 'groveled', 'groveler', 'grovelers', 'groveling', 'grovelled', 'groveller', 'grovellers', 'grovelling', 'grovels', 'groves', 'grower', 'growers', 'growing', 'growled', 'growler', 'growlers', 'growling', 'growls', 'grownup', 'grownups', 'growth', 'growths', 'grubbed', 'grubber', 'grubbers', 'grubbier', 'grubbiest', 'grubbily', 'grubbiness', 'grubbinesses', 'grubbing', 'grubby', 'grubstake', 'grubstakes', 'grudge', 'grudged', 'grudges', 'grudging', 'grudgingly', 'grueling', 'gruelling', 'gruels', 'gruesome', 'gruesomely', 'gruesomeness', 'gruesomenesses', 'gruesomer', 'gruesomest', 'gruffer', 'gruffest', 'gruffly', 'gruffness', 'gruffnesses', 'grumble', 'grumbled', 'grumbler', 'grumblers', 'grumbles', 'grumbling', 'grumpier', 'grumpiest', 'grumpily', 'grumpiness', 'grumpinesses', 'grumps', 'grumpy', 'grunge', 'grunges', 'grungier', 'grungiest', 'grungy', 'grunion', 'grunions', 'grunted', 'grunting', 'grunts', 'gryphon', 'gryphons', 'guacamole', 'guacamoles', 'guanine', 'guanines', 'guanos', 'guarani', 'guaranies', 'guaranis', 'guarantee', 'guaranteed', 'guaranteeing', 'guarantees', 'guarantied', 'guaranties', 'guarantor', 'guarantors', 'guaranty', 'guarantying', 'guarded', 'guardedly', 'guarder', 'guarders', 'guardhouse', 'guardhouses', 'guardian', 'guardians', 'guardianship', 'guardianships', 'guarding', 'guardrail', 'guardrails', 'guardroom', 'guardrooms', 'guards', 'guardsman', 'guardsmen', 'guavas', 'gubernatorial', 'guerilla', 'guerillas', 'guerrilla', 'guerrillas', 'guessed', 'guesser', 'guessers', 'guesses', 'guessing', 'guesstimate', 'guesstimated', 'guesstimates', 'guesstimating', 'guesswork', 'guessworks', 'guested', 'guesting', 'guests', 'guffaw', 'guffawed', 'guffawing', 'guffaws', 'guffs', 'guidance', 'guidances', 'guidebook', 'guidebooks', 'guided', 'guideline', 'guidelines', 'guidepost', 'guideposts', 'guider', 'guiders', 'guides', 'guiding', 'guilder', 'guilders', 'guildhall', 'guildhalls', 'guilds', 'guileful', 'guileless', 'guilelessly', 'guilelessness', 'guilelessnesses', 'guiles', 'guillotine', 'guillotined', 'guillotines', 'guillotining', 'guilted', 'guiltier', 'guiltiest', 'guiltily', 'guiltiness', 'guiltinesses', 'guilting', 'guiltless', 'guilts', 'guilty', 'guinea', 'guineas', 'guises', 'guitar', 'guitarist', 'guitarists', 'guitars', 'gulags', 'gulches', 'gulden', 'guldens', 'gulled', 'gullet', 'gullets', 'gulley', 'gulleys', 'gullibilities', 'gullibility', 'gullible', 'gullies', 'gulling', 'gulped', 'gulper', 'gulpers', 'gulping', 'gumboil', 'gumboils', 'gumbos', 'gumdrop', 'gumdrops', 'gummed', 'gummier', 'gummiest', 'gumming', 'gumption', 'gumptions', 'gumshoe', 'gumshoed', 'gumshoeing', 'gumshoes', 'gunboat', 'gunboats', 'gunfight', 'gunfighter', 'gunfighters', 'gunfights', 'gunfire', 'gunfires', 'gunkier', 'gunkiest', 'gunks', 'gunman', 'gunmen', 'gunmetal', 'gunmetals', 'gunned', 'gunnel', 'gunnels', 'gunner', 'gunneries', 'gunners', 'gunnery', 'gunnies', 'gunning', 'gunnysack', 'gunnysacks', 'gunpoint', 'gunpoints', 'gunpowder', 'gunpowders', 'gunrunner', 'gunrunners', 'gunrunning', 'gunrunnings', 'gunship', 'gunships', 'gunshot', 'gunshots', 'gunslinger', 'gunslingers', 'gunsmith', 'gunsmiths', 'gunwale', 'gunwales', 'guppies', 'gurgle', 'gurgled', 'gurgles', 'gurgling', 'gurney', 'gurneys', 'gushed', 'gusher', 'gushers', 'gushes', 'gushier', 'gushiest', 'gushing', 'gusset', 'gusseted', 'gusseting', 'gussets', 'gussied', 'gussies', 'gussying', 'gustatory', 'gusted', 'gustier', 'gustiest', 'gustily', 'gusting', 'gustoes', 'gutless', 'gutlessness', 'gutlessnesses', 'gutsier', 'gutsiest', 'gutted', 'gutter', 'guttered', 'guttering', 'gutters', 'guttersnipe', 'guttersnipes', 'guttier', 'guttiest', 'gutting', 'guttural', 'gutturals', 'guying', 'guzzle', 'guzzled', 'guzzler', 'guzzlers', 'guzzles', 'guzzling', 'gymkhana', 'gymkhanas', 'gymnasia', 'gymnasium', 'gymnasiums', 'gymnast', 'gymnastic', 'gymnastically', 'gymnastics', 'gymnasts', 'gymnosperm', 'gymnosperms', 'gynaecologies', 'gynaecology', 'gynecologic', 'gynecological', 'gynecologies', 'gynecologist', 'gynecologists', 'gynecology', 'gypped', 'gypper', 'gyppers', 'gypping', 'gypsies', 'gypster', 'gypsters', 'gypsum', 'gypsums', 'gyrate', 'gyrated', 'gyrates', 'gyrating', 'gyration', 'gyrations', 'gyrator', 'gyrators', 'gyrfalcon', 'gyrfalcons', 'gyroscope', 'gyroscopes', 'gyroscopic', 'gyving', 'haberdasher', 'haberdasheries', 'haberdashers', 'haberdashery', 'habiliment', 'habiliments', 'habitabilities', 'habitability', 'habitable', 'habitat', 'habitation', 'habitations', 'habitats', 'habits', 'habitual', 'habitually', 'habitualness', 'habitualnesses', 'habituate', 'habituated', 'habituates', 'habituating', 'habituation', 'habituations', 'habitue', 'habitues', 'hacienda', 'haciendas', 'hacked', 'hacker', 'hackers', 'hacking', 'hackings', 'hackle', 'hackles', 'hackney', 'hackneyed', 'hackneying', 'hackneys', 'hacksaw', 'hacksaws', 'hacktivist!', 'hacktivists!', 'hackwork', 'hackworks', 'haddock', 'haddocks', 'hadjes', 'hadjis', 'haemoglobin', 'haemoglobins', 'haemophilia', 'haemophilias', 'haemorrhage', 'haemorrhaged', 'haemorrhages', 'haemorrhaging', 'haemorrhoids', 'hafnium', 'hafniums', 'haggard', 'haggardly', 'haggardness', 'haggardnesses', 'haggis', 'haggises', 'haggish', 'haggle', 'haggled', 'haggler', 'hagglers', 'haggles', 'haggling', 'hagiographer', 'hagiographers', 'hagiographies', 'hagiography', 'hahnium', 'hahniums', 'hailed', 'hailing', 'hailstone', 'hailstones', 'hailstorm', 'hailstorms', 'hairball', 'hairballs', 'hairbreadth', 'hairbreadths', 'hairbrush', 'hairbrushes', 'haircloth', 'haircloths', 'haircut', 'haircuts', 'hairdo', 'hairdos', 'hairdresser', 'hairdressers', 'hairdressing', 'hairdressings', 'hairdryer', 'hairdryers', 'haired', 'hairier', 'hairiest', 'hairiness', 'hairinesses', 'hairless', 'hairlike', 'hairline', 'hairlines', 'hairnet', 'hairnets', 'hairpiece', 'hairpieces', 'hairpin', 'hairpins', 'hairsbreadth', 'hairsbreadths', 'hairsplitter', 'hairsplitters', 'hairsplitting', 'hairsplittings', 'hairspring', 'hairsprings', 'hairstyle', 'hairstyles', 'hairstylist', 'hairstylists', 'hajjes', 'hajjis', 'halals', 'halberd', 'halberds', 'halcyon', 'halest', 'halfback', 'halfbacks', 'halfhearted', 'halfheartedly', 'halfheartedness', 'halfheartednesses', 'halfpence', 'halfpennies', 'halfpenny', 'halftime', 'halftimes', 'halftone', 'halftones', 'halfway', 'halfwit', 'halfwits', 'halibut', 'halibuts', 'haling', 'halite', 'halites', 'halitoses', 'halitosis', 'halleluiah', 'halleluiahs', 'hallelujah', 'hallelujahs', 'halliard', 'halliards', 'hallmark', 'hallmarked', 'hallmarking', 'hallmarks', 'halloo', 'hallooed', 'hallooing', 'halloos', 'hallos', 'hallow', 'hallowed', 'hallowing', 'hallows', 'hallucinate', 'hallucinated', 'hallucinates', 'hallucinating', 'hallucination', 'hallucinations', 'hallucinatory', 'hallucinogen', 'hallucinogenic', 'hallucinogenics', 'hallucinogens', 'hallway', 'hallways', 'haloed', 'haloes', 'halogen', 'halogens', 'haloing', 'halted', 'halter', 'haltered', 'haltering', 'halters', 'halting', 'haltingly', 'halved', 'halves', 'halving', 'halyard', 'halyards', 'hamburg', 'hamburger', 'hamburgers', 'hamburgs', 'hamlet', 'hamlets', 'hammed', 'hammer', 'hammered', 'hammerer', 'hammerers', 'hammerhead', 'hammerheads', 'hammering', 'hammerlock', 'hammerlocks', 'hammers', 'hammertoe', 'hammertoes', 'hammier', 'hammiest', 'hamming', 'hammock', 'hammocks', 'hamper', 'hampered', 'hampering', 'hampers', 'hamster', 'hamsters', 'hamstring', 'hamstringing', 'hamstrings', 'hamstrung', 'handbag', 'handbags', 'handball', 'handballs', 'handbarrow', 'handbarrows', 'handbill', 'handbills', 'handbook', 'handbooks', 'handcar', 'handcars', 'handcart', 'handcarts', 'handclasp', 'handclasps', 'handcraft', 'handcrafted', 'handcrafting', 'handcrafts', 'handcuff', 'handcuffed', 'handcuffing', 'handcuffs', 'handed', 'handful', 'handfuls', 'handgun', 'handguns', 'handheld!', 'handhelds!', 'handhold', 'handholds', 'handicap', 'handicapped', 'handicapper', 'handicappers', 'handicapping', 'handicaps', 'handicraft', 'handicrafts', 'handier', 'handiest', 'handily', 'handiness', 'handinesses', 'handing', 'handiwork', 'handiworks', 'handkerchief', 'handkerchiefs', 'handkerchieves', 'handle', 'handlebar', 'handlebars', 'handled', 'handler', 'handlers', 'handles', 'handling', 'handmade', 'handmaid', 'handmaiden', 'handmaidens', 'handmaids', 'handout', 'handouts', 'handpick', 'handpicked', 'handpicking', 'handpicks', 'handrail', 'handrails', 'handsaw', 'handsaws', 'handset', 'handsets', 'handsful', 'handshake', 'handshakes', 'handsome', 'handsomely', 'handsomeness', 'handsomenesses', 'handsomer', 'handsomest', 'handspring', 'handsprings', 'handstand', 'handstands', 'handwork', 'handworks', 'handwoven', 'handwriting', 'handwritings', 'handwritten', 'handyman', 'handymen', 'hangar', 'hangars', 'hangdog', 'hanged', 'hanger', 'hangers', 'hanging', 'hangings', 'hangman', 'hangmen', 'hangnail', 'hangnails', 'hangout', 'hangouts', 'hangover', 'hangovers', 'hangup', 'hangups', 'hanker', 'hankered', 'hankering', 'hankerings', 'hankers', 'hankie', 'hankies', 'hansom', 'hansoms', 'haphazard', 'haphazardly', 'haphazardness', 'haphazardnesses', 'hapless', 'haplessly', 'haplessness', 'haplessnesses', 'haploid', 'haploids', 'happen', 'happened', 'happening', 'happenings', 'happens', 'happenstance', 'happenstances', 'happier', 'happiest', 'happily', 'happiness', 'happinesses', 'harangue', 'harangued', 'harangues', 'haranguing', 'harass', 'harassed', 'harasser', 'harassers', 'harasses', 'harassing', 'harassment', 'harassments', 'harbinger', 'harbingers', 'harbor', 'harbored', 'harboring', 'harbors', 'harbour', 'harboured', 'harbouring', 'harbours', 'hardback', 'hardbacks', 'hardball', 'hardballs', 'hardboard', 'hardboards', 'hardbound', 'hardcore', 'hardcover', 'hardcovers', 'harden', 'hardened', 'hardener', 'hardeners', 'hardening', 'hardens', 'harder', 'hardest', 'hardhat', 'hardhats', 'hardheaded', 'hardheadedly', 'hardheadedness', 'hardheadednesses', 'hardhearted', 'hardheartedly', 'hardheartedness', 'hardheartednesses', 'hardier', 'hardiest', 'hardihood', 'hardihoods', 'hardily', 'hardiness', 'hardinesses', 'hardline', 'hardliner', 'hardliners', 'hardly', 'hardness', 'hardnesses', 'hardscrabble', 'hardship', 'hardships', 'hardstand', 'hardstands', 'hardtack', 'hardtacks', 'hardtop', 'hardtops', 'hardware', 'hardwares', 'hardwood', 'hardwoods', 'hardworking', 'harebell', 'harebells', 'harebrained', 'harelip', 'harelipped', 'harelips', 'harems', 'haring', 'harked', 'harken', 'harkened', 'harkening', 'harkens', 'harking', 'harlequin', 'harlequins', 'harlot', 'harlotries', 'harlotry', 'harlots', 'harmed', 'harmful', 'harmfully', 'harmfulness', 'harmfulnesses', 'harming', 'harmless', 'harmlessly', 'harmlessness', 'harmlessnesses', 'harmonic', 'harmonica', 'harmonically', 'harmonicas', 'harmonics', 'harmonies', 'harmonious', 'harmoniously', 'harmoniousness', 'harmoniousnesses', 'harmonium', 'harmoniums', 'harmonization', 'harmonizations', 'harmonize', 'harmonized', 'harmonizer', 'harmonizers', 'harmonizes', 'harmonizing', 'harmony', 'harness', 'harnessed', 'harnesses', 'harnessing', 'harped', 'harpies', 'harping', 'harpist', 'harpists', 'harpoon', 'harpooned', 'harpooner', 'harpooners', 'harpooning', 'harpoons', 'harpsichord', 'harpsichordist', 'harpsichordists', 'harpsichords', 'harridan', 'harridans', 'harried', 'harrier', 'harriers', 'harries', 'harrow', 'harrowed', 'harrowing', 'harrows', 'harrying', 'harsher', 'harshest', 'harshly', 'harshness', 'harshnesses', 'harvest', 'harvested', 'harvester', 'harvesters', 'harvesting', 'harvests', 'hashed', 'hasheesh', 'hasheeshes', 'hashes', 'hashing', 'hashish', 'hashishes', 'hashtag!', 'hashtags!', 'hassle', 'hassled', 'hassles', 'hassling', 'hassock', 'hassocks', 'hasted', 'hasten', 'hastened', 'hastening', 'hastens', 'hastes', 'hastier', 'hastiest', 'hastily', 'hastiness', 'hastinesses', 'hasting', 'hatbox', 'hatboxes', 'hatchback', 'hatchbacks', 'hatcheck', 'hatchecks', 'hatched', 'hatcheries', 'hatchery', 'hatches', 'hatchet', 'hatchets', 'hatching', 'hatchings', 'hatchway', 'hatchways', 'hateful', 'hatefully', 'hatefulness', 'hatefulnesses', 'hatemonger', 'hatemongers', 'haters', 'hating', 'hatred', 'hatreds', 'hatted', 'hatter', 'hatters', 'hatting', 'hauberk', 'hauberks', 'haughtier', 'haughtiest', 'haughtily', 'haughtiness', 'haughtinesses', 'haughty', 'haulage', 'haulages', 'hauled', 'hauler', 'haulers', 'hauling', 'haunch', 'haunches', 'haunted', 'haunter', 'haunters', 'haunting', 'hauntingly', 'haunts', 'hauteur', 'hauteurs', 'havens', 'haversack', 'haversacks', 'having', 'havocs', 'hawing', 'hawked', 'hawker', 'hawkers', 'hawking', 'hawkish', 'hawkishness', 'hawkishnesses', 'hawser', 'hawsers', 'hawthorn', 'hawthorns', 'haycock', 'haycocks', 'haying', 'hayloft', 'haylofts', 'haymow', 'haymows', 'hayrick', 'hayricks', 'hayride', 'hayrides', 'hayseed', 'hayseeds', 'haystack', 'haystacks', 'haywire', 'hazard', 'hazarded', 'hazarding', 'hazardous', 'hazardously', 'hazards', 'hazelnut', 'hazelnuts', 'hazels', 'hazers', 'hazier', 'haziest', 'hazily', 'haziness', 'hazinesses', 'hazing', 'hazings', 'hazmat!', 'hazmats!', 'headache', 'headaches', 'headband', 'headbands', 'headboard', 'headboards', 'headdress', 'headdresses', 'headed', 'header', 'headers', 'headfirst', 'headgear', 'headgears', 'headhunt', 'headhunted', 'headhunter', 'headhunters', 'headhunting', 'headhuntings', 'headhunts', 'headier', 'headiest', 'headily', 'headiness', 'headinesses', 'heading', 'headings', 'headlamp', 'headlamps', 'headland', 'headlands', 'headless', 'headlight', 'headlights', 'headline', 'headlined', 'headliner', 'headliners', 'headlines', 'headlining', 'headlock', 'headlocks', 'headlong', 'headman', 'headmaster', 'headmasters', 'headmen', 'headmistress', 'headmistresses', 'headphone', 'headphones', 'headpiece', 'headpieces', 'headpin', 'headpins', 'headquarter', 'headquartered', 'headquartering', 'headquarters', 'headrest', 'headrests', 'headroom', 'headrooms', 'headset', 'headsets', 'headship', 'headships', 'headshrinker', 'headshrinkers', 'headsman', 'headsmen', 'headstall', 'headstalls', 'headstand', 'headstands', 'headstone', 'headstones', 'headstrong', 'headwaiter', 'headwaiters', 'headwaters', 'headway', 'headways', 'headwind', 'headwinds', 'headword', 'headwords', 'healed', 'healer', 'healers', 'healing', 'health', 'healthcare', 'healthcares', 'healthful', 'healthfully', 'healthfulness', 'healthfulnesses', 'healthier', 'healthiest', 'healthily', 'healthiness', 'healthinesses', 'healths', 'healthy', 'heaped', 'heaping', 'hearer', 'hearers', 'hearing', 'hearings', 'hearken', 'hearkened', 'hearkening', 'hearkens', 'hearsay', 'hearsays', 'hearse', 'hearses', 'heartache', 'heartaches', 'heartbeat', 'heartbeats', 'heartbreak', 'heartbreaking', 'heartbreaks', 'heartbroken', 'heartburn', 'heartburns', 'hearten', 'heartened', 'heartening', 'heartens', 'heartfelt', 'hearth', 'hearths', 'hearthstone', 'hearthstones', 'heartier', 'hearties', 'heartiest', 'heartily', 'heartiness', 'heartinesses', 'heartland', 'heartlands', 'heartless', 'heartlessly', 'heartlessness', 'heartlessnesses', 'heartrending', 'heartrendingly', 'hearts', 'heartsick', 'heartsickness', 'heartsicknesses', 'heartstrings', 'heartthrob', 'heartthrobs', 'heartwarming', 'heartwood', 'heartwoods', 'hearty', 'heated', 'heatedly', 'heater', 'heaters', 'heathen', 'heathendom', 'heathendoms', 'heathenish', 'heathenism', 'heathenisms', 'heathens', 'heather', 'heathers', 'heaths', 'heating', 'heatings', 'heatproof', 'heatproofed', 'heatproofing', 'heatproofs', 'heatstroke', 'heatstrokes', 'heaved', 'heaven', 'heavenlier', 'heavenliest', 'heavenly', 'heavens', 'heavenward', 'heavenwards', 'heaver', 'heavers', 'heaves', 'heavier', 'heavies', 'heaviest', 'heavily', 'heaviness', 'heavinesses', 'heaving', 'heavyhearted', 'heavyset', 'heavyweight', 'heavyweights', 'heckle', 'heckled', 'heckler', 'hecklers', 'heckles', 'heckling', 'hecklings', 'hecks', 'hectare', 'hectares', 'hectic', 'hectically', 'hectogram', 'hectograms', 'hectometer', 'hectometers', 'hector', 'hectored', 'hectoring', 'hectors', 'hedged', 'hedgehog', 'hedgehogs', 'hedgehop', 'hedgehopped', 'hedgehopping', 'hedgehops', 'hedger', 'hedgerow', 'hedgerows', 'hedgers', 'hedges', 'hedging', 'hedonism', 'hedonisms', 'hedonist', 'hedonistic', 'hedonists', 'heeded', 'heedful', 'heedfully', 'heeding', 'heedless', 'heedlessly', 'heedlessness', 'heedlessnesses', 'heehaw', 'heehawed', 'heehawing', 'heehaws', 'heeled', 'heeling', 'heelless', 'hefted', 'heftier', 'heftiest', 'heftily', 'heftiness', 'heftinesses', 'hefting', 'hegemonies', 'hegemony', 'hegira', 'hegiras', 'heifer', 'heifers', 'height', 'heighten', 'heightened', 'heightening', 'heightens', 'heights', 'heinous', 'heinously', 'heinousness', 'heinousnesses', 'heiress', 'heiresses', 'heirloom', 'heirlooms', 'heisted', 'heisting', 'heists', 'helical', 'helices', 'helicopter', 'helicoptered', 'helicoptering', 'helicopters', 'heliocentric', 'heliotrope', 'heliotropes', 'heliport', 'heliports', 'helium', 'heliums', 'helixes', 'hellbent', 'hellcat', 'hellcats', 'hellebore', 'hellebores', 'hellhole', 'hellholes', 'hellion', 'hellions', 'hellish', 'hellishly', 'hellishness', 'hellishnesses', 'hellos', 'hells', 'helluva', 'helmet', 'helmeted', 'helmets', 'helmsman', 'helmsmen', 'helots', 'helped', 'helper', 'helpers', 'helpful', 'helpfully', 'helpfulness', 'helpfulnesses', 'helping', 'helpings', 'helpless', 'helplessly', 'helplessness', 'helplessnesses', 'helpline!', 'helplines!', 'helpmate', 'helpmates', 'helpmeet', 'helpmeets', 'helves', 'hematite', 'hematites', 'hematologic', 'hematological', 'hematologies', 'hematologist', 'hematologists', 'hematology', 'hemes', 'hemisphere', 'hemispheres', 'hemispheric', 'hemispherical', 'hemline', 'hemlines', 'hemlock', 'hemlocks', 'hemmed', 'hemmer', 'hemmers', 'hemming', 'hemoglobin', 'hemoglobins', 'hemophilia', 'hemophiliac', 'hemophiliacs', 'hemophilias', 'hemorrhage', 'hemorrhaged', 'hemorrhages', 'hemorrhagic', 'hemorrhaging', 'hemorrhoid', 'hemorrhoids', 'hemostat', 'hemostats', 'hempen', 'hemps', 'hemstitch', 'hemstitched', 'hemstitches', 'hemstitching', 'henceforth', 'henceforward', 'henchman', 'henchmen', 'hennaed', 'hennaing', 'hennas', 'henpeck', 'henpecked', 'henpecking', 'henpecks', 'heparin', 'heparins', 'hepatic', 'hepatitides', 'hepatitis', 'hepper', 'heppest', 'heptagon', 'heptagonal', 'heptagons', 'heptathlon', 'heptathlons', 'herald', 'heralded', 'heraldic', 'heralding', 'heraldries', 'heraldry', 'heralds', 'herbaceous', 'herbage', 'herbages', 'herbal', 'herbalist', 'herbalists', 'herbicidal', 'herbicide', 'herbicides', 'herbivore', 'herbivores', 'herbivorous', 'herculean', 'herded', 'herder', 'herders', 'herding', 'herdsman', 'herdsmen', 'hereabout', 'hereabouts', 'hereafter', 'hereafters', 'hereby', 'hereditary', 'heredities', 'heredity', 'herein', 'hereof', 'hereon', 'heres', 'heresies', 'heresy', 'heretic', 'heretical', 'heretics', 'hereto', 'heretofore', 'hereunto', 'hereupon', 'herewith', 'heritable', 'heritage', 'heritages', 'hermaphrodite', 'hermaphrodites', 'hermaphroditic', 'hermetic', 'hermetical', 'hermetically', 'hermit', 'hermitage', 'hermitages', 'hermits', 'hernia', 'herniae', 'hernial', 'hernias', 'herniate', 'herniated', 'herniates', 'herniating', 'herniation', 'herniations', 'heroes', 'heroic', 'heroically', 'heroics', 'heroin', 'heroine', 'heroines', 'heroins', 'heroism', 'heroisms', 'herons', 'herpes', 'herpeses', 'herpetologies', 'herpetologist', 'herpetologists', 'herpetology', 'herring', 'herringbone', 'herringbones', 'herrings', 'herself', 'hertzes', 'hesitance', 'hesitances', 'hesitancies', 'hesitancy', 'hesitant', 'hesitantly', 'hesitate', 'hesitated', 'hesitates', 'hesitating', 'hesitatingly', 'hesitation', 'hesitations', 'hetero', 'heterodox', 'heterodoxies', 'heterodoxy', 'heterogeneities', 'heterogeneity', 'heterogeneous', 'heterogeneously', 'heteros', 'heterosexual', 'heterosexualities', 'heterosexuality', 'heterosexuals', 'heuristic', 'heuristically', 'heuristics', 'hewers', 'hewing', 'hexadecimal', 'hexagon', 'hexagonal', 'hexagons', 'hexagram', 'hexagrams', 'hexameter', 'hexameters', 'hexing', 'heyday', 'heydays', 'hiatus', 'hiatuses', 'hibachi', 'hibachis', 'hibernate', 'hibernated', 'hibernates', 'hibernating', 'hibernation', 'hibernations', 'hibernator', 'hibernators', 'hibiscus', 'hibiscuses', 'hiccough', 'hiccoughed', 'hiccoughing', 'hiccoughs', 'hiccup', 'hiccuped', 'hiccuping', 'hiccupped', 'hiccupping', 'hiccups', 'hickey', 'hickeys', 'hickies', 'hickories', 'hickory', 'hidden', 'hideaway', 'hideaways', 'hidebound', 'hideous', 'hideously', 'hideousness', 'hideousnesses', 'hideout', 'hideouts', 'hiders', 'hiding', 'hidings', 'hieing', 'hierarchic', 'hierarchical', 'hierarchically', 'hierarchies', 'hierarchy', 'hieroglyph', 'hieroglyphic', 'hieroglyphics', 'hieroglyphs', 'highball', 'highballs', 'highborn', 'highboy', 'highboys', 'highbrow', 'highbrows', 'highchair', 'highchairs', 'higher', 'highest', 'highfalutin', 'highfaluting', 'highhanded', 'highhandedly', 'highhandedness', 'highhandednesses', 'highjack', 'highjacked', 'highjacking', 'highjacks', 'highland', 'highlander', 'highlanders', 'highlands', 'highlight', 'highlighted', 'highlighter', 'highlighters', 'highlighting', 'highlights', 'highly', 'highness', 'highnesses', 'highrise', 'highrises', 'highroad', 'highroads', 'hightail', 'hightailed', 'hightailing', 'hightails', 'highway', 'highwayman', 'highwaymen', 'highways', 'hijack', 'hijacked', 'hijacker', 'hijackers', 'hijacking', 'hijackings', 'hijacks', 'hikers', 'hiking', 'hikings', 'hilarious', 'hilariously', 'hilariousness', 'hilariousnesses', 'hilarities', 'hilarity', 'hillbillies', 'hillbilly', 'hillier', 'hilliest', 'hilliness', 'hillinesses', 'hillock', 'hillocks', 'hillside', 'hillsides', 'hilltop', 'hilltops', 'himself', 'hinder', 'hindered', 'hindering', 'hinders', 'hindmost', 'hindquarter', 'hindquarters', 'hindrance', 'hindrances', 'hindsight', 'hindsights', 'hinged', 'hinges', 'hinging', 'hinted', 'hinter', 'hinterland', 'hinterlands', 'hinters', 'hinting', 'hipbone', 'hipbones', 'hipness', 'hipnesses', 'hipped', 'hipper', 'hippest', 'hippie', 'hippies', 'hipping', 'hippodrome', 'hippodromes', 'hippopotami', 'hippopotamus', 'hippopotamuses', 'hippos', 'hipster', 'hipsters', 'hireling', 'hirelings', 'hiring', 'hirsute', 'hirsuteness', 'hirsutenesses', 'hissed', 'hisses', 'hissing', 'histamine', 'histamines', 'histogram', 'histograms', 'histologies', 'histologist', 'histologists', 'histology', 'historian', 'historians', 'historic', 'historical', 'historically', 'historicities', 'historicity', 'histories', 'historiographer', 'historiographers', 'historiographies', 'historiography', 'history', 'histrionic', 'histrionically', 'histrionics', 'hitched', 'hitcher', 'hitchers', 'hitches', 'hitchhike', 'hitchhiked', 'hitchhiker', 'hitchhikers', 'hitchhikes', 'hitchhiking', 'hitching', 'hither', 'hitherto', 'hitter', 'hitters', 'hitting', 'hiving', 'hoagie', 'hoagies', 'hoarded', 'hoarder', 'hoarders', 'hoarding', 'hoardings', 'hoards', 'hoarfrost', 'hoarfrosts', 'hoarier', 'hoariest', 'hoariness', 'hoarinesses', 'hoarse', 'hoarsely', 'hoarseness', 'hoarsenesses', 'hoarser', 'hoarsest', 'hoaxed', 'hoaxer', 'hoaxers', 'hoaxes', 'hoaxing', 'hobbies', 'hobble', 'hobbled', 'hobbler', 'hobblers', 'hobbles', 'hobbling', 'hobbyhorse', 'hobbyhorses', 'hobbyist', 'hobbyists', 'hobgoblin', 'hobgoblins', 'hobnail', 'hobnailed', 'hobnailing', 'hobnails', 'hobnob', 'hobnobbed', 'hobnobbing', 'hobnobs', 'hoboes', 'hocked', 'hockey', 'hockeys', 'hocking', 'hockshop', 'hockshops', 'hodgepodge', 'hodgepodges', 'hoecake', 'hoecakes', 'hoedown', 'hoedowns', 'hoeing', 'hogans', 'hogback', 'hogbacks', 'hogged', 'hogging', 'hoggish', 'hoggishly', 'hogshead', 'hogsheads', 'hogtie', 'hogtied', 'hogtieing', 'hogties', 'hogtying', 'hogwash', 'hogwashes', 'hoisted', 'hoisting', 'hoists', 'hokier', 'hokiest', 'hoking', 'hokums', 'holder', 'holders', 'holding', 'holdings', 'holdout', 'holdouts', 'holdover', 'holdovers', 'holdup', 'holdups', 'holiday', 'holidayed', 'holidaying', 'holidays', 'holier', 'holiest', 'holiness', 'holinesses', 'holing', 'holistic', 'holistically', 'holler', 'hollered', 'hollering', 'hollers', 'hollies', 'hollow', 'hollowed', 'hollower', 'hollowest', 'hollowing', 'hollowly', 'hollowness', 'hollownesses', 'hollows', 'hollyhock', 'hollyhocks', 'holmium', 'holmiums', 'holocaust', 'holocausts', 'hologram', 'holograms', 'holograph', 'holographic', 'holographies', 'holographs', 'holography', 'holster', 'holstered', 'holstering', 'holsters', 'homage', 'homages', 'hombre', 'hombres', 'homburg', 'homburgs', 'homebodies', 'homebody', 'homeboy', 'homeboys', 'homecoming', 'homecomings', 'homegrown', 'homeland', 'homelands', 'homeless', 'homelessness', 'homelessnesses', 'homelier', 'homeliest', 'homelike', 'homeliness', 'homelinesses', 'homely', 'homemade', 'homemaker', 'homemakers', 'homemaking', 'homemakings', 'homeopath', 'homeopathic', 'homeopathies', 'homeopaths', 'homeopathy', 'homeostases', 'homeostasis', 'homeostatic', 'homeowner', 'homeowners', 'homepage', 'homepages', 'homered', 'homering', 'homeroom', 'homerooms', 'homers', 'homeschooling', 'homeschoolings', 'homesick', 'homesickness', 'homesicknesses', 'homespun', 'homespuns', 'homestead', 'homesteaded', 'homesteader', 'homesteaders', 'homesteading', 'homesteads', 'homestretch', 'homestretches', 'hometown', 'hometowns', 'homeward', 'homewards', 'homework', 'homeworks', 'homeyness', 'homeynesses', 'homeys', 'homicidal', 'homicide', 'homicides', 'homier', 'homiest', 'homiletic', 'homilies', 'homily', 'hominess', 'hominesses', 'homing', 'hominid', 'hominids', 'hominies', 'hominy', 'homogeneities', 'homogeneity', 'homogeneous', 'homogeneously', 'homogenization', 'homogenizations', 'homogenize', 'homogenized', 'homogenizes', 'homogenizing', 'homograph', 'homographs', 'homologous', 'homonym', 'homonyms', 'homophobia', 'homophobias', 'homophobic', 'homophone', 'homophones', 'homosexual', 'homosexualities', 'homosexuality', 'homosexuals', 'honcho', 'honchos', 'honers', 'honest', 'honester', 'honestest', 'honesties', 'honestly', 'honesty', 'honeybee', 'honeybees', 'honeycomb', 'honeycombed', 'honeycombing', 'honeycombs', 'honeydew', 'honeydews', 'honeyed', 'honeying', 'honeylocust', 'honeylocusts', 'honeymoon', 'honeymooned', 'honeymooner', 'honeymooners', 'honeymooning', 'honeymoons', 'honeys', 'honeysuckle', 'honeysuckles', 'honied', 'honing', 'honked', 'honker', 'honkers', 'honkie', 'honkies', 'honking', 'honorable', 'honorableness', 'honorablenesses', 'honorably', 'honoraria', 'honorarily', 'honorarium', 'honorariums', 'honorary', 'honored', 'honoree', 'honorees', 'honorer', 'honorers', 'honorific', 'honorifics', 'honoring', 'honors', 'honour', 'honourable', 'honoured', 'honouring', 'honours', 'hooches', 'hooded', 'hoodie!', 'hoodies!', 'hooding', 'hoodlum', 'hoodlums', 'hoodoo', 'hoodooed', 'hoodooing', 'hoodoos', 'hoodwink', 'hoodwinked', 'hoodwinking', 'hoodwinks', 'hooeys', 'hoofed', 'hoofing', 'hookah', 'hookahs', 'hookas', 'hooked', 'hooker', 'hookers', 'hookey', 'hookeys', 'hookies', 'hooking', 'hookup', 'hookups', 'hookworm', 'hookworms', 'hooligan', 'hooliganism', 'hooliganisms', 'hooligans', 'hooped', 'hooping', 'hoopla', 'hooplas', 'hooray', 'hoorayed', 'hooraying', 'hoorays', 'hoosegow', 'hoosegows', 'hootch', 'hootches', 'hooted', 'hootenannies', 'hootenanny', 'hooter', 'hooters', 'hooting', 'hooves', 'hopeful', 'hopefully', 'hopefulness', 'hopefulnesses', 'hopefuls', 'hopeless', 'hopelessly', 'hopelessness', 'hopelessnesses', 'hoping', 'hopped', 'hopper', 'hoppers', 'hopping', 'hopscotch', 'hopscotched', 'hopscotches', 'hopscotching', 'horded', 'hordes', 'hording', 'horehound', 'horehounds', 'horizon', 'horizons', 'horizontal', 'horizontally', 'horizontals', 'hormonal', 'hormone', 'hormones', 'hornblende', 'hornblendes', 'horned', 'hornet', 'hornets', 'hornier', 'horniest', 'hornless', 'hornlike', 'hornpipe', 'hornpipes', 'horologic', 'horological', 'horologies', 'horologist', 'horologists', 'horology', 'horoscope', 'horoscopes', 'horrendous', 'horrendously', 'horrible', 'horribleness', 'horriblenesses', 'horribly', 'horrid', 'horrider', 'horridest', 'horridly', 'horrific', 'horrifically', 'horrified', 'horrifies', 'horrify', 'horrifying', 'horror', 'horrors', 'horseback', 'horsebacks', 'horsed', 'horseflesh', 'horseflies', 'horsefly', 'horsehair', 'horsehairs', 'horsehide', 'horsehides', 'horselaugh', 'horselaughs', 'horseless', 'horseman', 'horsemanship', 'horsemanships', 'horsemen', 'horseplay', 'horseplays', 'horsepower', 'horseradish', 'horseradishes', 'horses', 'horseshoe', 'horseshoed', 'horseshoeing', 'horseshoes', 'horsetail', 'horsetails', 'horsewhip', 'horsewhipped', 'horsewhipping', 'horsewhips', 'horsewoman', 'horsewomen', 'horsey', 'horsier', 'horsiest', 'horsing', 'hortatory', 'horticultural', 'horticulture', 'horticultures', 'horticulturist', 'horticulturists', 'hosanna', 'hosannas', 'hosier', 'hosieries', 'hosiers', 'hosiery', 'hosing', 'hospice', 'hospices', 'hospitable', 'hospitably', 'hospital', 'hospitalities', 'hospitality', 'hospitalization', 'hospitalizations', 'hospitalize', 'hospitalized', 'hospitalizes', 'hospitalizing', 'hospitals', 'hostage', 'hostages', 'hosted', 'hostel', 'hosteled', 'hosteler', 'hostelers', 'hosteling', 'hostelled', 'hostelling', 'hostelries', 'hostelry', 'hostels', 'hostess', 'hostessed', 'hostesses', 'hostessing', 'hostile', 'hostilely', 'hostiles', 'hostilities', 'hostility', 'hosting', 'hostler', 'hostlers', 'hotbed', 'hotbeds', 'hotblooded', 'hotbox', 'hotboxes', 'hotcake', 'hotcakes', 'hotdog', 'hotdogged', 'hotdogging', 'hotdogs', 'hotelier', 'hoteliers', 'hotels', 'hotfoot', 'hotfooted', 'hotfooting', 'hotfoots', 'hothead', 'hotheaded', 'hotheadedly', 'hotheadedness', 'hotheadednesses', 'hotheads', 'hothouse', 'hothouses', 'hotline', 'hotlines', 'hotness', 'hotnesses', 'hotplate', 'hotplates', 'hotshot', 'hotshots', 'hotspot', 'hotspots', 'hotter', 'hottest', 'houmous!', 'houmouses!', 'houmus!', 'houmuses!', 'hounded', 'hounding', 'hounds', 'hourglass', 'hourglasses', 'houris', 'hourly', 'houseboat', 'houseboats', 'housebound', 'houseboy', 'houseboys', 'housebreak', 'housebreaker', 'housebreakers', 'housebreaking', 'housebreakings', 'housebreaks', 'housebroke', 'housebroken', 'houseclean', 'housecleaned', 'housecleaning', 'housecleanings', 'housecleans', 'housecoat', 'housecoats', 'housed', 'houseflies', 'housefly', 'houseful', 'housefuls', 'household', 'householder', 'householders', 'households', 'househusband', 'househusbands', 'housekeeper', 'housekeepers', 'housekeeping', 'housekeepings', 'houselights', 'housemaid', 'housemaids', 'houseman', 'housemen', 'housemother', 'housemothers', 'houseparent', 'houseparents', 'houseplant', 'houseplants', 'houses', 'housetop', 'housetops', 'housewares', 'housewarming', 'housewarmings', 'housewife', 'housewifely', 'housewives', 'housework', 'houseworks', 'housing', 'housings', 'hovels', 'hovercraft', 'hovercrafts', 'hovered', 'hovering', 'hovers', 'howbeit', 'howdah', 'howdahs', 'however', 'howitzer', 'howitzers', 'howled', 'howler', 'howlers', 'howling', 'howsoever', 'hoyden', 'hoydenish', 'hoydens', 'huarache', 'huaraches', 'hubbies', 'hubbub', 'hubbubs', 'hubcap', 'hubcaps', 'hubris', 'hubrises', 'huckleberries', 'huckleberry', 'huckster', 'huckstered', 'huckstering', 'hucksterism', 'hucksterisms', 'hucksters', 'huddle', 'huddled', 'huddles', 'huddling', 'huffed', 'huffier', 'huffiest', 'huffily', 'huffiness', 'huffinesses', 'huffing', 'hugely', 'hugeness', 'hugenesses', 'hugest', 'hugged', 'hugging', 'hulking', 'hullabaloo', 'hullabaloos', 'hulled', 'huller', 'hullers', 'hulling', 'hullos', 'humane', 'humanely', 'humaneness', 'humanenesses', 'humaner', 'humanest', 'humanism', 'humanisms', 'humanist', 'humanistic', 'humanists', 'humanitarian', 'humanitarianism', 'humanitarianisms', 'humanitarians', 'humanities', 'humanity', 'humanization', 'humanizations', 'humanize', 'humanized', 'humanizer', 'humanizers', 'humanizes', 'humanizing', 'humankind', 'humanly', 'humanness', 'humannesses', 'humanoid', 'humanoids', 'humans', 'humble', 'humbled', 'humbleness', 'humblenesses', 'humbler', 'humblers', 'humbles', 'humblest', 'humbling', 'humbly', 'humbug', 'humbugged', 'humbugging', 'humbugs', 'humdinger', 'humdingers', 'humdrum', 'humdrums', 'humeral', 'humeri', 'humerus', 'humider', 'humidest', 'humidification', 'humidifications', 'humidified', 'humidifier', 'humidifiers', 'humidifies', 'humidify', 'humidifying', 'humidities', 'humidity', 'humidly', 'humidor', 'humidors', 'humiliate', 'humiliated', 'humiliates', 'humiliating', 'humiliatingly', 'humiliation', 'humiliations', 'humilities', 'humility', 'hummed', 'hummer', 'hummers', 'humming', 'hummingbird', 'hummingbirds', 'hummock', 'hummocks', 'hummocky', 'hummus', 'hummuses', 'humongous', 'humored', 'humoring', 'humorist', 'humorists', 'humorless', 'humorlessly', 'humorlessness', 'humorlessnesses', 'humorous', 'humorously', 'humorousness', 'humorousnesses', 'humors', 'humour', 'humoured', 'humouring', 'humours', 'humpback', 'humpbacked', 'humpbacks', 'humped', 'humphed', 'humphing', 'humphs', 'humping', 'humungous', 'humuses', 'hunchback', 'hunchbacked', 'hunchbacks', 'hunched', 'hunches', 'hunching', 'hundred', 'hundredfold', 'hundreds', 'hundredth', 'hundredths', 'hundredweight', 'hundredweights', 'hunger', 'hungered', 'hungering', 'hungers', 'hungover', 'hungrier', 'hungriest', 'hungrily', 'hungriness', 'hungrinesses', 'hungry', 'hunker', 'hunkered', 'hunkering', 'hunkers', 'hunkier', 'hunkiest', 'hunted', 'hunter', 'hunters', 'hunting', 'huntings', 'huntress', 'huntresses', 'huntsman', 'huntsmen', 'hurdle', 'hurdled', 'hurdler', 'hurdlers', 'hurdles', 'hurdling', 'hurdlings', 'hurled', 'hurler', 'hurlers', 'hurling', 'hurlings', 'hurrah', 'hurrahed', 'hurrahing', 'hurrahs', 'hurray', 'hurrayed', 'hurraying', 'hurrays', 'hurricane', 'hurricanes', 'hurried', 'hurriedly', 'hurries', 'hurrying', 'hurtful', 'hurtfully', 'hurtfulness', 'hurtfulnesses', 'hurting', 'hurtle', 'hurtled', 'hurtles', 'hurtling', 'husband', 'husbanded', 'husbanding', 'husbandman', 'husbandmen', 'husbandries', 'husbandry', 'husbands', 'hushed', 'hushes', 'hushing', 'husked', 'husker', 'huskers', 'huskier', 'huskies', 'huskiest', 'huskily', 'huskiness', 'huskinesses', 'husking', 'hussar', 'hussars', 'hussies', 'hustings', 'hustle', 'hustled', 'hustler', 'hustlers', 'hustles', 'hustling', 'hutches', 'hutzpa', 'hutzpah', 'hutzpahs', 'hutzpas', 'huzzaed', 'huzzah', 'huzzahed', 'huzzahing', 'huzzahs', 'huzzaing', 'huzzas', 'hyacinth', 'hyacinths', 'hyaena', 'hyaenas', 'hybrid', 'hybridism', 'hybridisms', 'hybridization', 'hybridizations', 'hybridize', 'hybridized', 'hybridizes', 'hybridizing', 'hybrids', 'hydrae', 'hydrangea', 'hydrangeas', 'hydrant', 'hydrants', 'hydras', 'hydrate', 'hydrated', 'hydrates', 'hydrating', 'hydration', 'hydrations', 'hydraulic', 'hydraulically', 'hydraulics', 'hydrocarbon', 'hydrocarbons', 'hydrocephali', 'hydrocephalies', 'hydrocephalus', 'hydrocephaluses', 'hydrocephaly', 'hydrodynamic', 'hydrodynamics', 'hydroelectric', 'hydroelectrically', 'hydroelectricities', 'hydroelectricity', 'hydrofoil', 'hydrofoils', 'hydrogen', 'hydrogenate', 'hydrogenated', 'hydrogenates', 'hydrogenating', 'hydrogenation', 'hydrogenations', 'hydrogenous', 'hydrogens', 'hydrologies', 'hydrologist', 'hydrologists', 'hydrology', 'hydrolyses', 'hydrolysis', 'hydrolyze', 'hydrolyzed', 'hydrolyzes', 'hydrolyzing', 'hydrometer', 'hydrometers', 'hydrometries', 'hydrometry', 'hydrophobia', 'hydrophobias', 'hydrophobic', 'hydrophone', 'hydrophones', 'hydroplane', 'hydroplaned', 'hydroplanes', 'hydroplaning', 'hydroponic', 'hydroponically', 'hydroponics', 'hydros', 'hydrosphere', 'hydrospheres', 'hydrotherapies', 'hydrotherapy', 'hydrous', 'hydroxide', 'hydroxides', 'hyenas', 'hygiene', 'hygienes', 'hygienic', 'hygienically', 'hygienist', 'hygienists', 'hygrometer', 'hygrometers', 'hymeneal', 'hymens', 'hymnal', 'hymnals', 'hymnbook', 'hymnbooks', 'hymned', 'hymning', 'hyperactive', 'hyperactivities', 'hyperactivity', 'hyperbola', 'hyperbolae', 'hyperbolas', 'hyperbole', 'hyperboles', 'hyperbolic', 'hypercritical', 'hypercritically', 'hyperglycemia', 'hyperglycemias', 'hyperlink', 'hyperlinked!', 'hyperlinking!', 'hyperlinks', 'hypermedia', 'hypermedias', 'hypersensitive', 'hypersensitiveness', 'hypersensitivenesses', 'hypersensitivities', 'hypersensitivity', 'hypertension', 'hypertensions', 'hypertensive', 'hypertensives', 'hypertext', 'hypertexts', 'hyperthyroid', 'hyperthyroidism', 'hyperthyroidisms', 'hyperthyroids', 'hypertrophied', 'hypertrophies', 'hypertrophy', 'hypertrophying', 'hyperventilate', 'hyperventilated', 'hyperventilates', 'hyperventilating', 'hyperventilation', 'hyperventilations', 'hyphen', 'hyphenate', 'hyphenated', 'hyphenates', 'hyphenating', 'hyphenation', 'hyphenations', 'hyphened', 'hyphening', 'hyphens', 'hyping', 'hypnoses', 'hypnosis', 'hypnotherapies', 'hypnotherapy', 'hypnotic', 'hypnotically', 'hypnotics', 'hypnotism', 'hypnotisms', 'hypnotist', 'hypnotists', 'hypnotize', 'hypnotized', 'hypnotizes', 'hypnotizing', 'hypoallergenic', 'hypochondria', 'hypochondriac', 'hypochondriacs', 'hypochondrias', 'hypocrisies', 'hypocrisy', 'hypocrite', 'hypocrites', 'hypocritical', 'hypocritically', 'hypodermic', 'hypodermics', 'hypoglycemia', 'hypoglycemias', 'hypoglycemic', 'hypoglycemics', 'hypotenuse', 'hypotenuses', 'hypothalami', 'hypothalamus', 'hypothermia', 'hypothermias', 'hypotheses', 'hypothesis', 'hypothesize', 'hypothesized', 'hypothesizes', 'hypothesizing', 'hypothetical', 'hypothetically', 'hypothyroid', 'hypothyroidism', 'hypothyroidisms', 'hypothyroids', 'hyssop', 'hyssops', 'hysterectomies', 'hysterectomy', 'hysteria', 'hysterias', 'hysteric', 'hysterical', 'hysterically', 'hysterics', 'iambic', 'iambics', 'iambus', 'iambuses', 'ibexes', 'ibices', 'ibidem', 'ibises', 'ibuprofen', 'ibuprofens', 'iceberg', 'icebergs', 'iceboat', 'iceboats', 'icebound', 'icebox', 'iceboxes', 'icebreaker', 'icebreakers', 'icecap', 'icecaps', 'iceman', 'icemen', 'ichthyologies', 'ichthyologist', 'ichthyologists', 'ichthyology', 'icicle', 'icicles', 'iciest', 'iciness', 'icinesses', 'icings', 'ickier', 'ickiest', 'iconic', 'iconoclasm', 'iconoclasms', 'iconoclast', 'iconoclastic', 'iconoclasts', 'iconographies', 'iconography', 'ictuses', 'idealism', 'idealisms', 'idealist', 'idealistic', 'idealistically', 'idealists', 'idealization', 'idealizations', 'idealize', 'idealized', 'idealizes', 'idealizing', 'ideally', 'ideals', 'identical', 'identically', 'identifiable', 'identification', 'identifications', 'identified', 'identifies', 'identify', 'identifying', 'identities', 'identity', 'ideogram', 'ideograms', 'ideograph', 'ideographs', 'ideological', 'ideologically', 'ideologies', 'ideologist', 'ideologists', 'ideologue', 'ideologues', 'ideology', 'idiocies', 'idiocy', 'idiomatic', 'idiomatically', 'idioms', 'idiopathic', 'idiosyncrasies', 'idiosyncrasy', 'idiosyncratic', 'idiosyncratically', 'idiotic', 'idiotically', 'idiots', 'idleness', 'idlenesses', 'idlers', 'idlest', 'idling', 'idolater', 'idolaters', 'idolatress', 'idolatresses', 'idolatries', 'idolatrous', 'idolatry', 'idolization', 'idolizations', 'idolize', 'idolized', 'idolizes', 'idolizing', 'idyllic', 'idyllically', 'idylls', 'iffier', 'iffiest', 'iffiness', 'iffinesses', 'igloos', 'igneous', 'ignitable', 'ignite', 'ignited', 'ignites', 'ignitible', 'igniting', 'ignition', 'ignitions', 'ignoble', 'ignobler', 'ignoblest', 'ignobly', 'ignominies', 'ignominious', 'ignominiously', 'ignominy', 'ignoramus', 'ignoramuses', 'ignorance', 'ignorances', 'ignorant', 'ignorantly', 'ignore', 'ignored', 'ignores', 'ignoring', 'iguana', 'iguanas', 'ileitides', 'ileitis', 'illegal', 'illegalities', 'illegality', 'illegally', 'illegals', 'illegibilities', 'illegibility', 'illegible', 'illegibly', 'illegitimacies', 'illegitimacy', 'illegitimate', 'illegitimately', 'illiberal', 'illiberalities', 'illiberality', 'illiberally', 'illicit', 'illicitly', 'illicitness', 'illicitnesses', 'illimitable', 'illiteracies', 'illiteracy', 'illiterate', 'illiterately', 'illiterates', 'illness', 'illnesses', 'illogical', 'illogicalities', 'illogicality', 'illogically', 'illuminable', 'illuminate', 'illuminated', 'illuminates', 'illuminating', 'illuminatingly', 'illumination', 'illuminations', 'illumine', 'illumined', 'illumines', 'illumining', 'illusion', 'illusionist', 'illusionists', 'illusions', 'illusive', 'illusory', 'illustrate', 'illustrated', 'illustrates', 'illustrating', 'illustration', 'illustrations', 'illustrative', 'illustratively', 'illustrator', 'illustrators', 'illustrious', 'illustriously', 'illustriousness', 'illustriousnesses', 'imaged', 'imageries', 'imagery', 'images', 'imaginable', 'imaginably', 'imaginary', 'imagination', 'imaginations', 'imaginative', 'imaginatively', 'imagine', 'imagined', 'imagines', 'imaging', 'imagining', 'imagoes', 'imbalance', 'imbalances', 'imbecile', 'imbeciles', 'imbecilic', 'imbecilities', 'imbecility', 'imbedded', 'imbedding', 'imbeds', 'imbibe', 'imbibed', 'imbiber', 'imbibers', 'imbibes', 'imbibing', 'imbrication', 'imbrications', 'imbroglio', 'imbroglios', 'imbued', 'imbues', 'imbuing', 'imitable', 'imitate', 'imitated', 'imitates', 'imitating', 'imitation', 'imitations', 'imitative', 'imitatively', 'imitativeness', 'imitativenesses', 'imitator', 'imitators', 'immaculate', 'immaculately', 'immaculateness', 'immaculatenesses', 'immanence', 'immanences', 'immanencies', 'immanency', 'immanent', 'immanently', 'immaterial', 'immaterialities', 'immateriality', 'immaterially', 'immaterialness', 'immaterialnesses', 'immature', 'immaturely', 'immaturities', 'immaturity', 'immeasurable', 'immeasurably', 'immediacies', 'immediacy', 'immediate', 'immediately', 'immediateness', 'immediatenesses', 'immemorial', 'immemorially', 'immense', 'immensely', 'immensities', 'immensity', 'immerse', 'immersed', 'immerses', 'immersible', 'immersing', 'immersion', 'immersions', 'immigrant', 'immigrants', 'immigrate', 'immigrated', 'immigrates', 'immigrating', 'immigration', 'immigrations', 'imminence', 'imminences', 'imminent', 'imminently', 'immobile', 'immobilities', 'immobility', 'immobilization', 'immobilizations', 'immobilize', 'immobilized', 'immobilizes', 'immobilizing', 'immoderate', 'immoderately', 'immodest', 'immodesties', 'immodestly', 'immodesty', 'immolate', 'immolated', 'immolates', 'immolating', 'immolation', 'immolations', 'immoral', 'immoralities', 'immorality', 'immorally', 'immortal', 'immortalities', 'immortality', 'immortalize', 'immortalized', 'immortalizes', 'immortalizing', 'immortally', 'immortals', 'immovabilities', 'immovability', 'immovable', 'immovably', 'immune', 'immunities', 'immunity', 'immunization', 'immunizations', 'immunize', 'immunized', 'immunizes', 'immunizing', 'immunodeficiencies', 'immunodeficiency', 'immunodeficient', 'immunologic', 'immunological', 'immunologies', 'immunologist', 'immunologists', 'immunology', 'immure', 'immured', 'immures', 'immuring', 'immutabilities', 'immutability', 'immutable', 'immutably', 'impact', 'impacted', 'impacting', 'impacts', 'impair', 'impaired', 'impairing', 'impairment', 'impairments', 'impairs', 'impala', 'impalas', 'impale', 'impaled', 'impalement', 'impalements', 'impales', 'impaling', 'impalpable', 'impalpably', 'impanel', 'impaneled', 'impaneling', 'impanelled', 'impanelling', 'impanels', 'impart', 'imparted', 'impartial', 'impartialities', 'impartiality', 'impartially', 'imparting', 'imparts', 'impassable', 'impassably', 'impasse', 'impasses', 'impassibilities', 'impassibility', 'impassible', 'impassibly', 'impassioned', 'impassive', 'impassively', 'impassiveness', 'impassivenesses', 'impassivities', 'impassivity', 'impasto', 'impastos', 'impatience', 'impatiences', 'impatiens', 'impatienses', 'impatient', 'impatiently', 'impeach', 'impeachable', 'impeached', 'impeacher', 'impeachers', 'impeaches', 'impeaching', 'impeachment', 'impeachments', 'impeccabilities', 'impeccability', 'impeccable', 'impeccably', 'impecunious', 'impecuniously', 'impecuniousness', 'impecuniousnesses', 'impedance', 'impedances', 'impede', 'impeded', 'impedes', 'impediment', 'impedimenta', 'impediments', 'impeding', 'impelled', 'impeller', 'impellers', 'impelling', 'impels', 'impend', 'impended', 'impending', 'impends', 'impenetrabilities', 'impenetrability', 'impenetrable', 'impenetrably', 'impenitence', 'impenitences', 'impenitent', 'impenitently', 'imperative', 'imperatively', 'imperatives', 'imperceptibilities', 'imperceptibility', 'imperceptible', 'imperceptibly', 'imperceptive', 'imperfect', 'imperfection', 'imperfections', 'imperfectly', 'imperfectness', 'imperfectnesses', 'imperfects', 'imperial', 'imperialism', 'imperialisms', 'imperialist', 'imperialistic', 'imperialistically', 'imperialists', 'imperially', 'imperials', 'imperil', 'imperiled', 'imperiling', 'imperilled', 'imperilling', 'imperilment', 'imperilments', 'imperils', 'imperious', 'imperiously', 'imperiousness', 'imperiousnesses', 'imperishable', 'imperishably', 'impermanence', 'impermanences', 'impermanent', 'impermanently', 'impermeabilities', 'impermeability', 'impermeable', 'impermeably', 'impermissible', 'impersonal', 'impersonally', 'impersonate', 'impersonated', 'impersonates', 'impersonating', 'impersonation', 'impersonations', 'impersonator', 'impersonators', 'impertinence', 'impertinences', 'impertinent', 'impertinently', 'imperturbabilities', 'imperturbability', 'imperturbable', 'imperturbably', 'impervious', 'imperviously', 'impetigo', 'impetigos', 'impetuosities', 'impetuosity', 'impetuous', 'impetuously', 'impetuousness', 'impetuousnesses', 'impetus', 'impetuses', 'impieties', 'impiety', 'impinge', 'impinged', 'impingement', 'impingements', 'impinges', 'impinging', 'impious', 'impiously', 'impiousness', 'impiousnesses', 'impish', 'impishly', 'impishness', 'impishnesses', 'implacabilities', 'implacability', 'implacable', 'implacably', 'implant', 'implantable', 'implantation', 'implantations', 'implanted', 'implanting', 'implants', 'implausibilities', 'implausibility', 'implausible', 'implausibly', 'implement', 'implementation', 'implementations', 'implemented', 'implementing', 'implements', 'implicate', 'implicated', 'implicates', 'implicating', 'implication', 'implications', 'implicit', 'implicitly', 'implicitness', 'implicitnesses', 'implied', 'implies', 'implode', 'imploded', 'implodes', 'imploding', 'implore', 'implored', 'implores', 'imploring', 'imploringly', 'implosion', 'implosions', 'implosive', 'implying', 'impolite', 'impolitely', 'impoliteness', 'impolitenesses', 'impolitic', 'imponderable', 'imponderables', 'import', 'importable', 'importance', 'importances', 'important', 'importantly', 'importation', 'importations', 'imported', 'importer', 'importers', 'importing', 'imports', 'importunate', 'importunately', 'importune', 'importuned', 'importunes', 'importuning', 'importunities', 'importunity', 'impose', 'imposed', 'imposer', 'imposers', 'imposes', 'imposing', 'imposingly', 'imposition', 'impositions', 'impossibilities', 'impossibility', 'impossible', 'impossibly', 'impost', 'imposter', 'imposters', 'impostor', 'impostors', 'imposts', 'imposture', 'impostures', 'impotence', 'impotences', 'impotencies', 'impotency', 'impotent', 'impotently', 'impound', 'impounded', 'impounding', 'impounds', 'impoverish', 'impoverished', 'impoverishes', 'impoverishing', 'impoverishment', 'impoverishments', 'impracticable', 'impracticably', 'impractical', 'impracticalities', 'impracticality', 'impractically', 'imprecate', 'imprecated', 'imprecates', 'imprecating', 'imprecation', 'imprecations', 'imprecise', 'imprecisely', 'impreciseness', 'imprecisenesses', 'imprecision', 'imprecisions', 'impregnabilities', 'impregnability', 'impregnable', 'impregnably', 'impregnate', 'impregnated', 'impregnates', 'impregnating', 'impregnation', 'impregnations', 'impresario', 'impresarios', 'impress', 'impressed', 'impresses', 'impressibilities', 'impressibility', 'impressible', 'impressing', 'impression', 'impressionabilities', 'impressionability', 'impressionable', 'impressionism', 'impressionisms', 'impressionist', 'impressionistic', 'impressionists', 'impressions', 'impressive', 'impressively', 'impressiveness', 'impressivenesses', 'imprimatur', 'imprimaturs', 'imprint', 'imprinted', 'imprinter', 'imprinters', 'imprinting', 'imprints', 'imprison', 'imprisoned', 'imprisoning', 'imprisonment', 'imprisonments', 'imprisons', 'improbabilities', 'improbability', 'improbable', 'improbably', 'impromptu', 'impromptus', 'improper', 'improperly', 'improprieties', 'impropriety', 'improvable', 'improve', 'improved', 'improvement', 'improvements', 'improves', 'improvidence', 'improvidences', 'improvident', 'improvidently', 'improving', 'improvisation', 'improvisational', 'improvisations', 'improvise', 'improvised', 'improviser', 'improvisers', 'improvises', 'improvising', 'improvisor', 'improvisors', 'imprudence', 'imprudences', 'imprudent', 'imprudently', 'impudence', 'impudences', 'impudent', 'impudently', 'impugn', 'impugned', 'impugner', 'impugners', 'impugning', 'impugns', 'impulse', 'impulsed', 'impulses', 'impulsing', 'impulsion', 'impulsions', 'impulsive', 'impulsively', 'impulsiveness', 'impulsivenesses', 'impunities', 'impunity', 'impure', 'impurely', 'impurer', 'impurest', 'impurities', 'impurity', 'imputable', 'imputation', 'imputations', 'impute', 'imputed', 'imputes', 'imputing', 'inabilities', 'inability', 'inaccessibilities', 'inaccessibility', 'inaccessible', 'inaccessibly', 'inaccuracies', 'inaccuracy', 'inaccurate', 'inaccurately', 'inaction', 'inactions', 'inactivate', 'inactivated', 'inactivates', 'inactivating', 'inactivation', 'inactivations', 'inactive', 'inactively', 'inactivities', 'inactivity', 'inadequacies', 'inadequacy', 'inadequate', 'inadequately', 'inadmissibilities', 'inadmissibility', 'inadmissible', 'inadvertence', 'inadvertences', 'inadvertent', 'inadvertently', 'inadvisabilities', 'inadvisability', 'inadvisable', 'inalienabilities', 'inalienability', 'inalienable', 'inalienably', 'inamorata', 'inamoratas', 'inanely', 'inaner', 'inanest', 'inanimate', 'inanimately', 'inanimateness', 'inanimatenesses', 'inanities', 'inanity', 'inapplicable', 'inappreciable', 'inappreciably', 'inapproachable', 'inappropriate', 'inappropriately', 'inappropriateness', 'inappropriatenesses', 'inaptly', 'inaptness', 'inaptnesses', 'inarguable', 'inarticulate', 'inarticulately', 'inarticulateness', 'inarticulatenesses', 'inartistic', 'inattention', 'inattentions', 'inattentive', 'inattentively', 'inattentiveness', 'inattentivenesses', 'inaudibilities', 'inaudibility', 'inaudible', 'inaudibly', 'inaugural', 'inaugurals', 'inaugurate', 'inaugurated', 'inaugurates', 'inaugurating', 'inauguration', 'inaugurations', 'inauspicious', 'inauspiciously', 'inauthentic', 'inboard', 'inboards', 'inborn', 'inbound', 'inbounded', 'inbounding', 'inbounds', 'inbox!', 'inboxes!', 'inbred', 'inbreed', 'inbreeding', 'inbreedings', 'inbreeds', 'incalculable', 'incalculably', 'incandescence', 'incandescences', 'incandescent', 'incandescently', 'incantation', 'incantations', 'incapabilities', 'incapability', 'incapable', 'incapably', 'incapacitate', 'incapacitated', 'incapacitates', 'incapacitating', 'incapacities', 'incapacity', 'incarcerate', 'incarcerated', 'incarcerates', 'incarcerating', 'incarceration', 'incarcerations', 'incarnadine', 'incarnadined', 'incarnadines', 'incarnadining', 'incarnate', 'incarnated', 'incarnates', 'incarnating', 'incarnation', 'incarnations', 'incautious', 'incendiaries', 'incendiary', 'incense', 'incensed', 'incenses', 'incensing', 'incentive', 'incentives', 'inception', 'inceptions', 'incertitude', 'incertitudes', 'incessant', 'incessantly', 'incest', 'incests', 'incestuous', 'incestuously', 'incestuousness', 'incestuousnesses', 'inched', 'inches', 'inching', 'inchoate', 'inchworm', 'inchworms', 'incidence', 'incidences', 'incident', 'incidental', 'incidentally', 'incidentals', 'incidents', 'incinerate', 'incinerated', 'incinerates', 'incinerating', 'incineration', 'incinerations', 'incinerator', 'incinerators', 'incipience', 'incipiences', 'incipient', 'incipiently', 'incise', 'incised', 'incises', 'incising', 'incision', 'incisions', 'incisive', 'incisively', 'incisiveness', 'incisivenesses', 'incisor', 'incisors', 'incite', 'incited', 'incitement', 'incitements', 'inciter', 'inciters', 'incites', 'inciting', 'incivilities', 'incivility', 'inclemencies', 'inclemency', 'inclement', 'inclination', 'inclinations', 'incline', 'inclined', 'inclines', 'inclining', 'inclose', 'inclosed', 'incloses', 'inclosing', 'inclosure', 'inclosures', 'include', 'included', 'includes', 'including', 'inclusion', 'inclusions', 'inclusive', 'inclusively', 'inclusiveness', 'inclusivenesses', 'incognito', 'incognitos', 'incoherence', 'incoherences', 'incoherent', 'incoherently', 'incombustible', 'income', 'incomes', 'incoming', 'incommensurate', 'incommensurately', 'incommode', 'incommoded', 'incommodes', 'incommoding', 'incommodious', 'incommunicable', 'incommunicado', 'incomparable', 'incomparably', 'incompatibilities', 'incompatibility', 'incompatible', 'incompatibles', 'incompatibly', 'incompetence', 'incompetences', 'incompetencies', 'incompetency', 'incompetent', 'incompetently', 'incompetents', 'incomplete', 'incompletely', 'incompleteness', 'incompletenesses', 'incompletes', 'incomprehensibilities', 'incomprehensibility', 'incomprehensible', 'incomprehensibly', 'incomprehension', 'incomprehensions', 'inconceivabilities', 'inconceivability', 'inconceivable', 'inconceivably', 'inconclusive', 'inconclusively', 'inconclusiveness', 'inconclusivenesses', 'incongruities', 'incongruity', 'incongruous', 'incongruously', 'incongruousness', 'incongruousnesses', 'inconsequential', 'inconsequentially', 'inconsiderable', 'inconsiderate', 'inconsiderately', 'inconsiderateness', 'inconsideratenesses', 'inconsideration', 'inconsiderations', 'inconsistencies', 'inconsistency', 'inconsistent', 'inconsistently', 'inconsolable', 'inconsolably', 'inconspicuous', 'inconspicuously', 'inconspicuousness', 'inconspicuousnesses', 'inconstancies', 'inconstancy', 'inconstant', 'inconstantly', 'incontestabilities', 'incontestability', 'incontestable', 'incontestably', 'incontinence', 'incontinences', 'incontinent', 'incontrovertible', 'incontrovertibly', 'inconvenience', 'inconvenienced', 'inconveniences', 'inconveniencing', 'inconvenient', 'inconveniently', 'incorporate', 'incorporated', 'incorporates', 'incorporating', 'incorporation', 'incorporations', 'incorporeal', 'incorrect', 'incorrectly', 'incorrectness', 'incorrectnesses', 'incorrigibilities', 'incorrigibility', 'incorrigible', 'incorrigibly', 'incorruptibilities', 'incorruptibility', 'incorruptible', 'incorruptibly', 'increase', 'increased', 'increases', 'increasing', 'increasingly', 'incredibilities', 'incredibility', 'incredible', 'incredibly', 'incredulities', 'incredulity', 'incredulous', 'incredulously', 'increment', 'incremental', 'increments', 'incriminate', 'incriminated', 'incriminates', 'incriminating', 'incrimination', 'incriminations', 'incriminatory', 'incrust', 'incrustation', 'incrustations', 'incrusted', 'incrusting', 'incrusts', 'incubate', 'incubated', 'incubates', 'incubating', 'incubation', 'incubations', 'incubator', 'incubators', 'incubi', 'incubus', 'incubuses', 'inculcate', 'inculcated', 'inculcates', 'inculcating', 'inculcation', 'inculcations', 'inculpable', 'inculpate', 'inculpated', 'inculpates', 'inculpating', 'incumbencies', 'incumbency', 'incumbent', 'incumbents', 'incumber', 'incumbered', 'incumbering', 'incumbers', 'incunabula', 'incunabulum', 'incurable', 'incurables', 'incurably', 'incurious', 'incurred', 'incurring', 'incurs', 'incursion', 'incursions', 'indebted', 'indebtedness', 'indebtednesses', 'indecencies', 'indecency', 'indecent', 'indecently', 'indecipherable', 'indecision', 'indecisions', 'indecisive', 'indecisively', 'indecisiveness', 'indecisivenesses', 'indecorous', 'indecorously', 'indeed', 'indefatigable', 'indefatigably', 'indefeasible', 'indefeasibly', 'indefensible', 'indefensibly', 'indefinable', 'indefinably', 'indefinite', 'indefinitely', 'indefiniteness', 'indefinitenesses', 'indelible', 'indelibly', 'indelicacies', 'indelicacy', 'indelicate', 'indelicately', 'indemnification', 'indemnifications', 'indemnified', 'indemnifies', 'indemnify', 'indemnifying', 'indemnities', 'indemnity', 'indemonstrable', 'indent', 'indentation', 'indentations', 'indented', 'indenting', 'indention', 'indentions', 'indents', 'indenture', 'indentured', 'indentures', 'indenturing', 'independence', 'independences', 'independent', 'independently', 'independents', 'indescribable', 'indescribably', 'indestructibilities', 'indestructibility', 'indestructible', 'indestructibly', 'indeterminable', 'indeterminably', 'indeterminacies', 'indeterminacy', 'indeterminate', 'indeterminately', 'indexation', 'indexations', 'indexed', 'indexer', 'indexers', 'indexes', 'indexing', 'indicate', 'indicated', 'indicates', 'indicating', 'indication', 'indications', 'indicative', 'indicatively', 'indicatives', 'indicator', 'indicators', 'indices', 'indict', 'indictable', 'indicted', 'indicting', 'indictment', 'indictments', 'indicts', 'indifference', 'indifferences', 'indifferent', 'indifferently', 'indigence', 'indigences', 'indigenous', 'indigent', 'indigently', 'indigents', 'indigestible', 'indigestion', 'indigestions', 'indignant', 'indignantly', 'indignation', 'indignations', 'indignities', 'indignity', 'indigo', 'indigoes', 'indigos', 'indirect', 'indirected', 'indirecting', 'indirection', 'indirections', 'indirectly', 'indirectness', 'indirectnesses', 'indirects', 'indiscernible', 'indiscreet', 'indiscreetly', 'indiscretion', 'indiscretions', 'indiscriminate', 'indiscriminately', 'indispensabilities', 'indispensability', 'indispensable', 'indispensables', 'indispensably', 'indisposed', 'indisposition', 'indispositions', 'indisputable', 'indisputably', 'indissoluble', 'indissolubly', 'indistinct', 'indistinctly', 'indistinctness', 'indistinctnesses', 'indistinguishable', 'indistinguishably', 'indite', 'indited', 'indites', 'inditing', 'indium', 'indiums', 'individual', 'individualism', 'individualisms', 'individualist', 'individualistic', 'individualistically', 'individualists', 'individualities', 'individuality', 'individualization', 'individualizations', 'individualize', 'individualized', 'individualizes', 'individualizing', 'individually', 'individuals', 'individuate', 'individuated', 'individuates', 'individuating', 'individuation', 'individuations', 'indivisibilities', 'indivisibility', 'indivisible', 'indivisibly', 'indoctrinate', 'indoctrinated', 'indoctrinates', 'indoctrinating', 'indoctrination', 'indoctrinations', 'indolence', 'indolences', 'indolent', 'indolently', 'indomitable', 'indomitably', 'indoor', 'indoors', 'indorse', 'indorsed', 'indorses', 'indorsing', 'indubitable', 'indubitably', 'induce', 'induced', 'inducement', 'inducements', 'inducer', 'inducers', 'induces', 'inducing', 'induct', 'inductance', 'inductances', 'inducted', 'inductee', 'inductees', 'inducting', 'induction', 'inductions', 'inductive', 'inducts', 'indued', 'indues', 'induing', 'indulge', 'indulged', 'indulgence', 'indulgences', 'indulgent', 'indulgently', 'indulges', 'indulging', 'industrial', 'industrialism', 'industrialisms', 'industrialist', 'industrialists', 'industrialization', 'industrializations', 'industrialize', 'industrialized', 'industrializes', 'industrializing', 'industrially', 'industries', 'industrious', 'industriously', 'industriousness', 'industriousnesses', 'industry', 'indwell', 'indwelled', 'indwelling', 'indwells', 'indwelt', 'inebriate', 'inebriated', 'inebriates', 'inebriating', 'inebriation', 'inebriations', 'inedible', 'ineducable', 'ineffabilities', 'ineffability', 'ineffable', 'ineffably', 'ineffective', 'ineffectively', 'ineffectiveness', 'ineffectivenesses', 'ineffectual', 'ineffectually', 'inefficacies', 'inefficacy', 'inefficiencies', 'inefficiency', 'inefficient', 'inefficiently', 'inelastic', 'inelegance', 'inelegances', 'inelegant', 'inelegantly', 'ineligibilities', 'ineligibility', 'ineligible', 'ineligibles', 'ineligibly', 'ineluctable', 'ineluctably', 'inepter', 'ineptest', 'ineptitude', 'ineptitudes', 'ineptly', 'ineptness', 'ineptnesses', 'inequalities', 'inequality', 'inequitable', 'inequitably', 'inequities', 'inequity', 'ineradicable', 'inerrant', 'inertia', 'inertial', 'inertias', 'inertly', 'inertness', 'inertnesses', 'inescapable', 'inescapably', 'inessential', 'inessentials', 'inestimable', 'inestimably', 'inevitabilities', 'inevitability', 'inevitable', 'inevitables', 'inevitably', 'inexact', 'inexactly', 'inexactness', 'inexactnesses', 'inexcusable', 'inexcusably', 'inexhaustible', 'inexhaustibly', 'inexorable', 'inexorably', 'inexpedience', 'inexpediences', 'inexpediencies', 'inexpediency', 'inexpedient', 'inexpensive', 'inexpensively', 'inexpensiveness', 'inexpensivenesses', 'inexperience', 'inexperienced', 'inexperiences', 'inexpert', 'inexpertly', 'inexpiable', 'inexplicable', 'inexplicably', 'inexpressible', 'inexpressibly', 'inexpressive', 'inextinguishable', 'inextricable', 'inextricably', 'infallibilities', 'infallibility', 'infallible', 'infallibly', 'infamies', 'infamous', 'infamously', 'infamy', 'infancies', 'infancy', 'infant', 'infanticide', 'infanticides', 'infantile', 'infantries', 'infantry', 'infantryman', 'infantrymen', 'infants', 'infarct', 'infarction', 'infarctions', 'infarcts', 'infatuate', 'infatuated', 'infatuates', 'infatuating', 'infatuation', 'infatuations', 'infect', 'infected', 'infecting', 'infection', 'infections', 'infectious', 'infectiously', 'infectiousness', 'infectiousnesses', 'infects', 'infelicities', 'infelicitous', 'infelicity', 'inference', 'inferences', 'inferential', 'inferior', 'inferiorities', 'inferiority', 'inferiors', 'infernal', 'infernally', 'inferno', 'infernos', 'inferred', 'inferring', 'infers', 'infertile', 'infertilities', 'infertility', 'infest', 'infestation', 'infestations', 'infested', 'infesting', 'infests', 'infidel', 'infidelities', 'infidelity', 'infidels', 'infield', 'infielder', 'infielders', 'infields', 'infighter', 'infighters', 'infighting', 'infightings', 'infiltrate', 'infiltrated', 'infiltrates', 'infiltrating', 'infiltration', 'infiltrations', 'infiltrator', 'infiltrators', 'infinite', 'infinitely', 'infinites', 'infinitesimal', 'infinitesimally', 'infinitesimals', 'infinities', 'infinitival', 'infinitive', 'infinitives', 'infinitude', 'infinitudes', 'infinity', 'infirm', 'infirmaries', 'infirmary', 'infirmities', 'infirmity', 'inflame', 'inflamed', 'inflames', 'inflaming', 'inflammabilities', 'inflammability', 'inflammable', 'inflammation', 'inflammations', 'inflammatory', 'inflatable', 'inflatables', 'inflate', 'inflated', 'inflates', 'inflating', 'inflation', 'inflationary', 'inflations', 'inflect', 'inflected', 'inflecting', 'inflection', 'inflectional', 'inflections', 'inflects', 'inflexibilities', 'inflexibility', 'inflexible', 'inflexibly', 'inflexion', 'inflexions', 'inflict', 'inflicted', 'inflicting', 'infliction', 'inflictions', 'inflictive', 'inflicts', 'inflight', 'inflorescence', 'inflorescences', 'inflorescent', 'inflow', 'inflows', 'influence', 'influenced', 'influences', 'influencing', 'influential', 'influentially', 'influenza', 'influenzas', 'influx', 'influxes', 'infold', 'infolded', 'infolding', 'infolds', 'infomercial', 'infomercials', 'inform', 'informal', 'informalities', 'informality', 'informally', 'informant', 'informants', 'information', 'informational', 'informations', 'informative', 'informatively', 'informativeness', 'informativenesses', 'informed', 'informer', 'informers', 'informing', 'informs', 'infos', 'infotainment', 'infotainments', 'infraction', 'infractions', 'infrared', 'infrareds', 'infrasonic', 'infrastructure', 'infrastructures', 'infrequence', 'infrequences', 'infrequencies', 'infrequency', 'infrequent', 'infrequently', 'infringe', 'infringed', 'infringement', 'infringements', 'infringes', 'infringing', 'infuriate', 'infuriated', 'infuriates', 'infuriating', 'infuriatingly', 'infuse', 'infused', 'infuser', 'infusers', 'infuses', 'infusing', 'infusion', 'infusions', 'ingenious', 'ingeniously', 'ingeniousness', 'ingeniousnesses', 'ingenue', 'ingenues', 'ingenuities', 'ingenuity', 'ingenuous', 'ingenuously', 'ingenuousness', 'ingenuousnesses', 'ingest', 'ingested', 'ingesting', 'ingestion', 'ingestions', 'ingests', 'inglenook', 'inglenooks', 'inglorious', 'ingloriously', 'ingots', 'ingrain', 'ingrained', 'ingraining', 'ingrains', 'ingrate', 'ingrates', 'ingratiate', 'ingratiated', 'ingratiates', 'ingratiating', 'ingratiatingly', 'ingratiation', 'ingratiations', 'ingratitude', 'ingratitudes', 'ingredient', 'ingredients', 'ingress', 'ingresses', 'ingrowing', 'ingrown', 'inguinal', 'inhabit', 'inhabitable', 'inhabitant', 'inhabitants', 'inhabited', 'inhabiting', 'inhabits', 'inhalant', 'inhalants', 'inhalation', 'inhalations', 'inhalator', 'inhalators', 'inhale', 'inhaled', 'inhaler', 'inhalers', 'inhales', 'inhaling', 'inharmonious', 'inhere', 'inhered', 'inherent', 'inherently', 'inheres', 'inhering', 'inherit', 'inheritable', 'inheritance', 'inheritances', 'inherited', 'inheriting', 'inheritor', 'inheritors', 'inherits', 'inhibit', 'inhibited', 'inhibiting', 'inhibition', 'inhibitions', 'inhibitor', 'inhibitors', 'inhibitory', 'inhibits', 'inhospitable', 'inhospitably', 'inhuman', 'inhumane', 'inhumanely', 'inhumanities', 'inhumanity', 'inhumanly', 'inimical', 'inimically', 'inimitable', 'inimitably', 'iniquities', 'iniquitous', 'iniquitously', 'iniquity', 'initial', 'initialed', 'initialing', 'initialize', 'initialized', 'initializes', 'initializing', 'initialled', 'initialling', 'initially', 'initials', 'initiate', 'initiated', 'initiates', 'initiating', 'initiation', 'initiations', 'initiative', 'initiatives', 'initiator', 'initiators', 'initiatory', 'inject', 'injected', 'injecting', 'injection', 'injections', 'injector', 'injectors', 'injects', 'injudicious', 'injudiciously', 'injudiciousness', 'injudiciousnesses', 'injunction', 'injunctions', 'injure', 'injured', 'injurer', 'injurers', 'injures', 'injuries', 'injuring', 'injurious', 'injury', 'injustice', 'injustices', 'inkblot', 'inkblots', 'inkier', 'inkiest', 'inkiness', 'inkinesses', 'inking', 'inkling', 'inklings', 'inkstand', 'inkstands', 'inkwell', 'inkwells', 'inlaid', 'inland', 'inlands', 'inlaying', 'inlays', 'inlets', 'inmate', 'inmates', 'inmost', 'innards', 'innate', 'innately', 'innateness', 'innatenesses', 'innermost', 'innersole', 'innersoles', 'innerspring', 'innervate', 'innervated', 'innervates', 'innervating', 'innervation', 'innervations', 'inning', 'innings', 'innkeeper', 'innkeepers', 'innocence', 'innocences', 'innocent', 'innocently', 'innocents', 'innocuous', 'innocuously', 'innocuousness', 'innocuousnesses', 'innovate', 'innovated', 'innovates', 'innovating', 'innovation', 'innovations', 'innovative', 'innovator', 'innovators', 'innuendo', 'innuendoes', 'innuendos', 'innumerable', 'innumerably', 'innumeracies', 'innumeracy', 'innumerate', 'inoculate', 'inoculated', 'inoculates', 'inoculating', 'inoculation', 'inoculations', 'inoffensive', 'inoffensively', 'inoffensiveness', 'inoffensivenesses', 'inoperable', 'inoperative', 'inopportune', 'inopportunely', 'inordinate', 'inordinately', 'inorganic', 'inorganically', 'inpatient', 'inpatients', 'inputs', 'inputted', 'inputting', 'inquest', 'inquests', 'inquietude', 'inquietudes', 'inquire', 'inquired', 'inquirer', 'inquirers', 'inquires', 'inquiries', 'inquiring', 'inquiringly', 'inquiry', 'inquisition', 'inquisitional', 'inquisitions', 'inquisitive', 'inquisitively', 'inquisitiveness', 'inquisitivenesses', 'inquisitor', 'inquisitorial', 'inquisitors', 'inroad', 'inroads', 'inrush', 'inrushes', 'insalubrious', 'insane', 'insanely', 'insaner', 'insanest', 'insanitary', 'insanities', 'insanity', 'insatiabilities', 'insatiability', 'insatiable', 'insatiably', 'inscribe', 'inscribed', 'inscriber', 'inscribers', 'inscribes', 'inscribing', 'inscription', 'inscriptions', 'inscrutabilities', 'inscrutability', 'inscrutable', 'inscrutableness', 'inscrutablenesses', 'inscrutably', 'inseam', 'inseams', 'insect', 'insecticidal', 'insecticide', 'insecticides', 'insectivore', 'insectivores', 'insectivorous', 'insects', 'insecure', 'insecurely', 'insecurities', 'insecurity', 'inseminate', 'inseminated', 'inseminates', 'inseminating', 'insemination', 'inseminations', 'insensate', 'insensibilities', 'insensibility', 'insensible', 'insensibly', 'insensitive', 'insensitively', 'insensitivities', 'insensitivity', 'insentience', 'insentiences', 'insentient', 'inseparabilities', 'inseparability', 'inseparable', 'inseparables', 'inseparably', 'insert', 'inserted', 'inserting', 'insertion', 'insertions', 'inserts', 'insets', 'insetted', 'insetting', 'inshore', 'inside', 'insider', 'insiders', 'insides', 'insidious', 'insidiously', 'insidiousness', 'insidiousnesses', 'insight', 'insightful', 'insights', 'insigne', 'insignia', 'insignias', 'insignificance', 'insignificances', 'insignificant', 'insignificantly', 'insincere', 'insincerely', 'insincerities', 'insincerity', 'insinuate', 'insinuated', 'insinuates', 'insinuating', 'insinuation', 'insinuations', 'insinuative', 'insinuator', 'insinuators', 'insipid', 'insipidities', 'insipidity', 'insipidly', 'insist', 'insisted', 'insistence', 'insistences', 'insistent', 'insistently', 'insisting', 'insistingly', 'insists', 'insobrieties', 'insobriety', 'insofar', 'insole', 'insolence', 'insolences', 'insolent', 'insolently', 'insoles', 'insolubilities', 'insolubility', 'insoluble', 'insolubly', 'insolvable', 'insolvencies', 'insolvency', 'insolvent', 'insolvents', 'insomnia', 'insomniac', 'insomniacs', 'insomnias', 'insomuch', 'insouciance', 'insouciances', 'insouciant', 'inspect', 'inspected', 'inspecting', 'inspection', 'inspections', 'inspector', 'inspectorate', 'inspectorates', 'inspectors', 'inspects', 'inspiration', 'inspirational', 'inspirations', 'inspire', 'inspired', 'inspires', 'inspiring', 'inspirit', 'inspirited', 'inspiriting', 'inspirits', 'instabilities', 'instability', 'instal', 'install', 'installation', 'installations', 'installed', 'installer', 'installers', 'installing', 'installment', 'installments', 'installs', 'instalment', 'instalments', 'instals', 'instance', 'instanced', 'instances', 'instancing', 'instant', 'instantaneous', 'instantaneously', 'instanter', 'instantiate', 'instantiated', 'instantiates', 'instantiating', 'instantly', 'instants', 'instate', 'instated', 'instates', 'instating', 'instead', 'instep', 'insteps', 'instigate', 'instigated', 'instigates', 'instigating', 'instigation', 'instigations', 'instigator', 'instigators', 'instil', 'instill', 'instillation', 'instillations', 'instilled', 'instilling', 'instills', 'instils', 'instinct', 'instinctive', 'instinctively', 'instincts', 'instinctual', 'institute', 'instituted', 'instituter', 'instituters', 'institutes', 'instituting', 'institution', 'institutional', 'institutionalization', 'institutionalizations', 'institutionalize', 'institutionalized', 'institutionalizes', 'institutionalizing', 'institutionally', 'institutions', 'institutor', 'institutors', 'instruct', 'instructed', 'instructing', 'instruction', 'instructional', 'instructions', 'instructive', 'instructively', 'instructor', 'instructors', 'instructs', 'instrument', 'instrumental', 'instrumentalist', 'instrumentalists', 'instrumentalities', 'instrumentality', 'instrumentally', 'instrumentals', 'instrumentation', 'instrumentations', 'instrumented', 'instrumenting', 'instruments', 'insubordinate', 'insubordination', 'insubordinations', 'insubstantial', 'insubstantially', 'insufferable', 'insufferably', 'insufficiencies', 'insufficiency', 'insufficient', 'insufficiently', 'insular', 'insularities', 'insularity', 'insulate', 'insulated', 'insulates', 'insulating', 'insulation', 'insulations', 'insulator', 'insulators', 'insulin', 'insulins', 'insult', 'insulted', 'insulting', 'insultingly', 'insults', 'insuperable', 'insuperably', 'insupportable', 'insurable', 'insurance', 'insurances', 'insure', 'insured', 'insureds', 'insurer', 'insurers', 'insures', 'insurgence', 'insurgences', 'insurgencies', 'insurgency', 'insurgent', 'insurgents', 'insuring', 'insurmountable', 'insurmountably', 'insurrection', 'insurrectionist', 'insurrectionists', 'insurrections', 'insusceptible', 'intact', 'intagli', 'intaglio', 'intaglios', 'intake', 'intakes', 'intangibilities', 'intangibility', 'intangible', 'intangibles', 'intangibly', 'integer', 'integers', 'integral', 'integrally', 'integrals', 'integrate', 'integrated', 'integrates', 'integrating', 'integration', 'integrations', 'integrative', 'integrities', 'integrity', 'integument', 'integuments', 'intellect', 'intellects', 'intellectual', 'intellectualism', 'intellectualisms', 'intellectualize', 'intellectualized', 'intellectualizes', 'intellectualizing', 'intellectually', 'intellectuals', 'intelligence', 'intelligences', 'intelligent', 'intelligently', 'intelligentsia', 'intelligentsias', 'intelligibilities', 'intelligibility', 'intelligible', 'intelligibly', 'intemperance', 'intemperances', 'intemperate', 'intemperately', 'intend', 'intended', 'intendeds', 'intending', 'intends', 'intense', 'intensely', 'intenser', 'intensest', 'intensification', 'intensifications', 'intensified', 'intensifier', 'intensifiers', 'intensifies', 'intensify', 'intensifying', 'intensities', 'intensity', 'intensive', 'intensively', 'intensiveness', 'intensivenesses', 'intensives', 'intent', 'intention', 'intentional', 'intentionally', 'intentions', 'intently', 'intentness', 'intentnesses', 'intents', 'interact', 'interacted', 'interacting', 'interaction', 'interactions', 'interactive', 'interactively', 'interacts', 'interbred', 'interbreed', 'interbreeding', 'interbreeds', 'intercede', 'interceded', 'intercedes', 'interceding', 'intercept', 'intercepted', 'intercepting', 'interception', 'interceptions', 'interceptor', 'interceptors', 'intercepts', 'intercession', 'intercessions', 'intercessor', 'intercessors', 'intercessory', 'interchange', 'interchangeable', 'interchangeably', 'interchanged', 'interchanges', 'interchanging', 'intercollegiate', 'intercom', 'intercommunicate', 'intercommunicated', 'intercommunicates', 'intercommunicating', 'intercommunication', 'intercommunications', 'intercoms', 'interconnect', 'interconnected', 'interconnecting', 'interconnection', 'interconnections', 'interconnects', 'intercontinental', 'intercourse', 'intercourses', 'intercultural', 'interdenominational', 'interdepartmental', 'interdependence', 'interdependences', 'interdependent', 'interdependently', 'interdict', 'interdicted', 'interdicting', 'interdiction', 'interdictions', 'interdicts', 'interdisciplinary', 'interest', 'interested', 'interesting', 'interestingly', 'interests', 'interface', 'interfaced', 'interfaces', 'interfacing', 'interfaith', 'interfere', 'interfered', 'interference', 'interferences', 'interferes', 'interfering', 'interferon', 'interferons', 'interfile', 'interfiled', 'interfiles', 'interfiling', 'intergalactic', 'intergovernmental', 'interim', 'interims', 'interior', 'interiors', 'interject', 'interjected', 'interjecting', 'interjection', 'interjections', 'interjects', 'interlace', 'interlaced', 'interlaces', 'interlacing', 'interlard', 'interlarded', 'interlarding', 'interlards', 'interleave', 'interleaved', 'interleaves', 'interleaving', 'interleukin', 'interleukins', 'interline', 'interlinear', 'interlined', 'interlines', 'interlining', 'interlinings', 'interlink', 'interlinked', 'interlinking', 'interlinks', 'interlock', 'interlocked', 'interlocking', 'interlocks', 'interlocutor', 'interlocutors', 'interlocutory', 'interlope', 'interloped', 'interloper', 'interlopers', 'interlopes', 'interloping', 'interlude', 'interludes', 'intermarriage', 'intermarriages', 'intermarried', 'intermarries', 'intermarry', 'intermarrying', 'intermediaries', 'intermediary', 'intermediate', 'intermediately', 'intermediates', 'interment', 'interments', 'intermezzi', 'intermezzo', 'intermezzos', 'interminable', 'interminably', 'intermingle', 'intermingled', 'intermingles', 'intermingling', 'intermission', 'intermissions', 'intermittent', 'intermittently', 'intermix', 'intermixed', 'intermixes', 'intermixing', 'intern', 'internal', 'internalization', 'internalizations', 'internalize', 'internalized', 'internalizes', 'internalizing', 'internally', 'international', 'internationalise', 'internationalised', 'internationalises', 'internationalising', 'internationalism', 'internationalisms', 'internationalist', 'internationalists', 'internationalize', 'internationalized', 'internationalizes', 'internationalizing', 'internationally', 'internationals', 'interne', 'internecine', 'interned', 'internee', 'internees', 'internes', 'interning', 'internist', 'internists', 'internment', 'internments', 'interns', 'internship', 'internships', 'interoffice', 'interpersonal', 'interplanetary', 'interplay', 'interplays', 'interpolate', 'interpolated', 'interpolates', 'interpolating', 'interpolation', 'interpolations', 'interpose', 'interposed', 'interposes', 'interposing', 'interposition', 'interpositions', 'interpret', 'interpretation', 'interpretations', 'interpretative', 'interpreted', 'interpreter', 'interpreters', 'interpreting', 'interpretive', 'interprets', 'interracial', 'interred', 'interregna', 'interregnum', 'interregnums', 'interrelate', 'interrelated', 'interrelates', 'interrelating', 'interrelation', 'interrelations', 'interrelationship', 'interrelationships', 'interring', 'interrogate', 'interrogated', 'interrogates', 'interrogating', 'interrogation', 'interrogations', 'interrogative', 'interrogatively', 'interrogatives', 'interrogator', 'interrogatories', 'interrogators', 'interrogatory', 'interrupt', 'interrupted', 'interrupter', 'interrupters', 'interrupting', 'interruption', 'interruptions', 'interrupts', 'inters', 'interscholastic', 'intersect', 'intersected', 'intersecting', 'intersection', 'intersections', 'intersects', 'intersession', 'intersessions', 'intersperse', 'interspersed', 'intersperses', 'interspersing', 'interspersion', 'interspersions', 'interstate', 'interstates', 'interstellar', 'interstice', 'interstices', 'interstitial', 'intertwine', 'intertwined', 'intertwines', 'intertwining', 'interurban', 'interval', 'intervals', 'intervene', 'intervened', 'intervenes', 'intervening', 'intervention', 'interventionism', 'interventionisms', 'interventionist', 'interventionists', 'interventions', 'interview', 'interviewed', 'interviewee', 'interviewees', 'interviewer', 'interviewers', 'interviewing', 'interviews', 'intervocalic', 'interweave', 'interweaved', 'interweaves', 'interweaving', 'interwove', 'interwoven', 'intestacies', 'intestacy', 'intestate', 'intestinal', 'intestine', 'intestines', 'intimacies', 'intimacy', 'intimate', 'intimated', 'intimately', 'intimates', 'intimating', 'intimation', 'intimations', 'intimidate', 'intimidated', 'intimidates', 'intimidating', 'intimidatingly', 'intimidation', 'intimidations', 'intolerable', 'intolerably', 'intolerance', 'intolerances', 'intolerant', 'intolerantly', 'intonation', 'intonations', 'intone', 'intoned', 'intoner', 'intoners', 'intones', 'intoning', 'intoxicant', 'intoxicants', 'intoxicate', 'intoxicated', 'intoxicates', 'intoxicating', 'intoxication', 'intoxications', 'intractabilities', 'intractability', 'intractable', 'intractably', 'intramural', 'intramuscular', 'intranet!', 'intranets!', 'intransigence', 'intransigences', 'intransigent', 'intransigently', 'intransigents', 'intransitive', 'intransitively', 'intransitives', 'intrastate', 'intrauterine', 'intravenous', 'intravenouses', 'intravenously', 'intrench', 'intrenched', 'intrenches', 'intrenching', 'intrepid', 'intrepidities', 'intrepidity', 'intrepidly', 'intricacies', 'intricacy', 'intricate', 'intricately', 'intrigue', 'intrigued', 'intriguer', 'intriguers', 'intrigues', 'intriguing', 'intriguingly', 'intrinsic', 'intrinsically', 'introduce', 'introduced', 'introduces', 'introducing', 'introduction', 'introductions', 'introductory', 'introit', 'introits', 'intros', 'introspect', 'introspected', 'introspecting', 'introspection', 'introspections', 'introspective', 'introspectively', 'introspects', 'introversion', 'introversions', 'introvert', 'introverted', 'introverts', 'intrude', 'intruded', 'intruder', 'intruders', 'intrudes', 'intruding', 'intrusion', 'intrusions', 'intrusive', 'intrusively', 'intrusiveness', 'intrusivenesses', 'intrust', 'intrusted', 'intrusting', 'intrusts', 'intuit', 'intuited', 'intuiting', 'intuition', 'intuitions', 'intuitive', 'intuitively', 'intuitiveness', 'intuitivenesses', 'intuits', 'inundate', 'inundated', 'inundates', 'inundating', 'inundation', 'inundations', 'inured', 'inures', 'inuring', 'invade', 'invaded', 'invader', 'invaders', 'invades', 'invading', 'invalid', 'invalidate', 'invalidated', 'invalidates', 'invalidating', 'invalidation', 'invalidations', 'invalided', 'invaliding', 'invalidism', 'invalidisms', 'invalidities', 'invalidity', 'invalidly', 'invalids', 'invaluable', 'invaluably', 'invariabilities', 'invariability', 'invariable', 'invariables', 'invariably', 'invasion', 'invasions', 'invasive', 'invective', 'invectives', 'inveigh', 'inveighed', 'inveighing', 'inveighs', 'inveigle', 'inveigled', 'inveigler', 'inveiglers', 'inveigles', 'inveigling', 'invent', 'invented', 'inventing', 'invention', 'inventions', 'inventive', 'inventively', 'inventiveness', 'inventivenesses', 'inventor', 'inventoried', 'inventories', 'inventors', 'inventory', 'inventorying', 'invents', 'inverse', 'inversely', 'inverses', 'inversion', 'inversions', 'invert', 'invertebrate', 'invertebrates', 'inverted', 'inverting', 'inverts', 'invest', 'invested', 'investigate', 'investigated', 'investigates', 'investigating', 'investigation', 'investigations', 'investigative', 'investigator', 'investigators', 'investigatory', 'investing', 'investiture', 'investitures', 'investment', 'investments', 'investor', 'investors', 'invests', 'inveteracies', 'inveteracy', 'inveterate', 'invidious', 'invidiously', 'invidiousness', 'invidiousnesses', 'invigorate', 'invigorated', 'invigorates', 'invigorating', 'invigoratingly', 'invigoration', 'invigorations', 'invincibilities', 'invincibility', 'invincible', 'invincibly', 'inviolabilities', 'inviolability', 'inviolable', 'inviolably', 'inviolate', 'invisibilities', 'invisibility', 'invisible', 'invisibly', 'invitation', 'invitational', 'invitationals', 'invitations', 'invite', 'invited', 'invitee', 'invitees', 'invites', 'inviting', 'invitingly', 'invocation', 'invocations', 'invoice', 'invoiced', 'invoices', 'invoicing', 'invoke', 'invoked', 'invokes', 'invoking', 'involuntarily', 'involuntariness', 'involuntarinesses', 'involuntary', 'involution', 'involutions', 'involve', 'involved', 'involvement', 'involvements', 'involves', 'involving', 'invulnerabilities', 'invulnerability', 'invulnerable', 'invulnerably', 'inward', 'inwardly', 'inwards', 'iodide', 'iodides', 'iodine', 'iodines', 'iodize', 'iodized', 'iodizes', 'iodizing', 'ionization', 'ionizations', 'ionize', 'ionized', 'ionizer', 'ionizers', 'ionizes', 'ionizing', 'ionosphere', 'ionospheres', 'ionospheric', 'ipecac', 'ipecacs', 'irascibilities', 'irascibility', 'irascible', 'irascibly', 'irately', 'irateness', 'iratenesses', 'ireful', 'irenic', 'irides', 'iridescence', 'iridescences', 'iridescent', 'iridescently', 'iridium', 'iridiums', 'irises', 'irking', 'irksome', 'irksomely', 'irksomeness', 'irksomenesses', 'ironclad', 'ironclads', 'ironed', 'ironic', 'ironical', 'ironically', 'ironies', 'ironing', 'ironings', 'ironstone', 'ironstones', 'ironware', 'ironwares', 'ironwood', 'ironwoods', 'ironwork', 'ironworks', 'irradiate', 'irradiated', 'irradiates', 'irradiating', 'irradiation', 'irradiations', 'irrational', 'irrationalities', 'irrationality', 'irrationally', 'irrationals', 'irreclaimable', 'irreconcilabilities', 'irreconcilability', 'irreconcilable', 'irreconcilably', 'irrecoverable', 'irrecoverably', 'irredeemable', 'irredeemably', 'irreducible', 'irreducibly', 'irrefutable', 'irrefutably', 'irregardless', 'irregular', 'irregularities', 'irregularity', 'irregularly', 'irregulars', 'irrelevance', 'irrelevances', 'irrelevancies', 'irrelevancy', 'irrelevant', 'irrelevantly', 'irreligious', 'irremediable', 'irremediably', 'irremovable', 'irreparable', 'irreparably', 'irreplaceable', 'irrepressible', 'irrepressibly', 'irreproachable', 'irreproachably', 'irresistible', 'irresistibly', 'irresolute', 'irresolutely', 'irresoluteness', 'irresolutenesses', 'irresolution', 'irresolutions', 'irrespective', 'irresponsibilities', 'irresponsibility', 'irresponsible', 'irresponsibly', 'irretrievable', 'irretrievably', 'irreverence', 'irreverences', 'irreverent', 'irreverently', 'irreversible', 'irreversibly', 'irrevocable', 'irrevocably', 'irrigable', 'irrigate', 'irrigated', 'irrigates', 'irrigating', 'irrigation', 'irrigations', 'irritabilities', 'irritability', 'irritable', 'irritably', 'irritant', 'irritants', 'irritate', 'irritated', 'irritates', 'irritating', 'irritatingly', 'irritation', 'irritations', 'irrupt', 'irrupted', 'irrupting', 'irruption', 'irruptions', 'irruptive', 'irrupts', 'isinglass', 'isinglasses', 'island', 'islander', 'islanders', 'islands', 'islets', 'isobar', 'isobaric', 'isobars', 'isolate', 'isolated', 'isolates', 'isolating', 'isolation', 'isolationism', 'isolationisms', 'isolationist', 'isolationists', 'isolations', 'isomer', 'isomeric', 'isomerism', 'isomerisms', 'isomers', 'isometric', 'isometrically', 'isometrics', 'isosceles', 'isotherm', 'isotherms', 'isotope', 'isotopes', 'isotopic', 'issuance', 'issuances', 'issued', 'issuer', 'issuers', 'issues', 'issuing', 'isthmi', 'isthmian', 'isthmus', 'isthmuses', 'italic', 'italicization', 'italicizations', 'italicize', 'italicized', 'italicizes', 'italicizing', 'italics', 'itched', 'itches', 'itchier', 'itchiest', 'itchiness', 'itchinesses', 'itching', 'itemization', 'itemizations', 'itemize', 'itemized', 'itemizes', 'itemizing', 'iterate', 'iterated', 'iterates', 'iterating', 'iteration', 'iterations', 'iterative', 'itinerant', 'itinerants', 'itineraries', 'itinerary', 'itself', 'ivories', 'jabbed', 'jabber', 'jabbered', 'jabberer', 'jabberers', 'jabbering', 'jabbers', 'jabbing', 'jabots', 'jacaranda', 'jacarandas', 'jackal', 'jackals', 'jackass', 'jackasses', 'jackboot', 'jackboots', 'jackdaw', 'jackdaws', 'jacked', 'jacket', 'jacketed', 'jackets', 'jackhammer', 'jackhammers', 'jacking', 'jackknife', 'jackknifed', 'jackknifes', 'jackknifing', 'jackknives', 'jackpot', 'jackpots', 'jackrabbit', 'jackrabbits', 'jackstraw', 'jackstraws', 'jacquard', 'jacquards', 'jadedly', 'jadedness', 'jadednesses', 'jadeite', 'jadeites', 'jading', 'jagged', 'jaggeder', 'jaggedest', 'jaggedly', 'jaggedness', 'jaggednesses', 'jaguar', 'jaguars', 'jailbird', 'jailbirds', 'jailbreak', 'jailbreaking!', 'jailbreaks', 'jailbroke!', 'jailbroken!', 'jailed', 'jailer', 'jailers', 'jailing', 'jailor', 'jailors', 'jalapeno', 'jalapenos', 'jalopies', 'jalopy', 'jalousie', 'jalousies', 'jambalaya', 'jambalayas', 'jamboree', 'jamborees', 'jammed', 'jamming', 'jangle', 'jangled', 'jangler', 'janglers', 'jangles', 'jangling', 'janitor', 'janitorial', 'janitors', 'japanned', 'japanning', 'japans', 'japing', 'jardiniere', 'jardinieres', 'jarful', 'jarfuls', 'jargon', 'jargons', 'jarred', 'jarring', 'jarringly', 'jasmine', 'jasmines', 'jasper', 'jaspers', 'jaundice', 'jaundiced', 'jaundices', 'jaundicing', 'jaunted', 'jauntier', 'jauntiest', 'jauntily', 'jauntiness', 'jauntinesses', 'jaunting', 'jaunts', 'jaunty', 'javas', 'javelin', 'javelins', 'jawbone', 'jawboned', 'jawbones', 'jawboning', 'jawbreaker', 'jawbreakers', 'jawing', 'jaybird', 'jaybirds', 'jaywalk', 'jaywalked', 'jaywalker', 'jaywalkers', 'jaywalking', 'jaywalkings', 'jaywalks', 'jazzed', 'jazzes', 'jazzier', 'jazziest', 'jazzing', 'jealous', 'jealousies', 'jealously', 'jealousy', 'jeered', 'jeering', 'jeeringly', 'jeerings', 'jehads', 'jejuna', 'jejune', 'jejunum', 'jejunums', 'jelled', 'jellied', 'jellies', 'jelling', 'jellos', 'jellybean', 'jellybeans', 'jellyfish', 'jellyfishes', 'jellying', 'jellylike', 'jellyroll', 'jellyrolls', 'jennet', 'jennets', 'jennies', 'jeopardies', 'jeopardize', 'jeopardized', 'jeopardizes', 'jeopardizing', 'jeopardy', 'jeremiad', 'jeremiads', 'jerked', 'jerkier', 'jerkies', 'jerkiest', 'jerkily', 'jerkin', 'jerkiness', 'jerkinesses', 'jerking', 'jerkins', 'jerkwater', 'jerrybuilt', 'jersey', 'jerseys', 'jessamine', 'jessamines', 'jested', 'jester', 'jesters', 'jesting', 'jestingly', 'jetliner', 'jetliners', 'jetport', 'jetports', 'jetsam', 'jetsams', 'jetted', 'jetties', 'jetting', 'jettison', 'jettisoned', 'jettisoning', 'jettisons', 'jeweled', 'jeweler', 'jewelers', 'jeweling', 'jewelled', 'jeweller', 'jewelleries', 'jewellers', 'jewellery', 'jewelling', 'jewelries', 'jewelry', 'jewels', 'jewing', 'jibbed', 'jibbing', 'jibing', 'jiffies', 'jigged', 'jigger', 'jiggered', 'jiggering', 'jiggers', 'jigging', 'jiggle', 'jiggled', 'jiggles', 'jigglier', 'jiggliest', 'jiggling', 'jiggly', 'jigsaw', 'jigsawed', 'jigsawing', 'jigsawn', 'jigsaws', 'jihadist!', 'jihadists!', 'jihads', 'jilted', 'jilting', 'jimmied', 'jimmies', 'jimmying', 'jimsonweed', 'jimsonweeds', 'jingle', 'jingled', 'jingles', 'jinglier', 'jingliest', 'jingling', 'jingly', 'jingoism', 'jingoisms', 'jingoist', 'jingoistic', 'jingoists', 'jinnis', 'jinricksha', 'jinrickshas', 'jinrikisha', 'jinrikishas', 'jinriksha', 'jinrikshas', 'jinxed', 'jinxes', 'jinxing', 'jitney', 'jitneys', 'jitterbug', 'jitterbugged', 'jitterbugger', 'jitterbuggers', 'jitterbugging', 'jitterbugs', 'jitterier', 'jitteriest', 'jitters', 'jittery', 'jiujitsu', 'jiujitsus', 'jiving', 'jobbed', 'jobber', 'jobbers', 'jobbing', 'jobholder', 'jobholders', 'jobless', 'joblessness', 'joblessnesses', 'jockey', 'jockeyed', 'jockeying', 'jockeys', 'jockstrap', 'jockstraps', 'jocose', 'jocosely', 'jocoseness', 'jocosenesses', 'jocosities', 'jocosity', 'jocular', 'jocularities', 'jocularity', 'jocularly', 'jocund', 'jocundities', 'jocundity', 'jocundly', 'jodhpurs', 'jogged', 'jogger', 'joggers', 'jogging', 'joggings', 'joggle', 'joggled', 'joggles', 'joggling', 'johnnies', 'johnny', 'johnnycake', 'johnnycakes', 'joined', 'joiner', 'joineries', 'joiners', 'joinery', 'joining', 'jointed', 'jointing', 'jointly', 'joints', 'joists', 'jokers', 'jokier', 'jokiest', 'joking', 'jokingly', 'jollied', 'jollier', 'jollies', 'jolliest', 'jollification', 'jollifications', 'jollily', 'jolliness', 'jollinesses', 'jollities', 'jollity', 'jollying', 'jolted', 'jolter', 'jolters', 'jolting', 'jonquil', 'jonquils', 'joshed', 'josher', 'joshers', 'joshes', 'joshing', 'jostle', 'jostled', 'jostles', 'jostling', 'jotted', 'jotter', 'jotters', 'jotting', 'jottings', 'joules', 'jounce', 'jounced', 'jounces', 'jouncier', 'jounciest', 'jouncing', 'jouncy', 'journal', 'journalese', 'journaleses', 'journalism', 'journalisms', 'journalist', 'journalistic', 'journalists', 'journals', 'journey', 'journeyed', 'journeyer', 'journeyers', 'journeying', 'journeyman', 'journeymen', 'journeys', 'jousted', 'jouster', 'jousters', 'jousting', 'joustings', 'jousts', 'jovial', 'jovialities', 'joviality', 'jovially', 'jowlier', 'jowliest', 'joyful', 'joyfuller', 'joyfullest', 'joyfully', 'joyfulness', 'joyfulnesses', 'joying', 'joyless', 'joylessly', 'joylessness', 'joylessnesses', 'joyous', 'joyously', 'joyousness', 'joyousnesses', 'joyridden', 'joyride', 'joyrider', 'joyriders', 'joyrides', 'joyriding', 'joyridings', 'joyrode', 'joystick', 'joysticks', 'jubilant', 'jubilantly', 'jubilation', 'jubilations', 'jubilee', 'jubilees', 'judged', 'judgement', 'judgements', 'judges', 'judgeship', 'judgeships', 'judging', 'judgment', 'judgmental', 'judgmentally', 'judgments', 'judicatories', 'judicatory', 'judicature', 'judicatures', 'judicial', 'judicially', 'judiciaries', 'judiciary', 'judicious', 'judiciously', 'judiciousness', 'judiciousnesses', 'judos', 'jugful', 'jugfuls', 'jugged', 'juggernaut', 'juggernauts', 'jugging', 'juggle', 'juggled', 'juggler', 'juggleries', 'jugglers', 'jugglery', 'juggles', 'juggling', 'jugular', 'jugulars', 'juiced', 'juicer', 'juicers', 'juices', 'juicier', 'juiciest', 'juicily', 'juiciness', 'juicinesses', 'juicing', 'jujitsu', 'jujitsus', 'jujube', 'jujubes', 'jujutsu', 'jujutsus', 'jukebox', 'jukeboxes', 'juleps', 'julienne', 'julienned', 'juliennes', 'julienning', 'jumble', 'jumbled', 'jumbles', 'jumbling', 'jumbos', 'jumped', 'jumper', 'jumpers', 'jumpier', 'jumpiest', 'jumpily', 'jumpiness', 'jumpinesses', 'jumping', 'jumpsuit', 'jumpsuits', 'juncoes', 'juncos', 'junction', 'junctions', 'juncture', 'junctures', 'jungle', 'jungles', 'junior', 'juniors', 'juniper', 'junipers', 'junked', 'junker', 'junkers', 'junket', 'junketed', 'junketeer', 'junketeers', 'junketer', 'junketers', 'junketing', 'junkets', 'junkie', 'junkier', 'junkies', 'junkiest', 'junking', 'junkyard', 'junkyards', 'juntas', 'juridic', 'juridical', 'juridically', 'juries', 'jurisdiction', 'jurisdictional', 'jurisdictions', 'jurisprudence', 'jurisprudences', 'jurist', 'juristic', 'jurists', 'jurors', 'juryman', 'jurymen', 'jurywoman', 'jurywomen', 'juster', 'justest', 'justice', 'justices', 'justifiable', 'justifiably', 'justification', 'justifications', 'justified', 'justifies', 'justify', 'justifying', 'justly', 'justness', 'justnesses', 'jutes', 'jutted', 'jutting', 'juvenile', 'juveniles', 'juxtapose', 'juxtaposed', 'juxtaposes', 'juxtaposing', 'juxtaposition', 'juxtapositions', 'kabobs', 'kabuki', 'kabukis', 'kaddish', 'kaddishes', 'kaffeeklatch', 'kaffeeklatches', 'kaffeeklatsch', 'kaffeeklatsches', 'kaftan', 'kaftans', 'kaiser', 'kaisers', 'kaleidoscope', 'kaleidoscopes', 'kaleidoscopic', 'kaleidoscopically', 'kales', 'kamikaze', 'kamikazes', 'kangaroo', 'kangaroos', 'kaolin', 'kaolins', 'kapoks', 'kappas', 'karakul', 'karakuls', 'karaoke', 'karaokes', 'karate', 'karates', 'karats', 'karmas', 'karmic', 'katydid', 'katydids', 'kayaked', 'kayaking', 'kayakings', 'kayaks', 'kayoed', 'kayoing', 'kazoos', 'kebabs', 'kebobs', 'keeled', 'keelhaul', 'keelhauled', 'keelhauling', 'keelhauls', 'keeling', 'keened', 'keener', 'keenest', 'keening', 'keenly', 'keenness', 'keennesses', 'keeper', 'keepers', 'keeping', 'keepings', 'keepsake', 'keepsakes', 'kelps', 'kelvin', 'kelvins', 'kenned', 'kennel', 'kenneled', 'kenneling', 'kennelled', 'kennelling', 'kennels', 'kenning', 'kenos', 'keratin', 'keratins', 'kerchief', 'kerchiefs', 'kerchieves', 'kernel', 'kernels', 'kerosene', 'kerosenes', 'kerosine', 'kerosines', 'kestrel', 'kestrels', 'ketches', 'ketchup', 'ketchups', 'kettle', 'kettledrum', 'kettledrums', 'kettles', 'keyboard', 'keyboarded', 'keyboarder', 'keyboarders', 'keyboarding', 'keyboardist', 'keyboardists', 'keyboards', 'keyhole', 'keyholes', 'keying', 'keynote', 'keynoted', 'keynoter', 'keynoters', 'keynotes', 'keynoting', 'keypad', 'keypads', 'keypunch', 'keypunched', 'keypuncher', 'keypunchers', 'keypunches', 'keypunching', 'keystone', 'keystones', 'keystroke', 'keystrokes', 'keyword', 'keywords', 'khakis', 'kibble', 'kibbled', 'kibbles', 'kibbling', 'kibbutz', 'kibbutzim', 'kibitz', 'kibitzed', 'kibitzer', 'kibitzers', 'kibitzes', 'kibitzing', 'kibosh', 'kiboshes', 'kickback', 'kickbacks', 'kickball', 'kickballs', 'kicked', 'kicker', 'kickers', 'kickier', 'kickiest', 'kicking', 'kickoff', 'kickoffs', 'kickstand', 'kickstands', 'kidded', 'kidder', 'kidders', 'kiddie', 'kiddies', 'kidding', 'kiddish', 'kiddoes', 'kiddos', 'kidnap', 'kidnaped', 'kidnaper', 'kidnapers', 'kidnaping', 'kidnapped', 'kidnapper', 'kidnappers', 'kidnapping', 'kidnappings', 'kidnaps', 'kidney', 'kidneys', 'kidskin', 'kidskins', 'kielbasa', 'kielbasas', 'kielbasi', 'kielbasy', 'killdeer', 'killdeers', 'killed', 'killer', 'killers', 'killing', 'killings', 'killjoy', 'killjoys', 'kilned', 'kilning', 'kilobyte', 'kilobytes', 'kilocycle', 'kilocycles', 'kilogram', 'kilograms', 'kilohertz', 'kilohertzes', 'kiloliter', 'kiloliters', 'kilometer', 'kilometers', 'kilometre', 'kilometres', 'kiloton', 'kilotons', 'kilowatt', 'kilowatts', 'kilter', 'kilters', 'kimono', 'kimonos', 'kinder', 'kindergarten', 'kindergartener', 'kindergarteners', 'kindergartens', 'kindergartner', 'kindergartners', 'kindest', 'kindhearted', 'kindheartedly', 'kindheartedness', 'kindheartednesses', 'kindle', 'kindled', 'kindles', 'kindlier', 'kindliest', 'kindliness', 'kindlinesses', 'kindling', 'kindlings', 'kindly', 'kindness', 'kindnesses', 'kindred', 'kindreds', 'kinematic', 'kinematics', 'kinetic', 'kinetically', 'kinetics', 'kinfolk', 'kinfolks', 'kingdom', 'kingdoms', 'kingfisher', 'kingfishers', 'kinglier', 'kingliest', 'kingly', 'kingpin', 'kingpins', 'kingship', 'kingships', 'kinked', 'kinkier', 'kinkiest', 'kinkily', 'kinkiness', 'kinkinesses', 'kinking', 'kinsfolk', 'kinsfolks', 'kinship', 'kinships', 'kinsman', 'kinsmen', 'kinswoman', 'kinswomen', 'kiosks', 'kipped', 'kipper', 'kippered', 'kippering', 'kippers', 'kipping', 'kirsch', 'kirsches', 'kismet', 'kismets', 'kissable', 'kissed', 'kisser', 'kissers', 'kisses', 'kissing', 'kissoff', 'kissoffs', 'kitbag', 'kitbags', 'kitchen', 'kitchenette', 'kitchenettes', 'kitchens', 'kitchenware', 'kitchenwares', 'kiths', 'kiting', 'kitsch', 'kitsches', 'kitschier', 'kitschiest', 'kitschy', 'kitten', 'kittenish', 'kittens', 'kitties', 'kiwifruit', 'kiwifruits', 'kleptomania', 'kleptomaniac', 'kleptomaniacs', 'kleptomanias', 'klutzes', 'klutzier', 'klutziest', 'klutziness', 'klutzinesses', 'klutzy', 'knacks', 'knackwurst', 'knackwursts', 'knapsack', 'knapsacks', 'knaveries', 'knavery', 'knaves', 'knavish', 'knavishly', 'kneaded', 'kneader', 'kneaders', 'kneading', 'kneads', 'kneecap', 'kneecapped', 'kneecapping', 'kneecaps', 'kneeing', 'kneeled', 'kneeling', 'kneels', 'knelled', 'knelling', 'knells', 'knickerbockers', 'knickers', 'knickknack', 'knickknacks', 'knifed', 'knifes', 'knifing', 'knight', 'knighted', 'knighthood', 'knighthoods', 'knighting', 'knightlier', 'knightliest', 'knightliness', 'knightlinesses', 'knightly', 'knights', 'knishes', 'knitted', 'knitter', 'knitters', 'knitting', 'knittings', 'knitwear', 'knitwears', 'knives', 'knobbier', 'knobbiest', 'knobby', 'knockdown', 'knockdowns', 'knocked', 'knocker', 'knockers', 'knocking', 'knockoff', 'knockoffs', 'knockout', 'knockouts', 'knocks', 'knockwurst', 'knockwursts', 'knolls', 'knothole', 'knotholes', 'knotted', 'knottier', 'knottiest', 'knotting', 'knotty', 'knowable', 'knowing', 'knowingly', 'knowledge', 'knowledgeable', 'knowledgeably', 'knowledges', 'knuckle', 'knuckled', 'knucklehead', 'knuckleheads', 'knuckles', 'knuckling', 'knurled', 'knurling', 'knurls', 'koalas', 'kohlrabi', 'kohlrabies', 'kookaburra', 'kookaburras', 'kookie', 'kookier', 'kookiest', 'kookiness', 'kookinesses', 'kopeck', 'kopecks', 'kopeks', 'kosher', 'koshered', 'koshering', 'koshers', 'kowtow', 'kowtowed', 'kowtowing', 'kowtows', 'kraals', 'krauts', 'krills', 'kroner', 'kronor', 'kronur', 'krypton', 'kryptons', 'kuchen', 'kuchens', 'kudzus', 'kumquat', 'kumquats', 'kvetch', 'kvetched', 'kvetcher', 'kvetchers', 'kvetches', 'kvetching', 'labeled', 'labeling', 'labelled', 'labelling', 'labels', 'labial', 'labials', 'labile', 'labium', 'laboratories', 'laboratory', 'labored', 'laborer', 'laborers', 'laboring', 'laborious', 'laboriously', 'laboriousness', 'laboriousnesses', 'labors', 'laborsaving', 'labour', 'laboured', 'labouring', 'labours', 'laburnum', 'laburnums', 'labyrinth', 'labyrinthine', 'labyrinths', 'lacerate', 'lacerated', 'lacerates', 'lacerating', 'laceration', 'lacerations', 'lacewing', 'lacewings', 'lacework', 'laceworks', 'lachrymal', 'lachrymose', 'lacier', 'laciest', 'lacing', 'lackadaisical', 'lackadaisically', 'lacked', 'lackey', 'lackeys', 'lacking', 'lackluster', 'lacklustre', 'laconic', 'laconically', 'lacquer', 'lacquered', 'lacquering', 'lacquers', 'lacrimal', 'lacrosse', 'lacrosses', 'lactate', 'lactated', 'lactates', 'lactating', 'lactation', 'lactations', 'lacteal', 'lactic', 'lactose', 'lactoses', 'lacuna', 'lacunae', 'lacunas', 'ladder', 'laddered', 'laddering', 'ladders', 'laddie', 'laddies', 'ladies', 'lading', 'ladings', 'ladled', 'ladles', 'ladling', 'ladybird', 'ladybirds', 'ladybug', 'ladybugs', 'ladyfinger', 'ladyfingers', 'ladylike', 'ladylove', 'ladyloves', 'ladyship', 'ladyships', 'laetrile', 'laetriles', 'lagers', 'laggard', 'laggardly', 'laggards', 'lagged', 'lagging', 'laggings', 'lagnappe', 'lagnappes', 'lagniappe', 'lagniappes', 'lagoon', 'lagoons', 'lairds', 'laities', 'lakefront', 'lallygag', 'lallygagged', 'lallygagging', 'lallygags', 'lamaseries', 'lamasery', 'lambada', 'lambadas', 'lambast', 'lambaste', 'lambasted', 'lambastes', 'lambasting', 'lambasts', 'lambda', 'lambdas', 'lambed', 'lambencies', 'lambency', 'lambent', 'lambently', 'lambing', 'lambkin', 'lambkins', 'lambskin', 'lambskins', 'lamebrain', 'lamebrained', 'lamebrains', 'lamely', 'lameness', 'lamenesses', 'lament', 'lamentable', 'lamentably', 'lamentation', 'lamentations', 'lamented', 'lamenting', 'laments', 'lamest', 'lamina', 'laminae', 'laminar', 'laminas', 'laminate', 'laminated', 'laminates', 'laminating', 'lamination', 'laminations', 'laming', 'lammed', 'lamming', 'lampblack', 'lampblacks', 'lamplight', 'lamplighter', 'lamplighters', 'lamplights', 'lampoon', 'lampooned', 'lampooning', 'lampoons', 'lamppost', 'lampposts', 'lamprey', 'lampreys', 'lampshade', 'lampshades', 'lanais', 'lanced', 'lancer', 'lancers', 'lances', 'lancet', 'lancets', 'lancing', 'landau', 'landaus', 'landed', 'landfall', 'landfalls', 'landfill', 'landfills', 'landholder', 'landholders', 'landholding', 'landholdings', 'landing', 'landings', 'landladies', 'landlady', 'landless', 'landline!', 'landlines!', 'landlocked', 'landlord', 'landlords', 'landlubber', 'landlubbers', 'landmark', 'landmarks', 'landmass', 'landmasses', 'landowner', 'landowners', 'landowning', 'landscape', 'landscaped', 'landscaper', 'landscapers', 'landscapes', 'landscaping', 'landslid', 'landslidden', 'landslide', 'landslides', 'landsliding', 'landsman', 'landsmen', 'landward', 'landwards', 'language', 'languages', 'languid', 'languidly', 'languidness', 'languidnesses', 'languish', 'languished', 'languishes', 'languishing', 'languor', 'languorous', 'languorously', 'languors', 'lanker', 'lankest', 'lankier', 'lankiest', 'lankiness', 'lankinesses', 'lankly', 'lankness', 'lanknesses', 'lanolin', 'lanolins', 'lantern', 'lanterns', 'lanthanum', 'lanthanums', 'lanyard', 'lanyards', 'lapboard', 'lapboards', 'lapdog', 'lapdogs', 'lapels', 'lapidaries', 'lapidary', 'lapins', 'lapped', 'lappet', 'lappets', 'lapping', 'lapsed', 'lapses', 'lapsing', 'laptop', 'laptops', 'lapwing', 'lapwings', 'larboard', 'larboards', 'larcenies', 'larcenist', 'larcenists', 'larcenous', 'larceny', 'larches', 'larded', 'larder', 'larders', 'lardier', 'lardiest', 'larding', 'largehearted', 'largely', 'largeness', 'largenesses', 'larger', 'larges', 'largess', 'largesse', 'largesses', 'largest', 'largish', 'largos', 'lariat', 'lariats', 'larked', 'larking', 'larkspur', 'larkspurs', 'larvae', 'larval', 'larvas', 'laryngeal', 'larynges', 'laryngitides', 'laryngitis', 'larynx', 'larynxes', 'lasagna', 'lasagnas', 'lasagne', 'lasagnes', 'lascivious', 'lasciviously', 'lasciviousness', 'lasciviousnesses', 'lasers', 'lashed', 'lashes', 'lashing', 'lashings', 'lasses', 'lassie', 'lassies', 'lassitude', 'lassitudes', 'lassoed', 'lassoes', 'lassoing', 'lassos', 'lasted', 'lasting', 'lastingly', 'lastly', 'latched', 'latches', 'latching', 'latchkey', 'latchkeys', 'latecomer', 'latecomers', 'lately', 'latencies', 'latency', 'lateness', 'latenesses', 'latent', 'lateral', 'lateraled', 'lateraling', 'lateralled', 'lateralling', 'laterally', 'laterals', 'latest', 'latests', 'latexes', 'lathed', 'lather', 'lathered', 'lathering', 'lathers', 'lathery', 'lathes', 'lathing', 'latices', 'latish', 'latitude', 'latitudes', 'latitudinal', 'latitudinarian', 'latitudinarians', 'latrine', 'latrines', 'latter', 'latterly', 'latters', 'lattes', 'lattice', 'latticed', 'lattices', 'latticework', 'latticeworks', 'laudable', 'laudably', 'laudanum', 'laudanums', 'laudatory', 'lauded', 'lauding', 'laughable', 'laughably', 'laughed', 'laughing', 'laughingly', 'laughings', 'laughingstock', 'laughingstocks', 'laughs', 'laughter', 'laughters', 'launch', 'launched', 'launcher', 'launchers', 'launches', 'launching', 'launchpad', 'launchpads', 'launder', 'laundered', 'launderer', 'launderers', 'launderette', 'launderettes', 'laundering', 'launders', 'laundress', 'laundresses', 'laundrette', 'laundrettes', 'laundries', 'laundromat', 'laundromats', 'laundry', 'laundryman', 'laundrymen', 'laundrywoman', 'laundrywomen', 'laureate', 'laureates', 'laureateship', 'laureateships', 'laurel', 'laurels', 'lavage', 'lavages', 'lavalier', 'lavaliere', 'lavalieres', 'lavaliers', 'lavas', 'lavatories', 'lavatory', 'lavender', 'lavenders', 'laving', 'lavish', 'lavished', 'lavisher', 'lavishes', 'lavishest', 'lavishing', 'lavishly', 'lavishness', 'lavishnesses', 'lawbreaker', 'lawbreakers', 'lawbreaking', 'lawbreakings', 'lawful', 'lawfully', 'lawfulness', 'lawfulnesses', 'lawgiver', 'lawgivers', 'lawless', 'lawlessly', 'lawlessness', 'lawlessnesses', 'lawmaker', 'lawmakers', 'lawmaking', 'lawmakings', 'lawman', 'lawmen', 'lawnmower', 'lawnmowers', 'lawrencium', 'lawrenciums', 'lawsuit', 'lawsuits', 'lawyer', 'lawyers', 'laxative', 'laxatives', 'laxest', 'laxities', 'laxity', 'laxness', 'laxnesses', 'layaway', 'layaways', 'layered', 'layering', 'layerings', 'layers', 'layette', 'layettes', 'laying', 'layman', 'laymen', 'layoff', 'layoffs', 'layout', 'layouts', 'layover', 'layovers', 'laypeople', 'layperson', 'laypersons', 'layups', 'laywoman', 'laywomen', 'lazied', 'lazier', 'lazies', 'laziest', 'lazily', 'laziness', 'lazinesses', 'lazing', 'lazybones', 'lazying', 'leached', 'leaches', 'leaching', 'leaded', 'leaden', 'leader', 'leaderless', 'leaders', 'leadership', 'leaderships', 'leading', 'leadings', 'leafage', 'leafages', 'leafed', 'leafier', 'leafiest', 'leafing', 'leafless', 'leaflet', 'leafleted', 'leafleting', 'leaflets', 'leafletted', 'leafletting', 'leafstalk', 'leafstalks', 'league', 'leagued', 'leagues', 'leaguing', 'leakage', 'leakages', 'leaked', 'leakier', 'leakiest', 'leakiness', 'leakinesses', 'leaking', 'leaned', 'leaner', 'leanest', 'leaning', 'leanings', 'leanness', 'leannesses', 'leaped', 'leaper', 'leapers', 'leapfrog', 'leapfrogged', 'leapfrogging', 'leapfrogs', 'leaping', 'learned', 'learnedly', 'learner', 'learners', 'learning', 'learnings', 'learns', 'learnt', 'leaseback', 'leasebacks', 'leased', 'leasehold', 'leaseholder', 'leaseholders', 'leaseholds', 'leaser', 'leasers', 'leases', 'leashed', 'leashes', 'leashing', 'leasing', 'leasts', 'leastways', 'leastwise', 'leather', 'leatherette', 'leatherettes', 'leatherneck', 'leathernecks', 'leathers', 'leathery', 'leaved', 'leaven', 'leavened', 'leavening', 'leavenings', 'leavens', 'leaver', 'leavers', 'leaves', 'leaving', 'leavings', 'lecher', 'lecheries', 'lecherous', 'lecherously', 'lecherousness', 'lecherousnesses', 'lechers', 'lechery', 'leches', 'lecithin', 'lecithins', 'lectern', 'lecterns', 'lecture', 'lectured', 'lecturer', 'lecturers', 'lectures', 'lectureship', 'lectureships', 'lecturing', 'ledger', 'ledgers', 'ledges', 'leeched', 'leeches', 'leeching', 'leered', 'leerier', 'leeriest', 'leeriness', 'leerinesses', 'leering', 'leeward', 'leewards', 'leeway', 'leeways', 'lefter', 'leftest', 'leftie', 'lefties', 'leftism', 'leftisms', 'leftist', 'leftists', 'leftmost', 'leftover', 'leftovers', 'leftward', 'leftwards', 'legacies', 'legacy', 'legalese', 'legaleses', 'legalism', 'legalisms', 'legalistic', 'legalities', 'legality', 'legalization', 'legalizations', 'legalize', 'legalized', 'legalizes', 'legalizing', 'legally', 'legals', 'legate', 'legatee', 'legatees', 'legates', 'legation', 'legations', 'legato', 'legatos', 'legend', 'legendarily', 'legendary', 'legends', 'legerdemain', 'legerdemains', 'legged', 'leggier', 'leggiest', 'leggin', 'legginess', 'legginesses', 'legging', 'leggings', 'leggins', 'leghorn', 'leghorns', 'legibilities', 'legibility', 'legible', 'legibly', 'legion', 'legionaries', 'legionary', 'legionnaire', 'legionnaires', 'legions', 'legislate', 'legislated', 'legislates', 'legislating', 'legislation', 'legislations', 'legislative', 'legislatively', 'legislator', 'legislators', 'legislature', 'legislatures', 'legitimacies', 'legitimacy', 'legitimate', 'legitimated', 'legitimately', 'legitimates', 'legitimating', 'legitimatize', 'legitimatized', 'legitimatizes', 'legitimatizing', 'legitimization', 'legitimizations', 'legitimize', 'legitimized', 'legitimizes', 'legitimizing', 'legless', 'legman', 'legmen', 'legroom', 'legrooms', 'legume', 'legumes', 'leguminous', 'legwork', 'legworks', 'leisure', 'leisured', 'leisureliness', 'leisurelinesses', 'leisurely', 'leisures', 'leisurewear', 'leisurewears', 'leitmotif', 'leitmotifs', 'leitmotiv', 'leitmotivs', 'lemming', 'lemmings', 'lemonade', 'lemonades', 'lemons', 'lemony', 'lemurs', 'lender', 'lenders', 'lending', 'length', 'lengthen', 'lengthened', 'lengthening', 'lengthens', 'lengthier', 'lengthiest', 'lengthily', 'lengthiness', 'lengthinesses', 'lengths', 'lengthways', 'lengthwise', 'lengthy', 'lenience', 'leniences', 'leniencies', 'leniency', 'lenient', 'leniently', 'lenitive', 'lenses', 'lenten', 'lentil', 'lentils', 'leonine', 'leopard', 'leopardess', 'leopardesses', 'leopards', 'leotard', 'leotards', 'lepers', 'leprechaun', 'leprechauns', 'leprosies', 'leprosy', 'leprous', 'lepton', 'leptons', 'lesbian', 'lesbianism', 'lesbianisms', 'lesbians', 'lesion', 'lesions', 'lessee', 'lessees', 'lessen', 'lessened', 'lessening', 'lessens', 'lesser', 'lesson', 'lessons', 'lessor', 'lessors', 'letdown', 'letdowns', 'lethal', 'lethally', 'lethargic', 'lethargically', 'lethargies', 'lethargy', 'letter', 'lettered', 'letterer', 'letterers', 'letterhead', 'letterheads', 'lettering', 'letterings', 'letterpress', 'letterpresses', 'letters', 'letting', 'lettuce', 'lettuces', 'letups', 'leukaemia', 'leukaemias', 'leukemia', 'leukemias', 'leukemic', 'leukemics', 'leukocyte', 'leukocytes', 'levees', 'leveled', 'leveler', 'levelers', 'levelheaded', 'levelheadedness', 'levelheadednesses', 'leveling', 'levelled', 'leveller', 'levellers', 'levelling', 'levelly', 'levelness', 'levelnesses', 'levels', 'leverage', 'leveraged', 'leverages', 'leveraging', 'levered', 'levering', 'levers', 'leviathan', 'leviathans', 'levied', 'levier', 'leviers', 'levies', 'levitate', 'levitated', 'levitates', 'levitating', 'levitation', 'levitations', 'levities', 'levity', 'levying', 'lewder', 'lewdest', 'lewdly', 'lewdness', 'lewdnesses', 'lexica', 'lexical', 'lexicographer', 'lexicographers', 'lexicographic', 'lexicographical', 'lexicographies', 'lexicography', 'lexicon', 'lexicons', 'liabilities', 'liability', 'liable', 'liaise', 'liaised', 'liaises', 'liaising', 'liaison', 'liaisons', 'libation', 'libations', 'libber', 'libbers', 'libeled', 'libeler', 'libelers', 'libeling', 'libelled', 'libeller', 'libellers', 'libelling', 'libellous', 'libelous', 'libels', 'liberal', 'liberalism', 'liberalisms', 'liberalities', 'liberality', 'liberalization', 'liberalizations', 'liberalize', 'liberalized', 'liberalizes', 'liberalizing', 'liberally', 'liberalness', 'liberalnesses', 'liberals', 'liberate', 'liberated', 'liberates', 'liberating', 'liberation', 'liberations', 'liberator', 'liberators', 'libertarian', 'libertarians', 'liberties', 'libertine', 'libertines', 'liberty', 'libidinal', 'libidinous', 'libido', 'libidos', 'librarian', 'librarians', 'libraries', 'library', 'libretti', 'librettist', 'librettists', 'libretto', 'librettos', 'licence', 'licenced', 'licences', 'licencing', 'license', 'licensed', 'licensee', 'licensees', 'licenses', 'licensing', 'licentiate', 'licentiates', 'licentious', 'licentiously', 'licentiousness', 'licentiousnesses', 'lichee', 'lichees', 'lichen', 'lichens', 'licitly', 'licked', 'licking', 'lickings', 'licorice', 'licorices', 'lidded', 'lidless', 'lieder', 'liefer', 'liefest', 'lieges', 'lieus', 'lieutenancies', 'lieutenancy', 'lieutenant', 'lieutenants', 'lifeblood', 'lifebloods', 'lifeboat', 'lifeboats', 'lifebuoy', 'lifebuoys', 'lifeguard', 'lifeguards', 'lifeless', 'lifelessly', 'lifelessness', 'lifelessnesses', 'lifelike', 'lifeline', 'lifelines', 'lifelong', 'lifers', 'lifesaver', 'lifesavers', 'lifesaving', 'lifesavings', 'lifestyle', 'lifestyles', 'lifetime', 'lifetimes', 'lifework', 'lifeworks', 'lifted', 'lifter', 'lifters', 'lifting', 'liftoff', 'liftoffs', 'ligament', 'ligaments', 'ligate', 'ligated', 'ligates', 'ligating', 'ligation', 'ligations', 'ligature', 'ligatured', 'ligatures', 'ligaturing', 'lighted', 'lighten', 'lightened', 'lightener', 'lighteners', 'lightening', 'lightens', 'lighter', 'lighters', 'lightest', 'lightface', 'lightfaced', 'lightfaces', 'lightheaded', 'lighthearted', 'lightheartedly', 'lightheartedness', 'lightheartednesses', 'lighthouse', 'lighthouses', 'lighting', 'lightings', 'lightly', 'lightness', 'lightnesses', 'lightning', 'lightninged', 'lightnings', 'lightproof', 'lights', 'lightship', 'lightships', 'lightweight', 'lightweights', 'ligneous', 'lignite', 'lignites', 'likabilities', 'likability', 'likable', 'likableness', 'likablenesses', 'likeable', 'likelier', 'likeliest', 'likelihood', 'likelihoods', 'likeliness', 'likelinesses', 'likely', 'likened', 'likeness', 'likenesses', 'likening', 'likens', 'likest', 'likewise', 'liking', 'likings', 'lilacs', 'lilies', 'lilliputian', 'lilted', 'lilting', 'limber', 'limbered', 'limbering', 'limberness', 'limbernesses', 'limbers', 'limbless', 'limbos', 'limeade', 'limeades', 'limelight', 'limelights', 'limerick', 'limericks', 'limestone', 'limestones', 'limier', 'limiest', 'liming', 'limitation', 'limitations', 'limited', 'limiter', 'limiters', 'limiting', 'limitless', 'limitlessness', 'limitlessnesses', 'limits', 'limned', 'limning', 'limousine', 'limousines', 'limped', 'limper', 'limpest', 'limpet', 'limpets', 'limpid', 'limpidities', 'limpidity', 'limpidly', 'limpidness', 'limpidnesses', 'limping', 'limply', 'limpness', 'limpnesses', 'linage', 'linages', 'linchpin', 'linchpins', 'linden', 'lindens', 'lineage', 'lineages', 'lineal', 'lineally', 'lineament', 'lineaments', 'linear', 'linearities', 'linearity', 'linearly', 'linebacker', 'linebackers', 'lineman', 'linemen', 'linens', 'liners', 'linesman', 'linesmen', 'lineup', 'lineups', 'linger', 'lingered', 'lingerer', 'lingerers', 'lingerie', 'lingeries', 'lingering', 'lingeringly', 'lingers', 'lingoes', 'lingos', 'lingual', 'linguine', 'linguines', 'linguini', 'linguinis', 'linguist', 'linguistic', 'linguistically', 'linguistics', 'linguists', 'liniment', 'liniments', 'lining', 'linings', 'linkage', 'linkages', 'linked', 'linking', 'linkup', 'linkups', 'linnet', 'linnets', 'linoleum', 'linoleums', 'linseed', 'linseeds', 'lintel', 'lintels', 'lintier', 'lintiest', 'lints', 'lioness', 'lionesses', 'lionhearted', 'lionization', 'lionizations', 'lionize', 'lionized', 'lionizes', 'lionizing', 'lipids', 'liposuction', 'liposuctions', 'lipped', 'lippier', 'lippiest', 'lipread', 'lipreader', 'lipreaders', 'lipreading', 'lipreadings', 'lipreads', 'lipstick', 'lipsticks', 'liquefaction', 'liquefactions', 'liquefied', 'liquefies', 'liquefy', 'liquefying', 'liqueur', 'liqueurs', 'liquid', 'liquidate', 'liquidated', 'liquidates', 'liquidating', 'liquidation', 'liquidations', 'liquidator', 'liquidators', 'liquidities', 'liquidity', 'liquidize', 'liquidized', 'liquidizer', 'liquidizers', 'liquidizes', 'liquidizing', 'liquids', 'liquified', 'liquifies', 'liquify', 'liquifying', 'liquor', 'liquored', 'liquorice', 'liquorices', 'liquoring', 'liquors', 'lisles', 'lisped', 'lisper', 'lispers', 'lisping', 'lissom', 'lissome', 'listed', 'listen', 'listened', 'listener', 'listeners', 'listening', 'listens', 'listing', 'listings', 'listless', 'listlessly', 'listlessness', 'listlessnesses', 'litanies', 'litany', 'litchi', 'litchis', 'literacies', 'literacy', 'literal', 'literally', 'literalness', 'literalnesses', 'literals', 'literariness', 'literarinesses', 'literary', 'literate', 'literately', 'literates', 'literati', 'literature', 'literatures', 'liters', 'lithely', 'litheness', 'lithenesses', 'lither', 'lithesome', 'lithest', 'lithium', 'lithiums', 'lithograph', 'lithographed', 'lithographer', 'lithographers', 'lithographic', 'lithographically', 'lithographies', 'lithographing', 'lithographs', 'lithography', 'lithosphere', 'lithospheres', 'litigant', 'litigants', 'litigate', 'litigated', 'litigates', 'litigating', 'litigation', 'litigations', 'litigator', 'litigators', 'litigious', 'litigiousness', 'litigiousnesses', 'litmus', 'litmuses', 'litotes', 'litres', 'litter', 'litterateur', 'litterateurs', 'litterbug', 'litterbugs', 'littered', 'litterer', 'litterers', 'littering', 'litters', 'little', 'littleness', 'littlenesses', 'littler', 'littles', 'littlest', 'littoral', 'littorals', 'liturgical', 'liturgically', 'liturgies', 'liturgist', 'liturgists', 'liturgy', 'livabilities', 'livability', 'livable', 'liveable', 'livelier', 'liveliest', 'livelihood', 'livelihoods', 'liveliness', 'livelinesses', 'livelong', 'lively', 'livened', 'livening', 'livens', 'liveried', 'liveries', 'liverish', 'livers', 'liverwort', 'liverworts', 'liverwurst', 'liverwursts', 'livery', 'liveryman', 'liverymen', 'livest', 'livestock', 'livestocks', 'lividly', 'living', 'livings', 'lizard', 'lizards', 'llamas', 'llanos', 'loaded', 'loader', 'loaders', 'loading', 'loadings', 'loadstar', 'loadstars', 'loadstone', 'loadstones', 'loafed', 'loafer', 'loafers', 'loafing', 'loamier', 'loamiest', 'loams', 'loaned', 'loaner', 'loaners', 'loaning', 'loansharking', 'loansharkings', 'loanword', 'loanwords', 'loathe', 'loathed', 'loather', 'loathers', 'loathes', 'loathing', 'loathings', 'loathsome', 'loathsomely', 'loathsomeness', 'loathsomenesses', 'loaves', 'lobbed', 'lobber', 'lobbers', 'lobbied', 'lobbies', 'lobbing', 'lobbying', 'lobbyist', 'lobbyists', 'lobotomies', 'lobotomize', 'lobotomized', 'lobotomizes', 'lobotomizing', 'lobotomy', 'lobster', 'lobsters', 'locale', 'locales', 'localities', 'locality', 'localization', 'localizations', 'localize', 'localized', 'localizes', 'localizing', 'locally', 'locals', 'locate', 'located', 'locates', 'locating', 'location', 'locations', 'locator', 'locators', 'locavore!', 'locavores!', 'locked', 'locker', 'lockers', 'locket', 'lockets', 'locking', 'lockjaw', 'lockjaws', 'lockout', 'lockouts', 'locksmith', 'locksmiths', 'lockstep', 'locksteps', 'lockup', 'lockups', 'locomotion', 'locomotions', 'locomotive', 'locomotives', 'locoweed', 'locoweeds', 'locust', 'locusts', 'locution', 'locutions', 'lodestar', 'lodestars', 'lodestone', 'lodestones', 'lodged', 'lodger', 'lodgers', 'lodges', 'lodging', 'lodgings', 'lofted', 'loftier', 'loftiest', 'loftily', 'loftiness', 'loftinesses', 'lofting', 'loganberries', 'loganberry', 'logarithm', 'logarithmic', 'logarithms', 'logbook', 'logbooks', 'logged', 'logger', 'loggerhead', 'loggerheads', 'loggers', 'loggia', 'loggias', 'logging', 'loggings', 'logical', 'logicalities', 'logicality', 'logically', 'logician', 'logicians', 'logics', 'logier', 'logiest', 'login!', 'logins!', 'logistic', 'logistical', 'logistically', 'logistics', 'logjam', 'logjams', 'logoff!', 'logoffs!', 'logon!', 'logons!', 'logotype', 'logotypes', 'logout!', 'logouts!', 'logrolling', 'logrollings', 'loincloth', 'loincloths', 'loiter', 'loitered', 'loiterer', 'loiterers', 'loitering', 'loiterings', 'loiters', 'lolcat!', 'lolcats!', 'lolled', 'lolling', 'lollipop', 'lollipops', 'lollygag', 'lollygagged', 'lollygagging', 'lollygags', 'lollypop', 'lollypops', 'lonelier', 'loneliest', 'loneliness', 'lonelinesses', 'lonely', 'loners', 'lonesome', 'lonesomely', 'lonesomeness', 'lonesomenesses', 'longboat', 'longboats', 'longbow', 'longbows', 'longed', 'longer', 'longest', 'longevities', 'longevity', 'longhair', 'longhairs', 'longhand', 'longhands', 'longhorn', 'longhorns', 'longing', 'longingly', 'longings', 'longish', 'longitude', 'longitudes', 'longitudinal', 'longitudinally', 'longshoreman', 'longshoremen', 'longsighted', 'longstanding', 'longtime', 'longueur', 'longueurs', 'longways', 'loofah', 'loofahs', 'lookalike', 'lookalikes', 'looked', 'looker', 'lookers', 'looking', 'lookout', 'lookouts', 'loomed', 'looming', 'looney', 'looneys', 'loonie!', 'loonier', 'loonies', 'looniest', 'looped', 'loophole', 'loopholes', 'loopier', 'loopiest', 'looping', 'loosed', 'loosely', 'loosen', 'loosened', 'looseness', 'loosenesses', 'loosening', 'loosens', 'looser', 'looses', 'loosest', 'loosing', 'looted', 'looter', 'looters', 'looting', 'lootings', 'loping', 'lopped', 'lopping', 'lopsided', 'lopsidedly', 'lopsidedness', 'lopsidednesses', 'loquacious', 'loquaciousness', 'loquaciousnesses', 'loquacities', 'loquacity', 'lorded', 'lording', 'lordlier', 'lordliest', 'lordliness', 'lordlinesses', 'lordly', 'lordship', 'lordships', 'lores', 'lorgnette', 'lorgnettes', 'lorises', 'lorries', 'losers', 'losing', 'losings', 'losses', 'lotion', 'lotions', 'lotteries', 'lottery', 'lottos', 'lotuses', 'louder', 'loudest', 'loudhailer', 'loudhailers', 'loudly', 'loudmouth', 'loudmouthed', 'loudmouths', 'loudness', 'loudnesses', 'loudspeaker', 'loudspeakers', 'lounge', 'lounged', 'lounger', 'loungers', 'lounges', 'lounging', 'loured', 'louring', 'louses', 'lousier', 'lousiest', 'lousily', 'lousiness', 'lousinesses', 'loutish', 'loutishly', 'louver', 'louvered', 'louvers', 'louvre', 'louvred', 'louvres', 'lovable', 'lovableness', 'lovablenesses', 'lovably', 'loveable', 'lovebird', 'lovebirds', 'lovechild', 'lovechildren', 'loveless', 'lovelier', 'lovelies', 'loveliest', 'loveliness', 'lovelinesses', 'lovelorn', 'lovely', 'lovemaking', 'lovemakings', 'lovers', 'loveseat', 'loveseats', 'lovesick', 'loving', 'lovingly', 'lowborn', 'lowboy', 'lowboys', 'lowbrow', 'lowbrows', 'lowdown', 'lowdowns', 'lowercase', 'lowercases', 'lowered', 'lowering', 'lowermost', 'lowers', 'lowest', 'lowing', 'lowland', 'lowlander', 'lowlanders', 'lowlands', 'lowlier', 'lowliest', 'lowlife', 'lowlifes', 'lowliness', 'lowlinesses', 'lowlives', 'lowness', 'lownesses', 'loxes', 'loyaler', 'loyalest', 'loyalism', 'loyalisms', 'loyalist', 'loyalists', 'loyaller', 'loyallest', 'loyally', 'loyalties', 'loyalty', 'lozenge', 'lozenges', 'lubber', 'lubberly', 'lubbers', 'lubing', 'lubricant', 'lubricants', 'lubricate', 'lubricated', 'lubricates', 'lubricating', 'lubrication', 'lubrications', 'lubricator', 'lubricators', 'lubricious', 'lubricities', 'lubricity', 'lucider', 'lucidest', 'lucidities', 'lucidity', 'lucidly', 'lucidness', 'lucidnesses', 'lucked', 'luckier', 'luckiest', 'luckily', 'luckiness', 'luckinesses', 'lucking', 'luckless', 'lucrative', 'lucratively', 'lucrativeness', 'lucrativenesses', 'lucres', 'lucubrate', 'lucubrated', 'lucubrates', 'lucubrating', 'lucubration', 'lucubrations', 'ludicrous', 'ludicrously', 'ludicrousness', 'ludicrousnesses', 'luffed', 'luffing', 'luggage', 'luggages', 'lugged', 'lugger', 'luggers', 'lugging', 'lugsail', 'lugsails', 'lugubrious', 'lugubriously', 'lugubriousness', 'lugubriousnesses', 'lukewarm', 'lukewarmly', 'lukewarmness', 'lukewarmnesses', 'lullabies', 'lullaby', 'lulled', 'lulling', 'lumbago', 'lumbagos', 'lumbar', 'lumber', 'lumbered', 'lumberer', 'lumberers', 'lumbering', 'lumberings', 'lumberjack', 'lumberjacks', 'lumberman', 'lumbermen', 'lumbers', 'lumberyard', 'lumberyards', 'luminaries', 'luminary', 'luminescence', 'luminescences', 'luminescent', 'luminosities', 'luminosity', 'luminous', 'luminously', 'lummox', 'lummoxes', 'lumped', 'lumpier', 'lumpiest', 'lumpiness', 'lumpinesses', 'lumping', 'lumpish', 'lunacies', 'lunacy', 'lunatic', 'lunatics', 'lunched', 'luncheon', 'luncheonette', 'luncheonettes', 'luncheons', 'lunches', 'lunching', 'lunchroom', 'lunchrooms', 'lunchtime', 'lunchtimes', 'lunged', 'lunges', 'lungfish', 'lungfishes', 'lunging', 'lunkhead', 'lunkheads', 'lupine', 'lupines', 'lupins', 'lupuses', 'lurched', 'lurches', 'lurching', 'luridly', 'luridness', 'luridnesses', 'luring', 'lurked', 'lurking', 'luscious', 'lusciously', 'lusciousness', 'lusciousnesses', 'lusher', 'lushes', 'lushest', 'lushly', 'lushness', 'lushnesses', 'lusted', 'luster', 'lusterless', 'lusters', 'lustful', 'lustfully', 'lustier', 'lustiest', 'lustily', 'lustiness', 'lustinesses', 'lusting', 'lustre', 'lustres', 'lustrous', 'lustrously', 'lutanist', 'lutanists', 'lutenist', 'lutenists', 'lutetium', 'lutetiums', 'luxuriance', 'luxuriances', 'luxuriant', 'luxuriantly', 'luxuriate', 'luxuriated', 'luxuriates', 'luxuriating', 'luxuriation', 'luxuriations', 'luxuries', 'luxurious', 'luxuriously', 'luxuriousness', 'luxuriousnesses', 'luxury', 'lyceum', 'lyceums', 'lychee', 'lychees', 'lyings', 'lymphatic', 'lymphatics', 'lymphocyte', 'lymphocytes', 'lymphoid', 'lymphoma', 'lymphomas', 'lymphomata', 'lymphs', 'lynched', 'lyncher', 'lynchers', 'lynches', 'lynching', 'lynchings', 'lynchpin', 'lynchpins', 'lynxes', 'lyrebird', 'lyrebirds', 'lyrical', 'lyrically', 'lyricism', 'lyricisms', 'lyricist', 'lyricists', 'lyrics', 'macabre', 'macadam', 'macadamia', 'macadamias', 'macadamize', 'macadamized', 'macadamizes', 'macadamizing', 'macadams', 'macaque', 'macaques', 'macaroni', 'macaronies', 'macaronis', 'macaroon', 'macaroons', 'macaws', 'macerate', 'macerated', 'macerates', 'macerating', 'maceration', 'macerations', 'machete', 'machetes', 'machinate', 'machinated', 'machinates', 'machinating', 'machination', 'machinations', 'machine', 'machined', 'machineries', 'machinery', 'machines', 'machining', 'machinist', 'machinists', 'machismo', 'machismos', 'machos', 'machs', 'macing', 'macintosh', 'macintoshes', 'mackerel', 'mackerels', 'mackinaw', 'mackinaws', 'mackintosh', 'mackintoshes', 'macrame', 'macrames', 'macrobiotic', 'macrobiotics', 'macrocosm', 'macrocosms', 'macroeconomics', 'macron', 'macrons', 'macros', 'macroscopic', 'madame', 'madams', 'madcap', 'madcaps', 'madden', 'maddened', 'maddening', 'maddeningly', 'maddens', 'madder', 'madders', 'maddest', 'madding', 'mademoiselle', 'mademoiselles', 'madhouse', 'madhouses', 'madman', 'madmen', 'madness', 'madnesses', 'madras', 'madrasa!', 'madrasah!', 'madrasahs!', 'madrasas!', 'madrases', 'madrassa!', 'madrassas!', 'madrigal', 'madrigals', 'madwoman', 'madwomen', 'maelstrom', 'maelstroms', 'maestri', 'maestro', 'maestros', 'mafias', 'mafiosi', 'mafioso', 'mafiosos', 'magazine', 'magazines', 'magenta', 'magentas', 'maggot', 'maggots', 'maggoty', 'magical', 'magically', 'magician', 'magicians', 'magics', 'magisterial', 'magisterially', 'magistracies', 'magistracy', 'magistrate', 'magistrates', 'magmas', 'magnanimities', 'magnanimity', 'magnanimous', 'magnanimously', 'magnate', 'magnates', 'magnesia', 'magnesias', 'magnesium', 'magnesiums', 'magnet', 'magnetic', 'magnetically', 'magnetise', 'magnetised', 'magnetises', 'magnetising', 'magnetism', 'magnetisms', 'magnetite', 'magnetites', 'magnetizable', 'magnetization', 'magnetizations', 'magnetize', 'magnetized', 'magnetizes', 'magnetizing', 'magneto', 'magnetometer', 'magnetometers', 'magnetos', 'magnets', 'magnification', 'magnifications', 'magnificence', 'magnificences', 'magnificent', 'magnificently', 'magnified', 'magnifier', 'magnifiers', 'magnifies', 'magnify', 'magnifying', 'magniloquence', 'magniloquences', 'magniloquent', 'magnitude', 'magnitudes', 'magnolia', 'magnolias', 'magnum', 'magnums', 'magpie', 'magpies', 'maharaja', 'maharajah', 'maharajahs', 'maharajas', 'maharanee', 'maharanees', 'maharani', 'maharanis', 'maharishi', 'maharishis', 'mahatma', 'mahatmas', 'mahjong', 'mahjongs', 'mahoganies', 'mahogany', 'mahout', 'mahouts', 'maiden', 'maidenhair', 'maidenhairs', 'maidenhead', 'maidenheads', 'maidenhood', 'maidenhoods', 'maidenly', 'maidens', 'maidservant', 'maidservants', 'mailbag', 'mailbags', 'mailbox', 'mailboxes', 'mailed', 'mailer', 'mailers', 'mailing', 'mailings', 'maillot', 'maillots', 'mailman', 'mailmen', 'maimed', 'maiming', 'mainframe', 'mainframes', 'mainland', 'mainlands', 'mainline', 'mainlined', 'mainlines', 'mainlining', 'mainly', 'mainmast', 'mainmasts', 'mainsail', 'mainsails', 'mainspring', 'mainsprings', 'mainstay', 'mainstays', 'mainstream', 'mainstreamed', 'mainstreaming', 'mainstreams', 'maintain', 'maintainable', 'maintained', 'maintaining', 'maintains', 'maintenance', 'maintenances', 'maintop', 'maintops', 'maiolica', 'maiolicas', 'maisonette', 'maisonettes', 'maizes', 'majestic', 'majestically', 'majesties', 'majesty', 'majolica', 'majolicas', 'majordomo', 'majordomos', 'majored', 'majorette', 'majorettes', 'majoring', 'majorities', 'majority', 'majors', 'makeover', 'makeovers', 'makers', 'makeshift', 'makeshifts', 'makeup', 'makeups', 'making', 'makings', 'malachite', 'malachites', 'maladies', 'maladjusted', 'maladjustment', 'maladjustments', 'maladroit', 'maladroitly', 'maladroitness', 'maladroitnesses', 'malady', 'malaise', 'malaises', 'malamute', 'malamutes', 'malapropism', 'malapropisms', 'malaria', 'malarial', 'malarias', 'malarkey', 'malarkeys', 'malathion', 'malathions', 'malcontent', 'malcontents', 'malediction', 'maledictions', 'malefaction', 'malefactions', 'malefactor', 'malefactors', 'malefic', 'maleficence', 'maleficences', 'maleficent', 'maleness', 'malenesses', 'malevolence', 'malevolences', 'malevolent', 'malevolently', 'malfeasance', 'malfeasances', 'malformation', 'malformations', 'malformed', 'malfunction', 'malfunctioned', 'malfunctioning', 'malfunctions', 'malice', 'malices', 'malicious', 'maliciously', 'maliciousness', 'maliciousnesses', 'malign', 'malignancies', 'malignancy', 'malignant', 'malignantly', 'maligned', 'maligning', 'malignities', 'malignity', 'maligns', 'malinger', 'malingered', 'malingerer', 'malingerers', 'malingering', 'malingers', 'mallard', 'mallards', 'malleabilities', 'malleability', 'malleable', 'mallet', 'mallets', 'mallow', 'mallows', 'malnourished', 'malnutrition', 'malnutritions', 'malocclusion', 'malocclusions', 'malodorous', 'malpractice', 'malpractices', 'malted', 'malteds', 'maltier', 'maltiest', 'malting', 'maltose', 'maltoses', 'maltreat', 'maltreated', 'maltreating', 'maltreatment', 'maltreatments', 'maltreats', 'malware!', 'malwares!', 'mambas', 'mamboed', 'mamboing', 'mambos', 'mammal', 'mammalian', 'mammalians', 'mammals', 'mammary', 'mammas', 'mammies', 'mammogram', 'mammograms', 'mammographies', 'mammography', 'mammon', 'mammons', 'mammoth', 'mammoths', 'manacle', 'manacled', 'manacles', 'manacling', 'manage', 'manageabilities', 'manageability', 'manageable', 'managed', 'management', 'managements', 'manager', 'managerial', 'managers', 'manages', 'managing', 'manana', 'mananas', 'manatee', 'manatees', 'mandala', 'mandalas', 'mandamus', 'mandamuses', 'mandarin', 'mandarins', 'mandate', 'mandated', 'mandates', 'mandating', 'mandatory', 'mandible', 'mandibles', 'mandibular', 'mandolin', 'mandolins', 'mandrake', 'mandrakes', 'mandrel', 'mandrels', 'mandril', 'mandrill', 'mandrills', 'mandrils', 'manege', 'maneges', 'maneuver', 'maneuverabilities', 'maneuverability', 'maneuverable', 'maneuvered', 'maneuvering', 'maneuvers', 'manful', 'manfully', 'manga!', 'manganese', 'manganeses', 'mangas!', 'manger', 'mangers', 'manges', 'mangier', 'mangiest', 'manginess', 'manginesses', 'mangle', 'mangled', 'mangles', 'mangling', 'mangoes', 'mangos', 'mangrove', 'mangroves', 'manhandle', 'manhandled', 'manhandles', 'manhandling', 'manhole', 'manholes', 'manhood', 'manhoods', 'manhunt', 'manhunts', 'maniac', 'maniacal', 'maniacally', 'maniacs', 'manias', 'manically', 'manics', 'manicure', 'manicured', 'manicures', 'manicuring', 'manicurist', 'manicurists', 'manifest', 'manifestation', 'manifestations', 'manifested', 'manifesting', 'manifestly', 'manifesto', 'manifestoes', 'manifestos', 'manifests', 'manifold', 'manifolded', 'manifolding', 'manifolds', 'manikin', 'manikins', 'manila', 'manilas', 'manilla', 'manillas', 'manioc', 'maniocs', 'manipulable', 'manipulate', 'manipulated', 'manipulates', 'manipulating', 'manipulation', 'manipulations', 'manipulative', 'manipulatively', 'manipulator', 'manipulators', 'mankind', 'manlier', 'manliest', 'manlike', 'manliness', 'manlinesses', 'mannas', 'manned', 'mannequin', 'mannequins', 'manner', 'mannered', 'mannerism', 'mannerisms', 'mannerly', 'manners', 'mannikin', 'mannikins', 'manning', 'mannish', 'mannishly', 'mannishness', 'mannishnesses', 'manoeuvre', 'manoeuvred', 'manoeuvres', 'manoeuvring', 'manometer', 'manometers', 'manorial', 'manors', 'manpower', 'manpowers', 'manque', 'mansard', 'mansards', 'manservant', 'manses', 'mansion', 'mansions', 'manslaughter', 'manslaughters', 'mantas', 'mantel', 'mantelpiece', 'mantelpieces', 'mantels', 'mantes', 'mantilla', 'mantillas', 'mantis', 'mantises', 'mantissa', 'mantissas', 'mantle', 'mantled', 'mantles', 'mantling', 'mantra', 'mantras', 'manual', 'manually', 'manuals', 'manufacture', 'manufactured', 'manufacturer', 'manufacturers', 'manufactures', 'manufacturing', 'manufacturings', 'manumission', 'manumissions', 'manumit', 'manumits', 'manumitted', 'manumitting', 'manure', 'manured', 'manures', 'manuring', 'manuscript', 'manuscripts', 'maples', 'mapmaker', 'mapmakers', 'mapped', 'mapper', 'mappers', 'mapping', 'marabou', 'marabous', 'marabout', 'marabouts', 'maraca', 'maracas', 'maraschino', 'maraschinos', 'marathon', 'marathoner', 'marathoners', 'marathons', 'maraud', 'marauded', 'marauder', 'marauders', 'marauding', 'marauds', 'marble', 'marbled', 'marbleize', 'marbleized', 'marbleizes', 'marbleizing', 'marbles', 'marbling', 'marblings', 'marched', 'marcher', 'marchers', 'marches', 'marching', 'marchioness', 'marchionesses', 'margarine', 'margarines', 'margarita', 'margaritas', 'margin', 'marginal', 'marginalia', 'marginalization', 'marginalizations', 'marginalize', 'marginalized', 'marginalizes', 'marginalizing', 'marginally', 'margins', 'mariachi', 'mariachis', 'marigold', 'marigolds', 'marihuana', 'marihuanas', 'marijuana', 'marijuanas', 'marimba', 'marimbas', 'marina', 'marinade', 'marinaded', 'marinades', 'marinading', 'marinara', 'marinaras', 'marinas', 'marinate', 'marinated', 'marinates', 'marinating', 'marination', 'marinations', 'marine', 'mariner', 'mariners', 'marines', 'marionette', 'marionettes', 'marital', 'maritally', 'maritime', 'marjoram', 'marjorams', 'markdown', 'markdowns', 'marked', 'markedly', 'marker', 'markers', 'market', 'marketabilities', 'marketability', 'marketable', 'marketed', 'marketeer', 'marketeers', 'marketer', 'marketers', 'marketing', 'marketings', 'marketplace', 'marketplaces', 'markets', 'marking', 'markings', 'markka', 'markkaa', 'markkas', 'marksman', 'marksmanship', 'marksmanships', 'marksmen', 'markup', 'markups', 'marlin', 'marlinespike', 'marlinespikes', 'marlins', 'marlinspike', 'marlinspikes', 'marls', 'marmalade', 'marmalades', 'marmoreal', 'marmoset', 'marmosets', 'marmot', 'marmots', 'maroon', 'marooned', 'marooning', 'maroons', 'marque', 'marquee', 'marquees', 'marques', 'marquess', 'marquesses', 'marquetries', 'marquetry', 'marquis', 'marquise', 'marquises', 'marquisette', 'marquisettes', 'marred', 'marriage', 'marriageabilities', 'marriageability', 'marriageable', 'marriages', 'married', 'marrieds', 'marries', 'marring', 'marrow', 'marrows', 'marrying', 'marshal', 'marshaled', 'marshaling', 'marshalled', 'marshalling', 'marshals', 'marshes', 'marshier', 'marshiest', 'marshland', 'marshlands', 'marshmallow', 'marshmallows', 'marshy', 'marsupial', 'marsupials', 'marten', 'martens', 'martial', 'martially', 'martin', 'martinet', 'martinets', 'martingale', 'martingales', 'martini', 'martinis', 'martins', 'martyr', 'martyrdom', 'martyrdoms', 'martyred', 'martyring', 'martyrs', 'marvel', 'marveled', 'marveling', 'marvelled', 'marvelling', 'marvellous', 'marvellously', 'marvelous', 'marvelously', 'marvels', 'marzipan', 'marzipans', 'mascara', 'mascaraed', 'mascaraing', 'mascaras', 'mascot', 'mascots', 'masculine', 'masculines', 'masculinities', 'masculinity', 'masers', 'mashed', 'masher', 'mashers', 'mashes', 'mashing', 'mashup!', 'mashups!', 'masked', 'masker', 'maskers', 'masking', 'masochism', 'masochisms', 'masochist', 'masochistic', 'masochistically', 'masochists', 'masonries', 'masonry', 'masons', 'masque', 'masquerade', 'masqueraded', 'masquerader', 'masqueraders', 'masquerades', 'masquerading', 'masques', 'massacre', 'massacred', 'massacres', 'massacring', 'massage', 'massaged', 'massages', 'massaging', 'massed', 'masses', 'masseur', 'masseurs', 'masseuse', 'masseuses', 'massif', 'massifs', 'massing', 'massive', 'massively', 'massiveness', 'massivenesses', 'mastectomies', 'mastectomy', 'masted', 'master', 'mastered', 'masterful', 'masterfully', 'masteries', 'mastering', 'masterly', 'mastermind', 'masterminded', 'masterminding', 'masterminds', 'masterpiece', 'masterpieces', 'masters', 'masterstroke', 'masterstrokes', 'masterwork', 'masterworks', 'mastery', 'masthead', 'mastheads', 'mastic', 'masticate', 'masticated', 'masticates', 'masticating', 'mastication', 'mastications', 'mastics', 'mastiff', 'mastiffs', 'mastodon', 'mastodons', 'mastoid', 'mastoids', 'masturbate', 'masturbated', 'masturbates', 'masturbating', 'masturbation', 'masturbations', 'masturbatory', 'matador', 'matadors', 'matchbook', 'matchbooks', 'matchbox', 'matchboxes', 'matched', 'matches', 'matching', 'matchless', 'matchlock', 'matchlocks', 'matchmaker', 'matchmakers', 'matchmaking', 'matchmakings', 'matchstick', 'matchsticks', 'matchwood', 'matchwoods', 'material', 'materialise', 'materialised', 'materialises', 'materialising', 'materialism', 'materialisms', 'materialist', 'materialistic', 'materialistically', 'materialists', 'materialization', 'materializations', 'materialize', 'materialized', 'materializes', 'materializing', 'materially', 'materials', 'materiel', 'materiels', 'maternal', 'maternally', 'maternities', 'maternity', 'mathematical', 'mathematically', 'mathematician', 'mathematicians', 'mathematics', 'maths', 'matinee', 'matinees', 'mating', 'matings', 'matins', 'matriarch', 'matriarchal', 'matriarchies', 'matriarchs', 'matriarchy', 'matrices', 'matricidal', 'matricide', 'matricides', 'matriculate', 'matriculated', 'matriculates', 'matriculating', 'matriculation', 'matriculations', 'matrimonial', 'matrimonies', 'matrimony', 'matrix', 'matrixes', 'matron', 'matronly', 'matrons', 'matted', 'matter', 'mattered', 'mattering', 'matters', 'mattes', 'matting', 'mattings', 'mattins', 'mattock', 'mattocks', 'mattress', 'mattresses', 'maturate', 'maturated', 'maturates', 'maturating', 'maturation', 'maturations', 'mature', 'matured', 'maturely', 'maturer', 'matures', 'maturest', 'maturing', 'maturities', 'maturity', 'matzoh', 'matzohs', 'matzos', 'matzot', 'matzoth', 'maudlin', 'mauled', 'mauler', 'maulers', 'mauling', 'maunder', 'maundered', 'maundering', 'maunders', 'mausolea', 'mausoleum', 'mausoleums', 'mauver', 'mauves', 'mauvest', 'mavens', 'maverick', 'mavericks', 'mavins', 'mawkish', 'mawkishly', 'mawkishness', 'mawkishnesses', 'maxilla', 'maxillae', 'maxillary', 'maxillas', 'maxima', 'maximal', 'maximally', 'maximization', 'maximizations', 'maximize', 'maximized', 'maximizes', 'maximizing', 'maxims', 'maximum', 'maximums', 'maxing', 'maybes', 'mayday', 'maydays', 'mayflies', 'mayflower', 'mayflowers', 'mayfly', 'mayhem', 'mayhems', 'mayonnaise', 'mayonnaises', 'mayoral', 'mayoralties', 'mayoralty', 'mayoress', 'mayoresses', 'mayors', 'mayos', 'maypole', 'maypoles', 'mazourka', 'mazourkas', 'mazurka', 'mazurkas', 'meadow', 'meadowlark', 'meadowlarks', 'meadows', 'meads', 'meager', 'meagerer', 'meagerest', 'meagerly', 'meagerness', 'meagernesses', 'meagre', 'meagrer', 'meagrest', 'mealier', 'mealiest', 'mealiness', 'mealinesses', 'mealtime', 'mealtimes', 'mealybug', 'mealybugs', 'mealymouthed', 'meander', 'meandered', 'meandering', 'meanderings', 'meanders', 'meaner', 'meanest', 'meanie', 'meanies', 'meaning', 'meaningful', 'meaningfully', 'meaningfulness', 'meaningfulnesses', 'meaningless', 'meaninglessly', 'meaninglessness', 'meaninglessnesses', 'meanings', 'meanly', 'meanness', 'meannesses', 'meantime', 'meantimes', 'meanwhile', 'meanwhiles', 'measles', 'measlier', 'measliest', 'measly', 'measurable', 'measurably', 'measure', 'measured', 'measureless', 'measurement', 'measurements', 'measures', 'measuring', 'meatball', 'meatballs', 'meatier', 'meatiest', 'meatiness', 'meatinesses', 'meatless', 'meatloaf', 'meatloaves', 'meatpacking', 'meatpackings', 'meccas', 'mechanic', 'mechanical', 'mechanically', 'mechanics', 'mechanism', 'mechanisms', 'mechanistic', 'mechanistically', 'mechanization', 'mechanizations', 'mechanize', 'mechanized', 'mechanizes', 'mechanizing', 'medalist', 'medalists', 'medallion', 'medallions', 'medallist', 'medallists', 'medals', 'meddle', 'meddled', 'meddler', 'meddlers', 'meddles', 'meddlesome', 'meddling', 'mediaeval', 'medial', 'medially', 'median', 'medians', 'medias', 'mediate', 'mediated', 'mediates', 'mediating', 'mediation', 'mediations', 'mediator', 'mediators', 'medicaid', 'medicaids', 'medical', 'medically', 'medicals', 'medicament', 'medicaments', 'medicare', 'medicares', 'medicate', 'medicated', 'medicates', 'medicating', 'medication', 'medications', 'medicinal', 'medicinally', 'medicine', 'medicines', 'medico', 'medicos', 'medics', 'medieval', 'medievalist', 'medievalists', 'mediocre', 'mediocrities', 'mediocrity', 'meditate', 'meditated', 'meditates', 'meditating', 'meditation', 'meditations', 'meditative', 'meditatively', 'medium', 'mediums', 'medley', 'medleys', 'medulla', 'medullae', 'medullas', 'meeds', 'meeker', 'meekest', 'meekly', 'meekness', 'meeknesses', 'meerschaum', 'meerschaums', 'meeting', 'meetinghouse', 'meetinghouses', 'meetings', 'megabit', 'megabits', 'megabucks', 'megabyte', 'megabytes', 'megachurch!', 'megachurches!', 'megacycle', 'megacycles', 'megadeath', 'megadeaths', 'megahertz', 'megahertzes', 'megalith', 'megalithic', 'megaliths', 'megalomania', 'megalomaniac', 'megalomaniacs', 'megalomanias', 'megalopolis', 'megalopolises', 'megaphone', 'megaphoned', 'megaphones', 'megaphoning', 'megaton', 'megatons', 'megawatt', 'megawatts', 'meioses', 'meiosis', 'meiotic', 'melamine', 'melamines', 'melancholia', 'melancholias', 'melancholic', 'melancholies', 'melancholy', 'melange', 'melanges', 'melanin', 'melanins', 'melanoma', 'melanomas', 'melanomata', 'melded', 'melding', 'melees', 'meliorate', 'meliorated', 'meliorates', 'meliorating', 'melioration', 'meliorations', 'meliorative', 'mellifluous', 'mellifluously', 'mellifluousness', 'mellifluousnesses', 'mellow', 'mellowed', 'mellower', 'mellowest', 'mellowing', 'mellowly', 'mellowness', 'mellownesses', 'mellows', 'melodic', 'melodically', 'melodies', 'melodious', 'melodiously', 'melodiousness', 'melodiousnesses', 'melodrama', 'melodramas', 'melodramatic', 'melodramatically', 'melodramatics', 'melody', 'melons', 'meltdown', 'meltdowns', 'melted', 'melting', 'member', 'members', 'membership', 'memberships', 'membrane', 'membranes', 'membranous', 'memento', 'mementoes', 'mementos', 'memes!', 'memoir', 'memoirs', 'memorabilia', 'memorabilities', 'memorability', 'memorable', 'memorably', 'memoranda', 'memorandum', 'memorandums', 'memorial', 'memorialize', 'memorialized', 'memorializes', 'memorializing', 'memorials', 'memories', 'memorization', 'memorizations', 'memorize', 'memorized', 'memorizes', 'memorizing', 'memory', 'menace', 'menaced', 'menaces', 'menacing', 'menacingly', 'menage', 'menagerie', 'menageries', 'menages', 'mendacious', 'mendaciously', 'mendacities', 'mendacity', 'mended', 'mendelevium', 'mendeleviums', 'mender', 'menders', 'mendicancies', 'mendicancy', 'mendicant', 'mendicants', 'mending', 'mendings', 'menfolk', 'menfolks', 'menhaden', 'menhadens', 'menial', 'menially', 'menials', 'meningeal', 'meninges', 'meningitides', 'meningitis', 'meninx', 'menisci', 'meniscus', 'meniscuses', 'menopausal', 'menopause', 'menopauses', 'menorah', 'menorahs', 'mensch', 'mensches', 'menservants', 'menses', 'menstrual', 'menstruate', 'menstruated', 'menstruates', 'menstruating', 'menstruation', 'menstruations', 'mensurable', 'mensuration', 'mensurations', 'menswear', 'menswears', 'mental', 'mentalist', 'mentalists', 'mentalities', 'mentality', 'mentally', 'menthol', 'mentholated', 'menthols', 'mention', 'mentioned', 'mentioning', 'mentions', 'mentor', 'mentored', 'mentoring', 'mentors', 'meowed', 'meowing', 'mercantile', 'mercantilism', 'mercantilisms', 'mercenaries', 'mercenary', 'mercer', 'mercerize', 'mercerized', 'mercerizes', 'mercerizing', 'mercers', 'merchandise', 'merchandised', 'merchandiser', 'merchandisers', 'merchandises', 'merchandising', 'merchandisings', 'merchandize', 'merchandized', 'merchandizes', 'merchandizing', 'merchant', 'merchantable', 'merchantman', 'merchantmen', 'merchants', 'mercies', 'merciful', 'mercifully', 'merciless', 'mercilessly', 'mercilessness', 'mercilessnesses', 'mercurial', 'mercurially', 'mercuric', 'mercuries', 'mercury', 'merely', 'merest', 'meretricious', 'meretriciously', 'meretriciousness', 'meretriciousnesses', 'merganser', 'mergansers', 'merged', 'merger', 'mergers', 'merges', 'merging', 'meridian', 'meridians', 'meringue', 'meringues', 'merino', 'merinos', 'merited', 'meriting', 'meritocracies', 'meritocracy', 'meritorious', 'meritoriously', 'meritoriousness', 'meritoriousnesses', 'merits', 'mermaid', 'mermaids', 'merman', 'mermen', 'merrier', 'merriest', 'merrily', 'merriment', 'merriments', 'merriness', 'merrinesses', 'merrymaker', 'merrymakers', 'merrymaking', 'merrymakings', 'mescal', 'mescaline', 'mescalines', 'mescals', 'mesdames', 'mesdemoiselles', 'meshed', 'meshes', 'meshing', 'mesmerism', 'mesmerisms', 'mesmerize', 'mesmerized', 'mesmerizer', 'mesmerizers', 'mesmerizes', 'mesmerizing', 'mesomorph', 'mesomorphs', 'mesons', 'mesosphere', 'mesospheres', 'mesquit', 'mesquite', 'mesquites', 'mesquits', 'message', 'messaged', 'messages', 'messaging', 'messed', 'messeigneurs', 'messenger', 'messengers', 'messes', 'messiah', 'messiahs', 'messianic', 'messier', 'messiest', 'messieurs', 'messily', 'messiness', 'messinesses', 'messing', 'messmate', 'messmates', 'mestizo', 'mestizoes', 'mestizos', 'metabolic', 'metabolically', 'metabolism', 'metabolisms', 'metabolite', 'metabolites', 'metabolize', 'metabolized', 'metabolizes', 'metabolizing', 'metacarpal', 'metacarpals', 'metacarpi', 'metacarpus', 'metalanguage', 'metalanguages', 'metallic', 'metallurgic', 'metallurgical', 'metallurgies', 'metallurgist', 'metallurgists', 'metallurgy', 'metals', 'metalwork', 'metalworker', 'metalworkers', 'metalworking', 'metalworkings', 'metalworks', 'metamorphic', 'metamorphism', 'metamorphisms', 'metamorphose', 'metamorphosed', 'metamorphoses', 'metamorphosing', 'metamorphosis', 'metaphor', 'metaphoric', 'metaphorical', 'metaphorically', 'metaphors', 'metaphysical', 'metaphysically', 'metaphysics', 'metastases', 'metastasis', 'metastasize', 'metastasized', 'metastasizes', 'metastasizing', 'metastatic', 'metatarsal', 'metatarsals', 'metatarsi', 'metatarsus', 'metatheses', 'metathesis', 'metempsychoses', 'metempsychosis', 'meteor', 'meteoric', 'meteorically', 'meteorite', 'meteorites', 'meteoroid', 'meteoroids', 'meteorologic', 'meteorological', 'meteorologies', 'meteorologist', 'meteorologists', 'meteorology', 'meteors', 'metered', 'metering', 'meters', 'methadon', 'methadone', 'methadones', 'methadons', 'methamphetamine', 'methamphetamines', 'methane', 'methanes', 'methanol', 'methanols', 'methinks', 'method', 'methodical', 'methodically', 'methodicalness', 'methodicalnesses', 'methodological', 'methodologically', 'methodologies', 'methodology', 'methods', 'methought', 'methyl', 'methyls', 'meticulous', 'meticulously', 'meticulousness', 'meticulousnesses', 'metier', 'metiers', 'meting', 'metres', 'metric', 'metrical', 'metrically', 'metricate', 'metricated', 'metricates', 'metricating', 'metrication', 'metrications', 'metricize', 'metricized', 'metricizes', 'metricizing', 'metronome', 'metronomes', 'metropolis', 'metropolises', 'metropolitan', 'metros', 'mettle', 'mettles', 'mettlesome', 'mewing', 'mewled', 'mewling', 'mezzanine', 'mezzanines', 'mezzos', 'miasma', 'miasmas', 'miasmata', 'micas', 'mickey', 'mickeys', 'microaggression!', 'microaggressions!', 'microbe', 'microbes', 'microbial', 'microbiological', 'microbiologies', 'microbiologist', 'microbiologists', 'microbiology', 'microbreweries', 'microbrewery', 'microchip', 'microchips', 'microcircuit', 'microcircuits', 'microcomputer', 'microcomputers', 'microcosm', 'microcosmic', 'microcosms', 'microdot', 'microdots', 'microeconomics', 'microelectronic', 'microelectronics', 'microfiber', 'microfibers', 'microfiche', 'microfiches', 'microfilm', 'microfilmed', 'microfilming', 'microfilms', 'microgroove', 'microgrooves', 'microlight', 'microlights', 'microloan!', 'microloans!', 'micromanage', 'micromanaged', 'micromanagement', 'micromanagements', 'micromanages', 'micromanaging', 'micrometeorite', 'micrometeorites', 'micrometer', 'micrometers', 'micron', 'microns', 'microorganism', 'microorganisms', 'microphone', 'microphones', 'microprocessor', 'microprocessors', 'micros', 'microscope', 'microscopes', 'microscopic', 'microscopical', 'microscopically', 'microscopies', 'microscopy', 'microsecond', 'microseconds', 'microsurgeries', 'microsurgery', 'microwavable', 'microwave', 'microwaveable', 'microwaved', 'microwaves', 'microwaving', 'midair', 'midairs', 'midday', 'middays', 'midden', 'middens', 'middies', 'middle', 'middlebrow', 'middlebrows', 'middleman', 'middlemen', 'middlemost', 'middles', 'middleweight', 'middleweights', 'middling', 'midges', 'midget', 'midgets', 'midland', 'midlands', 'midlife', 'midlives', 'midmost', 'midnight', 'midnights', 'midpoint', 'midpoints', 'midrib', 'midribs', 'midriff', 'midriffs', 'midsection', 'midsections', 'midshipman', 'midshipmen', 'midships', 'midsize', 'midstream', 'midstreams', 'midsts', 'midsummer', 'midsummers', 'midterm', 'midterms', 'midtown', 'midtowns', 'midway', 'midways', 'midweek', 'midweeks', 'midwife', 'midwifed', 'midwiferies', 'midwifery', 'midwifes', 'midwifing', 'midwinter', 'midwinters', 'midwived', 'midwives', 'midwiving', 'midyear', 'midyears', 'miffed', 'miffing', 'mightier', 'mightiest', 'mightily', 'mightiness', 'mightinesses', 'mights', 'mighty', 'mignonette', 'mignonettes', 'migraine', 'migraines', 'migrant', 'migrants', 'migrate', 'migrated', 'migrates', 'migrating', 'migration', 'migrations', 'migratory', 'mikado', 'mikados', 'miking', 'miladies', 'milady', 'milder', 'mildest', 'mildew', 'mildewed', 'mildewing', 'mildews', 'mildly', 'mildness', 'mildnesses', 'milds', 'mileage', 'mileages', 'milepost', 'mileposts', 'milers', 'milestone', 'milestones', 'milfs!', 'milieu', 'milieus', 'milieux', 'militancies', 'militancy', 'militant', 'militantly', 'militants', 'militaries', 'militarily', 'militarism', 'militarisms', 'militarist', 'militaristic', 'militarists', 'militarization', 'militarizations', 'militarize', 'militarized', 'militarizes', 'militarizing', 'military', 'militate', 'militated', 'militates', 'militating', 'militia', 'militiaman', 'militiamen', 'militias', 'milked', 'milker', 'milkers', 'milkier', 'milkiest', 'milkiness', 'milkinesses', 'milking', 'milkmaid', 'milkmaids', 'milkman', 'milkmen', 'milkshake', 'milkshakes', 'milksop', 'milksops', 'milkweed', 'milkweeds', 'millage', 'millages', 'milled', 'millennia', 'millennial', 'millennials!', 'millennium', 'millenniums', 'millepede', 'millepedes', 'miller', 'millers', 'millet', 'millets', 'milliard', 'milliards', 'millibar', 'millibars', 'milligram', 'milligrams', 'milliliter', 'milliliters', 'millilitre', 'millilitres', 'millimeter', 'millimeters', 'millimetre', 'millimetres', 'milliner', 'millineries', 'milliners', 'millinery', 'milling', 'millings', 'million', 'millionaire', 'millionaires', 'millionnaire', 'millionnaires', 'millions', 'millionth', 'millionths', 'millipede', 'millipedes', 'millisecond', 'milliseconds', 'millpond', 'millponds', 'millrace', 'millraces', 'millstone', 'millstones', 'millstream', 'millstreams', 'millwright', 'millwrights', 'milquetoast', 'milquetoasts', 'milted', 'milting', 'mimeograph', 'mimeographed', 'mimeographing', 'mimeographs', 'mimetic', 'mimicked', 'mimicker', 'mimickers', 'mimicking', 'mimicries', 'mimicry', 'mimics', 'miming', 'mimosa', 'mimosas', 'minaret', 'minarets', 'minatory', 'minced', 'mincemeat', 'mincemeats', 'mincer', 'mincers', 'minces', 'mincing', 'minded', 'mindful', 'mindfully', 'mindfulness', 'mindfulnesses', 'minding', 'mindless', 'mindlessly', 'mindlessness', 'mindlessnesses', 'mindset', 'mindsets', 'minefield', 'minefields', 'mineral', 'mineralogical', 'mineralogies', 'mineralogist', 'mineralogists', 'mineralogy', 'minerals', 'miners', 'minestrone', 'minestrones', 'minesweeper', 'minesweepers', 'mingle', 'mingled', 'mingles', 'mingling', 'miniature', 'miniatures', 'miniaturist', 'miniaturists', 'miniaturization', 'miniaturizations', 'miniaturize', 'miniaturized', 'miniaturizes', 'miniaturizing', 'minibike', 'minibikes', 'minibus', 'minibuses', 'minibusses', 'minicam', 'minicams', 'minicomputer', 'minicomputers', 'minima', 'minimal', 'minimalism', 'minimalisms', 'minimalist', 'minimalists', 'minimally', 'minimization', 'minimizations', 'minimize', 'minimized', 'minimizes', 'minimizing', 'minims', 'minimum', 'minimums', 'mining', 'minings', 'minion', 'minions', 'miniscule', 'miniscules', 'miniseries', 'miniskirt', 'miniskirts', 'minister', 'ministered', 'ministerial', 'ministering', 'ministers', 'ministrant', 'ministrants', 'ministration', 'ministrations', 'ministries', 'ministry', 'minivan', 'minivans', 'minnesinger', 'minnesingers', 'minnow', 'minnows', 'minored', 'minoring', 'minorities', 'minority', 'minors', 'minoxidil', 'minoxidils', 'minster', 'minsters', 'minstrel', 'minstrels', 'minstrelsies', 'minstrelsy', 'mintage', 'mintages', 'minted', 'minter', 'minters', 'mintier', 'mintiest', 'minting', 'minuend', 'minuends', 'minuet', 'minuets', 'minuscule', 'minuscules', 'minuses', 'minute', 'minuted', 'minutely', 'minuteman', 'minutemen', 'minuteness', 'minutenesses', 'minuter', 'minutes', 'minutest', 'minutia', 'minutiae', 'minuting', 'minxes', 'miracle', 'miracles', 'miraculous', 'miraculously', 'mirage', 'mirages', 'mirier', 'miriest', 'miring', 'mirror', 'mirrored', 'mirroring', 'mirrors', 'mirthful', 'mirthfully', 'mirthfulness', 'mirthfulnesses', 'mirthless', 'mirthlessly', 'mirths', 'misaddress', 'misaddressed', 'misaddresses', 'misaddressing', 'misadventure', 'misadventures', 'misaligned', 'misalignment', 'misalignments', 'misalliance', 'misalliances', 'misanthrope', 'misanthropes', 'misanthropic', 'misanthropically', 'misanthropies', 'misanthropist', 'misanthropists', 'misanthropy', 'misapplication', 'misapplications', 'misapplied', 'misapplies', 'misapply', 'misapplying', 'misapprehend', 'misapprehended', 'misapprehending', 'misapprehends', 'misapprehension', 'misapprehensions', 'misappropriate', 'misappropriated', 'misappropriates', 'misappropriating', 'misappropriation', 'misappropriations', 'misbegotten', 'misbehave', 'misbehaved', 'misbehaves', 'misbehaving', 'misbehavior', 'misbehaviors', 'miscalculate', 'miscalculated', 'miscalculates', 'miscalculating', 'miscalculation', 'miscalculations', 'miscall', 'miscalled', 'miscalling', 'miscalls', 'miscarriage', 'miscarriages', 'miscarried', 'miscarries', 'miscarry', 'miscarrying', 'miscast', 'miscasting', 'miscasts', 'miscegenation', 'miscegenations', 'miscellaneous', 'miscellaneously', 'miscellanies', 'miscellany', 'mischance', 'mischances', 'mischief', 'mischiefs', 'mischievous', 'mischievously', 'mischievousness', 'mischievousnesses', 'miscibilities', 'miscibility', 'miscible', 'misconceive', 'misconceived', 'misconceives', 'misconceiving', 'misconception', 'misconceptions', 'misconduct', 'misconducted', 'misconducting', 'misconducts', 'misconstruction', 'misconstructions', 'misconstrue', 'misconstrued', 'misconstrues', 'misconstruing', 'miscount', 'miscounted', 'miscounting', 'miscounts', 'miscreant', 'miscreants', 'miscue', 'miscued', 'miscues', 'miscuing', 'misdeal', 'misdealing', 'misdeals', 'misdealt', 'misdeed', 'misdeeds', 'misdemeanor', 'misdemeanors', 'misdemeanour', 'misdemeanours', 'misdiagnose', 'misdiagnosed', 'misdiagnoses', 'misdiagnosing', 'misdiagnosis', 'misdid', 'misdirect', 'misdirected', 'misdirecting', 'misdirection', 'misdirections', 'misdirects', 'misdoes', 'misdoing', 'misdoings', 'misdone', 'miserable', 'miserableness', 'miserablenesses', 'miserably', 'miseries', 'miserliness', 'miserlinesses', 'miserly', 'misers', 'misery', 'misfeasance', 'misfeasances', 'misfile', 'misfiled', 'misfiles', 'misfiling', 'misfire', 'misfired', 'misfires', 'misfiring', 'misfit', 'misfits', 'misfitted', 'misfitting', 'misfortune', 'misfortunes', 'misgiving', 'misgivings', 'misgovern', 'misgoverned', 'misgoverning', 'misgovernment', 'misgovernments', 'misgoverns', 'misguidance', 'misguidances', 'misguide', 'misguided', 'misguidedly', 'misguides', 'misguiding', 'mishandle', 'mishandled', 'mishandles', 'mishandling', 'mishap', 'mishaps', 'mishear', 'misheard', 'mishearing', 'mishears', 'mishmash', 'mishmashes', 'misidentified', 'misidentifies', 'misidentify', 'misidentifying', 'misinform', 'misinformation', 'misinformations', 'misinformed', 'misinforming', 'misinforms', 'misinterpret', 'misinterpretation', 'misinterpretations', 'misinterpreted', 'misinterpreting', 'misinterprets', 'misjudge', 'misjudged', 'misjudges', 'misjudging', 'misjudgment', 'misjudgments', 'mislabel', 'mislabeled', 'mislabeling', 'mislabelled', 'mislabelling', 'mislabels', 'mislaid', 'mislay', 'mislaying', 'mislays', 'mislead', 'misleading', 'misleadingly', 'misleads', 'misled', 'mismanage', 'mismanaged', 'mismanagement', 'mismanagements', 'mismanages', 'mismanaging', 'mismatch', 'mismatched', 'mismatches', 'mismatching', 'misname', 'misnamed', 'misnames', 'misnaming', 'misnomer', 'misnomers', 'misogamies', 'misogamist', 'misogamists', 'misogamy', 'misogynies', 'misogynist', 'misogynistic', 'misogynists', 'misogynous', 'misogyny', 'misplace', 'misplaced', 'misplacement', 'misplacements', 'misplaces', 'misplacing', 'misplay', 'misplayed', 'misplaying', 'misplays', 'misprint', 'misprinted', 'misprinting', 'misprints', 'misprision', 'misprisions', 'mispronounce', 'mispronounced', 'mispronounces', 'mispronouncing', 'mispronunciation', 'mispronunciations', 'misquotation', 'misquotations', 'misquote', 'misquoted', 'misquotes', 'misquoting', 'misread', 'misreading', 'misreadings', 'misreads', 'misreport', 'misreported', 'misreporting', 'misreports', 'misrepresent', 'misrepresentation', 'misrepresentations', 'misrepresented', 'misrepresenting', 'misrepresents', 'misrule', 'misruled', 'misrules', 'misruling', 'missal', 'missals', 'missed', 'misses', 'misshape', 'misshaped', 'misshapen', 'misshapes', 'misshaping', 'missile', 'missileries', 'missilery', 'missiles', 'missilries', 'missilry', 'missing', 'mission', 'missionaries', 'missionary', 'missioner', 'missioners', 'missions', 'missis', 'missises', 'missive', 'missives', 'misspeak', 'misspeaking', 'misspeaks', 'misspell', 'misspelled', 'misspelling', 'misspellings', 'misspells', 'misspelt', 'misspend', 'misspending', 'misspends', 'misspent', 'misspoke', 'misspoken', 'misstate', 'misstated', 'misstatement', 'misstatements', 'misstates', 'misstating', 'misstep', 'missteps', 'missus', 'missuses', 'mistakable', 'mistake', 'mistaken', 'mistakenly', 'mistakes', 'mistaking', 'misted', 'mister', 'misters', 'mistier', 'mistiest', 'mistily', 'mistime', 'mistimed', 'mistimes', 'mistiming', 'mistiness', 'mistinesses', 'misting', 'mistletoe', 'mistletoes', 'mistook', 'mistral', 'mistrals', 'mistreat', 'mistreated', 'mistreating', 'mistreatment', 'mistreatments', 'mistreats', 'mistress', 'mistresses', 'mistrial', 'mistrials', 'mistrust', 'mistrusted', 'mistrustful', 'mistrustfully', 'mistrusting', 'mistrusts', 'misunderstand', 'misunderstanding', 'misunderstandings', 'misunderstands', 'misunderstood', 'misuse', 'misused', 'misuses', 'misusing', 'mitered', 'mitering', 'miters', 'mitigate', 'mitigated', 'mitigates', 'mitigating', 'mitigation', 'mitigations', 'mitoses', 'mitosis', 'mitotic', 'mitred', 'mitres', 'mitring', 'mitten', 'mittens', 'mixable', 'mixers', 'mixing', 'mixture', 'mixtures', 'mizzen', 'mizzenmast', 'mizzenmasts', 'mizzens', 'mnemonic', 'mnemonically', 'mnemonics', 'moaned', 'moaner', 'moaners', 'moaning', 'mobbed', 'mobbing', 'mobile', 'mobiles', 'mobilities', 'mobility', 'mobilization', 'mobilizations', 'mobilize', 'mobilized', 'mobilizer', 'mobilizers', 'mobilizes', 'mobilizing', 'mobster', 'mobsters', 'moccasin', 'moccasins', 'mochas', 'mocked', 'mocker', 'mockeries', 'mockers', 'mockery', 'mocking', 'mockingbird', 'mockingbirds', 'mockingly', 'mockup', 'mockups', 'modals', 'modeled', 'modeler', 'modelers', 'modeling', 'modelings', 'modelled', 'modelling', 'models', 'modems', 'moderate', 'moderated', 'moderately', 'moderateness', 'moderatenesses', 'moderates', 'moderating', 'moderation', 'moderations', 'moderator', 'moderators', 'modern', 'modernism', 'modernisms', 'modernist', 'modernistic', 'modernists', 'modernities', 'modernity', 'modernization', 'modernizations', 'modernize', 'modernized', 'modernizer', 'modernizers', 'modernizes', 'modernizing', 'modernly', 'modernness', 'modernnesses', 'moderns', 'modest', 'modesties', 'modestly', 'modesty', 'modicum', 'modicums', 'modification', 'modifications', 'modified', 'modifier', 'modifiers', 'modifies', 'modify', 'modifying', 'modish', 'modishly', 'modishness', 'modishnesses', 'modular', 'modulate', 'modulated', 'modulates', 'modulating', 'modulation', 'modulations', 'modulator', 'modulators', 'module', 'modules', 'moguls', 'mohair', 'mohairs', 'moieties', 'moiety', 'moiled', 'moiling', 'moires', 'moisten', 'moistened', 'moistener', 'moisteners', 'moistening', 'moistens', 'moister', 'moistest', 'moistly', 'moistness', 'moistnesses', 'moisture', 'moistures', 'moisturize', 'moisturized', 'moisturizer', 'moisturizers', 'moisturizes', 'moisturizing', 'molars', 'molasses', 'molasseses', 'moldboard', 'moldboards', 'molded', 'molder', 'moldered', 'moldering', 'molders', 'moldier', 'moldiest', 'moldiness', 'moldinesses', 'molding', 'moldings', 'molecular', 'molecularities', 'molecularity', 'molecule', 'molecules', 'molehill', 'molehills', 'moleskin', 'moleskins', 'molest', 'molestation', 'molestations', 'molested', 'molester', 'molesters', 'molesting', 'molests', 'mollies', 'mollification', 'mollifications', 'mollified', 'mollifies', 'mollify', 'mollifying', 'mollusc', 'molluscan', 'molluscans', 'molluscs', 'mollusk', 'molluskan', 'molluskans', 'mollusks', 'mollycoddle', 'mollycoddled', 'mollycoddles', 'mollycoddling', 'molted', 'molten', 'molter', 'molters', 'molting', 'molybdenum', 'molybdenums', 'moment', 'momenta', 'momentarily', 'momentariness', 'momentarinesses', 'momentary', 'momentous', 'momentously', 'momentousness', 'momentousnesses', 'moments', 'momentum', 'momentums', 'mommas', 'mommie', 'mommies', 'monarch', 'monarchic', 'monarchical', 'monarchies', 'monarchism', 'monarchisms', 'monarchist', 'monarchistic', 'monarchists', 'monarchs', 'monarchy', 'monasteries', 'monastery', 'monastic', 'monastical', 'monastically', 'monasticism', 'monasticisms', 'monastics', 'monaural', 'monetarily', 'monetarism', 'monetarisms', 'monetarist', 'monetarists', 'monetary', 'monetize', 'monetized', 'monetizes', 'monetizing', 'moneybag', 'moneybags', 'moneyed', 'moneygrubber', 'moneygrubbers', 'moneygrubbing', 'moneygrubbings', 'moneylender', 'moneylenders', 'moneymaker', 'moneymakers', 'moneymaking', 'moneymakings', 'moneys', 'mongeese', 'monger', 'mongered', 'mongering', 'mongers', 'mongolism', 'mongolisms', 'mongoloid', 'mongoloids', 'mongoose', 'mongooses', 'mongrel', 'mongrels', 'monicker', 'monickers', 'monied', 'monies', 'moniker', 'monikers', 'monism', 'monisms', 'monist', 'monists', 'monition', 'monitions', 'monitor', 'monitored', 'monitoring', 'monitors', 'monitory', 'monkey', 'monkeyed', 'monkeying', 'monkeys', 'monkeyshine', 'monkeyshines', 'monkish', 'monkshood', 'monkshoods', 'monochromatic', 'monochrome', 'monochromes', 'monocle', 'monocled', 'monocles', 'monoclonal', 'monocotyledon', 'monocotyledonous', 'monocotyledons', 'monocular', 'monodic', 'monodies', 'monodist', 'monodists', 'monody', 'monogamies', 'monogamist', 'monogamists', 'monogamous', 'monogamously', 'monogamy', 'monogram', 'monogrammed', 'monogramming', 'monograms', 'monograph', 'monographs', 'monolingual', 'monolinguals', 'monolith', 'monolithic', 'monoliths', 'monolog', 'monologist', 'monologists', 'monologs', 'monologue', 'monologues', 'monologuist', 'monologuists', 'monomania', 'monomaniac', 'monomaniacal', 'monomaniacs', 'monomanias', 'monomer', 'monomers', 'mononucleoses', 'mononucleosis', 'monophonic', 'monoplane', 'monoplanes', 'monopolies', 'monopolist', 'monopolistic', 'monopolists', 'monopolization', 'monopolizations', 'monopolize', 'monopolized', 'monopolizer', 'monopolizers', 'monopolizes', 'monopolizing', 'monopoly', 'monorail', 'monorails', 'monos', 'monosyllabic', 'monosyllable', 'monosyllables', 'monotheism', 'monotheisms', 'monotheist', 'monotheistic', 'monotheists', 'monotone', 'monotones', 'monotonies', 'monotonous', 'monotonously', 'monotonousness', 'monotonousnesses', 'monotony', 'monounsaturated', 'monoxide', 'monoxides', 'monseigneur', 'monsieur', 'monsignor', 'monsignori', 'monsignors', 'monsoon', 'monsoonal', 'monsoons', 'monster', 'monsters', 'monstrance', 'monstrances', 'monstrosities', 'monstrosity', 'monstrous', 'monstrously', 'montage', 'montages', 'monthlies', 'monthly', 'months', 'monument', 'monumental', 'monumentally', 'monuments', 'mooched', 'moocher', 'moochers', 'mooches', 'mooching', 'moodier', 'moodiest', 'moodily', 'moodiness', 'moodinesses', 'mooing', 'moonbeam', 'moonbeams', 'mooned', 'mooning', 'moonless', 'moonlight', 'moonlighted', 'moonlighter', 'moonlighters', 'moonlighting', 'moonlightings', 'moonlights', 'moonlit', 'moonscape', 'moonscapes', 'moonshine', 'moonshiner', 'moonshiners', 'moonshines', 'moonshot', 'moonshots', 'moonstone', 'moonstones', 'moonstruck', 'moonwalk', 'moonwalks', 'moored', 'mooring', 'moorings', 'moorland', 'moorlands', 'mooted', 'mooting', 'mopeds', 'mopers', 'mopier', 'mopiest', 'moping', 'mopish', 'mopped', 'moppet', 'moppets', 'mopping', 'moraine', 'moraines', 'morale', 'morales', 'moralist', 'moralistic', 'moralistically', 'moralists', 'moralities', 'morality', 'moralization', 'moralizations', 'moralize', 'moralized', 'moralizer', 'moralizers', 'moralizes', 'moralizing', 'morally', 'morals', 'morass', 'morasses', 'moratoria', 'moratorium', 'moratoriums', 'morays', 'morbid', 'morbidities', 'morbidity', 'morbidly', 'morbidness', 'morbidnesses', 'mordancies', 'mordancy', 'mordant', 'mordantly', 'mordants', 'morels', 'moreover', 'morgue', 'morgues', 'moribund', 'morning', 'mornings', 'morocco', 'moroccos', 'moronic', 'moronically', 'morons', 'morose', 'morosely', 'moroseness', 'morosenesses', 'morphed', 'morpheme', 'morphemes', 'morphemic', 'morphia', 'morphias', 'morphine', 'morphines', 'morphing', 'morphings', 'morphological', 'morphologies', 'morphology', 'morphs', 'morrow', 'morrows', 'morsel', 'morsels', 'mortal', 'mortalities', 'mortality', 'mortally', 'mortals', 'mortar', 'mortarboard', 'mortarboards', 'mortared', 'mortaring', 'mortars', 'mortgage', 'mortgaged', 'mortgagee', 'mortgagees', 'mortgager', 'mortgagers', 'mortgages', 'mortgaging', 'mortgagor', 'mortgagors', 'mortice', 'morticed', 'mortices', 'mortician', 'morticians', 'morticing', 'mortification', 'mortifications', 'mortified', 'mortifies', 'mortify', 'mortifying', 'mortise', 'mortised', 'mortises', 'mortising', 'mortuaries', 'mortuary', 'mosaic', 'mosaics', 'moseyed', 'moseying', 'moseys', 'moshed', 'moshes', 'moshing', 'mosque', 'mosques', 'mosquito', 'mosquitoes', 'mosquitos', 'mossback', 'mossbacks', 'mosses', 'mossier', 'mossiest', 'mostly', 'mosts', 'motels', 'motets', 'mothball', 'mothballed', 'mothballing', 'mothballs', 'mother', 'motherboard', 'motherboards', 'mothered', 'motherfucker', 'motherfuckers', 'motherfucking', 'motherhood', 'motherhoods', 'mothering', 'motherland', 'motherlands', 'motherless', 'motherliness', 'motherlinesses', 'motherly', 'mothers', 'motifs', 'motile', 'motilities', 'motility', 'motion', 'motioned', 'motioning', 'motionless', 'motionlessly', 'motionlessness', 'motionlessnesses', 'motions', 'motivate', 'motivated', 'motivates', 'motivating', 'motivation', 'motivational', 'motivations', 'motivator', 'motivators', 'motive', 'motiveless', 'motives', 'motley', 'motleys', 'motlier', 'motliest', 'motocross', 'motocrosses', 'motorbike', 'motorbiked', 'motorbikes', 'motorbiking', 'motorboat', 'motorboated', 'motorboating', 'motorboats', 'motorcade', 'motorcades', 'motorcar', 'motorcars', 'motorcycle', 'motorcycled', 'motorcycles', 'motorcycling', 'motorcyclist', 'motorcyclists', 'motored', 'motoring', 'motorist', 'motorists', 'motorization', 'motorizations', 'motorize', 'motorized', 'motorizes', 'motorizing', 'motorman', 'motormen', 'motormouth', 'motormouths', 'motors', 'mottle', 'mottled', 'mottles', 'mottling', 'mottoes', 'mottos', 'moulded', 'moulder', 'mouldered', 'mouldering', 'moulders', 'mouldier', 'mouldiest', 'moulding', 'mouldings', 'moulds', 'mouldy', 'moulted', 'moulting', 'moults', 'mounded', 'mounding', 'mounds', 'mountable', 'mountain', 'mountaineer', 'mountaineered', 'mountaineering', 'mountaineerings', 'mountaineers', 'mountainous', 'mountains', 'mountainside', 'mountainsides', 'mountaintop', 'mountaintops', 'mountebank', 'mountebanks', 'mounted', 'mounter', 'mounters', 'mounting', 'mountings', 'mounts', 'mourned', 'mourner', 'mourners', 'mournful', 'mournfully', 'mournfulness', 'mournfulnesses', 'mourning', 'mournings', 'mourns', 'moused', 'mouser', 'mousers', 'mouses', 'mousetrap', 'mousetrapped', 'mousetrapping', 'mousetraps', 'mousey', 'mousier', 'mousiest', 'mousiness', 'mousinesses', 'mousing', 'mousse', 'moussed', 'mousses', 'moussing', 'moustache', 'moustaches', 'mouthed', 'mouthful', 'mouthfuls', 'mouthier', 'mouthiest', 'mouthiness', 'mouthinesses', 'mouthing', 'mouthpiece', 'mouthpieces', 'mouths', 'mouthwash', 'mouthwashes', 'mouthwatering', 'mouthy', 'mouton', 'moutons', 'movable', 'movables', 'moveable', 'moveables', 'movement', 'movements', 'movers', 'moviegoer', 'moviegoers', 'movies', 'moving', 'movingly', 'mowers', 'mowing', 'moxies', 'mozzarella', 'mozzarellas', 'muches', 'mucilage', 'mucilages', 'mucilaginous', 'mucked', 'muckier', 'muckiest', 'mucking', 'muckrake', 'muckraked', 'muckraker', 'muckrakers', 'muckrakes', 'muckraking', 'mucous', 'mucuses', 'muddied', 'muddier', 'muddies', 'muddiest', 'muddily', 'muddiness', 'muddinesses', 'muddle', 'muddled', 'muddleheaded', 'muddles', 'muddling', 'muddying', 'mudflat', 'mudflats', 'mudguard', 'mudguards', 'mudroom', 'mudrooms', 'mudslide', 'mudslides', 'mudslinger', 'mudslingers', 'mudslinging', 'mudslingings', 'muenster', 'muensters', 'muezzin', 'muezzins', 'muffed', 'muffin', 'muffing', 'muffins', 'muffle', 'muffled', 'muffler', 'mufflers', 'muffles', 'muffling', 'muftis', 'mugful', 'mugfuls', 'mugged', 'mugger', 'muggers', 'muggier', 'muggiest', 'mugginess', 'mugginesses', 'mugging', 'muggings', 'muggle!', 'muggles!', 'mugshot', 'mugshots', 'mugwump', 'mugwumps', 'mujahedin', 'mukluk', 'mukluks', 'mulatto', 'mulattoes', 'mulattos', 'mulberries', 'mulberry', 'mulched', 'mulches', 'mulching', 'mulcted', 'mulcting', 'mulcts', 'muleskinner', 'muleskinners', 'muleteer', 'muleteers', 'mulish', 'mulishly', 'mulishness', 'mulishnesses', 'mullah', 'mullahs', 'mulled', 'mullein', 'mulleins', 'mullet', 'mullets', 'mulligan', 'mulligans', 'mulligatawnies', 'mulligatawny', 'mulling', 'mullion', 'mullioned', 'mullions', 'multicolored', 'multicultural', 'multiculturalism', 'multiculturalisms', 'multidimensional', 'multidisciplinary', 'multifaceted', 'multifamily', 'multifarious', 'multifariously', 'multifariousness', 'multifariousnesses', 'multiform', 'multilateral', 'multilaterally', 'multilevel', 'multilingual', 'multilingualism', 'multilingualisms', 'multimedia', 'multimillionaire', 'multimillionaires', 'multinational', 'multinationals', 'multiplayer!', 'multiple', 'multiples', 'multiplex', 'multiplexed', 'multiplexer', 'multiplexers', 'multiplexes', 'multiplexing', 'multiplexor', 'multiplexors', 'multiplicand', 'multiplicands', 'multiplication', 'multiplications', 'multiplicities', 'multiplicity', 'multiplied', 'multiplier', 'multipliers', 'multiplies', 'multiply', 'multiplying', 'multiprocessor', 'multiprocessors', 'multipurpose', 'multiracial', 'multistage', 'multistory', 'multitasking', 'multitaskings', 'multitude', 'multitudes', 'multitudinous', 'multiverse!', 'multiverses!', 'multivitamin', 'multivitamins', 'mumble', 'mumbled', 'mumbler', 'mumblers', 'mumbles', 'mumbletypeg', 'mumbletypegs', 'mumbling', 'mummer', 'mummeries', 'mummers', 'mummery', 'mummies', 'mummification', 'mummifications', 'mummified', 'mummifies', 'mummify', 'mummifying', 'munched', 'munches', 'munchies', 'munching', 'munchkin', 'munchkins', 'mundane', 'mundanely', 'municipal', 'municipalities', 'municipality', 'municipally', 'municipals', 'munificence', 'munificences', 'munificent', 'munificently', 'munition', 'munitioned', 'munitioning', 'munitions', 'muralist', 'muralists', 'murals', 'murder', 'murdered', 'murderer', 'murderers', 'murderess', 'murderesses', 'murdering', 'murderous', 'murderously', 'murders', 'murkier', 'murkiest', 'murkily', 'murkiness', 'murkinesses', 'murks', 'murmur', 'murmured', 'murmurer', 'murmurers', 'murmuring', 'murmurings', 'murmurous', 'murmurs', 'murrain', 'murrains', 'muscat', 'muscatel', 'muscatels', 'muscats', 'muscle', 'musclebound', 'muscled', 'muscles', 'muscling', 'muscular', 'muscularities', 'muscularity', 'muscularly', 'musculature', 'musculatures', 'musette', 'musettes', 'museum', 'museums', 'mushed', 'mushes', 'mushier', 'mushiest', 'mushiness', 'mushinesses', 'mushing', 'mushroom', 'mushroomed', 'mushrooming', 'mushrooms', 'musical', 'musicale', 'musicales', 'musicalities', 'musicality', 'musically', 'musicals', 'musician', 'musicianly', 'musicians', 'musicianship', 'musicianships', 'musicological', 'musicologies', 'musicologist', 'musicologists', 'musicology', 'musics', 'musing', 'musingly', 'musings', 'muskeg', 'muskegs', 'muskellunge', 'muskellunges', 'musket', 'musketeer', 'musketeers', 'musketries', 'musketry', 'muskets', 'muskie', 'muskier', 'muskies', 'muskiest', 'muskiness', 'muskinesses', 'muskmelon', 'muskmelons', 'muskox', 'muskoxen', 'muskrat', 'muskrats', 'musks', 'muslin', 'muslins', 'mussed', 'mussel', 'mussels', 'musses', 'mussier', 'mussiest', 'mussing', 'mustache', 'mustached', 'mustaches', 'mustachio', 'mustachios', 'mustang', 'mustangs', 'mustard', 'mustards', 'muster', 'mustered', 'mustering', 'musters', 'mustier', 'mustiest', 'mustily', 'mustiness', 'mustinesses', 'mutabilities', 'mutability', 'mutable', 'mutably', 'mutagen', 'mutagens', 'mutant', 'mutants', 'mutate', 'mutated', 'mutates', 'mutating', 'mutation', 'mutational', 'mutations', 'mutative', 'mutely', 'muteness', 'mutenesses', 'mutest', 'mutilate', 'mutilated', 'mutilates', 'mutilating', 'mutilation', 'mutilations', 'mutilator', 'mutilators', 'mutineer', 'mutineers', 'muting', 'mutinied', 'mutinies', 'mutinous', 'mutinously', 'mutiny', 'mutinying', 'mutter', 'muttered', 'mutterer', 'mutterers', 'muttering', 'mutterings', 'mutters', 'mutton', 'muttonchops', 'muttons', 'muttony', 'mutual', 'mutualities', 'mutuality', 'mutually', 'muumuu', 'muumuus', 'muzzle', 'muzzled', 'muzzles', 'muzzling', 'mycologies', 'mycologist', 'mycologists', 'mycology', 'myelitides', 'myelitis', 'mynahs', 'myopia', 'myopias', 'myopic', 'myopically', 'myriad', 'myriads', 'myrmidon', 'myrmidons', 'myrrhs', 'myrtle', 'myrtles', 'myself', 'mysteries', 'mysterious', 'mysteriously', 'mysteriousness', 'mysteriousnesses', 'mystery', 'mystic', 'mystical', 'mystically', 'mysticism', 'mysticisms', 'mystics', 'mystification', 'mystifications', 'mystified', 'mystifies', 'mystify', 'mystifying', 'mystique', 'mystiques', 'mythic', 'mythical', 'mythological', 'mythologies', 'mythologist', 'mythologists', 'mythologize', 'mythologized', 'mythologizes', 'mythologizing', 'mythology', 'nabbed', 'nabbing', 'nabobs', 'nacelle', 'nacelles', 'nachos', 'nacreous', 'nacres', 'nadirs', 'nagged', 'nagger', 'naggers', 'nagging', 'naiades', 'naiads', 'nailbrush', 'nailbrushes', 'nailed', 'nailing', 'naively', 'naiver', 'naivest', 'naivete', 'naivetes', 'naiveties', 'naivety', 'nakedly', 'nakedness', 'nakednesses', 'nameable', 'namedrop', 'namedropped', 'namedropping', 'namedroppings', 'namedrops', 'nameless', 'namelessly', 'namely', 'nameplate', 'nameplates', 'namesake', 'namesakes', 'naming', 'nannies', 'nanosecond', 'nanoseconds', 'nanotechnologies!', 'nanotechnology!', 'napalm', 'napalmed', 'napalming', 'napalms', 'naphtha', 'naphthalene', 'naphthalenes', 'naphthas', 'napkin', 'napkins', 'napless', 'napoleon', 'napoleons', 'napped', 'napper', 'nappers', 'nappier', 'nappies', 'nappiest', 'napping', 'narcissi', 'narcissism', 'narcissisms', 'narcissist', 'narcissistic', 'narcissists', 'narcissus', 'narcissuses', 'narcolepsies', 'narcolepsy', 'narcoses', 'narcosis', 'narcotic', 'narcotics', 'narcotization', 'narcotizations', 'narcotize', 'narcotized', 'narcotizes', 'narcotizing', 'narrate', 'narrated', 'narrates', 'narrating', 'narration', 'narrations', 'narrative', 'narratives', 'narrator', 'narrators', 'narrow', 'narrowed', 'narrower', 'narrowest', 'narrowing', 'narrowly', 'narrowness', 'narrownesses', 'narrows', 'narwhal', 'narwhals', 'nasalities', 'nasality', 'nasalization', 'nasalizations', 'nasalize', 'nasalized', 'nasalizes', 'nasalizing', 'nasally', 'nasals', 'nascence', 'nascences', 'nascent', 'nastier', 'nastiest', 'nastily', 'nastiness', 'nastinesses', 'nasturtium', 'nasturtiums', 'nation', 'national', 'nationalism', 'nationalisms', 'nationalist', 'nationalistic', 'nationalistically', 'nationalists', 'nationalities', 'nationality', 'nationalization', 'nationalizations', 'nationalize', 'nationalized', 'nationalizes', 'nationalizing', 'nationally', 'nationals', 'nationhood', 'nationhoods', 'nations', 'nationwide', 'native', 'natives', 'nativities', 'nativity', 'natter', 'nattered', 'nattering', 'natters', 'nattier', 'nattiest', 'nattily', 'nattiness', 'nattinesses', 'natural', 'naturalism', 'naturalisms', 'naturalist', 'naturalistic', 'naturalists', 'naturalization', 'naturalizations', 'naturalize', 'naturalized', 'naturalizes', 'naturalizing', 'naturally', 'naturalness', 'naturalnesses', 'naturals', 'nature', 'natures', 'naught', 'naughtier', 'naughtiest', 'naughtily', 'naughtiness', 'naughtinesses', 'naughts', 'naughty', 'nausea', 'nauseas', 'nauseate', 'nauseated', 'nauseates', 'nauseating', 'nauseatingly', 'nauseous', 'nauseously', 'nauseousness', 'nauseousnesses', 'nautical', 'nautically', 'nautili', 'nautilus', 'nautiluses', 'navels', 'navies', 'navigabilities', 'navigability', 'navigable', 'navigate', 'navigated', 'navigates', 'navigating', 'navigation', 'navigational', 'navigations', 'navigator', 'navigators', 'naysayer', 'naysayers', 'neanderthal', 'neanderthals', 'nearby', 'neared', 'nearer', 'nearest', 'nearing', 'nearly', 'nearness', 'nearnesses', 'nearsighted', 'nearsightedly', 'nearsightedness', 'nearsightednesses', 'neaten', 'neatened', 'neatening', 'neatens', 'neater', 'neatest', 'neatly', 'neatness', 'neatnesses', 'nebula', 'nebulae', 'nebular', 'nebulas', 'nebulous', 'nebulously', 'nebulousness', 'nebulousnesses', 'necessaries', 'necessarily', 'necessary', 'necessitate', 'necessitated', 'necessitates', 'necessitating', 'necessities', 'necessitous', 'necessity', 'necked', 'neckerchief', 'neckerchiefs', 'neckerchieves', 'necking', 'neckings', 'necklace', 'necklaces', 'neckline', 'necklines', 'necktie', 'neckties', 'necrologies', 'necrology', 'necromancer', 'necromancers', 'necromancies', 'necromancy', 'necropoleis', 'necropoles', 'necropoli', 'necropolis', 'necropolises', 'necroses', 'necrosis', 'necrotic', 'nectar', 'nectarine', 'nectarines', 'nectars', 'needed', 'needful', 'needfully', 'needier', 'neediest', 'neediness', 'needinesses', 'needing', 'needle', 'needled', 'needlepoint', 'needlepoints', 'needles', 'needless', 'needlessly', 'needlessness', 'needlessnesses', 'needlewoman', 'needlewomen', 'needlework', 'needleworks', 'needling', 'nefarious', 'nefariously', 'nefariousness', 'nefariousnesses', 'negate', 'negated', 'negates', 'negating', 'negation', 'negations', 'negative', 'negatived', 'negatively', 'negativeness', 'negativenesses', 'negatives', 'negativing', 'negativism', 'negativisms', 'negativities', 'negativity', 'neglect', 'neglected', 'neglectful', 'neglectfully', 'neglectfulness', 'neglectfulnesses', 'neglecting', 'neglects', 'neglige', 'negligee', 'negligees', 'negligence', 'negligences', 'negligent', 'negligently', 'negliges', 'negligible', 'negligibly', 'negotiabilities', 'negotiability', 'negotiable', 'negotiate', 'negotiated', 'negotiates', 'negotiating', 'negotiation', 'negotiations', 'negotiator', 'negotiators', 'negritude', 'negritudes', 'neighbor', 'neighbored', 'neighborhood', 'neighborhoods', 'neighboring', 'neighborliness', 'neighborlinesses', 'neighborly', 'neighbors', 'neighbour', 'neighboured', 'neighbouring', 'neighbours', 'neighed', 'neighing', 'neighs', 'neither', 'nelson', 'nelsons', 'nematode', 'nematodes', 'nemeses', 'nemesis', 'neoclassic', 'neoclassical', 'neoclassicism', 'neoclassicisms', 'neocolonialism', 'neocolonialisms', 'neocolonialist', 'neocolonialists', 'neocon!', 'neocons!', 'neoconservative', 'neoconservatives', 'neodymium', 'neodymiums', 'neolithic', 'neologism', 'neologisms', 'neonatal', 'neonate', 'neonates', 'neons', 'neophyte', 'neophytes', 'neoplasm', 'neoplasms', 'neoplastic', 'neoprene', 'neoprenes', 'nepenthe', 'nepenthes', 'nephew', 'nephews', 'nephrite', 'nephrites', 'nephritic', 'nephritides', 'nephritis', 'nephritises', 'nepotism', 'nepotisms', 'nepotist', 'nepotists', 'neptunium', 'neptuniums', 'nerdier', 'nerdiest', 'nerved', 'nerveless', 'nervelessly', 'nervelessness', 'nervelessnesses', 'nerves', 'nervier', 'nerviest', 'nerviness', 'nervinesses', 'nerving', 'nervous', 'nervously', 'nervousness', 'nervousnesses', 'nested', 'nesting', 'nestle', 'nestled', 'nestles', 'nestling', 'nestlings', 'netbook!', 'netbooks!', 'nether', 'nethermost', 'netherworld', 'netherworlds', 'netted', 'netting', 'nettings', 'nettle', 'nettled', 'nettles', 'nettlesome', 'nettling', 'network', 'networked', 'networking', 'networkings', 'networks', 'neural', 'neuralgia', 'neuralgias', 'neuralgic', 'neurally', 'neurasthenia', 'neurasthenias', 'neurasthenic', 'neurasthenics', 'neuritic', 'neuritics', 'neuritides', 'neuritis', 'neuritises', 'neurological', 'neurologically', 'neurologies', 'neurologist', 'neurologists', 'neurology', 'neuron', 'neuronal', 'neurons', 'neuroses', 'neurosis', 'neurosurgeon', 'neurosurgeons', 'neurosurgeries', 'neurosurgery', 'neurotic', 'neurotically', 'neurotics', 'neurotransmitter', 'neurotransmitters', 'neuter', 'neutered', 'neutering', 'neuters', 'neutral', 'neutralism', 'neutralisms', 'neutralist', 'neutralists', 'neutralities', 'neutrality', 'neutralization', 'neutralizations', 'neutralize', 'neutralized', 'neutralizer', 'neutralizers', 'neutralizes', 'neutralizing', 'neutrally', 'neutrals', 'neutrino', 'neutrinos', 'neutron', 'neutrons', 'nevermore', 'nevertheless', 'newbie', 'newbies', 'newborn', 'newborns', 'newcomer', 'newcomers', 'newels', 'newest', 'newfangled', 'newlywed', 'newlyweds', 'newness', 'newnesses', 'newsboy', 'newsboys', 'newscast', 'newscaster', 'newscasters', 'newscasts', 'newsdealer', 'newsdealers', 'newsgirl', 'newsgirls', 'newsgroup', 'newsgroups', 'newsier', 'newsiest', 'newsletter', 'newsletters', 'newsman', 'newsmen', 'newspaper', 'newspaperman', 'newspapermen', 'newspapers', 'newspaperwoman', 'newspaperwomen', 'newsprint', 'newsprints', 'newsreel', 'newsreels', 'newsroom', 'newsrooms', 'newsstand', 'newsstands', 'newsweeklies', 'newsweekly', 'newswoman', 'newswomen', 'newsworthiness', 'newsworthinesses', 'newsworthy', 'newton', 'newtons', 'nexts', 'nexuses', 'niacin', 'niacins', 'nibble', 'nibbled', 'nibbler', 'nibblers', 'nibbles', 'nibbling', 'nicely', 'niceness', 'nicenesses', 'nicest', 'niceties', 'nicety', 'niches', 'nicked', 'nickel', 'nickelodeon', 'nickelodeons', 'nickels', 'nicker', 'nickered', 'nickering', 'nickers', 'nicking', 'nicknack', 'nicknacks', 'nickname', 'nicknamed', 'nicknames', 'nicknaming', 'nicotine', 'nicotines', 'nieces', 'niftier', 'niftiest', 'nigga!', 'niggard', 'niggardliness', 'niggardlinesses', 'niggardly', 'niggards', 'niggas!', 'niggaz!', 'nigger', 'niggers', 'niggle', 'niggled', 'niggler', 'nigglers', 'niggles', 'niggling', 'nigher', 'nighest', 'nightcap', 'nightcaps', 'nightclothes', 'nightclub', 'nightclubbed', 'nightclubbing', 'nightclubs', 'nightdress', 'nightdresses', 'nightfall', 'nightfalls', 'nightgown', 'nightgowns', 'nighthawk', 'nighthawks', 'nightie', 'nighties', 'nightingale', 'nightingales', 'nightlife', 'nightlifes', 'nightlong', 'nightly', 'nightmare', 'nightmares', 'nightmarish', 'nights', 'nightshade', 'nightshades', 'nightshirt', 'nightshirts', 'nightspot', 'nightspots', 'nightstand', 'nightstands', 'nightstick', 'nightsticks', 'nighttime', 'nighttimes', 'nightwear', 'nightwears', 'nighty', 'nihilism', 'nihilisms', 'nihilist', 'nihilistic', 'nihilists', 'nimble', 'nimbleness', 'nimblenesses', 'nimbler', 'nimblest', 'nimbly', 'nimbus', 'nimbuses', 'nimrod', 'nimrods', 'nincompoop', 'nincompoops', 'ninepin', 'ninepins', 'nineteen', 'nineteens', 'nineteenth', 'nineteenths', 'nineties', 'ninetieth', 'ninetieths', 'ninety', 'ninjas', 'ninnies', 'ninths', 'niobium', 'niobiums', 'nipped', 'nipper', 'nippers', 'nippier', 'nippiest', 'nippiness', 'nippinesses', 'nipping', 'nipple', 'nipples', 'nirvana', 'nirvanas', 'niseis', 'niters', 'nitpick', 'nitpicked', 'nitpicker', 'nitpickers', 'nitpicking', 'nitpickings', 'nitpicks', 'nitrate', 'nitrated', 'nitrates', 'nitrating', 'nitration', 'nitrations', 'nitres', 'nitrification', 'nitrifications', 'nitrite', 'nitrites', 'nitrocellulose', 'nitrocelluloses', 'nitrogen', 'nitrogenous', 'nitrogens', 'nitroglycerin', 'nitroglycerine', 'nitroglycerines', 'nitroglycerins', 'nitwit', 'nitwits', 'nixing', 'nobelium', 'nobeliums', 'nobilities', 'nobility', 'nobleman', 'noblemen', 'nobleness', 'noblenesses', 'nobler', 'nobles', 'noblest', 'noblewoman', 'noblewomen', 'nobodies', 'nobody', 'nocturnal', 'nocturnally', 'nocturne', 'nocturnes', 'nodded', 'nodding', 'noddle', 'noddles', 'nodular', 'nodule', 'nodules', 'noggin', 'noggins', 'noised', 'noiseless', 'noiselessly', 'noiselessness', 'noiselessnesses', 'noisemaker', 'noisemakers', 'noises', 'noisier', 'noisiest', 'noisily', 'noisiness', 'noisinesses', 'noising', 'noisome', 'nomadic', 'nomads', 'nomenclature', 'nomenclatures', 'nominal', 'nominally', 'nominate', 'nominated', 'nominates', 'nominating', 'nomination', 'nominations', 'nominative', 'nominatives', 'nominator', 'nominators', 'nominee', 'nominees', 'nonabrasive', 'nonabsorbent', 'nonabsorbents', 'nonacademic', 'nonacceptance', 'nonacceptances', 'nonacid', 'nonactive', 'nonactives', 'nonaddictive', 'nonadhesive', 'nonadjacent', 'nonadjustable', 'nonadministrative', 'nonage', 'nonagenarian', 'nonagenarians', 'nonages', 'nonaggression', 'nonaggressions', 'nonalcoholic', 'nonaligned', 'nonalignment', 'nonalignments', 'nonallergic', 'nonappearance', 'nonappearances', 'nonassignable', 'nonathletic', 'nonattendance', 'nonattendances', 'nonautomotive', 'nonavailabilities', 'nonavailability', 'nonbasic', 'nonbeliever', 'nonbelievers', 'nonbelligerent', 'nonbelligerents', 'nonbinding', 'nonbreakable', 'nonburnable', 'noncaloric', 'noncancerous', 'nonces', 'nonchalance', 'nonchalances', 'nonchalant', 'nonchalantly', 'nonchargeable', 'nonclerical', 'nonclericals', 'nonclinical', 'noncollectable', 'noncom', 'noncombat', 'noncombatant', 'noncombatants', 'noncombustible', 'noncommercial', 'noncommercials', 'noncommittal', 'noncommittally', 'noncommunicable', 'noncompeting', 'noncompetitive', 'noncompliance', 'noncompliances', 'noncomplying', 'noncomprehending', 'noncoms', 'nonconducting', 'nonconductor', 'nonconductors', 'nonconforming', 'nonconformist', 'nonconformists', 'nonconformities', 'nonconformity', 'nonconsecutive', 'nonconstructive', 'noncontagious', 'noncontinuous', 'noncontributing', 'noncontributory', 'noncontroversial', 'nonconvertible', 'noncooperation', 'noncooperations', 'noncorroding', 'noncorrosive', 'noncredit', 'noncriminal', 'noncriminals', 'noncritical', 'noncrystalline', 'noncumulative', 'noncustodial', 'nondairy', 'nondeductible', 'nondeliveries', 'nondelivery', 'nondemocratic', 'nondenominational', 'nondepartmental', 'nondepreciating', 'nondescript', 'nondestructive', 'nondetachable', 'nondisciplinary', 'nondisclosure', 'nondisclosures', 'nondiscrimination', 'nondiscriminations', 'nondiscriminatory', 'nondramatic', 'nondrinker', 'nondrinkers', 'nondrying', 'noneducational', 'noneffective', 'nonelastic', 'nonelectric', 'nonelectrical', 'nonenforceable', 'nonentities', 'nonentity', 'nonequivalent', 'nonequivalents', 'nonessential', 'nonesuch', 'nonesuches', 'nonetheless', 'nonevent', 'nonevents', 'nonexchangeable', 'nonexclusive', 'nonexempt', 'nonexempts', 'nonexistence', 'nonexistences', 'nonexistent', 'nonexplosive', 'nonexplosives', 'nonfactual', 'nonfading', 'nonfat', 'nonfatal', 'nonfattening', 'nonferrous', 'nonfiction', 'nonfictional', 'nonfictions', 'nonflammable', 'nonflowering', 'nonfluctuating', 'nonflying', 'nonfood', 'nonfoods', 'nonfreezing', 'nonfunctional', 'nongovernmental', 'nongranular', 'nonhazardous', 'nonhereditary', 'nonhuman', 'nonidentical', 'noninclusive', 'nonindependent', 'nonindustrial', 'noninfectious', 'noninflammatory', 'noninflationary', 'noninflected', 'nonintellectual', 'nonintellectuals', 'noninterchangeable', 'noninterference', 'noninterferences', 'nonintervention', 'noninterventions', 'nonintoxicating', 'noninvasive', 'nonirritating', 'nonjudgmental', 'nonjudicial', 'nonlegal', 'nonlethal', 'nonlinear', 'nonliterary', 'nonliving', 'nonlivings', 'nonmagnetic', 'nonmalignant', 'nonmember', 'nonmembers', 'nonmetal', 'nonmetallic', 'nonmetals', 'nonmigratory', 'nonmilitant', 'nonmilitary', 'nonnarcotic', 'nonnarcotics', 'nonnative', 'nonnatives', 'nonnegotiable', 'nonnuclear', 'nonnumerical', 'nonobjective', 'nonobligatory', 'nonobservance', 'nonobservances', 'nonobservant', 'nonoccupational', 'nonoccurrence', 'nonoccurrences', 'nonofficial', 'nonoperational', 'nonoperative', 'nonparallel', 'nonparallels', 'nonpareil', 'nonpareils', 'nonparticipant', 'nonparticipants', 'nonparticipating', 'nonpartisan', 'nonpartisans', 'nonpaying', 'nonpayment', 'nonpayments', 'nonperformance', 'nonperformances', 'nonperforming', 'nonperishable', 'nonperson', 'nonpersons', 'nonphysical', 'nonphysically', 'nonplus', 'nonplused', 'nonpluses', 'nonplusing', 'nonplussed', 'nonplusses', 'nonplussing', 'nonpoisonous', 'nonpolitical', 'nonpolluting', 'nonporous', 'nonpracticing', 'nonprejudicial', 'nonprescription', 'nonproductive', 'nonprofessional', 'nonprofessionals', 'nonprofit', 'nonprofitable', 'nonprofits', 'nonproliferation', 'nonproliferations', 'nonpublic', 'nonpunishable', 'nonracial', 'nonradioactive', 'nonrandom', 'nonreactive', 'nonreciprocal', 'nonreciprocals', 'nonreciprocating', 'nonrecognition', 'nonrecognitions', 'nonrecoverable', 'nonrecurring', 'nonredeemable', 'nonrefillable', 'nonrefundable', 'nonreligious', 'nonrenewable', 'nonrepresentational', 'nonresident', 'nonresidential', 'nonresidents', 'nonresidual', 'nonresiduals', 'nonresistance', 'nonresistances', 'nonresistant', 'nonrestrictive', 'nonreturnable', 'nonreturnables', 'nonrhythmic', 'nonrigid', 'nonsalaried', 'nonscheduled', 'nonscientific', 'nonscoring', 'nonseasonal', 'nonsectarian', 'nonsecular', 'nonsegregated', 'nonsense', 'nonsenses', 'nonsensical', 'nonsensically', 'nonsensitive', 'nonsexist', 'nonsexual', 'nonskid', 'nonslip', 'nonsmoker', 'nonsmokers', 'nonsmoking', 'nonsocial', 'nonspeaking', 'nonspecialist', 'nonspecialists', 'nonspecializing', 'nonspecific', 'nonspiritual', 'nonspirituals', 'nonstaining', 'nonstandard', 'nonstarter', 'nonstarters', 'nonstick', 'nonstop', 'nonstrategic', 'nonstriking', 'nonstructural', 'nonsuccessive', 'nonsupport', 'nonsupporting', 'nonsupports', 'nonsurgical', 'nonsustaining', 'nonsympathizer', 'nonsympathizers', 'nontarnishable', 'nontaxable', 'nontechnical', 'nontenured', 'nontheatrical', 'nonthinking', 'nonthreatening', 'nontoxic', 'nontraditional', 'nontransferable', 'nontransparent', 'nontropical', 'nonuniform', 'nonunion', 'nonuser', 'nonusers', 'nonvenomous', 'nonverbal', 'nonviable', 'nonviolence', 'nonviolences', 'nonviolent', 'nonviolently', 'nonvirulent', 'nonvocal', 'nonvocational', 'nonvolatile', 'nonvoter', 'nonvoters', 'nonvoting', 'nonwhite', 'nonwhites', 'nonworking', 'nonyielding', 'noodle', 'noodled', 'noodles', 'noodling', 'noonday', 'noondays', 'noons', 'noontide', 'noontides', 'noontime', 'noontimes', 'nooses', 'normal', 'normalcies', 'normalcy', 'normalities', 'normality', 'normalization', 'normalizations', 'normalize', 'normalized', 'normalizes', 'normalizing', 'normally', 'normals', 'normative', 'northbound', 'northeast', 'northeaster', 'northeasterly', 'northeastern', 'northeasters', 'northeasts', 'northeastward', 'northeastwards', 'norther', 'northerlies', 'northerly', 'northern', 'northerner', 'northerners', 'northernmost', 'northers', 'norths', 'northward', 'northwards', 'northwest', 'northwester', 'northwesterly', 'northwestern', 'northwesters', 'northwests', 'northwestward', 'northwestwards', 'nosebleed', 'nosebleeds', 'nosecone', 'nosecones', 'nosedive', 'nosedived', 'nosedives', 'nosediving', 'nosedove', 'nosegay', 'nosegays', 'noshed', 'nosher', 'noshers', 'noshes', 'noshing', 'nosier', 'nosiest', 'nosily', 'nosiness', 'nosinesses', 'nosing', 'nostalgia', 'nostalgias', 'nostalgic', 'nostalgically', 'nostril', 'nostrils', 'nostrum', 'nostrums', 'notabilities', 'notability', 'notable', 'notables', 'notably', 'notarial', 'notaries', 'notarization', 'notarizations', 'notarize', 'notarized', 'notarizes', 'notarizing', 'notary', 'notate', 'notated', 'notates', 'notating', 'notation', 'notations', 'notched', 'notches', 'notching', 'notebook', 'notebooks', 'notepaper', 'notepapers', 'noteworthier', 'noteworthiest', 'noteworthiness', 'noteworthinesses', 'noteworthy', 'nothing', 'nothingness', 'nothingnesses', 'nothings', 'notice', 'noticeable', 'noticeably', 'noticed', 'notices', 'noticing', 'notification', 'notifications', 'notified', 'notifier', 'notifiers', 'notifies', 'notify', 'notifying', 'noting', 'notion', 'notional', 'notions', 'notorieties', 'notoriety', 'notorious', 'notoriously', 'notwithstanding', 'nougat', 'nougats', 'nought', 'noughts', 'nourish', 'nourished', 'nourishes', 'nourishing', 'nourishment', 'nourishments', 'novelette', 'novelettes', 'novelist', 'novelists', 'novelization', 'novelizations', 'novelize', 'novelized', 'novelizes', 'novelizing', 'novella', 'novellas', 'novelle', 'novels', 'novelties', 'novelty', 'novena', 'novenae', 'novenas', 'novice', 'novices', 'novitiate', 'novitiates', 'nowadays', 'noways', 'nowhere', 'nowheres', 'nowise', 'noxious', 'nozzle', 'nozzles', 'nuance', 'nuanced', 'nuances', 'nubbier', 'nubbiest', 'nubbin', 'nubbins', 'nubile', 'nuclear', 'nucleate', 'nucleated', 'nucleates', 'nucleating', 'nucleation', 'nucleations', 'nuclei', 'nucleoli', 'nucleolus', 'nucleon', 'nucleons', 'nucleus', 'nucleuses', 'nudest', 'nudged', 'nudges', 'nudging', 'nudism', 'nudisms', 'nudist', 'nudists', 'nudities', 'nudity', 'nugatory', 'nugget', 'nuggets', 'nuisance', 'nuisances', 'nuking', 'nullification', 'nullifications', 'nullified', 'nullifies', 'nullify', 'nullifying', 'nullities', 'nullity', 'numbed', 'number', 'numbered', 'numbering', 'numberless', 'numbers', 'numbest', 'numbing', 'numbly', 'numbness', 'numbnesses', 'numbskull', 'numbskulls', 'numerable', 'numeracies', 'numeracy', 'numeral', 'numerals', 'numerate', 'numerated', 'numerates', 'numerating', 'numeration', 'numerations', 'numerator', 'numerators', 'numeric', 'numerical', 'numerically', 'numerologies', 'numerologist', 'numerologists', 'numerology', 'numerous', 'numerously', 'numinous', 'numismatic', 'numismatics', 'numismatist', 'numismatists', 'numskull', 'numskulls', 'nuncio', 'nuncios', 'nunneries', 'nunnery', 'nuptial', 'nuptials', 'nursed', 'nurseling', 'nurselings', 'nursemaid', 'nursemaids', 'nurser', 'nurseries', 'nursers', 'nursery', 'nurseryman', 'nurserymen', 'nurses', 'nursing', 'nursings', 'nursling', 'nurslings', 'nurture', 'nurtured', 'nurturer', 'nurturers', 'nurtures', 'nurturing', 'nutcracker', 'nutcrackers', 'nuthatch', 'nuthatches', 'nutmeat', 'nutmeats', 'nutmeg', 'nutmegs', 'nutpick', 'nutpicks', 'nutria', 'nutrias', 'nutrient', 'nutrients', 'nutriment', 'nutriments', 'nutrition', 'nutritional', 'nutritionally', 'nutritionist', 'nutritionists', 'nutritions', 'nutritious', 'nutritiously', 'nutritiousness', 'nutritiousnesses', 'nutritive', 'nutshell', 'nutshells', 'nutted', 'nuttier', 'nuttiest', 'nuttiness', 'nuttinesses', 'nutting', 'nuzzle', 'nuzzled', 'nuzzler', 'nuzzlers', 'nuzzles', 'nuzzling', 'nylons', 'nymphet', 'nymphets', 'nymphomania', 'nymphomaniac', 'nymphomaniacs', 'nymphomanias', 'nymphs', 'oafish', 'oafishly', 'oafishness', 'oafishnesses', 'oakums', 'oaring', 'oarlock', 'oarlocks', 'oarsman', 'oarsmen', 'oarswoman', 'oarswomen', 'oatcake', 'oatcakes', 'oatmeal', 'oatmeals', 'obbligati', 'obbligato', 'obbligatos', 'obduracies', 'obduracy', 'obdurate', 'obdurately', 'obdurateness', 'obduratenesses', 'obedience', 'obediences', 'obedient', 'obediently', 'obeisance', 'obeisances', 'obeisant', 'obelisk', 'obelisks', 'obesities', 'obesity', 'obeyed', 'obeying', 'obfuscate', 'obfuscated', 'obfuscates', 'obfuscating', 'obfuscation', 'obfuscations', 'obituaries', 'obituary', 'object', 'objected', 'objectified', 'objectifies', 'objectify', 'objectifying', 'objecting', 'objection', 'objectionable', 'objectionably', 'objections', 'objective', 'objectively', 'objectiveness', 'objectivenesses', 'objectives', 'objectivities', 'objectivity', 'objector', 'objectors', 'objects', 'objurgate', 'objurgated', 'objurgates', 'objurgating', 'objurgation', 'objurgations', 'oblate', 'oblation', 'oblations', 'obligate', 'obligated', 'obligates', 'obligating', 'obligation', 'obligations', 'obligatorily', 'obligatory', 'oblige', 'obliged', 'obliges', 'obliging', 'obligingly', 'oblique', 'obliquely', 'obliqueness', 'obliquenesses', 'obliques', 'obliquities', 'obliquity', 'obliterate', 'obliterated', 'obliterates', 'obliterating', 'obliteration', 'obliterations', 'oblivion', 'oblivions', 'oblivious', 'obliviously', 'obliviousness', 'obliviousnesses', 'oblong', 'oblongs', 'obloquies', 'obloquy', 'obnoxious', 'obnoxiously', 'obnoxiousness', 'obnoxiousnesses', 'oboist', 'oboists', 'obscene', 'obscenely', 'obscener', 'obscenest', 'obscenities', 'obscenity', 'obscurantism', 'obscurantisms', 'obscurantist', 'obscurantists', 'obscure', 'obscured', 'obscurely', 'obscurer', 'obscures', 'obscurest', 'obscuring', 'obscurities', 'obscurity', 'obsequies', 'obsequious', 'obsequiously', 'obsequiousness', 'obsequiousnesses', 'obsequy', 'observable', 'observably', 'observance', 'observances', 'observant', 'observantly', 'observation', 'observational', 'observations', 'observatories', 'observatory', 'observe', 'observed', 'observer', 'observers', 'observes', 'observing', 'obsess', 'obsessed', 'obsesses', 'obsessing', 'obsession', 'obsessional', 'obsessions', 'obsessive', 'obsessively', 'obsessiveness', 'obsessivenesses', 'obsessives', 'obsidian', 'obsidians', 'obsolesce', 'obsolesced', 'obsolescence', 'obsolescences', 'obsolescent', 'obsolesces', 'obsolescing', 'obsolete', 'obsoleted', 'obsoletes', 'obsoleting', 'obstacle', 'obstacles', 'obstetric', 'obstetrical', 'obstetrician', 'obstetricians', 'obstetrics', 'obstinacies', 'obstinacy', 'obstinate', 'obstinately', 'obstreperous', 'obstreperously', 'obstreperousness', 'obstreperousnesses', 'obstruct', 'obstructed', 'obstructing', 'obstruction', 'obstructionism', 'obstructionisms', 'obstructionist', 'obstructionists', 'obstructions', 'obstructive', 'obstructively', 'obstructiveness', 'obstructivenesses', 'obstructs', 'obtain', 'obtainable', 'obtained', 'obtaining', 'obtainment', 'obtainments', 'obtains', 'obtrude', 'obtruded', 'obtrudes', 'obtruding', 'obtrusion', 'obtrusions', 'obtrusive', 'obtrusively', 'obtrusiveness', 'obtrusivenesses', 'obtuse', 'obtusely', 'obtuseness', 'obtusenesses', 'obtuser', 'obtusest', 'obverse', 'obverses', 'obviate', 'obviated', 'obviates', 'obviating', 'obviation', 'obviations', 'obvious', 'obviously', 'obviousness', 'obviousnesses', 'ocarina', 'ocarinas', 'occasion', 'occasional', 'occasionally', 'occasioned', 'occasioning', 'occasions', 'occidental', 'occidentals', 'occlude', 'occluded', 'occludes', 'occluding', 'occlusion', 'occlusions', 'occlusive', 'occult', 'occultism', 'occultisms', 'occultist', 'occultists', 'occults', 'occupancies', 'occupancy', 'occupant', 'occupants', 'occupation', 'occupational', 'occupationally', 'occupations', 'occupied', 'occupier', 'occupiers', 'occupies', 'occupy', 'occupying', 'occurred', 'occurrence', 'occurrences', 'occurring', 'occurs', 'oceanfront', 'oceanfronts', 'oceangoing', 'oceanic', 'oceanographer', 'oceanographers', 'oceanographic', 'oceanographies', 'oceanography', 'oceanologies', 'oceanology', 'oceans', 'ocelot', 'ocelots', 'ochers', 'ochres', 'octagon', 'octagonal', 'octagons', 'octane', 'octanes', 'octave', 'octaves', 'octavo', 'octavos', 'octets', 'octette', 'octettes', 'octogenarian', 'octogenarians', 'octopi', 'octopus', 'octopuses', 'ocular', 'oculars', 'oculist', 'oculists', 'odalisque', 'odalisques', 'oddball', 'oddballs', 'oddest', 'oddities', 'oddity', 'oddment', 'oddments', 'oddness', 'oddnesses', 'odious', 'odiously', 'odiousness', 'odiousnesses', 'odiums', 'odometer', 'odometers', 'odored', 'odoriferous', 'odorless', 'odorous', 'odours', 'odyssey', 'odysseys', 'oedipal', 'oenologies', 'oenology', 'oenophile', 'oenophiles', 'oesophagi', 'oesophagus', 'oeuvre', 'oeuvres', 'offals', 'offbeat', 'offbeats', 'offence', 'offences', 'offend', 'offended', 'offender', 'offenders', 'offending', 'offends', 'offense', 'offenses', 'offensive', 'offensively', 'offensiveness', 'offensivenesses', 'offensives', 'offered', 'offering', 'offerings', 'offers', 'offertories', 'offertory', 'offhand', 'offhanded', 'offhandedly', 'offhandedness', 'offhandednesses', 'office', 'officeholder', 'officeholders', 'officer', 'officers', 'offices', 'official', 'officialdom', 'officialdoms', 'officialism', 'officialisms', 'officially', 'officials', 'officiant', 'officiants', 'officiate', 'officiated', 'officiates', 'officiating', 'officiator', 'officiators', 'officious', 'officiously', 'officiousness', 'officiousnesses', 'offing', 'offings', 'offish', 'offline', 'offload', 'offloaded', 'offloading', 'offloads', 'offprint', 'offprints', 'offset', 'offsets', 'offsetting', 'offshoot', 'offshoots', 'offshore', 'offshoring!', 'offshorings!', 'offside', 'offspring', 'offsprings', 'offstage', 'offtrack', 'oftener', 'oftenest', 'oftentimes', 'ofttimes', 'oglers', 'ogling', 'ogreish', 'ogress', 'ogresses', 'ohmmeter', 'ohmmeters', 'oilcloth', 'oilcloths', 'oilier', 'oiliest', 'oiliness', 'oilinesses', 'oiling', 'oilskin', 'oilskins', 'oinked', 'oinking', 'ointment', 'ointments', 'okapis', 'okayed', 'okaying', 'oldest', 'oldies', 'oldish', 'oldness', 'oldnesses', 'oldster', 'oldsters', 'oleaginous', 'oleander', 'oleanders', 'oleomargarin', 'oleomargarine', 'oleomargarines', 'oleomargarins', 'oleos', 'olfactories', 'olfactory', 'oligarch', 'oligarchic', 'oligarchical', 'oligarchies', 'oligarchs', 'oligarchy', 'oligopolies', 'oligopoly', 'olives', 'ombudsman', 'ombudsmen', 'omegas', 'omelet', 'omelets', 'omelette', 'omelettes', 'omicron', 'omicrons', 'ominous', 'ominously', 'ominousness', 'ominousnesses', 'omission', 'omissions', 'omitted', 'omitting', 'omnibus', 'omnibuses', 'omnibusses', 'omnipotence', 'omnipotences', 'omnipotent', 'omnipresence', 'omnipresences', 'omnipresent', 'omniscience', 'omnisciences', 'omniscient', 'omnivore', 'omnivores', 'omnivorous', 'omnivorously', 'omnivorousness', 'omnivorousnesses', 'onces', 'oncogene', 'oncogenes', 'oncologies', 'oncologist', 'oncologists', 'oncology', 'oncoming', 'oneness', 'onenesses', 'onerous', 'onerously', 'onerousness', 'onerousnesses', 'oneself', 'onetime', 'ongoing', 'onions', 'onionskin', 'onionskins', 'online', 'onlooker', 'onlookers', 'onlooking', 'onomatopoeia', 'onomatopoeias', 'onomatopoeic', 'onomatopoetic', 'onrush', 'onrushes', 'onrushing', 'onscreen', 'onsets', 'onshore', 'onside', 'onslaught', 'onslaughts', 'onstage', 'ontogenies', 'ontogeny', 'ontological', 'ontologies', 'ontology', 'onuses', 'onward', 'onwards', 'onyxes', 'oodles', 'oohing', 'oozier', 'ooziest', 'oozing', 'opacities', 'opacity', 'opalescence', 'opalescences', 'opalescent', 'opaque', 'opaqued', 'opaquely', 'opaqueness', 'opaquenesses', 'opaquer', 'opaques', 'opaquest', 'opaquing', 'opened', 'opener', 'openers', 'openest', 'openhanded', 'openhandedness', 'openhandednesses', 'openhearted', 'opening', 'openings', 'openly', 'openness', 'opennesses', 'openwork', 'openworks', 'operable', 'operas', 'operate', 'operated', 'operates', 'operatic', 'operatically', 'operating', 'operation', 'operational', 'operationally', 'operations', 'operative', 'operatives', 'operator', 'operators', 'operetta', 'operettas', 'ophthalmic', 'ophthalmologies', 'ophthalmologist', 'ophthalmologists', 'ophthalmology', 'opiate', 'opiates', 'opined', 'opines', 'opining', 'opinion', 'opinionated', 'opinions', 'opiums', 'opossum', 'opossums', 'opponent', 'opponents', 'opportune', 'opportunely', 'opportunism', 'opportunisms', 'opportunist', 'opportunistic', 'opportunistically', 'opportunists', 'opportunities', 'opportunity', 'oppose', 'opposed', 'opposes', 'opposing', 'opposite', 'oppositely', 'opposites', 'opposition', 'oppositions', 'oppress', 'oppressed', 'oppresses', 'oppressing', 'oppression', 'oppressions', 'oppressive', 'oppressively', 'oppressiveness', 'oppressivenesses', 'oppressor', 'oppressors', 'opprobrious', 'opprobriously', 'opprobrium', 'opprobriums', 'optical', 'optically', 'optician', 'opticians', 'optics', 'optima', 'optimal', 'optimally', 'optimism', 'optimisms', 'optimist', 'optimistic', 'optimistically', 'optimists', 'optimization', 'optimizations', 'optimize', 'optimized', 'optimizes', 'optimizing', 'optimum', 'optimums', 'opting', 'option', 'optional', 'optionally', 'optioned', 'optioning', 'options', 'optometries', 'optometrist', 'optometrists', 'optometry', 'opulence', 'opulences', 'opulent', 'opulently', 'opuses', 'oracle', 'oracles', 'oracular', 'orally', 'orange', 'orangeade', 'orangeades', 'oranger', 'orangeries', 'orangery', 'oranges', 'orangest', 'orangutan', 'orangutang', 'orangutangs', 'orangutans', 'orated', 'orates', 'orating', 'oration', 'orations', 'orator', 'oratorical', 'oratorically', 'oratories', 'oratorio', 'oratorios', 'orators', 'oratory', 'orbicular', 'orbital', 'orbitals', 'orbited', 'orbiter', 'orbiters', 'orbiting', 'orbits', 'orchard', 'orchards', 'orchestra', 'orchestral', 'orchestras', 'orchestrate', 'orchestrated', 'orchestrates', 'orchestrating', 'orchestration', 'orchestrations', 'orchid', 'orchids', 'ordain', 'ordained', 'ordaining', 'ordainment', 'ordainments', 'ordains', 'ordeal', 'ordeals', 'ordered', 'ordering', 'orderlies', 'orderliness', 'orderlinesses', 'orderly', 'orders', 'ordinal', 'ordinals', 'ordinance', 'ordinances', 'ordinaries', 'ordinarily', 'ordinariness', 'ordinarinesses', 'ordinary', 'ordinate', 'ordinates', 'ordination', 'ordinations', 'ordnance', 'ordnances', 'ordure', 'ordures', 'oregano', 'oreganos', 'organdie', 'organdies', 'organdy', 'organelle', 'organelles', 'organic', 'organically', 'organics', 'organism', 'organismic', 'organisms', 'organist', 'organists', 'organization', 'organizational', 'organizationally', 'organizations', 'organize', 'organized', 'organizer', 'organizers', 'organizes', 'organizing', 'organs', 'organza', 'organzas', 'orgasm', 'orgasmic', 'orgasms', 'orgiastic', 'orgies', 'oriels', 'orient', 'oriental', 'orientals', 'orientate', 'orientated', 'orientates', 'orientating', 'orientation', 'orientations', 'oriented', 'orienting', 'orients', 'orifice', 'orifices', 'origami', 'origamis', 'origin', 'original', 'originalities', 'originality', 'originally', 'originals', 'originate', 'originated', 'originates', 'originating', 'origination', 'originations', 'originator', 'originators', 'origins', 'oriole', 'orioles', 'orison', 'orisons', 'ormolu', 'ormolus', 'ornament', 'ornamental', 'ornamentation', 'ornamentations', 'ornamented', 'ornamenting', 'ornaments', 'ornate', 'ornately', 'ornateness', 'ornatenesses', 'ornerier', 'orneriest', 'orneriness', 'ornerinesses', 'ornery', 'ornithological', 'ornithologies', 'ornithologist', 'ornithologists', 'ornithology', 'orotund', 'orotundities', 'orotundity', 'orphan', 'orphanage', 'orphanages', 'orphaned', 'orphaning', 'orphans', 'orrises', 'orthodontia', 'orthodontias', 'orthodontic', 'orthodontics', 'orthodontist', 'orthodontists', 'orthodox', 'orthodoxies', 'orthodoxy', 'orthographic', 'orthographically', 'orthographies', 'orthography', 'orthopaedic', 'orthopaedics', 'orthopaedist', 'orthopaedists', 'orthopedic', 'orthopedics', 'orthopedist', 'orthopedists', 'orzos', 'oscillate', 'oscillated', 'oscillates', 'oscillating', 'oscillation', 'oscillations', 'oscillator', 'oscillators', 'oscillatory', 'oscilloscope', 'oscilloscopes', 'osculate', 'osculated', 'osculates', 'osculating', 'osculation', 'osculations', 'osiers', 'osmium', 'osmiums', 'osmoses', 'osmosis', 'osmotic', 'osprey', 'ospreys', 'ossification', 'ossifications', 'ossified', 'ossifies', 'ossify', 'ossifying', 'ostensible', 'ostensibly', 'ostentation', 'ostentations', 'ostentatious', 'ostentatiously', 'osteoarthritides', 'osteoarthritis', 'osteopath', 'osteopathic', 'osteopathies', 'osteopaths', 'osteopathy', 'osteoporoses', 'osteoporosis', 'ostracism', 'ostracisms', 'ostracize', 'ostracized', 'ostracizes', 'ostracizing', 'ostrich', 'ostriches', 'others', 'otherwise', 'otherworldly', 'otiose', 'otters', 'ottoman', 'ottomans', 'oubliette', 'oubliettes', 'ounces', 'ourselves', 'ousted', 'ouster', 'ousters', 'ousting', 'outage', 'outages', 'outargue', 'outargued', 'outargues', 'outarguing', 'outback', 'outbacks', 'outbalance', 'outbalanced', 'outbalances', 'outbalancing', 'outbid', 'outbidding', 'outbids', 'outboard', 'outboards', 'outboast', 'outboasted', 'outboasting', 'outboasts', 'outbound', 'outbox', 'outboxed', 'outboxes', 'outboxing', 'outbreak', 'outbreaks', 'outbuilding', 'outbuildings', 'outburst', 'outbursts', 'outcast', 'outcasts', 'outclass', 'outclassed', 'outclasses', 'outclassing', 'outcome', 'outcomes', 'outcries', 'outcrop', 'outcropped', 'outcropping', 'outcroppings', 'outcrops', 'outcry', 'outdated', 'outdid', 'outdistance', 'outdistanced', 'outdistances', 'outdistancing', 'outdoes', 'outdoing', 'outdone', 'outdoor', 'outdoors', 'outdoorsy', 'outdraw', 'outdrawing', 'outdrawn', 'outdraws', 'outdrew', 'outermost', 'outerwear', 'outerwears', 'outface', 'outfaced', 'outfaces', 'outfacing', 'outfield', 'outfielder', 'outfielders', 'outfields', 'outfight', 'outfighting', 'outfights', 'outfit', 'outfits', 'outfitted', 'outfitter', 'outfitters', 'outfitting', 'outflank', 'outflanked', 'outflanking', 'outflanks', 'outflow', 'outflows', 'outfought', 'outfox', 'outfoxed', 'outfoxes', 'outfoxing', 'outgoes', 'outgoing', 'outgrew', 'outgrow', 'outgrowing', 'outgrown', 'outgrows', 'outgrowth', 'outgrowths', 'outguess', 'outguessed', 'outguesses', 'outguessing', 'outgun', 'outgunned', 'outgunning', 'outguns', 'outhit', 'outhits', 'outhitting', 'outhouse', 'outhouses', 'outing', 'outings', 'outlaid', 'outlandish', 'outlandishly', 'outlandishness', 'outlandishnesses', 'outlast', 'outlasted', 'outlasting', 'outlasts', 'outlaw', 'outlawed', 'outlawing', 'outlaws', 'outlay', 'outlaying', 'outlays', 'outlet', 'outlets', 'outline', 'outlined', 'outlines', 'outlining', 'outlive', 'outlived', 'outlives', 'outliving', 'outlook', 'outlooks', 'outlying', 'outmaneuver', 'outmaneuvered', 'outmaneuvering', 'outmaneuvers', 'outmanoeuvre', 'outmanoeuvred', 'outmanoeuvres', 'outmanoeuvring', 'outmatch', 'outmatched', 'outmatches', 'outmatching', 'outmoded', 'outnumber', 'outnumbered', 'outnumbering', 'outnumbers', 'outpatient', 'outpatients', 'outperform', 'outperformed', 'outperforming', 'outperforms', 'outplace', 'outplaced', 'outplacement', 'outplacements', 'outplaces', 'outplacing', 'outplay', 'outplayed', 'outplaying', 'outplays', 'outpoint', 'outpointed', 'outpointing', 'outpoints', 'outpost', 'outposts', 'outpouring', 'outpourings', 'outproduce', 'outproduced', 'outproduces', 'outproducing', 'output', 'outputs', 'outputted', 'outputting', 'outrace', 'outraced', 'outraces', 'outracing', 'outrage', 'outraged', 'outrageous', 'outrageously', 'outrages', 'outraging', 'outran', 'outrank', 'outranked', 'outranking', 'outranks', 'outreach', 'outreached', 'outreaches', 'outreaching', 'outrider', 'outriders', 'outrigger', 'outriggers', 'outright', 'outrun', 'outrunning', 'outruns', 'outscore', 'outscored', 'outscores', 'outscoring', 'outsell', 'outselling', 'outsells', 'outset', 'outsets', 'outshine', 'outshined', 'outshines', 'outshining', 'outshone', 'outshout', 'outshouted', 'outshouting', 'outshouts', 'outside', 'outsider', 'outsiders', 'outsides', 'outsize', 'outsized', 'outsizes', 'outskirt', 'outskirts', 'outsmart', 'outsmarted', 'outsmarting', 'outsmarts', 'outsold', 'outsource', 'outsourced', 'outsources', 'outsourcing', 'outsourcings', 'outspend', 'outspending', 'outspends', 'outspent', 'outspoken', 'outspokenly', 'outspokenness', 'outspokennesses', 'outspread', 'outspreading', 'outspreads', 'outstanding', 'outstandingly', 'outstation', 'outstations', 'outstay', 'outstayed', 'outstaying', 'outstays', 'outstretch', 'outstretched', 'outstretches', 'outstretching', 'outstrip', 'outstripped', 'outstripping', 'outstrips', 'outstript', 'outtake', 'outtakes', 'outvote', 'outvoted', 'outvotes', 'outvoting', 'outward', 'outwardly', 'outwards', 'outwear', 'outwearing', 'outwears', 'outweigh', 'outweighed', 'outweighing', 'outweighs', 'outwit', 'outwits', 'outwitted', 'outwitting', 'outwore', 'outwork', 'outworked', 'outworking', 'outworks', 'outworn', 'ouzos', 'ovarian', 'ovaries', 'ovation', 'ovations', 'ovenbird', 'ovenbirds', 'overabundance', 'overabundances', 'overabundant', 'overachieve', 'overachieved', 'overachiever', 'overachievers', 'overachieves', 'overachieving', 'overact', 'overacted', 'overacting', 'overactive', 'overacts', 'overage', 'overages', 'overaggressive', 'overall', 'overalls', 'overambitious', 'overanxious', 'overarm', 'overarmed', 'overarming', 'overarms', 'overate', 'overattentive', 'overawe', 'overawed', 'overawes', 'overawing', 'overbalance', 'overbalanced', 'overbalances', 'overbalancing', 'overbear', 'overbearing', 'overbearingly', 'overbears', 'overbid', 'overbidding', 'overbids', 'overbite', 'overbites', 'overblown', 'overboard', 'overbold', 'overbook', 'overbooked', 'overbooking', 'overbooks', 'overbore', 'overborne', 'overbought', 'overbuild', 'overbuilding', 'overbuilds', 'overbuilt', 'overburden', 'overburdened', 'overburdening', 'overburdens', 'overbuy', 'overbuying', 'overbuys', 'overcame', 'overcapacities', 'overcapacity', 'overcapitalize', 'overcapitalized', 'overcapitalizes', 'overcapitalizing', 'overcareful', 'overcast', 'overcasting', 'overcasts', 'overcautious', 'overcharge', 'overcharged', 'overcharges', 'overcharging', 'overcloud', 'overclouded', 'overclouding', 'overclouds', 'overcoat', 'overcoats', 'overcome', 'overcomes', 'overcoming', 'overcompensate', 'overcompensated', 'overcompensates', 'overcompensating', 'overcompensation', 'overcompensations', 'overconfidence', 'overconfidences', 'overconfident', 'overconscientious', 'overcook', 'overcooked', 'overcooking', 'overcooks', 'overcritical', 'overcrowd', 'overcrowded', 'overcrowding', 'overcrowdings', 'overcrowds', 'overdecorate', 'overdecorated', 'overdecorates', 'overdecorating', 'overdependent', 'overdevelop', 'overdeveloped', 'overdeveloping', 'overdevelops', 'overdid', 'overdo', 'overdoes', 'overdoing', 'overdone', 'overdose', 'overdosed', 'overdoses', 'overdosing', 'overdraft', 'overdrafts', 'overdraw', 'overdrawing', 'overdrawn', 'overdraws', 'overdress', 'overdressed', 'overdresses', 'overdressing', 'overdrew', 'overdrive', 'overdrives', 'overdub', 'overdubbed', 'overdubbing', 'overdubs', 'overdue', 'overeager', 'overeat', 'overeaten', 'overeating', 'overeats', 'overemotional', 'overemphases', 'overemphasis', 'overemphasize', 'overemphasized', 'overemphasizes', 'overemphasizing', 'overenthusiastic', 'overestimate', 'overestimated', 'overestimates', 'overestimating', 'overestimation', 'overestimations', 'overexcite', 'overexcited', 'overexcites', 'overexciting', 'overexercise', 'overexercised', 'overexercises', 'overexercising', 'overexert', 'overexerted', 'overexerting', 'overexertion', 'overexertions', 'overexerts', 'overexpose', 'overexposed', 'overexposes', 'overexposing', 'overexposure', 'overexposures', 'overextend', 'overextended', 'overextending', 'overextends', 'overfed', 'overfeed', 'overfeeding', 'overfeeds', 'overfill', 'overfilled', 'overfilling', 'overfills', 'overflew', 'overflies', 'overflight', 'overflights', 'overflow', 'overflowed', 'overflowing', 'overflown', 'overflows', 'overfly', 'overflying', 'overfond', 'overfull', 'overgeneralize', 'overgeneralized', 'overgeneralizes', 'overgeneralizing', 'overgenerous', 'overgraze', 'overgrazed', 'overgrazes', 'overgrazing', 'overgrew', 'overgrow', 'overgrowing', 'overgrown', 'overgrows', 'overgrowth', 'overgrowths', 'overhand', 'overhanded', 'overhands', 'overhang', 'overhanging', 'overhangs', 'overhasty', 'overhaul', 'overhauled', 'overhauling', 'overhauls', 'overhead', 'overheads', 'overhear', 'overheard', 'overhearing', 'overhears', 'overheat', 'overheated', 'overheating', 'overheats', 'overhung', 'overindulge', 'overindulged', 'overindulgence', 'overindulgences', 'overindulgent', 'overindulges', 'overindulging', 'overjoy', 'overjoyed', 'overjoying', 'overjoys', 'overkill', 'overkills', 'overladen', 'overlaid', 'overlain', 'overland', 'overlap', 'overlapped', 'overlapping', 'overlaps', 'overlarge', 'overlay', 'overlaying', 'overlays', 'overleaf', 'overlie', 'overlies', 'overload', 'overloaded', 'overloading', 'overloads', 'overlong', 'overlook', 'overlooked', 'overlooking', 'overlooks', 'overlord', 'overlords', 'overly', 'overlying', 'overmaster', 'overmastered', 'overmastering', 'overmasters', 'overmodest', 'overmuch', 'overnice', 'overnight', 'overnights', 'overoptimism', 'overoptimisms', 'overoptimistic', 'overpaid', 'overparticular', 'overpass', 'overpasses', 'overpay', 'overpaying', 'overpays', 'overplay', 'overplayed', 'overplaying', 'overplays', 'overpopulate', 'overpopulated', 'overpopulates', 'overpopulating', 'overpopulation', 'overpopulations', 'overpower', 'overpowered', 'overpowering', 'overpoweringly', 'overpowers', 'overpraise', 'overpraised', 'overpraises', 'overpraising', 'overprecise', 'overprice', 'overpriced', 'overprices', 'overpricing', 'overprint', 'overprinted', 'overprinting', 'overprints', 'overproduce', 'overproduced', 'overproduces', 'overproducing', 'overproduction', 'overproductions', 'overprotect', 'overprotected', 'overprotecting', 'overprotective', 'overprotects', 'overqualified', 'overran', 'overrate', 'overrated', 'overrates', 'overrating', 'overreach', 'overreached', 'overreaches', 'overreaching', 'overreact', 'overreacted', 'overreacting', 'overreaction', 'overreactions', 'overreacts', 'overrefined', 'overridden', 'override', 'overrides', 'overriding', 'overripe', 'overrode', 'overrule', 'overruled', 'overrules', 'overruling', 'overrun', 'overrunning', 'overruns', 'oversaw', 'oversea', 'overseas', 'oversee', 'overseeing', 'overseen', 'overseer', 'overseers', 'oversees', 'oversell', 'overselling', 'oversells', 'oversensitive', 'oversensitiveness', 'oversensitivenesses', 'oversexed', 'overshadow', 'overshadowed', 'overshadowing', 'overshadows', 'overshare!', 'overshared!', 'overshares!', 'oversharing!', 'overshoe', 'overshoes', 'overshoot', 'overshooting', 'overshoots', 'overshot', 'oversight', 'oversights', 'oversimple', 'oversimplification', 'oversimplifications', 'oversimplified', 'oversimplifies', 'oversimplify', 'oversimplifying', 'oversize', 'oversized', 'oversleep', 'oversleeping', 'oversleeps', 'overslept', 'oversold', 'overspecialization', 'overspecializations', 'overspecialize', 'overspecialized', 'overspecializes', 'overspecializing', 'overspend', 'overspending', 'overspends', 'overspent', 'overspill', 'overspilled', 'overspilling', 'overspills', 'overspilt', 'overspread', 'overspreading', 'overspreads', 'overstate', 'overstated', 'overstatement', 'overstatements', 'overstates', 'overstating', 'overstay', 'overstayed', 'overstaying', 'overstays', 'overstep', 'overstepped', 'overstepping', 'oversteps', 'overstimulate', 'overstimulated', 'overstimulates', 'overstimulating', 'overstock', 'overstocked', 'overstocking', 'overstocks', 'overstrict', 'overstrung', 'overstuffed', 'oversubscribe', 'oversubscribed', 'oversubscribes', 'oversubscribing', 'oversubtle', 'oversupplied', 'oversupplies', 'oversupply', 'oversupplying', 'oversuspicious', 'overtake', 'overtaken', 'overtakes', 'overtaking', 'overtax', 'overtaxed', 'overtaxes', 'overtaxing', 'overthink!', 'overthinking!', 'overthinks!', 'overthought!', 'overthrew', 'overthrow', 'overthrowing', 'overthrown', 'overthrows', 'overtime', 'overtimes', 'overtire', 'overtired', 'overtires', 'overtiring', 'overtly', 'overtone', 'overtones', 'overtook', 'overture', 'overtures', 'overturn', 'overturned', 'overturning', 'overturns', 'overuse', 'overused', 'overuses', 'overusing', 'overvalue', 'overvalued', 'overvalues', 'overvaluing', 'overview', 'overviews', 'overweening', 'overweight', 'overweights', 'overwhelm', 'overwhelmed', 'overwhelming', 'overwhelmingly', 'overwhelms', 'overwinter', 'overwintered', 'overwintering', 'overwinters', 'overwork', 'overworked', 'overworking', 'overworks', 'overwrought', 'overzealous', 'oviduct', 'oviducts', 'oviparous', 'ovoids', 'ovular', 'ovulate', 'ovulated', 'ovulates', 'ovulating', 'ovulation', 'ovulations', 'ovules', 'owlets', 'owlish', 'owlishly', 'owners', 'ownership', 'ownerships', 'owning', 'oxblood', 'oxbloods', 'oxbows', 'oxcart', 'oxcarts', 'oxford', 'oxfords', 'oxidant', 'oxidants', 'oxidation', 'oxidations', 'oxides', 'oxidization', 'oxidizations', 'oxidize', 'oxidized', 'oxidizer', 'oxidizers', 'oxidizes', 'oxidizing', 'oxyacetylene', 'oxyacetylenes', 'oxygen', 'oxygenate', 'oxygenated', 'oxygenates', 'oxygenating', 'oxygenation', 'oxygenations', 'oxygens', 'oxymora', 'oxymoron', 'oxymorons', 'oyster', 'oysters', 'ozones', 'pablum', 'pablums', 'pabulum', 'pabulums', 'pacemaker', 'pacemakers', 'pacers', 'pacesetter', 'pacesetters', 'pachyderm', 'pachyderms', 'pachysandra', 'pachysandras', 'pacific', 'pacifically', 'pacification', 'pacifications', 'pacified', 'pacifier', 'pacifiers', 'pacifies', 'pacifism', 'pacifisms', 'pacifist', 'pacifistic', 'pacifists', 'pacify', 'pacifying', 'pacing', 'package', 'packaged', 'packager', 'packagers', 'packages', 'packaging', 'packagings', 'packed', 'packer', 'packers', 'packet', 'packets', 'packing', 'packinghouse', 'packinghouses', 'packings', 'packsaddle', 'packsaddles', 'padded', 'paddies', 'padding', 'paddings', 'paddle', 'paddled', 'paddler', 'paddlers', 'paddles', 'paddling', 'paddock', 'paddocked', 'paddocking', 'paddocks', 'padlock', 'padlocked', 'padlocking', 'padlocks', 'padres', 'paeans', 'paediatric', 'paediatrician', 'paediatricians', 'paediatrics', 'paella', 'paellas', 'paganism', 'paganisms', 'pagans', 'pageant', 'pageantries', 'pageantry', 'pageants', 'pageboy', 'pageboys', 'pagers', 'paginate', 'paginated', 'paginates', 'paginating', 'pagination', 'paginations', 'paging', 'pagoda', 'pagodas', 'pailful', 'pailfuls', 'pailsful', 'pained', 'painful', 'painfuller', 'painfullest', 'painfully', 'painfulness', 'painfulnesses', 'paining', 'painkiller', 'painkillers', 'painkilling', 'painless', 'painlessly', 'painlessness', 'painlessnesses', 'painstaking', 'painstakingly', 'painstakings', 'paintbox', 'paintboxes', 'paintbrush', 'paintbrushes', 'painted', 'painter', 'painters', 'painting', 'paintings', 'paints', 'paired', 'pairing', 'paisley', 'paisleys', 'pajama', 'pajamas', 'palace', 'palaces', 'paladin', 'paladins', 'palanquin', 'palanquins', 'palatable', 'palatal', 'palatalization', 'palatalizations', 'palatalize', 'palatalized', 'palatalizes', 'palatalizing', 'palatals', 'palate', 'palates', 'palatial', 'palatially', 'palatinate', 'palatinates', 'palatine', 'palatines', 'palaver', 'palavered', 'palavering', 'palavers', 'paleface', 'palefaces', 'palely', 'paleness', 'palenesses', 'paleographer', 'paleographers', 'paleographies', 'paleography', 'paleolithic', 'paleontologies', 'paleontologist', 'paleontologists', 'paleontology', 'palest', 'palette', 'palettes', 'palfrey', 'palfreys', 'palimonies', 'palimony', 'palimpsest', 'palimpsests', 'palindrome', 'palindromes', 'paling', 'palings', 'palisade', 'palisades', 'palish', 'palladium', 'palladiums', 'pallbearer', 'pallbearers', 'palled', 'pallet', 'pallets', 'palliate', 'palliated', 'palliates', 'palliating', 'palliation', 'palliations', 'palliative', 'palliatives', 'pallid', 'pallider', 'pallidest', 'pallidly', 'pallidness', 'pallidnesses', 'palling', 'pallor', 'pallors', 'palmate', 'palmed', 'palmetto', 'palmettoes', 'palmettos', 'palmier', 'palmiest', 'palming', 'palmist', 'palmistries', 'palmistry', 'palmists', 'palmtop', 'palmtops', 'palomino', 'palominos', 'palpable', 'palpably', 'palpate', 'palpated', 'palpates', 'palpating', 'palpation', 'palpations', 'palpitate', 'palpitated', 'palpitates', 'palpitating', 'palpitation', 'palpitations', 'palsied', 'palsies', 'palsying', 'paltrier', 'paltriest', 'paltriness', 'paltrinesses', 'paltry', 'pampas', 'pamper', 'pampered', 'pampering', 'pampers', 'pamphlet', 'pamphleted', 'pamphleteer', 'pamphleteers', 'pamphleting', 'pamphlets', 'panacea', 'panaceas', 'panache', 'panaches', 'panama', 'panamas', 'pancake', 'pancaked', 'pancakes', 'pancaking', 'panchromatic', 'pancreas', 'pancreases', 'pancreatic', 'pandas', 'pandemic', 'pandemics', 'pandemonium', 'pandemoniums', 'pander', 'pandered', 'panderer', 'panderers', 'pandering', 'panders', 'panegyric', 'panegyrics', 'paneled', 'paneling', 'panelings', 'panelist', 'panelists', 'panelled', 'panelling', 'panellings', 'panels', 'panhandle', 'panhandled', 'panhandler', 'panhandlers', 'panhandles', 'panhandling', 'panicked', 'panicking', 'panicky', 'panics', 'panier', 'paniers', 'panned', 'pannier', 'panniers', 'panning', 'panoplies', 'panoply', 'panorama', 'panoramas', 'panoramic', 'panpipes', 'pansies', 'pantaloons', 'panted', 'pantheism', 'pantheisms', 'pantheist', 'pantheistic', 'pantheists', 'pantheon', 'pantheons', 'panther', 'panthers', 'pantie', 'panties', 'panting', 'pantomime', 'pantomimed', 'pantomimes', 'pantomimic', 'pantomiming', 'pantomimist', 'pantomimists', 'pantries', 'pantry', 'pantsuit', 'pantsuits', 'pantyhose', 'pantyliner', 'pantyliners', 'pantywaist', 'pantywaists', 'papacies', 'papacy', 'paparazzi', 'papaws', 'papaya', 'papayas', 'paperback', 'paperbacks', 'paperboard', 'paperboards', 'paperboy', 'paperboys', 'papered', 'paperer', 'paperers', 'papergirl', 'papergirls', 'paperhanger', 'paperhangers', 'paperhanging', 'paperhangings', 'papering', 'papers', 'paperweight', 'paperweights', 'paperwork', 'paperworks', 'papery', 'papilla', 'papillae', 'papillary', 'papist', 'papists', 'papoose', 'papooses', 'pappies', 'paprika', 'paprikas', 'papyri', 'papyrus', 'papyruses', 'parable', 'parables', 'parabola', 'parabolas', 'parabolic', 'parachute', 'parachuted', 'parachutes', 'parachuting', 'parachutist', 'parachutists', 'parade', 'paraded', 'parader', 'paraders', 'parades', 'paradigm', 'paradigmatic', 'paradigms', 'parading', 'paradisaical', 'paradise', 'paradises', 'paradox', 'paradoxes', 'paradoxical', 'paradoxically', 'paraffin', 'paraffins', 'paragliding!', 'paraglidings!', 'paragon', 'paragons', 'paragraph', 'paragraphed', 'paragraphing', 'paragraphs', 'parakeet', 'parakeets', 'paralegal', 'paralegals', 'parallax', 'parallaxes', 'parallel', 'paralleled', 'paralleling', 'parallelism', 'parallelisms', 'parallelled', 'parallelling', 'parallelogram', 'parallelograms', 'parallels', 'paralyse', 'paralysed', 'paralyses', 'paralysing', 'paralysis', 'paralytic', 'paralytics', 'paralyze', 'paralyzed', 'paralyzes', 'paralyzing', 'paralyzingly', 'paramecia', 'paramecium', 'parameciums', 'paramedic', 'paramedical', 'paramedicals', 'paramedics', 'parameter', 'parameters', 'parametric', 'paramilitaries', 'paramilitary', 'paramount', 'paramour', 'paramours', 'paranoia', 'paranoiac', 'paranoiacs', 'paranoias', 'paranoid', 'paranoids', 'paranormal', 'parapet', 'parapets', 'paraphernalia', 'paraphernalias', 'paraphrase', 'paraphrased', 'paraphrases', 'paraphrasing', 'paraplegia', 'paraplegias', 'paraplegic', 'paraplegics', 'paraprofessional', 'paraprofessionals', 'parapsychologies', 'parapsychologist', 'parapsychologists', 'parapsychology', 'paraquat', 'paraquats', 'parasailing!', 'parasailings!', 'parasite', 'parasites', 'parasitic', 'parasitically', 'parasitism', 'parasitisms', 'parasol', 'parasols', 'parasympathetic', 'parathion', 'parathions', 'parathyroid', 'parathyroids', 'paratrooper', 'paratroopers', 'paratroops', 'paratyphoid', 'paratyphoids', 'parboil', 'parboiled', 'parboiling', 'parboils', 'parcel', 'parceled', 'parceling', 'parcelled', 'parcelling', 'parcels', 'parched', 'parches', 'parching', 'parchment', 'parchments', 'pardon', 'pardonable', 'pardonably', 'pardoned', 'pardoner', 'pardoners', 'pardoning', 'pardons', 'paregoric', 'paregorics', 'parent', 'parentage', 'parentages', 'parental', 'parented', 'parentheses', 'parenthesis', 'parenthesize', 'parenthesized', 'parenthesizes', 'parenthesizing', 'parenthetic', 'parenthetical', 'parenthetically', 'parenthood', 'parenthoods', 'parenting', 'parentings', 'parents', 'parers', 'pareses', 'paresis', 'parfait', 'parfaits', 'pariah', 'pariahs', 'parietal', 'parimutuel', 'parimutuels', 'paring', 'parings', 'parish', 'parishes', 'parishioner', 'parishioners', 'parities', 'parity', 'parkas', 'parked', 'parking', 'parkings', 'parkour!', 'parkours!', 'parkway', 'parkways', 'parlance', 'parlances', 'parlay', 'parlayed', 'parlaying', 'parlays', 'parley', 'parleyed', 'parleying', 'parleys', 'parliament', 'parliamentarian', 'parliamentarians', 'parliamentary', 'parliaments', 'parlor', 'parlors', 'parlour', 'parlours', 'parlous', 'parmigiana', 'parmigiano', 'parochial', 'parochialism', 'parochialisms', 'parochially', 'parodied', 'parodies', 'parodist', 'parodists', 'parody', 'parodying', 'parole', 'paroled', 'parolee', 'parolees', 'paroles', 'paroling', 'paroxysm', 'paroxysmal', 'paroxysms', 'parquet', 'parqueted', 'parqueting', 'parquetries', 'parquetry', 'parquets', 'parrakeet', 'parrakeets', 'parred', 'parricidal', 'parricide', 'parricides', 'parried', 'parries', 'parring', 'parrot', 'parroted', 'parroting', 'parrots', 'parrying', 'parsec', 'parsecs', 'parsed', 'parses', 'parsimonies', 'parsimonious', 'parsimoniously', 'parsimony', 'parsing', 'parsley', 'parsleys', 'parsnip', 'parsnips', 'parson', 'parsonage', 'parsonages', 'parsons', 'partake', 'partaken', 'partaker', 'partakers', 'partakes', 'partaking', 'parted', 'parterre', 'parterres', 'parthenogeneses', 'parthenogenesis', 'partial', 'partialities', 'partiality', 'partially', 'partials', 'participant', 'participants', 'participate', 'participated', 'participates', 'participating', 'participation', 'participations', 'participator', 'participators', 'participatory', 'participial', 'participle', 'participles', 'particle', 'particleboard', 'particleboards', 'particles', 'particular', 'particularities', 'particularity', 'particularization', 'particularizations', 'particularize', 'particularized', 'particularizes', 'particularizing', 'particularly', 'particulars', 'particulate', 'particulates', 'partied', 'parties', 'parting', 'partings', 'partisan', 'partisans', 'partisanship', 'partisanships', 'partition', 'partitioned', 'partitioning', 'partitions', 'partitive', 'partitives', 'partizan', 'partizans', 'partly', 'partner', 'partnered', 'partnering', 'partners', 'partnership', 'partnerships', 'partook', 'partridge', 'partridges', 'parturition', 'parturitions', 'partway', 'partying', 'parvenu', 'parvenus', 'pascal', 'pascals', 'paschal', 'pashas', 'passable', 'passably', 'passage', 'passages', 'passageway', 'passageways', 'passbook', 'passbooks', 'passed', 'passel', 'passels', 'passenger', 'passengers', 'passer', 'passerby', 'passers', 'passersby', 'passes', 'passim', 'passing', 'passingly', 'passings', 'passion', 'passionate', 'passionately', 'passionflower', 'passionflowers', 'passionless', 'passions', 'passive', 'passively', 'passiveness', 'passivenesses', 'passives', 'passivities', 'passivity', 'passkey', 'passkeys', 'passport', 'passports', 'password', 'passwords', 'pastas', 'pasteboard', 'pasteboards', 'pasted', 'pastel', 'pastels', 'pastern', 'pasterns', 'pastes', 'pasteurization', 'pasteurizations', 'pasteurize', 'pasteurized', 'pasteurizer', 'pasteurizers', 'pasteurizes', 'pasteurizing', 'pastiche', 'pastiches', 'pastier', 'pasties', 'pastiest', 'pastille', 'pastilles', 'pastime', 'pastimes', 'pastiness', 'pastinesses', 'pasting', 'pastor', 'pastoral', 'pastorals', 'pastorate', 'pastorates', 'pastors', 'pastrami', 'pastramis', 'pastries', 'pastry', 'pasturage', 'pasturages', 'pasture', 'pastured', 'pastureland', 'pasturelands', 'pastures', 'pasturing', 'patched', 'patches', 'patchier', 'patchiest', 'patchily', 'patchiness', 'patchinesses', 'patching', 'patchwork', 'patchworks', 'patchy', 'patella', 'patellae', 'patellas', 'patent', 'patented', 'patenting', 'patently', 'patents', 'paterfamilias', 'paterfamiliases', 'paternal', 'paternalism', 'paternalisms', 'paternalistic', 'paternally', 'paternities', 'paternity', 'paternoster', 'paternosters', 'pathetic', 'pathetically', 'pathfinder', 'pathfinders', 'pathless', 'pathogen', 'pathogenic', 'pathogens', 'pathological', 'pathologically', 'pathologies', 'pathologist', 'pathologists', 'pathology', 'pathos', 'pathoses', 'pathway', 'pathways', 'patience', 'patiences', 'patient', 'patienter', 'patientest', 'patiently', 'patients', 'patina', 'patinae', 'patinas', 'patios', 'patois', 'patresfamilias', 'patriarch', 'patriarchal', 'patriarchate', 'patriarchates', 'patriarchies', 'patriarchs', 'patriarchy', 'patrician', 'patricians', 'patricide', 'patricides', 'patrimonial', 'patrimonies', 'patrimony', 'patriot', 'patriotic', 'patriotically', 'patriotism', 'patriotisms', 'patriots', 'patrol', 'patrolled', 'patrolling', 'patrolman', 'patrolmen', 'patrols', 'patrolwoman', 'patrolwomen', 'patron', 'patronage', 'patronages', 'patroness', 'patronesses', 'patronize', 'patronized', 'patronizer', 'patronizers', 'patronizes', 'patronizing', 'patronizingly', 'patrons', 'patronymic', 'patronymically', 'patronymics', 'patroon', 'patroons', 'patsies', 'patted', 'patter', 'pattered', 'pattering', 'pattern', 'patterned', 'patterning', 'patterns', 'patters', 'patties', 'patting', 'paucities', 'paucity', 'paunch', 'paunches', 'paunchier', 'paunchiest', 'paunchy', 'pauper', 'pauperism', 'pauperisms', 'pauperize', 'pauperized', 'pauperizes', 'pauperizing', 'paupers', 'paused', 'pauses', 'pausing', 'pavement', 'pavements', 'pavilion', 'pavilions', 'paving', 'pavings', 'pawing', 'pawnbroker', 'pawnbrokers', 'pawnbroking', 'pawnbrokings', 'pawned', 'pawning', 'pawnshop', 'pawnshops', 'pawpaw', 'pawpaws', 'payable', 'payback', 'paybacks', 'paycheck', 'paychecks', 'payday', 'paydays', 'payees', 'payers', 'paying', 'payload', 'payloads', 'paymaster', 'paymasters', 'payment', 'payments', 'payoff', 'payoffs', 'payola', 'payolas', 'payout', 'payouts', 'payroll', 'payrolls', 'payslip', 'payslips', 'paywall!', 'paywalls!', 'peaceable', 'peaceably', 'peaceful', 'peacefully', 'peacefulness', 'peacefulnesses', 'peacekeeper', 'peacekeepers', 'peacekeeping', 'peacekeepings', 'peacemaker', 'peacemakers', 'peacemaking', 'peacemakings', 'peaces', 'peacetime', 'peacetimes', 'peaches', 'peachier', 'peachiest', 'peachy', 'peacock', 'peacocks', 'peafowl', 'peafowls', 'peahen', 'peahens', 'peaked', 'peaking', 'pealed', 'pealing', 'peanut', 'peanuts', 'pearled', 'pearlier', 'pearliest', 'pearling', 'pearls', 'pearly', 'peasant', 'peasantries', 'peasantry', 'peasants', 'peashooter', 'peashooters', 'peatier', 'peatiest', 'peats', 'pebble', 'pebbled', 'pebbles', 'pebblier', 'pebbliest', 'pebbling', 'pebbly', 'pecans', 'peccadillo', 'peccadilloes', 'peccadillos', 'peccaries', 'peccary', 'pecked', 'pecking', 'pectic', 'pectin', 'pectins', 'pectoral', 'pectorals', 'peculate', 'peculated', 'peculates', 'peculating', 'peculation', 'peculations', 'peculator', 'peculators', 'peculiar', 'peculiarities', 'peculiarity', 'peculiarly', 'pecuniary', 'pedagog', 'pedagogic', 'pedagogical', 'pedagogies', 'pedagogs', 'pedagogue', 'pedagogues', 'pedagogy', 'pedaled', 'pedaling', 'pedalled', 'pedalling', 'pedals', 'pedant', 'pedantic', 'pedantically', 'pedantries', 'pedantry', 'pedants', 'peddle', 'peddled', 'peddler', 'peddlers', 'peddles', 'peddling', 'pederast', 'pederasties', 'pederasts', 'pederasty', 'pedestal', 'pedestals', 'pedestrian', 'pedestrianize', 'pedestrianized', 'pedestrianizes', 'pedestrianizing', 'pedestrians', 'pediatric', 'pediatrician', 'pediatricians', 'pediatrics', 'pedicab', 'pedicabs', 'pedicure', 'pedicured', 'pedicures', 'pedicuring', 'pedicurist', 'pedicurists', 'pedigree', 'pedigreed', 'pedigrees', 'pediment', 'pediments', 'pedlar', 'pedlars', 'pedometer', 'pedometers', 'peduncle', 'peduncles', 'peeing', 'peekaboo', 'peekaboos', 'peeked', 'peeking', 'peeled', 'peeler', 'peelers', 'peeling', 'peelings', 'peeped', 'peeper', 'peepers', 'peephole', 'peepholes', 'peeping', 'peepshow', 'peepshows', 'peerage', 'peerages', 'peered', 'peeress', 'peeresses', 'peering', 'peerless', 'peeved', 'peeves', 'peeving', 'peevish', 'peevishly', 'peevishness', 'peevishnesses', 'peewee', 'peewees', 'pegboard', 'pegboards', 'pegged', 'pegging', 'peignoir', 'peignoirs', 'pejoration', 'pejorations', 'pejorative', 'pejoratively', 'pejoratives', 'pekinese', 'pekingese', 'pekoes', 'pelagic', 'pelfs', 'pelican', 'pelicans', 'pellagra', 'pellagras', 'pellet', 'pelleted', 'pelleting', 'pellets', 'pellmell', 'pellucid', 'pelted', 'pelting', 'pelves', 'pelvic', 'pelvis', 'pelvises', 'pemmican', 'pemmicans', 'penalization', 'penalizations', 'penalize', 'penalized', 'penalizes', 'penalizing', 'penalties', 'penalty', 'penance', 'penances', 'penchant', 'penchants', 'pencil', 'penciled', 'penciling', 'pencilled', 'pencilling', 'pencils', 'pendant', 'pendants', 'pended', 'pendent', 'pendents', 'pending', 'pendulous', 'pendulum', 'pendulums', 'penetrabilities', 'penetrability', 'penetrable', 'penetrate', 'penetrated', 'penetrates', 'penetrating', 'penetratingly', 'penetration', 'penetrations', 'penetrative', 'penguin', 'penguins', 'penicillin', 'penicillins', 'penile', 'peninsula', 'peninsular', 'peninsulas', 'penises', 'penitence', 'penitences', 'penitent', 'penitential', 'penitentiaries', 'penitentiary', 'penitently', 'penitents', 'penknife', 'penknives', 'penlight', 'penlights', 'penlite', 'penlites', 'penman', 'penmanship', 'penmanships', 'penmen', 'pennant', 'pennants', 'penned', 'pennies', 'penniless', 'penning', 'pennon', 'pennons', 'pennyweight', 'pennyweights', 'penologies', 'penologist', 'penologists', 'penology', 'pension', 'pensionable', 'pensioned', 'pensioner', 'pensioners', 'pensioning', 'pensions', 'pensive', 'pensively', 'pensiveness', 'pensivenesses', 'pentacle', 'pentacles', 'pentagon', 'pentagonal', 'pentagons', 'pentagram', 'pentagrams', 'pentameter', 'pentameters', 'pentathlete', 'pentathletes', 'pentathlon', 'pentathlons', 'penthouse', 'penthouses', 'penuche', 'penuches', 'penultimate', 'penultimates', 'penumbra', 'penumbrae', 'penumbras', 'penuries', 'penurious', 'penuriously', 'penuriousness', 'penuriousnesses', 'penury', 'peonage', 'peonages', 'peonies', 'people', 'peopled', 'peoples', 'peopling', 'pepped', 'pepper', 'peppercorn', 'peppercorns', 'peppered', 'peppering', 'peppermint', 'peppermints', 'pepperoni', 'pepperonis', 'peppers', 'peppery', 'peppier', 'peppiest', 'peppiness', 'peppinesses', 'pepping', 'pepsin', 'pepsins', 'peptic', 'peptics', 'peradventure', 'peradventures', 'perambulate', 'perambulated', 'perambulates', 'perambulating', 'perambulation', 'perambulations', 'perambulator', 'perambulators', 'percale', 'percales', 'perceivable', 'perceive', 'perceived', 'perceives', 'perceiving', 'percent', 'percentage', 'percentages', 'percentile', 'percentiles', 'percents', 'perceptible', 'perceptibly', 'perception', 'perceptional', 'perceptions', 'perceptive', 'perceptively', 'perceptiveness', 'perceptivenesses', 'perceptual', 'perceptually', 'perchance', 'perched', 'perches', 'perching', 'percipience', 'percipiences', 'percipient', 'percolate', 'percolated', 'percolates', 'percolating', 'percolation', 'percolations', 'percolator', 'percolators', 'percussion', 'percussionist', 'percussionists', 'percussions', 'perdition', 'perditions', 'perdurable', 'peregrinate', 'peregrinated', 'peregrinates', 'peregrinating', 'peregrination', 'peregrinations', 'peregrine', 'peregrines', 'peremptorily', 'peremptory', 'perennial', 'perennially', 'perennials', 'perestroika', 'perestroikas', 'perfect', 'perfecta', 'perfectas', 'perfected', 'perfecter', 'perfectest', 'perfectibilities', 'perfectibility', 'perfectible', 'perfecting', 'perfection', 'perfectionism', 'perfectionisms', 'perfectionist', 'perfectionists', 'perfections', 'perfectly', 'perfectness', 'perfectnesses', 'perfects', 'perfidies', 'perfidious', 'perfidiously', 'perfidy', 'perforate', 'perforated', 'perforates', 'perforating', 'perforation', 'perforations', 'perforce', 'perform', 'performance', 'performances', 'performed', 'performer', 'performers', 'performing', 'performs', 'perfume', 'perfumed', 'perfumer', 'perfumeries', 'perfumers', 'perfumery', 'perfumes', 'perfuming', 'perfunctorily', 'perfunctory', 'pergola', 'pergolas', 'perhaps', 'pericardia', 'pericardium', 'pericardiums', 'perigee', 'perigees', 'perihelia', 'perihelion', 'perihelions', 'periled', 'periling', 'perilled', 'perilling', 'perilous', 'perilously', 'perils', 'perimeter', 'perimeters', 'perinea', 'perineum', 'period', 'periodic', 'periodical', 'periodically', 'periodicals', 'periodicities', 'periodicity', 'periodontal', 'periodontics', 'periodontist', 'periodontists', 'periods', 'peripatetic', 'peripatetics', 'peripheral', 'peripherally', 'peripherals', 'peripheries', 'periphery', 'periphrases', 'periphrasis', 'periphrastic', 'periscope', 'periscopes', 'perish', 'perishable', 'perishables', 'perished', 'perishes', 'perishing', 'peristalses', 'peristalsis', 'peristaltic', 'peristyle', 'peristyles', 'peritonea', 'peritoneal', 'peritoneum', 'peritoneums', 'peritonitis', 'peritonitises', 'periwig', 'periwigs', 'periwinkle', 'periwinkles', 'perjure', 'perjured', 'perjurer', 'perjurers', 'perjures', 'perjuries', 'perjuring', 'perjury', 'perked', 'perkier', 'perkiest', 'perkily', 'perkiness', 'perkinesses', 'perking', 'permafrost', 'permafrosts', 'permanence', 'permanences', 'permanencies', 'permanency', 'permanent', 'permanently', 'permanents', 'permeabilities', 'permeability', 'permeable', 'permeate', 'permeated', 'permeates', 'permeating', 'permeation', 'permeations', 'permed', 'perming', 'permissible', 'permissibly', 'permission', 'permissions', 'permissive', 'permissively', 'permissiveness', 'permissivenesses', 'permit', 'permits', 'permitted', 'permitting', 'permutation', 'permutations', 'permute', 'permuted', 'permutes', 'permuting', 'pernicious', 'perniciously', 'perniciousness', 'perniciousnesses', 'pernickety', 'peroration', 'perorations', 'peroxide', 'peroxided', 'peroxides', 'peroxiding', 'perpendicular', 'perpendicularities', 'perpendicularity', 'perpendicularly', 'perpendiculars', 'perpetrate', 'perpetrated', 'perpetrates', 'perpetrating', 'perpetration', 'perpetrations', 'perpetrator', 'perpetrators', 'perpetual', 'perpetually', 'perpetuals', 'perpetuate', 'perpetuated', 'perpetuates', 'perpetuating', 'perpetuation', 'perpetuations', 'perpetuities', 'perpetuity', 'perplex', 'perplexed', 'perplexedly', 'perplexes', 'perplexing', 'perplexities', 'perplexity', 'perquisite', 'perquisites', 'persecute', 'persecuted', 'persecutes', 'persecuting', 'persecution', 'persecutions', 'persecutor', 'persecutors', 'perseverance', 'perseverances', 'persevere', 'persevered', 'perseveres', 'persevering', 'persiflage', 'persiflages', 'persimmon', 'persimmons', 'persist', 'persisted', 'persistence', 'persistences', 'persistent', 'persistently', 'persisting', 'persists', 'persnickety', 'person', 'persona', 'personable', 'personae', 'personage', 'personages', 'personal', 'personalities', 'personality', 'personalize', 'personalized', 'personalizes', 'personalizing', 'personally', 'personals', 'personalties', 'personalty', 'personas', 'personification', 'personifications', 'personified', 'personifies', 'personify', 'personifying', 'personnel', 'personnels', 'persons', 'perspective', 'perspectives', 'perspicacious', 'perspicaciously', 'perspicacities', 'perspicacity', 'perspicuities', 'perspicuity', 'perspicuous', 'perspiration', 'perspirations', 'perspire', 'perspired', 'perspires', 'perspiring', 'persuadable', 'persuade', 'persuaded', 'persuader', 'persuaders', 'persuades', 'persuading', 'persuasion', 'persuasions', 'persuasive', 'persuasively', 'persuasiveness', 'persuasivenesses', 'pertain', 'pertained', 'pertaining', 'pertains', 'perter', 'pertest', 'pertinacious', 'pertinaciously', 'pertinacities', 'pertinacity', 'pertinence', 'pertinences', 'pertinent', 'pertinently', 'pertly', 'pertness', 'pertnesses', 'perturb', 'perturbation', 'perturbations', 'perturbed', 'perturbing', 'perturbs', 'pertussis', 'pertussises', 'peruke', 'perukes', 'perusal', 'perusals', 'peruse', 'perused', 'peruses', 'perusing', 'pervade', 'pervaded', 'pervades', 'pervading', 'pervasive', 'pervasively', 'pervasiveness', 'pervasivenesses', 'perverse', 'perversely', 'perverseness', 'perversenesses', 'perversion', 'perversions', 'perversities', 'perversity', 'pervert', 'perverted', 'perverting', 'perverts', 'peseta', 'pesetas', 'peskier', 'peskiest', 'peskily', 'peskiness', 'peskinesses', 'pessimism', 'pessimisms', 'pessimist', 'pessimistic', 'pessimistically', 'pessimists', 'pester', 'pestered', 'pestering', 'pesters', 'pesticide', 'pesticides', 'pestiferous', 'pestilence', 'pestilences', 'pestilent', 'pestilential', 'pestle', 'pestled', 'pestles', 'pestling', 'pestos', 'petaled', 'petals', 'petard', 'petards', 'petcock', 'petcocks', 'petered', 'petering', 'peters', 'petiole', 'petioles', 'petite', 'petites', 'petition', 'petitioned', 'petitioner', 'petitioners', 'petitioning', 'petitions', 'petrel', 'petrels', 'petrifaction', 'petrifactions', 'petrified', 'petrifies', 'petrify', 'petrifying', 'petrochemical', 'petrochemicals', 'petrodollar', 'petrodollars', 'petrol', 'petrolatum', 'petrolatums', 'petroleum', 'petroleums', 'petrologies', 'petrologist', 'petrologists', 'petrology', 'petrols', 'petted', 'petticoat', 'petticoats', 'pettier', 'pettiest', 'pettifog', 'pettifogged', 'pettifogger', 'pettifoggeries', 'pettifoggers', 'pettifoggery', 'pettifogging', 'pettifogs', 'pettily', 'pettiness', 'pettinesses', 'petting', 'pettings', 'pettish', 'pettishly', 'petulance', 'petulances', 'petulant', 'petulantly', 'petunia', 'petunias', 'pewees', 'pewits', 'pewter', 'pewters', 'peyote', 'peyotes', 'pfennig', 'pfennige', 'pfennigs', 'phaeton', 'phaetons', 'phagocyte', 'phagocytes', 'phalanger', 'phalangers', 'phalanges', 'phalanx', 'phalanxes', 'phalli', 'phallic', 'phallus', 'phalluses', 'phantasied', 'phantasies', 'phantasm', 'phantasmagoria', 'phantasmagorias', 'phantasmal', 'phantasms', 'phantasy', 'phantasying', 'phantom', 'phantoms', 'pharaoh', 'pharaohs', 'pharisaic', 'pharisee', 'pharisees', 'pharmaceutic', 'pharmaceutical', 'pharmaceuticals', 'pharmaceutics', 'pharmacies', 'pharmacist', 'pharmacists', 'pharmacological', 'pharmacologies', 'pharmacologist', 'pharmacologists', 'pharmacology', 'pharmacopeia', 'pharmacopeias', 'pharmacopoeia', 'pharmacopoeias', 'pharmacy', 'pharyngeal', 'pharynges', 'pharyngitides', 'pharyngitis', 'pharynx', 'pharynxes', 'phased', 'phaseout', 'phaseouts', 'phases', 'phasing', 'phatter', 'phattest', 'pheasant', 'pheasants', 'phenacetin', 'phenacetins', 'phenobarbital', 'phenobarbitals', 'phenol', 'phenols', 'phenom', 'phenomena', 'phenomenal', 'phenomenally', 'phenomenon', 'phenomenons', 'phenoms', 'pheromone', 'pheromones', 'phials', 'philander', 'philandered', 'philanderer', 'philanderers', 'philandering', 'philanderings', 'philanders', 'philanthropic', 'philanthropically', 'philanthropies', 'philanthropist', 'philanthropists', 'philanthropy', 'philatelic', 'philatelies', 'philatelist', 'philatelists', 'philately', 'philharmonic', 'philharmonics', 'philippic', 'philippics', 'philistine', 'philistines', 'philistinism', 'philistinisms', 'philodendra', 'philodendron', 'philodendrons', 'philological', 'philologies', 'philologist', 'philologists', 'philology', 'philosopher', 'philosophers', 'philosophic', 'philosophical', 'philosophically', 'philosophies', 'philosophize', 'philosophized', 'philosophizer', 'philosophizers', 'philosophizes', 'philosophizing', 'philosophy', 'philter', 'philters', 'philtre', 'philtres', 'phishing!', 'phishings!', 'phlebitides', 'phlebitis', 'phlegm', 'phlegmatic', 'phlegmatically', 'phlegms', 'phloem', 'phloems', 'phloxes', 'phobia', 'phobias', 'phobic', 'phobics', 'phoebe', 'phoebes', 'phoenix', 'phoenixes', 'phoned', 'phoneme', 'phonemes', 'phonemic', 'phonemically', 'phones', 'phonetic', 'phonetically', 'phonetician', 'phoneticians', 'phonetics', 'phoney', 'phoneyed', 'phoneying', 'phoneys', 'phonic', 'phonically', 'phonics', 'phonied', 'phonier', 'phonies', 'phoniest', 'phoniness', 'phoninesses', 'phoning', 'phonograph', 'phonographic', 'phonographs', 'phonological', 'phonologically', 'phonologies', 'phonologist', 'phonologists', 'phonology', 'phonying', 'phooey', 'phosphate', 'phosphates', 'phosphor', 'phosphorescence', 'phosphorescences', 'phosphorescent', 'phosphorescently', 'phosphori', 'phosphoric', 'phosphorous', 'phosphors', 'phosphorus', 'phosphoruses', 'photocell', 'photocells', 'photocopied', 'photocopier', 'photocopiers', 'photocopies', 'photocopy', 'photocopying', 'photoed', 'photoelectric', 'photoelectrically', 'photoengrave', 'photoengraved', 'photoengraver', 'photoengravers', 'photoengraves', 'photoengraving', 'photoengravings', 'photofinishing', 'photofinishings', 'photogenic', 'photogenically', 'photograph', 'photographed', 'photographer', 'photographers', 'photographic', 'photographically', 'photographies', 'photographing', 'photographs', 'photography', 'photoing', 'photojournalism', 'photojournalisms', 'photojournalist', 'photojournalists', 'photometer', 'photometers', 'photon', 'photons', 'photos', 'photosensitive', 'photostat', 'photostated', 'photostatic', 'photostating', 'photostats', 'photostatted', 'photostatting', 'photosyntheses', 'photosynthesis', 'photosynthesize', 'photosynthesized', 'photosynthesizes', 'photosynthesizing', 'photosynthetic', 'phrasal', 'phrase', 'phrased', 'phraseologies', 'phraseology', 'phrases', 'phrasing', 'phrasings', 'phrenetic', 'phrenologies', 'phrenologist', 'phrenologists', 'phrenology', 'phylacteries', 'phylactery', 'phylogenies', 'phylogeny', 'phylum', 'physic', 'physical', 'physically', 'physicals', 'physician', 'physicians', 'physicist', 'physicists', 'physicked', 'physicking', 'physics', 'physiognomies', 'physiognomy', 'physiographies', 'physiography', 'physiologic', 'physiological', 'physiologically', 'physiologies', 'physiologist', 'physiologists', 'physiology', 'physiotherapies', 'physiotherapist', 'physiotherapists', 'physiotherapy', 'physique', 'physiques', 'pianissimi', 'pianissimo', 'pianissimos', 'pianist', 'pianists', 'pianoforte', 'pianofortes', 'pianos', 'piaster', 'piasters', 'piastre', 'piastres', 'piazza', 'piazzas', 'piazze', 'pibroch', 'pibrochs', 'picador', 'picadors', 'picante!', 'picaresque', 'picas', 'picayune', 'piccalilli', 'piccalillis', 'piccolo', 'piccolos', 'pickaback', 'pickabacked', 'pickabacking', 'pickabacks', 'pickax', 'pickaxe', 'pickaxed', 'pickaxes', 'pickaxing', 'picked', 'picker', 'pickerel', 'pickerels', 'pickers', 'picket', 'picketed', 'picketing', 'pickets', 'pickier', 'pickiest', 'picking', 'pickings', 'pickle', 'pickled', 'pickles', 'pickling', 'pickpocket', 'pickpockets', 'pickup', 'pickups', 'picnic', 'picnicked', 'picnicker', 'picnickers', 'picnicking', 'picnics', 'picots', 'pictograph', 'pictographs', 'pictorial', 'pictorially', 'pictorials', 'picture', 'pictured', 'pictures', 'picturesque', 'picturesquely', 'picturesqueness', 'picturesquenesses', 'picturing', 'piddle', 'piddled', 'piddles', 'piddling', 'piddly', 'pidgin', 'pidgins', 'piebald', 'piebalds', 'pieced', 'piecemeal', 'pieces', 'piecework', 'pieceworker', 'pieceworkers', 'pieceworks', 'piecing', 'pieing', 'pierce', 'pierced', 'pierces', 'piercing', 'piercingly', 'piercings', 'pieties', 'piffle', 'piffles', 'piffling', 'pigeon', 'pigeonhole', 'pigeonholed', 'pigeonholes', 'pigeonholing', 'pigeons', 'pigged', 'piggier', 'piggies', 'piggiest', 'pigging', 'piggish', 'piggishly', 'piggishness', 'piggishnesses', 'piggyback', 'piggybacked', 'piggybacking', 'piggybacks', 'pigheaded', 'pigheadedly', 'pigheadedness', 'pigheadednesses', 'piglet', 'piglets', 'pigment', 'pigmentation', 'pigmentations', 'pigments', 'pigmies', 'pigpen', 'pigpens', 'pigskin', 'pigskins', 'pigsties', 'pigsty', 'pigtail', 'pigtails', 'pikers', 'pikestaff', 'pikestaffs', 'pikestaves', 'piking', 'pilaff', 'pilaffs', 'pilafs', 'pilaster', 'pilasters', 'pilaus', 'pilchard', 'pilchards', 'pileup', 'pileups', 'pilfer', 'pilferage', 'pilferages', 'pilfered', 'pilferer', 'pilferers', 'pilfering', 'pilfers', 'pilgrim', 'pilgrimage', 'pilgrimages', 'pilgrims', 'piling', 'pilings', 'pillage', 'pillaged', 'pillager', 'pillagers', 'pillages', 'pillaging', 'pillar', 'pillars', 'pillbox', 'pillboxes', 'pilled', 'pilling', 'pillion', 'pillions', 'pilloried', 'pillories', 'pillory', 'pillorying', 'pillow', 'pillowcase', 'pillowcases', 'pillowed', 'pillowing', 'pillows', 'pillowslip', 'pillowslips', 'piloted', 'pilothouse', 'pilothouses', 'piloting', 'pilots', 'pimento', 'pimentos', 'pimiento', 'pimientos', 'pimped', 'pimpernel', 'pimpernels', 'pimping', 'pimple', 'pimpled', 'pimples', 'pimplier', 'pimpliest', 'pimply', 'pinafore', 'pinafores', 'pinata', 'pinatas', 'pinball', 'pinballs', 'pincer', 'pincers', 'pinched', 'pinches', 'pinching', 'pincushion', 'pincushions', 'pineapple', 'pineapples', 'pinfeather', 'pinfeathers', 'pinged', 'pinging', 'pinhead', 'pinheads', 'pinhole', 'pinholes', 'pinier', 'piniest', 'pining', 'pinion', 'pinioned', 'pinioning', 'pinions', 'pinked', 'pinker', 'pinkest', 'pinkeye', 'pinkeyes', 'pinkie', 'pinkies', 'pinking', 'pinkish', 'pinkness', 'pinknesses', 'pinkoes', 'pinkos', 'pinnacle', 'pinnacles', 'pinnate', 'pinned', 'pinning', 'pinochle', 'pinochles', 'pinocle', 'pinocles', 'pinones', 'pinons', 'pinpoint', 'pinpointed', 'pinpointing', 'pinpoints', 'pinprick', 'pinpricks', 'pinsetter', 'pinsetters', 'pinstripe', 'pinstriped', 'pinstripes', 'pintoes', 'pintos', 'pinups', 'pinwheel', 'pinwheeled', 'pinwheeling', 'pinwheels', 'pinyin', 'pinyon', 'pinyons', 'pioneer', 'pioneered', 'pioneering', 'pioneers', 'piously', 'piousness', 'piousnesses', 'pipeline', 'pipelines', 'pipers', 'pipette', 'pipettes', 'piping', 'pipings', 'pipits', 'pipped', 'pippin', 'pipping', 'pippins', 'pipsqueak', 'pipsqueaks', 'piquancies', 'piquancy', 'piquant', 'piquantly', 'piqued', 'piques', 'piquing', 'piracies', 'piracy', 'piranha', 'piranhas', 'pirate', 'pirated', 'pirates', 'piratical', 'piratically', 'pirating', 'pirogi', 'piroshki', 'pirouette', 'pirouetted', 'pirouettes', 'pirouetting', 'piscatorial', 'pismire', 'pismires', 'pissed', 'pisses', 'pissing', 'pistachio', 'pistachios', 'pistil', 'pistillate', 'pistils', 'pistol', 'pistols', 'piston', 'pistons', 'pitapat', 'pitapats', 'pitas', 'pitchblende', 'pitchblendes', 'pitched', 'pitcher', 'pitchers', 'pitches', 'pitchfork', 'pitchforked', 'pitchforking', 'pitchforks', 'pitching', 'pitchman', 'pitchmen', 'piteous', 'piteously', 'piteousness', 'piteousnesses', 'pitfall', 'pitfalls', 'pithier', 'pithiest', 'pithily', 'pithiness', 'pithinesses', 'piths', 'pitiable', 'pitiably', 'pitied', 'pities', 'pitiful', 'pitifully', 'pitiless', 'pitilessly', 'pitilessness', 'pitilessnesses', 'pitons', 'pittance', 'pittances', 'pitted', 'pitting', 'pituitaries', 'pituitary', 'pitying', 'pivotal', 'pivoted', 'pivoting', 'pivots', 'pixels', 'pixies', 'pizazz', 'pizazzes', 'pizzas', 'pizzazz', 'pizzazzes', 'pizzeria', 'pizzerias', 'pizzicati', 'pizzicato', 'placard', 'placarded', 'placarding', 'placards', 'placate', 'placated', 'placates', 'placating', 'placation', 'placations', 'placatory', 'placebo', 'placeboes', 'placebos', 'placed', 'placeholder', 'placeholders', 'placekick', 'placekicked', 'placekicker', 'placekickers', 'placekicking', 'placekicks', 'placement', 'placements', 'placenta', 'placentae', 'placental', 'placentas', 'placer', 'placers', 'places', 'placid', 'placidities', 'placidity', 'placidly', 'placing', 'placket', 'plackets', 'plagiaries', 'plagiarism', 'plagiarisms', 'plagiarist', 'plagiarists', 'plagiarize', 'plagiarized', 'plagiarizer', 'plagiarizers', 'plagiarizes', 'plagiarizing', 'plagiary', 'plague', 'plagued', 'plagues', 'plaguing', 'plaids', 'plainclothes', 'plainclothesman', 'plainclothesmen', 'plainer', 'plainest', 'plainly', 'plainness', 'plainnesses', 'plains', 'plainsman', 'plainsmen', 'plainsong', 'plainsongs', 'plainspoken', 'plaint', 'plaintiff', 'plaintiffs', 'plaintive', 'plaintively', 'plaints', 'plaited', 'plaiting', 'plaits', 'planed', 'planeload', 'planeloads', 'planer', 'planers', 'planes', 'planet', 'planetaria', 'planetarium', 'planetariums', 'planetary', 'planets', 'plangencies', 'plangency', 'plangent', 'planing', 'planked', 'planking', 'plankings', 'planks', 'plankton', 'planktons', 'planned', 'planner', 'planners', 'planning', 'plantain', 'plantains', 'plantar', 'plantation', 'plantations', 'planted', 'planter', 'planters', 'planting', 'plantings', 'plantlike', 'plants', 'plaque', 'plaques', 'plashed', 'plashes', 'plashing', 'plasma', 'plasmas', 'plaster', 'plasterboard', 'plasterboards', 'plastered', 'plasterer', 'plasterers', 'plastering', 'plasters', 'plastic', 'plasticities', 'plasticity', 'plasticize', 'plasticized', 'plasticizes', 'plasticizing', 'plastics', 'plastique!', 'plastiques!', 'plateau', 'plateaued', 'plateauing', 'plateaus', 'plateaux', 'plated', 'plateful', 'platefuls', 'platelet', 'platelets', 'platen', 'platens', 'plates', 'platform', 'platformed', 'platforming', 'platforms', 'platies', 'plating', 'platings', 'platinum', 'platinums', 'platitude', 'platitudes', 'platitudinous', 'platonic', 'platoon', 'platooned', 'platooning', 'platoons', 'platted', 'platter', 'platters', 'platting', 'platypi', 'platypus', 'platypuses', 'platys', 'plaudit', 'plaudits', 'plausibilities', 'plausibility', 'plausible', 'plausibly', 'playable', 'playact', 'playacted', 'playacting', 'playactings', 'playacts', 'playback', 'playbacks', 'playbill', 'playbills', 'playbook', 'playbooks', 'playboy', 'playboys', 'played', 'player', 'players', 'playfellow', 'playfellows', 'playful', 'playfully', 'playfulness', 'playfulnesses', 'playgirl', 'playgirls', 'playgoer', 'playgoers', 'playground', 'playgrounds', 'playhouse', 'playhouses', 'playing', 'playlist!', 'playlists!', 'playmate', 'playmates', 'playoff', 'playoffs', 'playpen', 'playpens', 'playroom', 'playrooms', 'plaything', 'playthings', 'playtime', 'playtimes', 'playwright', 'playwrights', 'plazas', 'pleaded', 'pleader', 'pleaders', 'pleading', 'pleadings', 'pleads', 'pleasant', 'pleasanter', 'pleasantest', 'pleasantly', 'pleasantness', 'pleasantnesses', 'pleasantries', 'pleasantry', 'please', 'pleased', 'pleases', 'pleasing', 'pleasingly', 'pleasurable', 'pleasurably', 'pleasure', 'pleasured', 'pleasureful', 'pleasures', 'pleasuring', 'pleated', 'pleating', 'pleats', 'plebeian', 'plebeians', 'plebes', 'plebiscite', 'plebiscites', 'plectra', 'plectrum', 'plectrums', 'pledge', 'pledged', 'pledges', 'pledging', 'plenaries', 'plenary', 'plenipotentiaries', 'plenipotentiary', 'plenitude', 'plenitudes', 'plenteous', 'plenties', 'plentiful', 'plentifully', 'plenty', 'pleonasm', 'pleonasms', 'plethora', 'plethoras', 'pleura', 'pleurae', 'pleurisies', 'pleurisy', 'plexiglass', 'plexiglasses', 'plexus', 'plexuses', 'pliabilities', 'pliability', 'pliable', 'pliancies', 'pliancy', 'pliant', 'pliers', 'plight', 'plighted', 'plighting', 'plights', 'plinth', 'plinths', 'plodded', 'plodder', 'plodders', 'plodding', 'plopped', 'plopping', 'plotted', 'plotter', 'plotters', 'plotting', 'plough', 'ploughed', 'ploughing', 'ploughs', 'plover', 'plovers', 'plowed', 'plowing', 'plowman', 'plowmen', 'plowshare', 'plowshares', 'plucked', 'pluckier', 'pluckiest', 'pluckily', 'pluckiness', 'pluckinesses', 'plucking', 'plucks', 'plucky', 'plugged', 'plugging', 'plumage', 'plumages', 'plumbed', 'plumber', 'plumbers', 'plumbing', 'plumbings', 'plumbs', 'plumed', 'plumes', 'plumier', 'plumiest', 'pluming', 'plummet', 'plummeted', 'plummeting', 'plummets', 'plumped', 'plumper', 'plumpest', 'plumping', 'plumply', 'plumpness', 'plumpnesses', 'plumps', 'plunder', 'plundered', 'plunderer', 'plunderers', 'plundering', 'plunders', 'plunge', 'plunged', 'plunger', 'plungers', 'plunges', 'plunging', 'plunked', 'plunking', 'plunks', 'pluperfect', 'pluperfects', 'plural', 'pluralism', 'pluralisms', 'pluralist', 'pluralistic', 'pluralists', 'pluralities', 'plurality', 'pluralization', 'pluralizations', 'pluralize', 'pluralized', 'pluralizes', 'pluralizing', 'plurals', 'pluses', 'plusher', 'plushes', 'plushest', 'plushier', 'plushiest', 'plushly', 'plushness', 'plushnesses', 'plushy', 'plusses', 'plutocracies', 'plutocracy', 'plutocrat', 'plutocratic', 'plutocrats', 'plutonium', 'plutoniums', 'pluvial', 'plying', 'plywood', 'plywoods', 'pneumatic', 'pneumatically', 'pneumonia', 'pneumonias', 'poached', 'poacher', 'poachers', 'poaches', 'poaching', 'poachings', 'pocked', 'pocket', 'pocketbook', 'pocketbooks', 'pocketed', 'pocketful', 'pocketfuls', 'pocketing', 'pocketknife', 'pocketknives', 'pockets', 'pocketsful', 'pockmark', 'pockmarked', 'pockmarking', 'pockmarks', 'podcast!', 'podcasting!', 'podcasts!', 'podded', 'podding', 'podiatries', 'podiatrist', 'podiatrists', 'podiatry', 'podium', 'podiums', 'poesies', 'poetaster', 'poetasters', 'poetess', 'poetesses', 'poetic', 'poetical', 'poetically', 'poetries', 'poetry', 'pogrom', 'pogroms', 'poignancies', 'poignancy', 'poignant', 'poignantly', 'poinciana', 'poincianas', 'poinsettia', 'poinsettias', 'pointblank', 'pointed', 'pointedly', 'pointer', 'pointers', 'pointier', 'pointiest', 'pointillism', 'pointillisms', 'pointillist', 'pointillists', 'pointing', 'pointless', 'pointlessly', 'pointlessness', 'pointlessnesses', 'points', 'pointy', 'poised', 'poises', 'poising', 'poison', 'poisoned', 'poisoner', 'poisoners', 'poisoning', 'poisonings', 'poisonous', 'poisonously', 'poisons', 'pokers', 'pokeys', 'pokier', 'pokiest', 'poking', 'polarities', 'polarity', 'polarization', 'polarizations', 'polarize', 'polarized', 'polarizes', 'polarizing', 'polecat', 'polecats', 'polemic', 'polemical', 'polemically', 'polemicist', 'polemicists', 'polemics', 'polestar', 'polestars', 'police', 'policed', 'policeman', 'policemen', 'polices', 'policewoman', 'policewomen', 'policies', 'policing', 'policy', 'policyholder', 'policyholders', 'poling', 'poliomyelitides', 'poliomyelitis', 'polios', 'polish', 'polished', 'polisher', 'polishers', 'polishes', 'polishing', 'politburo', 'politburos', 'polite', 'politely', 'politeness', 'politenesses', 'politer', 'politesse', 'politesses', 'politest', 'politic', 'political', 'politically', 'politician', 'politicians', 'politicization', 'politicizations', 'politicize', 'politicized', 'politicizes', 'politicizing', 'politicking', 'politickings', 'politico', 'politicoes', 'politicos', 'politics', 'polities', 'polity', 'polkaed', 'polkaing', 'polkas', 'pollack', 'pollacks', 'polled', 'pollen', 'pollens', 'pollinate', 'pollinated', 'pollinates', 'pollinating', 'pollination', 'pollinations', 'pollinator', 'pollinators', 'polling', 'pollings', 'polliwog', 'polliwogs', 'pollock', 'pollocks', 'pollster', 'pollsters', 'pollutant', 'pollutants', 'pollute', 'polluted', 'polluter', 'polluters', 'pollutes', 'polluting', 'pollution', 'pollutions', 'pollywog', 'pollywogs', 'polonaise', 'polonaises', 'polonium', 'poloniums', 'polos', 'poltergeist', 'poltergeists', 'poltroon', 'poltroons', 'polyamories!', 'polyamory!', 'polyandries', 'polyandrous', 'polyandry', 'polyclinic', 'polyclinics', 'polyester', 'polyesters', 'polyethylene', 'polyethylenes', 'polygamies', 'polygamist', 'polygamists', 'polygamous', 'polygamy', 'polyglot', 'polyglots', 'polygon', 'polygonal', 'polygons', 'polygraph', 'polygraphed', 'polygraphing', 'polygraphs', 'polyhedra', 'polyhedral', 'polyhedron', 'polyhedrons', 'polymath', 'polymaths', 'polymer', 'polymeric', 'polymerization', 'polymerizations', 'polymerize', 'polymerized', 'polymerizes', 'polymerizing', 'polymers', 'polynomial', 'polynomials', 'polyphonic', 'polyphonies', 'polyphony', 'polypropylene', 'polypropylenes', 'polyps', 'polystyrene', 'polystyrenes', 'polysyllabic', 'polysyllable', 'polysyllables', 'polytechnic', 'polytechnics', 'polytheism', 'polytheisms', 'polytheist', 'polytheistic', 'polytheists', 'polyunsaturated', 'polyurethane', 'polyurethanes', 'polyvinyl', 'pomade', 'pomaded', 'pomades', 'pomading', 'pomander', 'pomanders', 'pomegranate', 'pomegranates', 'pommel', 'pommeled', 'pommeling', 'pommelled', 'pommelling', 'pommels', 'pompadour', 'pompadours', 'pompano', 'pompanos', 'pompom', 'pompoms', 'pompon', 'pompons', 'pomposities', 'pomposity', 'pompous', 'pompously', 'pompousness', 'pompousnesses', 'pomps', 'poncho', 'ponchos', 'ponder', 'pondered', 'ponderer', 'ponderers', 'pondering', 'ponderous', 'ponderously', 'ponderousness', 'ponderousnesses', 'ponders', 'pongee', 'pongees', 'poniard', 'poniards', 'ponies', 'pontiff', 'pontiffs', 'pontifical', 'pontifically', 'pontificate', 'pontificated', 'pontificates', 'pontificating', 'pontoon', 'pontoons', 'ponytail', 'ponytails', 'pooches', 'poodle', 'poodles', 'poohed', 'poohing', 'pooled', 'pooling', 'poolroom', 'poolrooms', 'pooped', 'pooping', 'poorboy', 'poorboys', 'poorer', 'poorest', 'poorhouse', 'poorhouses', 'poorly', 'poorness', 'poornesses', 'popcorn', 'popcorns', 'popgun', 'popguns', 'popinjay', 'popinjays', 'poplar', 'poplars', 'poplin', 'poplins', 'popover', 'popovers', 'poppas', 'popped', 'popper', 'poppers', 'poppies', 'popping', 'poppycock', 'poppycocks', 'populace', 'populaces', 'popular', 'popularities', 'popularity', 'popularization', 'popularizations', 'popularize', 'popularized', 'popularizes', 'popularizing', 'popularly', 'populate', 'populated', 'populates', 'populating', 'population', 'populations', 'populism', 'populisms', 'populist', 'populists', 'populous', 'populousness', 'populousnesses', 'porcelain', 'porcelains', 'porches', 'porcine', 'porcupine', 'porcupines', 'porgies', 'poring', 'porker', 'porkers', 'porkier', 'porkies', 'porkiest', 'porks', 'pornographer', 'pornographers', 'pornographic', 'pornographically', 'pornographies', 'pornography', 'pornos', 'porns', 'porosities', 'porosity', 'porous', 'porousness', 'porousnesses', 'porphyries', 'porphyritic', 'porphyry', 'porpoise', 'porpoised', 'porpoises', 'porpoising', 'porridge', 'porridges', 'porringer', 'porringers', 'portabilities', 'portability', 'portable', 'portables', 'portage', 'portaged', 'portages', 'portaging', 'portal', 'portals', 'portcullis', 'portcullises', 'ported', 'portend', 'portended', 'portending', 'portends', 'portent', 'portentous', 'portentously', 'portents', 'porter', 'porterhouse', 'porterhouses', 'porters', 'portfolio', 'portfolios', 'porthole', 'portholes', 'portico', 'porticoes', 'porticos', 'portiere', 'portieres', 'porting', 'portion', 'portioned', 'portioning', 'portions', 'portlier', 'portliest', 'portliness', 'portlinesses', 'portly', 'portmanteau', 'portmanteaus', 'portmanteaux', 'portrait', 'portraitist', 'portraitists', 'portraits', 'portraiture', 'portraitures', 'portray', 'portrayal', 'portrayals', 'portrayed', 'portraying', 'portrays', 'portulaca', 'portulacas', 'posers', 'poseur', 'poseurs', 'posher', 'poshest', 'posies', 'posing', 'posited', 'positing', 'position', 'positioned', 'positioning', 'positions', 'positive', 'positively', 'positiveness', 'positivenesses', 'positives', 'positron', 'positrons', 'posits', 'posses', 'possess', 'possessed', 'possesses', 'possessing', 'possession', 'possessions', 'possessive', 'possessively', 'possessiveness', 'possessivenesses', 'possessives', 'possessor', 'possessors', 'possibilities', 'possibility', 'possible', 'possibles', 'possibly', 'possum', 'possums', 'postage', 'postages', 'postal', 'postcard', 'postcards', 'postconsonantal', 'postdate', 'postdated', 'postdates', 'postdating', 'postdoctoral', 'posted', 'poster', 'posterior', 'posteriors', 'posterities', 'posterity', 'posters', 'postgraduate', 'postgraduates', 'posthaste', 'posthumous', 'posthumously', 'posthypnotic', 'postilion', 'postilions', 'postillion', 'postillions', 'postindustrial', 'posting', 'postings', 'postlude', 'postludes', 'postman', 'postmark', 'postmarked', 'postmarking', 'postmarks', 'postmaster', 'postmasters', 'postmen', 'postmenopausal', 'postmeridian', 'postmistress', 'postmistresses', 'postmodern', 'postmodernism', 'postmodernisms', 'postmodernist', 'postmodernists', 'postmortem', 'postmortems', 'postnasal', 'postnatal', 'postoperative', 'postpaid', 'postpartum', 'postpone', 'postponed', 'postponement', 'postponements', 'postpones', 'postponing', 'postprandial', 'postscript', 'postscripts', 'postseason', 'postseasons', 'postulate', 'postulated', 'postulates', 'postulating', 'postulation', 'postulations', 'posture', 'postured', 'postures', 'posturing', 'posturings', 'postwar', 'potabilities', 'potability', 'potable', 'potables', 'potash', 'potashes', 'potassium', 'potassiums', 'potato', 'potatoes', 'potbellied', 'potbellies', 'potbelly', 'potboiler', 'potboilers', 'potencies', 'potency', 'potent', 'potentate', 'potentates', 'potential', 'potentialities', 'potentiality', 'potentially', 'potentials', 'potently', 'potful', 'potfuls', 'pothead', 'potheads', 'pother', 'potherb', 'potherbs', 'pothered', 'pothering', 'pothers', 'potholder', 'potholders', 'pothole', 'potholed', 'potholes', 'potholing', 'pothook', 'pothooks', 'potion', 'potions', 'potluck', 'potlucks', 'potpie', 'potpies', 'potpourri', 'potpourris', 'potsherd', 'potsherds', 'potshot', 'potshots', 'pottage', 'pottages', 'potted', 'potter', 'pottered', 'potteries', 'pottering', 'potters', 'pottery', 'pottier', 'potties', 'pottiest', 'potting', 'pouched', 'pouches', 'pouching', 'poulterer', 'poulterers', 'poultice', 'poulticed', 'poultices', 'poulticing', 'poultries', 'poultry', 'pounce', 'pounced', 'pounces', 'pouncing', 'poundage', 'poundages', 'pounded', 'pounding', 'poundings', 'pounds', 'poured', 'pouring', 'pouted', 'pouter', 'pouters', 'pouting', 'poverties', 'poverty', 'powder', 'powdered', 'powdering', 'powders', 'powdery', 'powerboat', 'powerboats', 'powered', 'powerful', 'powerfully', 'powerhouse', 'powerhouses', 'powering', 'powerless', 'powerlessly', 'powerlessness', 'powerlessnesses', 'powers', 'powwow', 'powwowed', 'powwowing', 'powwows', 'practicabilities', 'practicability', 'practicable', 'practicably', 'practical', 'practicalities', 'practicality', 'practically', 'practicals', 'practice', 'practiced', 'practices', 'practicing', 'practicum', 'practicums', 'practise', 'practised', 'practises', 'practising', 'practitioner', 'practitioners', 'praetor', 'praetorian', 'praetors', 'pragmatic', 'pragmatical', 'pragmatically', 'pragmatics', 'pragmatism', 'pragmatisms', 'pragmatist', 'pragmatists', 'prairie', 'prairies', 'praise', 'praised', 'praises', 'praiseworthier', 'praiseworthiest', 'praiseworthiness', 'praiseworthinesses', 'praiseworthy', 'praising', 'praline', 'pralines', 'prance', 'pranced', 'prancer', 'prancers', 'prances', 'prancing', 'prancingly', 'pranks', 'prankster', 'pranksters', 'praseodymium', 'praseodymiums', 'prated', 'prater', 'praters', 'prates', 'pratfall', 'pratfalls', 'prating', 'prattle', 'prattled', 'prattler', 'prattlers', 'prattles', 'prattling', 'prawned', 'prawning', 'prawns', 'prayed', 'prayer', 'prayerful', 'prayerfully', 'prayers', 'praying', 'preach', 'preached', 'preacher', 'preachers', 'preaches', 'preachier', 'preachiest', 'preaching', 'preachment', 'preachments', 'preachy', 'preadolescence', 'preadolescences', 'preamble', 'preambles', 'prearrange', 'prearranged', 'prearrangement', 'prearrangements', 'prearranges', 'prearranging', 'preassigned', 'precancel', 'precanceled', 'precanceling', 'precancelled', 'precancelling', 'precancels', 'precancerous', 'precarious', 'precariously', 'precariousness', 'precariousnesses', 'precaution', 'precautionary', 'precautions', 'precede', 'preceded', 'precedence', 'precedences', 'precedent', 'precedents', 'precedes', 'preceding', 'precept', 'preceptor', 'preceptors', 'precepts', 'precinct', 'precincts', 'preciosities', 'preciosity', 'precious', 'preciously', 'preciousness', 'preciousnesses', 'precipice', 'precipices', 'precipitant', 'precipitants', 'precipitate', 'precipitated', 'precipitately', 'precipitates', 'precipitating', 'precipitation', 'precipitations', 'precipitous', 'precipitously', 'precis', 'precise', 'precised', 'precisely', 'preciseness', 'precisenesses', 'preciser', 'precises', 'precisest', 'precising', 'precision', 'precisions', 'preclude', 'precluded', 'precludes', 'precluding', 'preclusion', 'preclusions', 'precocious', 'precociously', 'precociousness', 'precociousnesses', 'precocities', 'precocity', 'precognition', 'precognitions', 'precognitive', 'precolonial', 'preconceive', 'preconceived', 'preconceives', 'preconceiving', 'preconception', 'preconceptions', 'precondition', 'preconditioned', 'preconditioning', 'preconditions', 'precook', 'precooked', 'precooking', 'precooks', 'precursor', 'precursors', 'precursory', 'predate', 'predated', 'predates', 'predating', 'predator', 'predators', 'predatory', 'predawn', 'predecease', 'predeceased', 'predeceases', 'predeceasing', 'predecessor', 'predecessors', 'predesignate', 'predesignated', 'predesignates', 'predesignating', 'predestination', 'predestinations', 'predestine', 'predestined', 'predestines', 'predestining', 'predetermination', 'predeterminations', 'predetermine', 'predetermined', 'predeterminer', 'predeterminers', 'predetermines', 'predetermining', 'predicable', 'predicament', 'predicaments', 'predicate', 'predicated', 'predicates', 'predicating', 'predication', 'predications', 'predicative', 'predict', 'predictabilities', 'predictability', 'predictable', 'predictably', 'predicted', 'predicting', 'prediction', 'predictions', 'predictive', 'predictor', 'predictors', 'predicts', 'predigest', 'predigested', 'predigesting', 'predigests', 'predilection', 'predilections', 'predispose', 'predisposed', 'predisposes', 'predisposing', 'predisposition', 'predispositions', 'predominance', 'predominances', 'predominant', 'predominantly', 'predominate', 'predominated', 'predominates', 'predominating', 'preemie', 'preemies', 'preeminence', 'preeminences', 'preeminent', 'preeminently', 'preempt', 'preempted', 'preempting', 'preemption', 'preemptions', 'preemptive', 'preempts', 'preened', 'preening', 'preens', 'preexist', 'preexisted', 'preexistence', 'preexistences', 'preexisting', 'preexists', 'prefab', 'prefabbed', 'prefabbing', 'prefabricate', 'prefabricated', 'prefabricates', 'prefabricating', 'prefabrication', 'prefabrications', 'prefabs', 'preface', 'prefaced', 'prefaces', 'prefacing', 'prefatory', 'prefect', 'prefects', 'prefecture', 'prefectures', 'prefer', 'preferable', 'preferably', 'preference', 'preferences', 'preferential', 'preferentially', 'preferment', 'preferments', 'preferred', 'preferring', 'prefers', 'prefigure', 'prefigured', 'prefigures', 'prefiguring', 'prefix', 'prefixed', 'prefixes', 'prefixing', 'preform', 'preformed', 'preforming', 'preforms', 'pregame', 'pregames', 'pregnancies', 'pregnancy', 'pregnant', 'preheat', 'preheated', 'preheating', 'preheats', 'prehensile', 'prehistoric', 'prehistorical', 'prehistorically', 'prehistories', 'prehistory', 'prejudge', 'prejudged', 'prejudges', 'prejudging', 'prejudgment', 'prejudgments', 'prejudice', 'prejudiced', 'prejudices', 'prejudicial', 'prejudicing', 'prekindergarten', 'prekindergartens', 'prelacies', 'prelacy', 'prelate', 'prelates', 'prelim', 'preliminaries', 'preliminary', 'prelims', 'preliterate', 'prelude', 'preludes', 'premarital', 'premature', 'prematurely', 'premed', 'premedical', 'premeditate', 'premeditated', 'premeditates', 'premeditating', 'premeditation', 'premeditations', 'premeds', 'premenstrual', 'premier', 'premiere', 'premiered', 'premieres', 'premiering', 'premiers', 'premiership', 'premierships', 'premise', 'premised', 'premises', 'premising', 'premiss', 'premisses', 'premium', 'premiums', 'premix', 'premixed', 'premixes', 'premixing', 'premolar', 'premolars', 'premonition', 'premonitions', 'premonitory', 'prenatal', 'prenatally', 'prenup!', 'prenups!', 'prenuptial', 'preoccupation', 'preoccupations', 'preoccupied', 'preoccupies', 'preoccupy', 'preoccupying', 'preoperative', 'preordain', 'preordained', 'preordaining', 'preordains', 'prepackage', 'prepackaged', 'prepackages', 'prepackaging', 'prepaid', 'preparation', 'preparations', 'preparatory', 'prepare', 'prepared', 'preparedness', 'preparednesses', 'prepares', 'preparing', 'prepay', 'prepaying', 'prepayment', 'prepayments', 'prepays', 'preponderance', 'preponderances', 'preponderant', 'preponderantly', 'preponderate', 'preponderated', 'preponderates', 'preponderating', 'preposition', 'prepositional', 'prepositionally', 'prepositions', 'prepossess', 'prepossessed', 'prepossesses', 'prepossessing', 'prepossession', 'prepossessions', 'preposterous', 'preposterously', 'prepped', 'preppie', 'preppier', 'preppies', 'preppiest', 'prepping', 'preppy', 'prepubescence', 'prepubescences', 'prepubescent', 'prepubescents', 'prepuce', 'prepuces', 'prequel', 'prequels', 'prerecord', 'prerecorded', 'prerecording', 'prerecords', 'preregister', 'preregistered', 'preregistering', 'preregisters', 'preregistration', 'preregistrations', 'prerequisite', 'prerequisites', 'prerogative', 'prerogatives', 'presage', 'presaged', 'presages', 'presaging', 'presbyopia', 'presbyopias', 'presbyter', 'presbyteries', 'presbyters', 'presbytery', 'preschool', 'preschooler', 'preschoolers', 'preschools', 'prescience', 'presciences', 'prescient', 'presciently', 'prescribe', 'prescribed', 'prescribes', 'prescribing', 'prescript', 'prescription', 'prescriptions', 'prescriptive', 'prescriptively', 'prescripts', 'preseason', 'preseasons', 'presence', 'presences', 'present', 'presentable', 'presentably', 'presentation', 'presentations', 'presented', 'presenter', 'presenters', 'presentiment', 'presentiments', 'presenting', 'presently', 'presentment', 'presentments', 'presents', 'preservable', 'preservation', 'preservationist', 'preservationists', 'preservations', 'preservative', 'preservatives', 'preserve', 'preserved', 'preserver', 'preservers', 'preserves', 'preserving', 'preset', 'presets', 'presetting', 'preshrank', 'preshrink', 'preshrinking', 'preshrinks', 'preshrunk', 'preshrunken', 'preside', 'presided', 'presidencies', 'presidency', 'president', 'presidential', 'presidents', 'presides', 'presidia', 'presiding', 'presidium', 'presidiums', 'presort', 'presorted', 'presorting', 'presorts', 'pressed', 'presser', 'pressers', 'presses', 'pressing', 'pressingly', 'pressings', 'pressman', 'pressmen', 'pressure', 'pressured', 'pressures', 'pressuring', 'pressurization', 'pressurizations', 'pressurize', 'pressurized', 'pressurizer', 'pressurizers', 'pressurizes', 'pressurizing', 'prestidigitation', 'prestidigitations', 'prestige', 'prestiges', 'prestigious', 'presto', 'prestos', 'presumable', 'presumably', 'presume', 'presumed', 'presumes', 'presuming', 'presumption', 'presumptions', 'presumptive', 'presumptuous', 'presumptuously', 'presumptuousness', 'presumptuousnesses', 'presuppose', 'presupposed', 'presupposes', 'presupposing', 'presupposition', 'presuppositions', 'pretax', 'preteen', 'preteens', 'pretence', 'pretences', 'pretend', 'pretended', 'pretender', 'pretenders', 'pretending', 'pretends', 'pretense', 'pretenses', 'pretension', 'pretensions', 'pretentious', 'pretentiously', 'pretentiousness', 'pretentiousnesses', 'preterit', 'preterite', 'preterites', 'preterits', 'preterm', 'preternatural', 'preternaturally', 'pretest', 'pretested', 'pretesting', 'pretests', 'pretext', 'pretexts', 'pretrial', 'prettied', 'prettier', 'pretties', 'prettiest', 'prettified', 'prettifies', 'prettify', 'prettifying', 'prettily', 'prettiness', 'prettinesses', 'pretty', 'prettying', 'pretzel', 'pretzels', 'prevail', 'prevailed', 'prevailing', 'prevails', 'prevalence', 'prevalences', 'prevalent', 'prevaricate', 'prevaricated', 'prevaricates', 'prevaricating', 'prevarication', 'prevarications', 'prevaricator', 'prevaricators', 'prevent', 'preventable', 'preventative', 'preventatives', 'prevented', 'preventible', 'preventing', 'prevention', 'preventions', 'preventive', 'preventives', 'prevents', 'preview', 'previewed', 'previewing', 'previews', 'previous', 'previously', 'prevision', 'previsions', 'prevue', 'prevues', 'prewar', 'preyed', 'preying', 'priapic', 'priced', 'priceless', 'prices', 'pricey', 'pricier', 'priciest', 'pricing', 'pricked', 'pricker', 'prickers', 'pricking', 'prickle', 'prickled', 'prickles', 'pricklier', 'prickliest', 'prickliness', 'pricklinesses', 'prickling', 'prickly', 'pricks', 'prided', 'prideful', 'pridefully', 'prides', 'priding', 'priers', 'priest', 'priestess', 'priestesses', 'priesthood', 'priesthoods', 'priestlier', 'priestliest', 'priestliness', 'priestlinesses', 'priestly', 'priests', 'priggish', 'priggishness', 'priggishnesses', 'primacies', 'primacy', 'primaeval', 'primal', 'primaries', 'primarily', 'primary', 'primate', 'primates', 'primed', 'primer', 'primers', 'primes', 'primeval', 'priming', 'primings', 'primitive', 'primitively', 'primitiveness', 'primitivenesses', 'primitives', 'primly', 'primmer', 'primmest', 'primness', 'primnesses', 'primogenitor', 'primogenitors', 'primogeniture', 'primogenitures', 'primordial', 'primordially', 'primped', 'primping', 'primps', 'primrose', 'primroses', 'prince', 'princedom', 'princedoms', 'princelier', 'princeliest', 'princeliness', 'princelinesses', 'princely', 'princes', 'princess', 'princesses', 'principal', 'principalities', 'principality', 'principally', 'principals', 'principle', 'principled', 'principles', 'printable', 'printed', 'printer', 'printers', 'printing', 'printings', 'printout', 'printouts', 'prints', 'prioress', 'prioresses', 'priories', 'priorities', 'prioritize', 'prioritized', 'prioritizes', 'prioritizing', 'priority', 'priors', 'priory', 'prised', 'prises', 'prising', 'prismatic', 'prisms', 'prison', 'prisoner', 'prisoners', 'prisons', 'prissier', 'prissiest', 'prissily', 'prissiness', 'prissinesses', 'prissy', 'pristine', 'prithee', 'privacies', 'privacy', 'private', 'privateer', 'privateers', 'privately', 'privater', 'privates', 'privatest', 'privation', 'privations', 'privatization', 'privatizations', 'privatize', 'privatized', 'privatizes', 'privatizing', 'privet', 'privets', 'privier', 'privies', 'priviest', 'privilege', 'privileged', 'privileges', 'privileging', 'privily', 'prized', 'prizefight', 'prizefighter', 'prizefighters', 'prizefighting', 'prizefightings', 'prizefights', 'prizes', 'prizewinner', 'prizewinners', 'prizewinning', 'prizing', 'proactive', 'probabilities', 'probability', 'probable', 'probables', 'probably', 'probate', 'probated', 'probates', 'probating', 'probation', 'probational', 'probationary', 'probationer', 'probationers', 'probations', 'probed', 'probes', 'probing', 'probities', 'probity', 'problem', 'problematic', 'problematical', 'problematically', 'problems', 'proboscides', 'proboscis', 'proboscises', 'procaine', 'procaines', 'procedural', 'procedure', 'procedures', 'proceed', 'proceeded', 'proceeding', 'proceedings', 'proceeds', 'process', 'processed', 'processes', 'processing', 'procession', 'processional', 'processionals', 'processioned', 'processioning', 'processions', 'processor', 'processors', 'proclaim', 'proclaimed', 'proclaiming', 'proclaims', 'proclamation', 'proclamations', 'proclivities', 'proclivity', 'proconsul', 'proconsular', 'proconsuls', 'procrastinate', 'procrastinated', 'procrastinates', 'procrastinating', 'procrastination', 'procrastinations', 'procrastinator', 'procrastinators', 'procreate', 'procreated', 'procreates', 'procreating', 'procreation', 'procreations', 'procreative', 'proctor', 'proctored', 'proctoring', 'proctors', 'procurable', 'procurator', 'procurators', 'procure', 'procured', 'procurement', 'procurements', 'procurer', 'procurers', 'procures', 'procuring', 'prodded', 'prodding', 'prodigal', 'prodigalities', 'prodigality', 'prodigals', 'prodigies', 'prodigious', 'prodigiously', 'prodigy', 'produce', 'produced', 'producer', 'producers', 'produces', 'producible', 'producing', 'product', 'production', 'productions', 'productive', 'productively', 'productiveness', 'productivenesses', 'productivities', 'productivity', 'products', 'profanation', 'profanations', 'profane', 'profaned', 'profanely', 'profaneness', 'profanenesses', 'profanes', 'profaning', 'profanities', 'profanity', 'profess', 'professed', 'professedly', 'professes', 'professing', 'profession', 'professional', 'professionalism', 'professionalisms', 'professionalize', 'professionalized', 'professionalizes', 'professionalizing', 'professionally', 'professionals', 'professions', 'professor', 'professorial', 'professorially', 'professors', 'professorship', 'professorships', 'proffer', 'proffered', 'proffering', 'proffers', 'proficiencies', 'proficiency', 'proficient', 'proficiently', 'proficients', 'profile', 'profiled', 'profiles', 'profiling', 'profit', 'profitabilities', 'profitability', 'profitable', 'profitably', 'profited', 'profiteer', 'profiteered', 'profiteering', 'profiteerings', 'profiteers', 'profiterole', 'profiteroles', 'profiting', 'profitless', 'profits', 'profligacies', 'profligacy', 'profligate', 'profligately', 'profligates', 'profound', 'profounder', 'profoundest', 'profoundly', 'profoundness', 'profoundnesses', 'profundities', 'profundity', 'profuse', 'profusely', 'profuseness', 'profusenesses', 'profuser', 'profusest', 'profusion', 'profusions', 'progenies', 'progenitor', 'progenitors', 'progeny', 'progesterone', 'progesterones', 'prognathous', 'prognoses', 'prognosis', 'prognostic', 'prognosticate', 'prognosticated', 'prognosticates', 'prognosticating', 'prognostication', 'prognostications', 'prognosticator', 'prognosticators', 'prognostics', 'program', 'programed', 'programer', 'programers', 'programing', 'programmable', 'programmables', 'programmatic', 'programme', 'programmed', 'programmer', 'programmers', 'programmes', 'programming', 'programmings', 'programs', 'progress', 'progressed', 'progresses', 'progressing', 'progression', 'progressions', 'progressive', 'progressively', 'progressiveness', 'progressivenesses', 'progressives', 'prohibit', 'prohibited', 'prohibiting', 'prohibition', 'prohibitionist', 'prohibitionists', 'prohibitions', 'prohibitive', 'prohibitively', 'prohibitory', 'prohibits', 'project', 'projected', 'projectile', 'projectiles', 'projecting', 'projection', 'projectionist', 'projectionists', 'projections', 'projector', 'projectors', 'projects', 'prolapse', 'prolapsed', 'prolapses', 'prolapsing', 'proletarian', 'proletarians', 'proletariat', 'proletariats', 'proliferate', 'proliferated', 'proliferates', 'proliferating', 'proliferation', 'proliferations', 'prolific', 'prolifically', 'prolix', 'prolixities', 'prolixity', 'prolixly', 'prolog', 'prologs', 'prologue', 'prologues', 'prolong', 'prolongation', 'prolongations', 'prolonged', 'prolonging', 'prolongs', 'promenade', 'promenaded', 'promenades', 'promenading', 'promethium', 'promethiums', 'prominence', 'prominences', 'prominent', 'prominently', 'promiscuities', 'promiscuity', 'promiscuous', 'promiscuously', 'promise', 'promised', 'promises', 'promising', 'promisingly', 'promissory', 'promoed', 'promoing', 'promontories', 'promontory', 'promos', 'promote', 'promoted', 'promoter', 'promoters', 'promotes', 'promoting', 'promotion', 'promotional', 'promotions', 'prompt', 'prompted', 'prompter', 'prompters', 'promptest', 'prompting', 'promptings', 'promptitude', 'promptitudes', 'promptly', 'promptness', 'promptnesses', 'prompts', 'promulgate', 'promulgated', 'promulgates', 'promulgating', 'promulgation', 'promulgations', 'promulgator', 'promulgators', 'proneness', 'pronenesses', 'proner', 'pronest', 'pronged', 'pronghorn', 'pronghorns', 'prongs', 'pronominal', 'pronominals', 'pronoun', 'pronounce', 'pronounceable', 'pronounced', 'pronouncement', 'pronouncements', 'pronounces', 'pronouncing', 'pronouns', 'pronto', 'pronuclear', 'pronunciation', 'pronunciations', 'proofed', 'proofing', 'proofread', 'proofreader', 'proofreaders', 'proofreading', 'proofreads', 'proofs', 'propaganda', 'propagandas', 'propagandist', 'propagandists', 'propagandize', 'propagandized', 'propagandizes', 'propagandizing', 'propagate', 'propagated', 'propagates', 'propagating', 'propagation', 'propagations', 'propagator', 'propagators', 'propane', 'propanes', 'propel', 'propellant', 'propellants', 'propelled', 'propellent', 'propellents', 'propeller', 'propellers', 'propelling', 'propels', 'propensities', 'propensity', 'proper', 'properer', 'properest', 'properly', 'propers', 'propertied', 'properties', 'property', 'prophecies', 'prophecy', 'prophesied', 'prophesier', 'prophesiers', 'prophesies', 'prophesy', 'prophesying', 'prophet', 'prophetess', 'prophetesses', 'prophetic', 'prophetical', 'prophetically', 'prophets', 'prophylactic', 'prophylactics', 'prophylaxes', 'prophylaxis', 'propinquities', 'propinquity', 'propitiate', 'propitiated', 'propitiates', 'propitiating', 'propitiation', 'propitiations', 'propitiatory', 'propitious', 'propitiously', 'proponent', 'proponents', 'proportion', 'proportional', 'proportionally', 'proportionate', 'proportionately', 'proportioned', 'proportioning', 'proportions', 'proposal', 'proposals', 'propose', 'proposed', 'proposer', 'proposers', 'proposes', 'proposing', 'proposition', 'propositional', 'propositioned', 'propositioning', 'propositions', 'propound', 'propounded', 'propounding', 'propounds', 'propped', 'propping', 'proprietaries', 'proprietary', 'proprieties', 'proprietor', 'proprietorial', 'proprietors', 'proprietorship', 'proprietorships', 'proprietress', 'proprietresses', 'propriety', 'propulsion', 'propulsions', 'propulsive', 'prorate', 'prorated', 'prorates', 'prorating', 'prorogation', 'prorogations', 'prorogue', 'prorogued', 'prorogues', 'proroguing', 'prosaic', 'prosaically', 'proscenia', 'proscenium', 'prosceniums', 'prosciutti', 'prosciutto', 'prosciuttos', 'proscribe', 'proscribed', 'proscribes', 'proscribing', 'proscription', 'proscriptions', 'prosecute', 'prosecuted', 'prosecutes', 'prosecuting', 'prosecution', 'prosecutions', 'prosecutor', 'prosecutors', 'proselyte', 'proselyted', 'proselytes', 'proselyting', 'proselytism', 'proselytisms', 'proselytize', 'proselytized', 'proselytizer', 'proselytizers', 'proselytizes', 'proselytizing', 'proses', 'prosier', 'prosiest', 'prosodies', 'prosody', 'prospect', 'prospected', 'prospecting', 'prospective', 'prospectively', 'prospector', 'prospectors', 'prospects', 'prospectus', 'prospectuses', 'prosper', 'prospered', 'prospering', 'prosperities', 'prosperity', 'prosperous', 'prosperously', 'prospers', 'prostate', 'prostates', 'prostheses', 'prosthesis', 'prosthetic', 'prostitute', 'prostituted', 'prostitutes', 'prostituting', 'prostitution', 'prostitutions', 'prostrate', 'prostrated', 'prostrates', 'prostrating', 'prostration', 'prostrations', 'protactinium', 'protactiniums', 'protagonist', 'protagonists', 'protean', 'protect', 'protected', 'protecting', 'protection', 'protectionism', 'protectionisms', 'protectionist', 'protectionists', 'protections', 'protective', 'protectively', 'protectiveness', 'protectivenesses', 'protector', 'protectorate', 'protectorates', 'protectors', 'protects', 'protege', 'proteges', 'protein', 'proteins', 'protest', 'protestation', 'protestations', 'protested', 'protester', 'protesters', 'protesting', 'protestor', 'protestors', 'protests', 'protocol', 'protocols', 'proton', 'protons', 'protoplasm', 'protoplasmic', 'protoplasms', 'prototype', 'prototypes', 'prototypical', 'protozoa', 'protozoan', 'protozoans', 'protozoic', 'protozoon', 'protract', 'protracted', 'protracting', 'protraction', 'protractions', 'protractor', 'protractors', 'protracts', 'protrude', 'protruded', 'protrudes', 'protruding', 'protrusile', 'protrusion', 'protrusions', 'protuberance', 'protuberances', 'protuberant', 'prouder', 'proudest', 'proudly', 'provabilities', 'provability', 'provable', 'proved', 'proven', 'provenance', 'provenances', 'provender', 'provenders', 'provenience', 'proveniences', 'proverb', 'proverbial', 'proverbially', 'proverbs', 'proves', 'provide', 'provided', 'providence', 'providences', 'provident', 'providential', 'providentially', 'providently', 'provider', 'providers', 'provides', 'providing', 'province', 'provinces', 'provincial', 'provincialism', 'provincialisms', 'provincially', 'provincials', 'proving', 'provision', 'provisional', 'provisionally', 'provisioned', 'provisioning', 'provisions', 'proviso', 'provisoes', 'provisos', 'provocation', 'provocations', 'provocative', 'provocatively', 'provocativeness', 'provocativenesses', 'provoke', 'provoked', 'provoker', 'provokers', 'provokes', 'provoking', 'provokingly', 'provolone', 'provolones', 'provost', 'provosts', 'prowess', 'prowesses', 'prowled', 'prowler', 'prowlers', 'prowling', 'prowls', 'proxies', 'proximate', 'proximities', 'proximity', 'prudence', 'prudences', 'prudent', 'prudential', 'prudentially', 'prudently', 'pruderies', 'prudery', 'prudes', 'prudish', 'prudishly', 'prudishness', 'prudishnesses', 'pruned', 'pruner', 'pruners', 'prunes', 'pruning', 'prurience', 'pruriences', 'prurient', 'pryers', 'prying', 'psalmist', 'psalmists', 'psalms', 'psalteries', 'psaltery', 'pseudo', 'pseudonym', 'pseudonymous', 'pseudonyms', 'pseudoscience', 'pseudosciences', 'pshaws', 'psittacoses', 'psittacosis', 'psoriases', 'psoriasis', 'psyche', 'psyched', 'psychedelic', 'psychedelically', 'psychedelics', 'psyches', 'psychiatric', 'psychiatries', 'psychiatrist', 'psychiatrists', 'psychiatry', 'psychic', 'psychical', 'psychically', 'psychics', 'psyching', 'psycho', 'psychoactive', 'psychoanalyses', 'psychoanalysis', 'psychoanalyst', 'psychoanalysts', 'psychoanalytic', 'psychoanalytical', 'psychoanalyze', 'psychoanalyzed', 'psychoanalyzes', 'psychoanalyzing', 'psychobabble', 'psychobabbles', 'psychodrama', 'psychodramas', 'psychogenic', 'psychological', 'psychologically', 'psychologies', 'psychologist', 'psychologists', 'psychology', 'psychoneuroses', 'psychoneurosis', 'psychopath', 'psychopathic', 'psychopathies', 'psychopaths', 'psychopathy', 'psychos', 'psychoses', 'psychosis', 'psychosomatic', 'psychotherapies', 'psychotherapist', 'psychotherapists', 'psychotherapy', 'psychotic', 'psychotically', 'psychotics', 'psychotropic', 'psychotropics', 'psychs', 'ptarmigan', 'ptarmigans', 'pterodactyl', 'pterodactyls', 'ptomaine', 'ptomaines', 'pubertal', 'puberties', 'puberty', 'pubescence', 'pubescences', 'pubescent', 'public', 'publican', 'publicans', 'publication', 'publications', 'publicist', 'publicists', 'publicities', 'publicity', 'publicize', 'publicized', 'publicizes', 'publicizing', 'publicly', 'publics', 'publish', 'published', 'publisher', 'publishers', 'publishes', 'publishing', 'publishings', 'puces', 'pucker', 'puckered', 'puckering', 'puckers', 'puckish', 'puckishly', 'puckishness', 'puckishnesses', 'pudding', 'puddings', 'puddle', 'puddled', 'puddles', 'puddling', 'puddlings', 'pudenda', 'pudendum', 'pudgier', 'pudgiest', 'pudginess', 'pudginesses', 'pueblo', 'pueblos', 'puerile', 'puerilities', 'puerility', 'puerperal', 'puffball', 'puffballs', 'puffed', 'puffer', 'puffers', 'puffier', 'puffiest', 'puffin', 'puffiness', 'puffinesses', 'puffing', 'puffins', 'pugilism', 'pugilisms', 'pugilist', 'pugilistic', 'pugilists', 'pugnacious', 'pugnaciously', 'pugnaciousness', 'pugnaciousnesses', 'pugnacities', 'pugnacity', 'puking', 'pulchritude', 'pulchritudes', 'pulchritudinous', 'puling', 'pullback', 'pullbacks', 'pulled', 'puller', 'pullers', 'pullet', 'pullets', 'pulley', 'pulleys', 'pulling', 'pullout', 'pullouts', 'pullover', 'pullovers', 'pullup', 'pullups', 'pulmonary', 'pulped', 'pulpier', 'pulpiest', 'pulpiness', 'pulpinesses', 'pulping', 'pulpit', 'pulpits', 'pulpwood', 'pulpwoods', 'pulsar', 'pulsars', 'pulsate', 'pulsated', 'pulsates', 'pulsating', 'pulsation', 'pulsations', 'pulsed', 'pulses', 'pulsing', 'pulverization', 'pulverizations', 'pulverize', 'pulverized', 'pulverizes', 'pulverizing', 'pumice', 'pumices', 'pummel', 'pummeled', 'pummeling', 'pummelled', 'pummelling', 'pummels', 'pumped', 'pumper', 'pumpernickel', 'pumpernickels', 'pumpers', 'pumping', 'pumpkin', 'pumpkins', 'punched', 'puncheon', 'puncheons', 'puncher', 'punchers', 'punches', 'punchier', 'punchiest', 'punching', 'punchy', 'punctilio', 'punctilios', 'punctilious', 'punctiliously', 'punctiliousness', 'punctiliousnesses', 'punctual', 'punctualities', 'punctuality', 'punctually', 'punctuate', 'punctuated', 'punctuates', 'punctuating', 'punctuation', 'punctuations', 'puncture', 'punctured', 'punctures', 'puncturing', 'pundit', 'punditries', 'punditry', 'pundits', 'pungencies', 'pungency', 'pungent', 'pungently', 'punier', 'puniest', 'puniness', 'puninesses', 'punish', 'punishable', 'punished', 'punishes', 'punishing', 'punishment', 'punishments', 'punitive', 'punitively', 'punker', 'punkest', 'punkin', 'punkins', 'punned', 'punning', 'punster', 'punsters', 'punted', 'punter', 'punters', 'punting', 'pupils', 'pupped', 'puppet', 'puppeteer', 'puppeteers', 'puppetries', 'puppetry', 'puppets', 'puppies', 'pupping', 'purblind', 'purchasable', 'purchase', 'purchased', 'purchaser', 'purchasers', 'purchases', 'purchasing', 'purdah', 'purdahs', 'purebred', 'purebreds', 'pureed', 'pureeing', 'purees', 'purely', 'pureness', 'purenesses', 'purest', 'purgative', 'purgatives', 'purgatorial', 'purgatories', 'purgatory', 'purged', 'purger', 'purgers', 'purges', 'purging', 'purification', 'purifications', 'purified', 'purifier', 'purifiers', 'purifies', 'purify', 'purifying', 'purine', 'purines', 'purism', 'purisms', 'purist', 'puristic', 'purists', 'puritan', 'puritanical', 'puritanically', 'puritanism', 'puritanisms', 'puritans', 'purities', 'purity', 'purled', 'purlieu', 'purlieus', 'purling', 'purloin', 'purloined', 'purloining', 'purloins', 'purple', 'purpler', 'purples', 'purplest', 'purplish', 'purport', 'purported', 'purportedly', 'purporting', 'purports', 'purpose', 'purposed', 'purposeful', 'purposefully', 'purposefulness', 'purposefulnesses', 'purposeless', 'purposelessly', 'purposely', 'purposes', 'purposing', 'purred', 'purring', 'pursed', 'purser', 'pursers', 'purses', 'pursing', 'pursuance', 'pursuances', 'pursuant', 'pursue', 'pursued', 'pursuer', 'pursuers', 'pursues', 'pursuing', 'pursuit', 'pursuits', 'purulence', 'purulences', 'purulent', 'purvey', 'purveyance', 'purveyances', 'purveyed', 'purveying', 'purveyor', 'purveyors', 'purveys', 'purview', 'purviews', 'puses', 'pushcart', 'pushcarts', 'pushed', 'pusher', 'pushers', 'pushes', 'pushier', 'pushiest', 'pushily', 'pushiness', 'pushinesses', 'pushing', 'pushover', 'pushovers', 'pushup', 'pushups', 'pusillanimities', 'pusillanimity', 'pusillanimous', 'pusillanimously', 'pusses', 'pussier', 'pussies', 'pussiest', 'pussycat', 'pussycats', 'pussyfoot', 'pussyfooted', 'pussyfooting', 'pussyfoots', 'pustular', 'pustule', 'pustules', 'putative', 'putdown', 'putdowns', 'putout', 'putouts', 'putrefaction', 'putrefactions', 'putrefactive', 'putrefied', 'putrefies', 'putrefy', 'putrefying', 'putrescence', 'putrescences', 'putrescent', 'putrid', 'putsch', 'putsches', 'putted', 'puttee', 'puttees', 'putter', 'puttered', 'putterer', 'putterers', 'puttering', 'putters', 'puttied', 'putties', 'putting', 'puttying', 'puzzle', 'puzzled', 'puzzlement', 'puzzlements', 'puzzler', 'puzzlers', 'puzzles', 'puzzling', 'pwned!', 'pwning!', 'pygmies', 'pyjamas', 'pylons', 'pylori', 'pyloric', 'pylorus', 'pyorrhea', 'pyorrheas', 'pyorrhoea', 'pyorrhoeas', 'pyramid', 'pyramidal', 'pyramided', 'pyramiding', 'pyramids', 'pyrimidine', 'pyrimidines', 'pyrite', 'pyrites', 'pyromania', 'pyromaniac', 'pyromaniacs', 'pyromanias', 'pyrotechnic', 'pyrotechnical', 'pyrotechnics', 'python', 'pythons', 'quacked', 'quackeries', 'quackery', 'quacking', 'quacks', 'quadrangle', 'quadrangles', 'quadrangular', 'quadrant', 'quadrants', 'quadraphonic', 'quadratic', 'quadratics', 'quadrennia', 'quadrennial', 'quadrennium', 'quadrenniums', 'quadriceps', 'quadricepses', 'quadrilateral', 'quadrilaterals', 'quadrille', 'quadrilles', 'quadrillion', 'quadrillions', 'quadriplegia', 'quadriplegias', 'quadriplegic', 'quadriplegics', 'quadrivia', 'quadrivium', 'quadruped', 'quadrupedal', 'quadrupeds', 'quadruple', 'quadrupled', 'quadruples', 'quadruplet', 'quadruplets', 'quadruplicate', 'quadruplicated', 'quadruplicates', 'quadruplicating', 'quadruplication', 'quadruplications', 'quadrupling', 'quaffed', 'quaffing', 'quaffs', 'quagmire', 'quagmires', 'quahaug', 'quahaugs', 'quahog', 'quahogs', 'quailed', 'quailing', 'quails', 'quaint', 'quainter', 'quaintest', 'quaintly', 'quaintness', 'quaintnesses', 'quaked', 'quakes', 'quakier', 'quakiest', 'quaking', 'qualification', 'qualifications', 'qualified', 'qualifier', 'qualifiers', 'qualifies', 'qualify', 'qualifying', 'qualitative', 'qualitatively', 'qualities', 'quality', 'qualmish', 'qualms', 'quandaries', 'quandary', 'quanta', 'quantifiable', 'quantification', 'quantifications', 'quantified', 'quantifier', 'quantifiers', 'quantifies', 'quantify', 'quantifying', 'quantitative', 'quantitatively', 'quantities', 'quantity', 'quantum', 'quarantine', 'quarantined', 'quarantines', 'quarantining', 'quarks', 'quarrel', 'quarreled', 'quarreler', 'quarrelers', 'quarreling', 'quarrelled', 'quarrelling', 'quarrels', 'quarrelsome', 'quarrelsomeness', 'quarrelsomenesses', 'quarried', 'quarries', 'quarry', 'quarrying', 'quarter', 'quarterback', 'quarterbacked', 'quarterbacking', 'quarterbacks', 'quarterdeck', 'quarterdecks', 'quartered', 'quarterfinal', 'quarterfinals', 'quartering', 'quarterlies', 'quarterly', 'quartermaster', 'quartermasters', 'quarters', 'quarterstaff', 'quarterstaffs', 'quarterstaves', 'quartet', 'quartets', 'quartette', 'quartettes', 'quarto', 'quartos', 'quarts', 'quartz', 'quartzes', 'quasar', 'quasars', 'quashed', 'quashes', 'quashing', 'quatrain', 'quatrains', 'quaver', 'quavered', 'quavering', 'quavers', 'quavery', 'queasier', 'queasiest', 'queasily', 'queasiness', 'queasinesses', 'queasy', 'queened', 'queening', 'queenlier', 'queenliest', 'queenly', 'queens', 'queered', 'queerer', 'queerest', 'queering', 'queerly', 'queerness', 'queernesses', 'queers', 'quelled', 'quelling', 'quells', 'quench', 'quenchable', 'quenched', 'quencher', 'quenchers', 'quenches', 'quenching', 'quenchless', 'queried', 'queries', 'querulous', 'querulously', 'querulousness', 'querulousnesses', 'querying', 'quesadilla!', 'quesadillas!', 'quested', 'questing', 'question', 'questionable', 'questionably', 'questioned', 'questioner', 'questioners', 'questioning', 'questioningly', 'questionings', 'questionnaire', 'questionnaires', 'questions', 'quests', 'queued', 'queueing', 'queues', 'queuing', 'quibble', 'quibbled', 'quibbler', 'quibblers', 'quibbles', 'quibbling', 'quiche', 'quiches', 'quicken', 'quickened', 'quickening', 'quickens', 'quicker', 'quickest', 'quickie', 'quickies', 'quicklime', 'quicklimes', 'quickly', 'quickness', 'quicknesses', 'quicks', 'quicksand', 'quicksands', 'quicksilver', 'quicksilvers', 'quickstep', 'quicksteps', 'quiescence', 'quiescences', 'quiescent', 'quiescently', 'quieted', 'quieter', 'quietest', 'quieting', 'quietly', 'quietness', 'quietnesses', 'quiets', 'quietude', 'quietudes', 'quietus', 'quietuses', 'quills', 'quilted', 'quilter', 'quilters', 'quilting', 'quiltings', 'quilts', 'quince', 'quinces', 'quinine', 'quinines', 'quinsies', 'quinsy', 'quintessence', 'quintessences', 'quintessential', 'quintessentially', 'quintet', 'quintets', 'quintette', 'quintettes', 'quints', 'quintuple', 'quintupled', 'quintuples', 'quintuplet', 'quintuplets', 'quintupling', 'quipped', 'quipping', 'quipster', 'quipsters', 'quires', 'quirked', 'quirkier', 'quirkiest', 'quirkiness', 'quirkinesses', 'quirking', 'quirks', 'quirky', 'quirts', 'quisling', 'quislings', 'quitclaim', 'quitclaims', 'quittance', 'quittances', 'quitted', 'quitter', 'quitters', 'quitting', 'quiver', 'quivered', 'quivering', 'quivers', 'quivery', 'quixotic', 'quixotically', 'quizzed', 'quizzer', 'quizzers', 'quizzes', 'quizzical', 'quizzically', 'quizzing', 'quoins', 'quoited', 'quoiting', 'quoits', 'quondam', 'quorum', 'quorums', 'quotabilities', 'quotability', 'quotable', 'quotas', 'quotation', 'quotations', 'quoted', 'quotes', 'quotidian', 'quotient', 'quotients', 'quoting', 'qwerty', 'rabbet', 'rabbeted', 'rabbeting', 'rabbets', 'rabbinate', 'rabbinates', 'rabbinic', 'rabbinical', 'rabbis', 'rabbit', 'rabbits', 'rabble', 'rabbles', 'rabidly', 'rabidness', 'rabidnesses', 'rabies', 'raccoon', 'raccoons', 'racecourse', 'racecourses', 'racehorse', 'racehorses', 'raceme', 'racemes', 'racers', 'racetrack', 'racetracks', 'raceway', 'raceways', 'racial', 'racialism', 'racialisms', 'racialist', 'racialists', 'racially', 'racier', 'raciest', 'racily', 'raciness', 'racinesses', 'racing', 'racings', 'racism', 'racisms', 'racist', 'racists', 'racked', 'racket', 'racketed', 'racketeer', 'racketeered', 'racketeering', 'racketeerings', 'racketeers', 'racketing', 'rackets', 'racking', 'raconteur', 'raconteurs', 'racoon', 'racoons', 'racquet', 'racquetball', 'racquetballs', 'racquets', 'radars', 'radarscope', 'radarscopes', 'radial', 'radially', 'radials', 'radiance', 'radiances', 'radiant', 'radiantly', 'radiate', 'radiated', 'radiates', 'radiating', 'radiation', 'radiations', 'radiator', 'radiators', 'radical', 'radicalism', 'radicalisms', 'radicalization', 'radicalizations', 'radicalize', 'radicalized', 'radicalizes', 'radicalizing', 'radically', 'radicals', 'radicchio', 'radicchios', 'radioactive', 'radioactively', 'radioactivities', 'radioactivity', 'radiocarbon', 'radiocarbons', 'radioed', 'radiogram', 'radiograms', 'radiographer', 'radiographers', 'radiographies', 'radiography', 'radioing', 'radioisotope', 'radioisotopes', 'radiologies', 'radiologist', 'radiologists', 'radiology', 'radioman', 'radiomen', 'radiometer', 'radiometers', 'radiometric', 'radiometries', 'radiometry', 'radiophone', 'radiophones', 'radios', 'radioscopies', 'radioscopy', 'radiosonde', 'radiosondes', 'radiotelegraph', 'radiotelegraphed', 'radiotelegraphies', 'radiotelegraphing', 'radiotelegraphs', 'radiotelegraphy', 'radiotelephone', 'radiotelephones', 'radiotherapies', 'radiotherapist', 'radiotherapists', 'radiotherapy', 'radish', 'radishes', 'radium', 'radiums', 'radius', 'radiuses', 'radons', 'raffia', 'raffias', 'raffish', 'raffishly', 'raffishness', 'raffishnesses', 'raffle', 'raffled', 'raffles', 'raffling', 'rafted', 'rafter', 'rafters', 'rafting', 'raftings', 'ragamuffin', 'ragamuffins', 'ragbag', 'ragbags', 'ragged', 'raggeder', 'raggedest', 'raggedier', 'raggediest', 'raggedly', 'raggedness', 'raggednesses', 'raggedy', 'ragging', 'raging', 'ragingly', 'raglan', 'raglans', 'ragout', 'ragouts', 'ragtag', 'ragtime', 'ragtimes', 'ragweed', 'ragweeds', 'raided', 'raider', 'raiders', 'raiding', 'railed', 'railing', 'railings', 'railleries', 'raillery', 'railroad', 'railroaded', 'railroader', 'railroaders', 'railroading', 'railroadings', 'railroads', 'railway', 'railways', 'raiment', 'raiments', 'rainbow', 'rainbows', 'raincoat', 'raincoats', 'raindrop', 'raindrops', 'rained', 'rainfall', 'rainfalls', 'rainier', 'rainiest', 'raining', 'rainmaker', 'rainmakers', 'rainmaking', 'rainmakings', 'rainproof', 'rainstorm', 'rainstorms', 'rainwater', 'rainwaters', 'raised', 'raiser', 'raisers', 'raises', 'raisin', 'raising', 'raisins', 'rajahs', 'raking', 'rakish', 'rakishly', 'rakishness', 'rakishnesses', 'rallied', 'rallies', 'rallying', 'ramble', 'rambled', 'rambler', 'ramblers', 'rambles', 'rambling', 'rambunctious', 'rambunctiously', 'rambunctiousness', 'rambunctiousnesses', 'ramekin', 'ramekins', 'ramequin', 'ramequins', 'ramies', 'ramification', 'ramifications', 'ramified', 'ramifies', 'ramify', 'ramifying', 'ramjet', 'ramjets', 'rammed', 'ramming', 'rampage', 'rampaged', 'rampages', 'rampaging', 'rampancies', 'rampancy', 'rampant', 'rampantly', 'rampart', 'ramparts', 'ramrod', 'ramrodded', 'ramrodding', 'ramrods', 'ramshackle', 'ranched', 'rancher', 'ranchers', 'ranches', 'ranching', 'ranchings', 'rancid', 'rancidities', 'rancidity', 'rancidness', 'rancidnesses', 'rancor', 'rancorous', 'rancorously', 'rancors', 'rancour', 'rancours', 'randier', 'randiest', 'randiness', 'randinesses', 'random', 'randomization', 'randomizations', 'randomize', 'randomized', 'randomizes', 'randomizing', 'randomly', 'randomness', 'randomnesses', 'ranees', 'ranged', 'ranger', 'rangers', 'ranges', 'rangier', 'rangiest', 'ranginess', 'ranginesses', 'ranging', 'ranked', 'ranker', 'rankest', 'ranking', 'rankings', 'rankle', 'rankled', 'rankles', 'rankling', 'rankly', 'rankness', 'ranknesses', 'ransack', 'ransacked', 'ransacking', 'ransacks', 'ransom', 'ransomed', 'ransomer', 'ransomers', 'ransoming', 'ransoms', 'ranted', 'ranter', 'ranters', 'ranting', 'rapacious', 'rapaciously', 'rapaciousness', 'rapaciousnesses', 'rapacities', 'rapacity', 'rapers', 'rapeseed', 'rapeseeds', 'rapider', 'rapidest', 'rapidities', 'rapidity', 'rapidly', 'rapidness', 'rapidnesses', 'rapids', 'rapier', 'rapiers', 'rapine', 'rapines', 'raping', 'rapist', 'rapists', 'rapped', 'rappel', 'rappelled', 'rappelling', 'rappels', 'rapper', 'rappers', 'rapping', 'rapport', 'rapports', 'rapprochement', 'rapprochements', 'rapscallion', 'rapscallions', 'raptly', 'raptness', 'raptnesses', 'rapture', 'raptures', 'rapturous', 'rapturously', 'rarebit', 'rarebits', 'rarefaction', 'rarefactions', 'rarefied', 'rarefies', 'rarefy', 'rarefying', 'rarely', 'rareness', 'rarenesses', 'rarest', 'raring', 'rarities', 'rarity', 'rascal', 'rascally', 'rascals', 'rasher', 'rashers', 'rashes', 'rashest', 'rashly', 'rashness', 'rashnesses', 'raspberries', 'raspberry', 'rasped', 'raspier', 'raspiest', 'rasping', 'ratatouille', 'ratatouilles', 'ratchet', 'ratcheted', 'ratcheting', 'ratchets', 'raters', 'rather', 'rathskeller', 'rathskellers', 'ratification', 'ratifications', 'ratified', 'ratifier', 'ratifiers', 'ratifies', 'ratify', 'ratifying', 'rating', 'ratings', 'ratiocinate', 'ratiocinated', 'ratiocinates', 'ratiocinating', 'ratiocination', 'ratiocinations', 'ration', 'rational', 'rationale', 'rationales', 'rationalism', 'rationalisms', 'rationalist', 'rationalistic', 'rationalists', 'rationalities', 'rationality', 'rationalization', 'rationalizations', 'rationalize', 'rationalized', 'rationalizes', 'rationalizing', 'rationally', 'rationals', 'rationed', 'rationing', 'rations', 'ratios', 'ratlike', 'ratlin', 'ratline', 'ratlines', 'ratlins', 'rattan', 'rattans', 'ratted', 'ratter', 'ratters', 'rattier', 'rattiest', 'ratting', 'rattle', 'rattlebrain', 'rattlebrained', 'rattlebrains', 'rattled', 'rattler', 'rattlers', 'rattles', 'rattlesnake', 'rattlesnakes', 'rattletrap', 'rattletraps', 'rattling', 'rattly', 'rattrap', 'rattraps', 'raucous', 'raucously', 'raucousness', 'raucousnesses', 'raunchier', 'raunchiest', 'raunchily', 'raunchiness', 'raunchinesses', 'raunchy', 'ravage', 'ravaged', 'ravager', 'ravagers', 'ravages', 'ravaging', 'raveled', 'raveling', 'ravelled', 'ravelling', 'ravels', 'ravened', 'ravening', 'ravenous', 'ravenously', 'ravens', 'ravine', 'ravines', 'raving', 'ravings', 'ravioli', 'raviolis', 'ravish', 'ravished', 'ravisher', 'ravishers', 'ravishes', 'ravishing', 'ravishingly', 'ravishment', 'ravishments', 'rawboned', 'rawest', 'rawhide', 'rawhides', 'rawness', 'rawnesses', 'rayons', 'razing', 'razorback', 'razorbacks', 'razors', 'razzed', 'razzes', 'razzing', 'razzmatazz', 'razzmatazzes', 'reabsorb', 'reabsorbed', 'reabsorbing', 'reabsorbs', 'reachable', 'reached', 'reaches', 'reaching', 'reacquaint', 'reacquainted', 'reacquainting', 'reacquaints', 'reacquire', 'reacquired', 'reacquires', 'reacquiring', 'reactant', 'reactants', 'reacted', 'reacting', 'reaction', 'reactionaries', 'reactionary', 'reactions', 'reactivate', 'reactivated', 'reactivates', 'reactivating', 'reactivation', 'reactivations', 'reactive', 'reactor', 'reactors', 'reacts', 'readabilities', 'readability', 'readable', 'readdress', 'readdressed', 'readdresses', 'readdressing', 'reader', 'readers', 'readership', 'readerships', 'readied', 'readier', 'readies', 'readiest', 'readily', 'readiness', 'readinesses', 'reading', 'readings', 'readjust', 'readjusted', 'readjusting', 'readjustment', 'readjustments', 'readjusts', 'readmission', 'readmissions', 'readmit', 'readmits', 'readmitted', 'readmitting', 'readopt', 'readopted', 'readopting', 'readopts', 'readout', 'readouts', 'readying', 'reaffirm', 'reaffirmation', 'reaffirmations', 'reaffirmed', 'reaffirming', 'reaffirms', 'reagent', 'reagents', 'realer', 'reales', 'realest', 'realign', 'realigned', 'realigning', 'realignment', 'realignments', 'realigns', 'realism', 'realisms', 'realist', 'realistic', 'realistically', 'realists', 'realities', 'reality', 'realizable', 'realization', 'realizations', 'realize', 'realized', 'realizes', 'realizing', 'reallocate', 'reallocated', 'reallocates', 'reallocating', 'reallocation', 'reallocations', 'really', 'realms', 'realness', 'realnesses', 'realpolitik', 'realpolitiks', 'realties', 'realtor', 'realtors', 'realty', 'reamed', 'reamer', 'reamers', 'reaming', 'reanalyses', 'reanalysis', 'reanalyze', 'reanalyzed', 'reanalyzes', 'reanalyzing', 'reanimate', 'reanimated', 'reanimates', 'reanimating', 'reanimation', 'reanimations', 'reaped', 'reaper', 'reapers', 'reaping', 'reappear', 'reappearance', 'reappearances', 'reappeared', 'reappearing', 'reappears', 'reapplication', 'reapplications', 'reapplied', 'reapplies', 'reapply', 'reapplying', 'reappoint', 'reappointed', 'reappointing', 'reappointment', 'reappointments', 'reappoints', 'reapportion', 'reapportioned', 'reapportioning', 'reapportionment', 'reapportionments', 'reapportions', 'reappraisal', 'reappraisals', 'reappraise', 'reappraised', 'reappraises', 'reappraising', 'reared', 'rearguard', 'rearguards', 'rearing', 'rearmament', 'rearmaments', 'rearmed', 'rearming', 'rearmost', 'rearms', 'rearrange', 'rearranged', 'rearrangement', 'rearrangements', 'rearranges', 'rearranging', 'rearrest', 'rearrested', 'rearresting', 'rearrests', 'rearward', 'rearwards', 'reascend', 'reascended', 'reascending', 'reascends', 'reason', 'reasonable', 'reasonableness', 'reasonablenesses', 'reasonably', 'reasoned', 'reasoner', 'reasoners', 'reasoning', 'reasonings', 'reasons', 'reassemble', 'reassembled', 'reassembles', 'reassemblies', 'reassembling', 'reassembly', 'reassert', 'reasserted', 'reasserting', 'reassertion', 'reassertions', 'reasserts', 'reassess', 'reassessed', 'reassesses', 'reassessing', 'reassessment', 'reassessments', 'reassign', 'reassigned', 'reassigning', 'reassignment', 'reassignments', 'reassigns', 'reassurance', 'reassurances', 'reassure', 'reassured', 'reassures', 'reassuring', 'reassuringly', 'reattach', 'reattached', 'reattaches', 'reattaching', 'reattachment', 'reattachments', 'reattain', 'reattained', 'reattaining', 'reattains', 'reattempt', 'reattempted', 'reattempting', 'reattempts', 'reauthorize', 'reauthorized', 'reauthorizes', 'reauthorizing', 'reawaken', 'reawakened', 'reawakening', 'reawakens', 'rebate', 'rebated', 'rebates', 'rebating', 'rebelled', 'rebelling', 'rebellion', 'rebellions', 'rebellious', 'rebelliously', 'rebelliousness', 'rebelliousnesses', 'rebels', 'rebidding', 'rebids', 'rebind', 'rebinding', 'rebinds', 'rebirth', 'rebirths', 'reboil', 'reboiled', 'reboiling', 'reboils', 'reboot', 'rebooted', 'rebooting', 'reboots', 'reborn', 'rebound', 'rebounded', 'rebounding', 'rebounds', 'rebroadcast', 'rebroadcasted', 'rebroadcasting', 'rebroadcasts', 'rebuff', 'rebuffed', 'rebuffing', 'rebuffs', 'rebuild', 'rebuilding', 'rebuilds', 'rebuilt', 'rebuke', 'rebuked', 'rebukes', 'rebuking', 'rebukingly', 'reburial', 'reburials', 'reburied', 'reburies', 'rebury', 'reburying', 'rebuses', 'rebuts', 'rebuttal', 'rebuttals', 'rebutted', 'rebutting', 'recalcitrance', 'recalcitrances', 'recalcitrant', 'recalculate', 'recalculated', 'recalculates', 'recalculating', 'recalculation', 'recalculations', 'recall', 'recalled', 'recalling', 'recalls', 'recant', 'recantation', 'recantations', 'recanted', 'recanting', 'recants', 'recapitalize', 'recapitalized', 'recapitalizes', 'recapitalizing', 'recapitulate', 'recapitulated', 'recapitulates', 'recapitulating', 'recapitulation', 'recapitulations', 'recapped', 'recapping', 'recaps', 'recapture', 'recaptured', 'recaptures', 'recapturing', 'recast', 'recasting', 'recastings', 'recasts', 'recede', 'receded', 'recedes', 'receding', 'receipt', 'receipted', 'receipting', 'receipts', 'receivable', 'receivables', 'receive', 'received', 'receiver', 'receivers', 'receivership', 'receiverships', 'receives', 'receiving', 'recent', 'recenter', 'recentest', 'recently', 'recentness', 'recentnesses', 'receptacle', 'receptacles', 'reception', 'receptionist', 'receptionists', 'receptions', 'receptive', 'receptively', 'receptiveness', 'receptivenesses', 'receptivities', 'receptivity', 'receptor', 'receptors', 'recess', 'recessed', 'recesses', 'recessing', 'recession', 'recessional', 'recessionals', 'recessionary', 'recessions', 'recessive', 'recessives', 'recharge', 'rechargeable', 'recharged', 'recharges', 'recharging', 'recharter', 'rechartered', 'rechartering', 'recharters', 'recheck', 'rechecked', 'rechecking', 'rechecks', 'recherche', 'rechristen', 'rechristened', 'rechristening', 'rechristens', 'recidivism', 'recidivisms', 'recidivist', 'recidivists', 'recipe', 'recipes', 'recipient', 'recipients', 'reciprocal', 'reciprocally', 'reciprocals', 'reciprocate', 'reciprocated', 'reciprocates', 'reciprocating', 'reciprocation', 'reciprocations', 'reciprocities', 'reciprocity', 'recirculate', 'recirculated', 'recirculates', 'recirculating', 'recital', 'recitalist', 'recitalists', 'recitals', 'recitation', 'recitations', 'recitative', 'recitatives', 'recite', 'recited', 'reciter', 'reciters', 'recites', 'reciting', 'reckless', 'recklessly', 'recklessness', 'recklessnesses', 'reckon', 'reckoned', 'reckoning', 'reckonings', 'reckons', 'reclaim', 'reclaimable', 'reclaimed', 'reclaiming', 'reclaims', 'reclamation', 'reclamations', 'reclassification', 'reclassifications', 'reclassified', 'reclassifies', 'reclassify', 'reclassifying', 'recline', 'reclined', 'recliner', 'recliners', 'reclines', 'reclining', 'recluse', 'recluses', 'reclusive', 'recognition', 'recognitions', 'recognizable', 'recognizably', 'recognizance', 'recognizances', 'recognize', 'recognized', 'recognizes', 'recognizing', 'recoil', 'recoiled', 'recoiling', 'recoils', 'recollect', 'recollected', 'recollecting', 'recollection', 'recollections', 'recollects', 'recolonization', 'recolonizations', 'recolonize', 'recolonized', 'recolonizes', 'recolonizing', 'recolor', 'recolored', 'recoloring', 'recolors', 'recombine', 'recombined', 'recombines', 'recombining', 'recommence', 'recommenced', 'recommencement', 'recommencements', 'recommences', 'recommencing', 'recommend', 'recommendable', 'recommendation', 'recommendations', 'recommended', 'recommending', 'recommends', 'recommission', 'recommissioned', 'recommissioning', 'recommissions', 'recommit', 'recommits', 'recommitted', 'recommitting', 'recompense', 'recompensed', 'recompenses', 'recompensing', 'recompose', 'recomposed', 'recomposes', 'recomposing', 'recompute', 'recomputed', 'recomputes', 'recomputing', 'reconcilable', 'reconcile', 'reconciled', 'reconciles', 'reconciliation', 'reconciliations', 'reconciling', 'recondite', 'recondition', 'reconditioned', 'reconditioning', 'reconditions', 'reconfirm', 'reconfirmation', 'reconfirmations', 'reconfirmed', 'reconfirming', 'reconfirms', 'reconnaissance', 'reconnaissances', 'reconnect', 'reconnected', 'reconnecting', 'reconnects', 'reconnoiter', 'reconnoitered', 'reconnoitering', 'reconnoiters', 'reconnoitre', 'reconnoitred', 'reconnoitres', 'reconnoitring', 'reconquer', 'reconquered', 'reconquering', 'reconquers', 'reconquest', 'reconquests', 'reconsecrate', 'reconsecrated', 'reconsecrates', 'reconsecrating', 'reconsecration', 'reconsecrations', 'reconsider', 'reconsideration', 'reconsiderations', 'reconsidered', 'reconsidering', 'reconsiders', 'reconsign', 'reconsigned', 'reconsigning', 'reconsigns', 'reconstitute', 'reconstituted', 'reconstitutes', 'reconstituting', 'reconstitution', 'reconstitutions', 'reconstruct', 'reconstructed', 'reconstructing', 'reconstruction', 'reconstructions', 'reconstructs', 'recontact', 'recontacted', 'recontacting', 'recontacts', 'recontaminate', 'recontaminated', 'recontaminates', 'recontaminating', 'reconvene', 'reconvened', 'reconvenes', 'reconvening', 'reconvert', 'reconverted', 'reconverting', 'reconverts', 'recook', 'recooked', 'recooking', 'recooks', 'recopied', 'recopies', 'recopy', 'recopying', 'record', 'recorded', 'recorder', 'recorders', 'recording', 'recordings', 'records', 'recount', 'recounted', 'recounting', 'recounts', 'recoup', 'recouped', 'recouping', 'recoups', 'recourse', 'recourses', 'recover', 'recoverable', 'recovered', 'recoveries', 'recovering', 'recovers', 'recovery', 'recreant', 'recreants', 'recreate', 'recreated', 'recreates', 'recreating', 'recreation', 'recreational', 'recreations', 'recriminate', 'recriminated', 'recriminates', 'recriminating', 'recrimination', 'recriminations', 'recriminatory', 'recross', 'recrossed', 'recrosses', 'recrossing', 'recrudesce', 'recrudesced', 'recrudescence', 'recrudescences', 'recrudescent', 'recrudesces', 'recrudescing', 'recruit', 'recruited', 'recruiter', 'recruiters', 'recruiting', 'recruitment', 'recruitments', 'recruits', 'recrystallize', 'recrystallized', 'recrystallizes', 'recrystallizing', 'rectal', 'rectally', 'rectangle', 'rectangles', 'rectangular', 'rectifiable', 'rectification', 'rectifications', 'rectified', 'rectifier', 'rectifiers', 'rectifies', 'rectify', 'rectifying', 'rectilinear', 'rectitude', 'rectitudes', 'rector', 'rectories', 'rectors', 'rectory', 'rectos', 'rectum', 'rectums', 'recumbent', 'recuperate', 'recuperated', 'recuperates', 'recuperating', 'recuperation', 'recuperations', 'recuperative', 'recurred', 'recurrence', 'recurrences', 'recurrent', 'recurrently', 'recurring', 'recurs', 'recyclable', 'recyclables', 'recycle', 'recycled', 'recycles', 'recycling', 'recyclings', 'redact', 'redacted', 'redacting', 'redaction', 'redactions', 'redactor', 'redactors', 'redacts', 'redbird', 'redbirds', 'redbreast', 'redbreasts', 'redcap', 'redcaps', 'redcoat', 'redcoats', 'redden', 'reddened', 'reddening', 'reddens', 'redder', 'reddest', 'reddish', 'redecorate', 'redecorated', 'redecorates', 'redecorating', 'redecoration', 'redecorations', 'rededicate', 'rededicated', 'rededicates', 'rededicating', 'redeem', 'redeemable', 'redeemed', 'redeemer', 'redeemers', 'redeeming', 'redeems', 'redefine', 'redefined', 'redefines', 'redefining', 'redefinition', 'redefinitions', 'redeliver', 'redelivered', 'redelivering', 'redelivers', 'redemption', 'redemptions', 'redemptive', 'redeploy', 'redeployed', 'redeploying', 'redeployment', 'redeployments', 'redeploys', 'redeposit', 'redeposited', 'redepositing', 'redeposits', 'redesign', 'redesigned', 'redesigning', 'redesigns', 'redetermine', 'redetermined', 'redetermines', 'redetermining', 'redevelop', 'redeveloped', 'redeveloping', 'redevelopment', 'redevelopments', 'redevelops', 'redhead', 'redheaded', 'redheads', 'redial', 'redialed', 'redialing', 'redialled', 'redialling', 'redials', 'redirect', 'redirected', 'redirecting', 'redirects', 'rediscover', 'rediscovered', 'rediscoveries', 'rediscovering', 'rediscovers', 'rediscovery', 'redissolve', 'redissolved', 'redissolves', 'redissolving', 'redistribute', 'redistributed', 'redistributes', 'redistributing', 'redistribution', 'redistributions', 'redistrict', 'redistricted', 'redistricting', 'redistricts', 'redivide', 'redivided', 'redivides', 'redividing', 'redlining', 'redlinings', 'redneck', 'rednecks', 'redness', 'rednesses', 'redoes', 'redoing', 'redolence', 'redolences', 'redolent', 'redone', 'redouble', 'redoubled', 'redoubles', 'redoubling', 'redoubt', 'redoubtable', 'redoubtably', 'redoubts', 'redound', 'redounded', 'redounding', 'redounds', 'redraft', 'redrafted', 'redrafting', 'redrafts', 'redraw', 'redrawing', 'redrawn', 'redraws', 'redress', 'redressed', 'redresses', 'redressing', 'redrew', 'redskin', 'redskins', 'reduce', 'reduced', 'reducer', 'reducers', 'reduces', 'reducible', 'reducing', 'reduction', 'reductions', 'reductive', 'redundancies', 'redundancy', 'redundant', 'redundantly', 'reduplicate', 'reduplicated', 'reduplicates', 'reduplicating', 'reduplication', 'reduplications', 'redwood', 'redwoods', 'redyed', 'redyeing', 'redyes', 'reecho', 'reechoed', 'reechoes', 'reechoing', 'reedier', 'reediest', 'reediness', 'reedinesses', 'reedit', 'reedited', 'reediting', 'reedits', 'reeducate', 'reeducated', 'reeducates', 'reeducating', 'reeducation', 'reeducations', 'reefed', 'reefer', 'reefers', 'reefing', 'reeked', 'reeking', 'reelect', 'reelected', 'reelecting', 'reelection', 'reelections', 'reelects', 'reeled', 'reeling', 'reembark', 'reembarked', 'reembarking', 'reembarks', 'reembodied', 'reembodies', 'reembody', 'reembodying', 'reemerge', 'reemerged', 'reemergence', 'reemergences', 'reemerges', 'reemerging', 'reemphasize', 'reemphasized', 'reemphasizes', 'reemphasizing', 'reemploy', 'reemployed', 'reemploying', 'reemployment', 'reemployments', 'reemploys', 'reenact', 'reenacted', 'reenacting', 'reenactment', 'reenactments', 'reenacts', 'reenforce', 'reenforced', 'reenforces', 'reenforcing', 'reengage', 'reengaged', 'reengages', 'reengaging', 'reenlist', 'reenlisted', 'reenlisting', 'reenlistment', 'reenlistments', 'reenlists', 'reenter', 'reentered', 'reentering', 'reenters', 'reentries', 'reentry', 'reequip', 'reequipped', 'reequipping', 'reequips', 'reestablish', 'reestablished', 'reestablishes', 'reestablishing', 'reestablishment', 'reestablishments', 'reevaluate', 'reevaluated', 'reevaluates', 'reevaluating', 'reevaluation', 'reevaluations', 'reeved', 'reeves', 'reeving', 'reexamination', 'reexaminations', 'reexamine', 'reexamined', 'reexamines', 'reexamining', 'reexplain', 'reexplained', 'reexplaining', 'reexplains', 'reexport', 'reexported', 'reexporting', 'reexports', 'reface', 'refaced', 'refaces', 'refacing', 'refashion', 'refashioned', 'refashioning', 'refashions', 'refasten', 'refastened', 'refastening', 'refastens', 'refection', 'refections', 'refectories', 'refectory', 'referable', 'referee', 'refereed', 'refereeing', 'referees', 'reference', 'referenced', 'references', 'referencing', 'referenda', 'referendum', 'referendums', 'referent', 'referents', 'referral', 'referrals', 'referred', 'referrer', 'referrers', 'referring', 'refers', 'reffed', 'reffing', 'refile', 'refiled', 'refiles', 'refiling', 'refill', 'refillable', 'refilled', 'refilling', 'refills', 'refinance', 'refinanced', 'refinances', 'refinancing', 'refine', 'refined', 'refinement', 'refinements', 'refiner', 'refineries', 'refiners', 'refinery', 'refines', 'refining', 'refinish', 'refinished', 'refinishes', 'refinishing', 'refits', 'refitted', 'refitting', 'reflect', 'reflected', 'reflecting', 'reflection', 'reflections', 'reflective', 'reflectively', 'reflector', 'reflectors', 'reflects', 'reflex', 'reflexes', 'reflexion', 'reflexions', 'reflexive', 'reflexively', 'reflexives', 'refocus', 'refocused', 'refocuses', 'refocusing', 'refocussed', 'refocusses', 'refocussing', 'refold', 'refolded', 'refolding', 'refolds', 'reforest', 'reforestation', 'reforestations', 'reforested', 'reforesting', 'reforests', 'reforge', 'reforged', 'reforges', 'reforging', 'reform', 'reformation', 'reformations', 'reformative', 'reformatories', 'reformatory', 'reformed', 'reformer', 'reformers', 'reforming', 'reforms', 'reformulate', 'reformulated', 'reformulates', 'reformulating', 'reformulation', 'reformulations', 'refortified', 'refortifies', 'refortify', 'refortifying', 'refract', 'refracted', 'refracting', 'refraction', 'refractions', 'refractive', 'refractories', 'refractory', 'refracts', 'refrain', 'refrained', 'refraining', 'refrains', 'refreeze', 'refreezes', 'refreezing', 'refresh', 'refreshed', 'refresher', 'refreshers', 'refreshes', 'refreshing', 'refreshingly', 'refreshment', 'refreshments', 'refrigerant', 'refrigerants', 'refrigerate', 'refrigerated', 'refrigerates', 'refrigerating', 'refrigeration', 'refrigerations', 'refrigerator', 'refrigerators', 'refroze', 'refrozen', 'refuel', 'refueled', 'refueling', 'refuelled', 'refuelling', 'refuels', 'refuge', 'refugee', 'refugees', 'refuges', 'refulgence', 'refulgences', 'refulgent', 'refund', 'refundable', 'refunded', 'refunding', 'refunds', 'refurbish', 'refurbished', 'refurbishes', 'refurbishing', 'refurbishment', 'refurbishments', 'refurnish', 'refurnished', 'refurnishes', 'refurnishing', 'refusal', 'refusals', 'refuse', 'refused', 'refuses', 'refusing', 'refutable', 'refutation', 'refutations', 'refute', 'refuted', 'refuter', 'refuters', 'refutes', 'refuting', 'regain', 'regained', 'regaining', 'regains', 'regale', 'regaled', 'regalement', 'regalements', 'regales', 'regalia', 'regaling', 'regally', 'regard', 'regarded', 'regarding', 'regardless', 'regards', 'regather', 'regathered', 'regathering', 'regathers', 'regatta', 'regattas', 'regencies', 'regency', 'regeneracies', 'regeneracy', 'regenerate', 'regenerated', 'regenerates', 'regenerating', 'regeneration', 'regenerations', 'regenerative', 'regent', 'regents', 'reggae', 'reggaes', 'regicide', 'regicides', 'regime', 'regimen', 'regimens', 'regiment', 'regimental', 'regimentation', 'regimentations', 'regimented', 'regimenting', 'regiments', 'regimes', 'region', 'regional', 'regionalism', 'regionalisms', 'regionally', 'regions', 'register', 'registered', 'registering', 'registers', 'registrant', 'registrants', 'registrar', 'registrars', 'registration', 'registrations', 'registries', 'registry', 'regnant', 'regrade', 'regraded', 'regrades', 'regrading', 'regress', 'regressed', 'regresses', 'regressing', 'regression', 'regressions', 'regressive', 'regret', 'regretful', 'regretfully', 'regrets', 'regrettable', 'regrettably', 'regretted', 'regretting', 'regrew', 'regrind', 'regrinding', 'regrinds', 'reground', 'regroup', 'regrouped', 'regrouping', 'regroups', 'regrow', 'regrowing', 'regrown', 'regrows', 'regrowth', 'regrowths', 'regular', 'regularise', 'regularised', 'regularises', 'regularising', 'regularities', 'regularity', 'regularization', 'regularizations', 'regularize', 'regularized', 'regularizes', 'regularizing', 'regularly', 'regulars', 'regulate', 'regulated', 'regulates', 'regulating', 'regulation', 'regulations', 'regulative', 'regulator', 'regulators', 'regulatory', 'regurgitate', 'regurgitated', 'regurgitates', 'regurgitating', 'regurgitation', 'regurgitations', 'rehabbed', 'rehabbing', 'rehabilitate', 'rehabilitated', 'rehabilitates', 'rehabilitating', 'rehabilitation', 'rehabilitations', 'rehabilitative', 'rehabs', 'rehang', 'rehanged', 'rehanging', 'rehangs', 'rehash', 'rehashed', 'rehashes', 'rehashing', 'rehear', 'reheard', 'rehearing', 'rehearings', 'rehears', 'rehearsal', 'rehearsals', 'rehearse', 'rehearsed', 'rehearses', 'rehearsing', 'reheat', 'reheated', 'reheating', 'reheats', 'rehire', 'rehired', 'rehires', 'rehiring', 'rehouse', 'rehoused', 'rehouses', 'rehousing', 'rehung', 'reigned', 'reigning', 'reignite', 'reignited', 'reignites', 'reigniting', 'reigns', 'reimbursable', 'reimburse', 'reimbursed', 'reimbursement', 'reimbursements', 'reimburses', 'reimbursing', 'reimpose', 'reimposed', 'reimposes', 'reimposing', 'reincarnate', 'reincarnated', 'reincarnates', 'reincarnating', 'reincarnation', 'reincarnations', 'reincorporate', 'reincorporated', 'reincorporates', 'reincorporating', 'reincorporation', 'reincorporations', 'reindeer', 'reindeers', 'reined', 'reinfect', 'reinfected', 'reinfecting', 'reinfection', 'reinfections', 'reinfects', 'reinforce', 'reinforced', 'reinforcement', 'reinforcements', 'reinforces', 'reinforcing', 'reining', 'reinoculate', 'reinoculated', 'reinoculates', 'reinoculating', 'reinsert', 'reinserted', 'reinserting', 'reinsertion', 'reinsertions', 'reinserts', 'reinspect', 'reinspected', 'reinspecting', 'reinspects', 'reinstate', 'reinstated', 'reinstatement', 'reinstatements', 'reinstates', 'reinstating', 'reintegrate', 'reintegrated', 'reintegrates', 'reintegrating', 'reintegration', 'reintegrations', 'reinterpret', 'reinterpretation', 'reinterpretations', 'reinterpreted', 'reinterpreting', 'reinterprets', 'reintroduce', 'reintroduced', 'reintroduces', 'reintroducing', 'reintroduction', 'reintroductions', 'reinvent', 'reinvented', 'reinventing', 'reinvention', 'reinventions', 'reinvents', 'reinvest', 'reinvested', 'reinvesting', 'reinvestment', 'reinvestments', 'reinvests', 'reinvigorate', 'reinvigorated', 'reinvigorates', 'reinvigorating', 'reissue', 'reissued', 'reissues', 'reissuing', 'reiterate', 'reiterated', 'reiterates', 'reiterating', 'reiteration', 'reiterations', 'reiterative', 'reject', 'rejected', 'rejecting', 'rejection', 'rejections', 'rejects', 'rejoice', 'rejoiced', 'rejoices', 'rejoicing', 'rejoicings', 'rejoin', 'rejoinder', 'rejoinders', 'rejoined', 'rejoining', 'rejoins', 'rejudge', 'rejudged', 'rejudges', 'rejudging', 'rejuvenate', 'rejuvenated', 'rejuvenates', 'rejuvenating', 'rejuvenation', 'rejuvenations', 'rekindle', 'rekindled', 'rekindles', 'rekindling', 'relabel', 'relabeled', 'relabeling', 'relabelled', 'relabelling', 'relabels', 'relaid', 'relapse', 'relapsed', 'relapses', 'relapsing', 'relate', 'related', 'relatedness', 'relatednesses', 'relater', 'relaters', 'relates', 'relating', 'relation', 'relational', 'relations', 'relationship', 'relationships', 'relative', 'relatively', 'relatives', 'relativism', 'relativisms', 'relativities', 'relativity', 'relaunch', 'relaunched', 'relaunches', 'relaunching', 'relaxant', 'relaxants', 'relaxation', 'relaxations', 'relaxed', 'relaxer', 'relaxers', 'relaxes', 'relaxing', 'relayed', 'relaying', 'relays', 'relearn', 'relearned', 'relearning', 'relearns', 'release', 'released', 'releases', 'releasing', 'relegate', 'relegated', 'relegates', 'relegating', 'relegation', 'relegations', 'relent', 'relented', 'relenting', 'relentless', 'relentlessly', 'relentlessness', 'relentlessnesses', 'relents', 'relevance', 'relevances', 'relevancies', 'relevancy', 'relevant', 'relevantly', 'reliabilities', 'reliability', 'reliable', 'reliably', 'reliance', 'reliances', 'reliant', 'relics', 'relied', 'relief', 'reliefs', 'relies', 'relieve', 'relieved', 'reliever', 'relievers', 'relieves', 'relieving', 'relight', 'relighted', 'relighting', 'relights', 'religion', 'religions', 'religious', 'religiously', 'religiousness', 'religiousnesses', 'reline', 'relined', 'relines', 'relining', 'relinquish', 'relinquished', 'relinquishes', 'relinquishing', 'relinquishment', 'relinquishments', 'reliquaries', 'reliquary', 'relish', 'relished', 'relishes', 'relishing', 'relivable', 'relive', 'relived', 'relives', 'reliving', 'reload', 'reloaded', 'reloading', 'reloads', 'relocate', 'relocated', 'relocates', 'relocating', 'relocation', 'relocations', 'reluctance', 'reluctances', 'reluctant', 'reluctantly', 'relying', 'remade', 'remain', 'remainder', 'remainders', 'remained', 'remaining', 'remains', 'remake', 'remakes', 'remaking', 'remand', 'remanded', 'remanding', 'remands', 'remapped', 'remapping', 'remaps', 'remark', 'remarkable', 'remarkableness', 'remarkablenesses', 'remarkably', 'remarked', 'remarking', 'remarks', 'remarriage', 'remarriages', 'remarried', 'remarries', 'remarry', 'remarrying', 'rematch', 'rematches', 'remeasure', 'remeasured', 'remeasures', 'remeasuring', 'remediable', 'remedial', 'remedially', 'remediation', 'remediations', 'remedied', 'remedies', 'remedy', 'remedying', 'remelt', 'remelted', 'remelting', 'remelts', 'remember', 'remembered', 'remembering', 'remembers', 'remembrance', 'remembrances', 'remigrate', 'remigrated', 'remigrates', 'remigrating', 'remind', 'reminded', 'reminder', 'reminders', 'reminding', 'reminds', 'reminisce', 'reminisced', 'reminiscence', 'reminiscences', 'reminiscent', 'reminiscently', 'reminisces', 'reminiscing', 'remiss', 'remission', 'remissions', 'remissly', 'remissness', 'remissnesses', 'remits', 'remittance', 'remittances', 'remitted', 'remitting', 'remixed', 'remixes', 'remixing', 'remnant', 'remnants', 'remodel', 'remodeled', 'remodeling', 'remodelled', 'remodelling', 'remodels', 'remold', 'remolded', 'remolding', 'remolds', 'remonstrance', 'remonstrances', 'remonstrant', 'remonstrants', 'remonstrate', 'remonstrated', 'remonstrates', 'remonstrating', 'remorse', 'remorseful', 'remorsefully', 'remorseless', 'remorselessly', 'remorselessness', 'remorselessnesses', 'remorses', 'remortgage!', 'remortgaged!', 'remortgages!', 'remortgaging!', 'remote', 'remotely', 'remoteness', 'remotenesses', 'remoter', 'remotes', 'remotest', 'remount', 'remounted', 'remounting', 'remounts', 'removable', 'removal', 'removals', 'remove', 'removed', 'remover', 'removers', 'removes', 'removing', 'remunerate', 'remunerated', 'remunerates', 'remunerating', 'remuneration', 'remunerations', 'remunerative', 'renaissance', 'renaissances', 'rename', 'renamed', 'renames', 'renaming', 'renascence', 'renascences', 'renascent', 'render', 'rendered', 'rendering', 'renderings', 'renders', 'rendezvous', 'rendezvoused', 'rendezvouses', 'rendezvousing', 'rending', 'rendition', 'renditions', 'renegade', 'renegades', 'renege', 'reneged', 'reneger', 'renegers', 'reneges', 'reneging', 'renegotiable', 'renegotiate', 'renegotiated', 'renegotiates', 'renegotiating', 'renegotiation', 'renegotiations', 'renewable', 'renewal', 'renewals', 'renewed', 'renewing', 'renews', 'rennet', 'rennets', 'rennin', 'rennins', 'renominate', 'renominated', 'renominates', 'renominating', 'renomination', 'renominations', 'renounce', 'renounced', 'renouncement', 'renouncements', 'renounces', 'renouncing', 'renovate', 'renovated', 'renovates', 'renovating', 'renovation', 'renovations', 'renovator', 'renovators', 'renown', 'renowned', 'renowns', 'rental', 'rentals', 'rented', 'renter', 'renters', 'renting', 'renumber', 'renumbered', 'renumbering', 'renumbers', 'renunciation', 'renunciations', 'reoccupation', 'reoccupations', 'reoccupied', 'reoccupies', 'reoccupy', 'reoccupying', 'reoccur', 'reoccurred', 'reoccurring', 'reoccurs', 'reopen', 'reopened', 'reopening', 'reopens', 'reorder', 'reordered', 'reordering', 'reorders', 'reorg!', 'reorganization', 'reorganizations', 'reorganize', 'reorganized', 'reorganizes', 'reorganizing', 'reorged!', 'reorging!', 'reorgs!', 'reorient', 'reorientation', 'reorientations', 'reoriented', 'reorienting', 'reorients', 'repack', 'repackage', 'repackaged', 'repackages', 'repackaging', 'repacked', 'repacking', 'repacks', 'repaid', 'repaint', 'repainted', 'repainting', 'repaints', 'repair', 'repairable', 'repaired', 'repairer', 'repairers', 'repairing', 'repairman', 'repairmen', 'repairs', 'reparable', 'reparation', 'reparations', 'repartee', 'repartees', 'repast', 'repasts', 'repatriate', 'repatriated', 'repatriates', 'repatriating', 'repatriation', 'repatriations', 'repave', 'repaved', 'repaves', 'repaving', 'repayable', 'repaying', 'repayment', 'repayments', 'repays', 'repeal', 'repealed', 'repealing', 'repeals', 'repeat', 'repeatable', 'repeated', 'repeatedly', 'repeater', 'repeaters', 'repeating', 'repeatings', 'repeats', 'repellant', 'repellants', 'repelled', 'repellent', 'repellents', 'repelling', 'repels', 'repent', 'repentance', 'repentances', 'repentant', 'repentantly', 'repented', 'repenting', 'repents', 'repercussion', 'repercussions', 'repertoire', 'repertoires', 'repertories', 'repertory', 'repetition', 'repetitions', 'repetitious', 'repetitiously', 'repetitiousness', 'repetitiousnesses', 'repetitive', 'repetitively', 'repetitiveness', 'repetitivenesses', 'rephotograph', 'rephotographed', 'rephotographing', 'rephotographs', 'rephrase', 'rephrased', 'rephrases', 'rephrasing', 'repine', 'repined', 'repines', 'repining', 'replace', 'replaceable', 'replaced', 'replacement', 'replacements', 'replaces', 'replacing', 'replant', 'replanted', 'replanting', 'replants', 'replay', 'replayed', 'replaying', 'replays', 'replenish', 'replenished', 'replenishes', 'replenishing', 'replenishment', 'replenishments', 'replete', 'repleteness', 'repletenesses', 'repletion', 'repletions', 'replica', 'replicas', 'replicate', 'replicated', 'replicates', 'replicating', 'replication', 'replications', 'replied', 'replies', 'replying', 'repopulate', 'repopulated', 'repopulates', 'repopulating', 'report', 'reportage', 'reportages', 'reported', 'reportedly', 'reporter', 'reporters', 'reporting', 'reportorial', 'reports', 'repose', 'reposed', 'reposeful', 'reposes', 'reposing', 'repositories', 'repository', 'repossess', 'repossessed', 'repossesses', 'repossessing', 'repossession', 'repossessions', 'reprehend', 'reprehended', 'reprehending', 'reprehends', 'reprehensibilities', 'reprehensibility', 'reprehensible', 'reprehensibly', 'reprehension', 'reprehensions', 'represent', 'representation', 'representational', 'representations', 'representative', 'representatives', 'represented', 'representing', 'represents', 'repress', 'repressed', 'represses', 'repressing', 'repression', 'repressions', 'repressive', 'repressively', 'reprice', 'repriced', 'reprices', 'repricing', 'reprieve', 'reprieved', 'reprieves', 'reprieving', 'reprimand', 'reprimanded', 'reprimanding', 'reprimands', 'reprint', 'reprinted', 'reprinting', 'reprints', 'reprisal', 'reprisals', 'reprise', 'reprised', 'reprises', 'reprising', 'reproach', 'reproachable', 'reproached', 'reproaches', 'reproachful', 'reproachfully', 'reproaching', 'reprobate', 'reprobates', 'reprocess', 'reprocessed', 'reprocesses', 'reprocessing', 'reproduce', 'reproduced', 'reproducer', 'reproducers', 'reproduces', 'reproducible', 'reproducing', 'reproduction', 'reproductions', 'reproductive', 'reprogram', 'reprogramed', 'reprograming', 'reprogrammed', 'reprogramming', 'reprograms', 'reproof', 'reproofs', 'reprove', 'reproved', 'reproves', 'reproving', 'reprovingly', 'reptile', 'reptiles', 'reptilian', 'reptilians', 'republic', 'republican', 'republicanism', 'republicanisms', 'republicans', 'republication', 'republications', 'republics', 'republish', 'republished', 'republishes', 'republishing', 'repudiate', 'repudiated', 'repudiates', 'repudiating', 'repudiation', 'repudiations', 'repudiator', 'repudiators', 'repugnance', 'repugnances', 'repugnant', 'repulse', 'repulsed', 'repulses', 'repulsing', 'repulsion', 'repulsions', 'repulsive', 'repulsively', 'repulsiveness', 'repulsivenesses', 'repurchase', 'repurchased', 'repurchases', 'repurchasing', 'reputabilities', 'reputability', 'reputable', 'reputably', 'reputation', 'reputations', 'repute', 'reputed', 'reputedly', 'reputes', 'reputing', 'request', 'requested', 'requesting', 'requests', 'requiem', 'requiems', 'require', 'required', 'requirement', 'requirements', 'requires', 'requiring', 'requisite', 'requisites', 'requisition', 'requisitioned', 'requisitioning', 'requisitions', 'requital', 'requitals', 'requite', 'requited', 'requiter', 'requiters', 'requites', 'requiting', 'reread', 'rereading', 'rereads', 'rerecord', 'rerecorded', 'rerecording', 'rerecords', 'reroute', 'rerouted', 'reroutes', 'rerouting', 'rerunning', 'reruns', 'resalable', 'resale', 'resales', 'reschedule', 'rescheduled', 'reschedules', 'rescheduling', 'rescind', 'rescinded', 'rescinding', 'rescinds', 'rescission', 'rescissions', 'rescue', 'rescued', 'rescuer', 'rescuers', 'rescues', 'rescuing', 'reseal', 'resealable', 'resealed', 'resealing', 'reseals', 'research', 'researched', 'researcher', 'researchers', 'researches', 'researching', 'resection', 'resections', 'reseed', 'reseeded', 'reseeding', 'reseeds', 'resell', 'reselling', 'resells', 'resemblance', 'resemblances', 'resemble', 'resembled', 'resembles', 'resembling', 'resent', 'resented', 'resentful', 'resentfully', 'resentfulness', 'resentfulnesses', 'resenting', 'resentment', 'resentments', 'resents', 'reserpine', 'reserpines', 'reservation', 'reservations', 'reserve', 'reserved', 'reservedly', 'reservedness', 'reservednesses', 'reserves', 'reserving', 'reservist', 'reservists', 'reservoir', 'reservoirs', 'resets', 'resetting', 'resettle', 'resettled', 'resettlement', 'resettlements', 'resettles', 'resettling', 'resewed', 'resewing', 'resewn', 'resews', 'reshape', 'reshaped', 'reshapes', 'reshaping', 'resharpen', 'resharpened', 'resharpening', 'resharpens', 'reship', 'reshipment', 'reshipments', 'reshipped', 'reshipping', 'reships', 'reshuffle', 'reshuffled', 'reshuffles', 'reshuffling', 'reside', 'resided', 'residence', 'residences', 'residencies', 'residency', 'resident', 'residential', 'residents', 'resides', 'residing', 'residua', 'residual', 'residuals', 'residue', 'residues', 'residuum', 'resign', 'resignation', 'resignations', 'resigned', 'resignedly', 'resigning', 'resigns', 'resilience', 'resiliences', 'resiliencies', 'resiliency', 'resilient', 'resiliently', 'resinous', 'resins', 'resist', 'resistance', 'resistances', 'resistant', 'resisted', 'resister', 'resisters', 'resistible', 'resisting', 'resistless', 'resistor', 'resistors', 'resists', 'resold', 'resole', 'resoled', 'resoles', 'resoling', 'resolute', 'resolutely', 'resoluteness', 'resolutenesses', 'resolution', 'resolutions', 'resolvable', 'resolve', 'resolved', 'resolves', 'resolving', 'resonance', 'resonances', 'resonant', 'resonantly', 'resonate', 'resonated', 'resonates', 'resonating', 'resonator', 'resonators', 'resorption', 'resorptions', 'resort', 'resorted', 'resorting', 'resorts', 'resound', 'resounded', 'resounding', 'resoundingly', 'resounds', 'resource', 'resourced', 'resourceful', 'resourcefully', 'resourcefulness', 'resourcefulnesses', 'resources', 'resourcing', 'resowed', 'resowing', 'resown', 'resows', 'respect', 'respectabilities', 'respectability', 'respectable', 'respectably', 'respected', 'respecter', 'respecters', 'respectful', 'respectfully', 'respectfulness', 'respectfulnesses', 'respecting', 'respective', 'respectively', 'respects', 'respell', 'respelled', 'respelling', 'respells', 'respelt', 'respiration', 'respirations', 'respirator', 'respirators', 'respiratory', 'respire', 'respired', 'respires', 'respiring', 'respite', 'respites', 'resplendence', 'resplendences', 'resplendent', 'resplendently', 'respond', 'responded', 'respondent', 'respondents', 'responding', 'responds', 'response', 'responses', 'responsibilities', 'responsibility', 'responsible', 'responsibly', 'responsive', 'responsively', 'responsiveness', 'responsivenesses', 'respray', 'resprayed', 'respraying', 'resprays', 'restaff', 'restaffed', 'restaffing', 'restaffs', 'restart', 'restarted', 'restarting', 'restarts', 'restate', 'restated', 'restatement', 'restatements', 'restates', 'restating', 'restaurant', 'restauranteur', 'restauranteurs', 'restaurants', 'restaurateur', 'restaurateurs', 'rested', 'restful', 'restfuller', 'restfullest', 'restfully', 'restfulness', 'restfulnesses', 'resting', 'restitch', 'restitched', 'restitches', 'restitching', 'restitution', 'restitutions', 'restive', 'restively', 'restiveness', 'restivenesses', 'restless', 'restlessly', 'restlessness', 'restlessnesses', 'restock', 'restocked', 'restocking', 'restocks', 'restoration', 'restorations', 'restorative', 'restoratives', 'restore', 'restored', 'restorer', 'restorers', 'restores', 'restoring', 'restrain', 'restrained', 'restrainer', 'restrainers', 'restraining', 'restrains', 'restraint', 'restraints', 'restrengthen', 'restrengthened', 'restrengthening', 'restrengthens', 'restrict', 'restricted', 'restricting', 'restriction', 'restrictions', 'restrictive', 'restrictively', 'restrictiveness', 'restrictivenesses', 'restricts', 'restring', 'restringing', 'restrings', 'restroom', 'restrooms', 'restructure', 'restructured', 'restructures', 'restructuring', 'restructurings', 'restrung', 'restudied', 'restudies', 'restudy', 'restudying', 'restyle', 'restyled', 'restyles', 'restyling', 'resubmit', 'resubmits', 'resubmitted', 'resubmitting', 'resubscribe', 'resubscribed', 'resubscribes', 'resubscribing', 'result', 'resultant', 'resultants', 'resulted', 'resulting', 'results', 'resume', 'resumed', 'resumes', 'resuming', 'resumption', 'resumptions', 'resupplied', 'resupplies', 'resupply', 'resupplying', 'resurface', 'resurfaced', 'resurfaces', 'resurfacing', 'resurgence', 'resurgences', 'resurgent', 'resurrect', 'resurrected', 'resurrecting', 'resurrection', 'resurrections', 'resurrects', 'resurvey', 'resurveyed', 'resurveying', 'resurveys', 'resuscitate', 'resuscitated', 'resuscitates', 'resuscitating', 'resuscitation', 'resuscitations', 'resuscitator', 'resuscitators', 'retail', 'retailed', 'retailer', 'retailers', 'retailing', 'retails', 'retain', 'retained', 'retainer', 'retainers', 'retaining', 'retains', 'retake', 'retaken', 'retakes', 'retaking', 'retaliate', 'retaliated', 'retaliates', 'retaliating', 'retaliation', 'retaliations', 'retaliative', 'retaliatory', 'retard', 'retardant', 'retardants', 'retardation', 'retardations', 'retarded', 'retarder', 'retarders', 'retarding', 'retards', 'retaught', 'retched', 'retches', 'retching', 'reteach', 'reteaches', 'reteaching', 'retell', 'retelling', 'retells', 'retention', 'retentions', 'retentive', 'retentively', 'retentiveness', 'retentivenesses', 'retest', 'retested', 'retesting', 'retests', 'rethink', 'rethinking', 'rethinks', 'rethought', 'reticence', 'reticences', 'reticent', 'reticently', 'reticulation', 'reticulations', 'retied', 'reties', 'retina', 'retinae', 'retinal', 'retinas', 'retinue', 'retinues', 'retire', 'retired', 'retiree', 'retirees', 'retirement', 'retirements', 'retires', 'retiring', 'retold', 'retook', 'retool', 'retooled', 'retooling', 'retools', 'retort', 'retorted', 'retorting', 'retorts', 'retouch', 'retouched', 'retouches', 'retouching', 'retrace', 'retraced', 'retraces', 'retracing', 'retract', 'retractable', 'retracted', 'retractile', 'retracting', 'retraction', 'retractions', 'retracts', 'retrain', 'retrained', 'retraining', 'retrains', 'retread', 'retreaded', 'retreading', 'retreads', 'retreat', 'retreated', 'retreating', 'retreats', 'retrench', 'retrenched', 'retrenches', 'retrenching', 'retrenchment', 'retrenchments', 'retrial', 'retrials', 'retribution', 'retributions', 'retributive', 'retried', 'retries', 'retrievable', 'retrieval', 'retrievals', 'retrieve', 'retrieved', 'retriever', 'retrievers', 'retrieves', 'retrieving', 'retroactive', 'retroactively', 'retrod', 'retrodden', 'retrofire', 'retrofired', 'retrofires', 'retrofiring', 'retrofit', 'retrofits', 'retrofitted', 'retrofitting', 'retrograde', 'retrograded', 'retrogrades', 'retrograding', 'retrogress', 'retrogressed', 'retrogresses', 'retrogressing', 'retrogression', 'retrogressions', 'retrogressive', 'retrorocket', 'retrorockets', 'retros', 'retrospect', 'retrospected', 'retrospecting', 'retrospection', 'retrospections', 'retrospective', 'retrospectively', 'retrospectives', 'retrospects', 'retrovirus', 'retroviruses', 'retrying', 'retsina', 'retsinas', 'return', 'returnable', 'returnables', 'returned', 'returnee', 'returnees', 'returner', 'returners', 'returning', 'returns', 'retweet!', 'retweeted!', 'retweeting!', 'retweets!', 'retying', 'retype', 'retyped', 'retypes', 'retyping', 'reunification', 'reunifications', 'reunified', 'reunifies', 'reunify', 'reunifying', 'reunion', 'reunions', 'reunite', 'reunited', 'reunites', 'reuniting', 'reupholster', 'reupholstered', 'reupholstering', 'reupholsters', 'reusable', 'reused', 'reuses', 'reusing', 'revaluation', 'revaluations', 'revalue', 'revalued', 'revalues', 'revaluing', 'revamp', 'revamped', 'revamping', 'revampings', 'revamps', 'reveal', 'revealed', 'revealing', 'revealingly', 'reveals', 'reveille', 'reveilles', 'revelation', 'revelations', 'reveled', 'reveler', 'revelers', 'reveling', 'revelled', 'reveller', 'revellers', 'revelling', 'revelries', 'revelry', 'revels', 'revenge', 'revenged', 'revengeful', 'revengefully', 'revenges', 'revenging', 'revenue', 'revenuer', 'revenuers', 'revenues', 'reverberate', 'reverberated', 'reverberates', 'reverberating', 'reverberation', 'reverberations', 'revere', 'revered', 'reverence', 'reverenced', 'reverences', 'reverencing', 'reverend', 'reverends', 'reverent', 'reverential', 'reverentially', 'reverently', 'reveres', 'reverie', 'reveries', 'revering', 'revers', 'reversal', 'reversals', 'reverse', 'reversed', 'reversely', 'reverses', 'reversible', 'reversibly', 'reversing', 'reversion', 'reversions', 'revert', 'reverted', 'revertible', 'reverting', 'reverts', 'revery', 'revetment', 'revetments', 'review', 'reviewed', 'reviewer', 'reviewers', 'reviewing', 'reviews', 'revile', 'reviled', 'revilement', 'revilements', 'reviler', 'revilers', 'reviles', 'reviling', 'revise', 'revised', 'reviser', 'revisers', 'revises', 'revising', 'revision', 'revisionism', 'revisionisms', 'revisionist', 'revisionists', 'revisions', 'revisit', 'revisited', 'revisiting', 'revisits', 'revitalization', 'revitalizations', 'revitalize', 'revitalized', 'revitalizes', 'revitalizing', 'revival', 'revivalism', 'revivalisms', 'revivalist', 'revivalists', 'revivals', 'revive', 'revived', 'revives', 'revivification', 'revivifications', 'revivified', 'revivifies', 'revivify', 'revivifying', 'reviving', 'revocable', 'revocation', 'revocations', 'revokable', 'revoke', 'revoked', 'revokes', 'revoking', 'revolt', 'revolted', 'revolting', 'revoltingly', 'revolts', 'revolution', 'revolutionaries', 'revolutionary', 'revolutionise', 'revolutionised', 'revolutionises', 'revolutionising', 'revolutionist', 'revolutionists', 'revolutionize', 'revolutionized', 'revolutionizes', 'revolutionizing', 'revolutions', 'revolvable', 'revolve', 'revolved', 'revolver', 'revolvers', 'revolves', 'revolving', 'revues', 'revulsion', 'revulsions', 'revved', 'revving', 'reward', 'rewarded', 'rewarding', 'rewards', 'rewarm', 'rewarmed', 'rewarming', 'rewarms', 'rewash', 'rewashed', 'rewashes', 'rewashing', 'reweave', 'reweaved', 'reweaves', 'reweaving', 'rewedded', 'rewedding', 'reweds', 'reweigh', 'reweighed', 'reweighing', 'reweighs', 'rewind', 'rewinding', 'rewinds', 'rewire', 'rewired', 'rewires', 'rewiring', 'reword', 'reworded', 'rewording', 'rewords', 'rework', 'reworked', 'reworking', 'reworks', 'rewound', 'rewove', 'rewoven', 'rewrite', 'rewrites', 'rewriting', 'rewritten', 'rewrote', 'rezone', 'rezoned', 'rezones', 'rezoning', 'rhapsodic', 'rhapsodical', 'rhapsodies', 'rhapsodize', 'rhapsodized', 'rhapsodizes', 'rhapsodizing', 'rhapsody', 'rhenium', 'rheniums', 'rheostat', 'rheostats', 'rhesus', 'rhesuses', 'rhetoric', 'rhetorical', 'rhetorically', 'rhetorician', 'rhetoricians', 'rhetorics', 'rheumatic', 'rheumatically', 'rheumatics', 'rheumatism', 'rheumatisms', 'rheumatoid', 'rheumier', 'rheumiest', 'rheums', 'rheumy', 'rhinestone', 'rhinestones', 'rhinitides', 'rhinitis', 'rhinoceri', 'rhinoceros', 'rhinoceroses', 'rhinos', 'rhizome', 'rhizomes', 'rhodium', 'rhodiums', 'rhododendron', 'rhododendrons', 'rhombi', 'rhomboid', 'rhomboidal', 'rhomboids', 'rhombus', 'rhombuses', 'rhubarb', 'rhubarbs', 'rhymed', 'rhymer', 'rhymers', 'rhymes', 'rhymester', 'rhymesters', 'rhyming', 'rhythm', 'rhythmic', 'rhythmical', 'rhythmically', 'rhythms', 'ribald', 'ribaldries', 'ribaldry', 'ribbed', 'ribber', 'ribbers', 'ribbing', 'ribbon', 'ribbons', 'riboflavin', 'riboflavins', 'ricers', 'richer', 'riches', 'richest', 'richly', 'richness', 'richnesses', 'ricing', 'ricked', 'ricketier', 'ricketiest', 'rickets', 'rickety', 'ricking', 'rickrack', 'rickracks', 'ricksha', 'rickshas', 'rickshaw', 'rickshaws', 'ricochet', 'ricocheted', 'ricocheting', 'ricochets', 'ricochetted', 'ricochetting', 'ricotta', 'ricottas', 'riddance', 'riddances', 'ridded', 'ridden', 'ridding', 'riddle', 'riddled', 'riddles', 'riddling', 'riderless', 'riders', 'ridership', 'riderships', 'ridged', 'ridgepole', 'ridgepoles', 'ridges', 'ridgier', 'ridgiest', 'ridging', 'ridicule', 'ridiculed', 'ridicules', 'ridiculing', 'ridiculous', 'ridiculously', 'ridiculousness', 'ridiculousnesses', 'riding', 'ridings', 'rifest', 'riffed', 'riffing', 'riffle', 'riffled', 'riffles', 'riffling', 'riffraff', 'rifled', 'rifleman', 'riflemen', 'rifler', 'riflers', 'rifles', 'rifling', 'riflings', 'rifted', 'rifting', 'rigamarole', 'rigamaroles', 'rigatoni', 'rigged', 'rigger', 'riggers', 'rigging', 'riggings', 'righted', 'righteous', 'righteously', 'righteousness', 'righteousnesses', 'righter', 'rightest', 'rightful', 'rightfully', 'rightfulness', 'rightfulnesses', 'righting', 'rightism', 'rightisms', 'rightist', 'rightists', 'rightly', 'rightmost', 'rightness', 'rightnesses', 'rights', 'rightsize', 'rightsized', 'rightsizes', 'rightsizing', 'rightward', 'rightwards', 'rigidities', 'rigidity', 'rigidly', 'rigidness', 'rigidnesses', 'rigmarole', 'rigmaroles', 'rigorous', 'rigorously', 'rigorousness', 'rigorousnesses', 'rigors', 'rigour', 'rigours', 'riling', 'riming', 'rimless', 'rimmed', 'rimming', 'ringed', 'ringer', 'ringers', 'ringgit', 'ringgits', 'ringing', 'ringleader', 'ringleaders', 'ringlet', 'ringlets', 'ringlike', 'ringmaster', 'ringmasters', 'ringside', 'ringsides', 'ringtone!', 'ringtones!', 'ringworm', 'ringworms', 'rinsed', 'rinses', 'rinsing', 'rioted', 'rioter', 'rioters', 'rioting', 'riotings', 'riotous', 'riotously', 'riparian', 'ripcord', 'ripcords', 'ripely', 'ripened', 'ripeness', 'ripenesses', 'ripening', 'ripens', 'ripest', 'ripoff', 'ripoffs', 'ripost', 'riposte', 'riposted', 'ripostes', 'riposting', 'riposts', 'ripped', 'ripper', 'rippers', 'ripping', 'ripple', 'rippled', 'ripples', 'rippling', 'ripply', 'ripsaw', 'ripsaws', 'riptide', 'riptides', 'risers', 'risibilities', 'risibility', 'risible', 'rising', 'risings', 'risked', 'riskier', 'riskiest', 'riskily', 'riskiness', 'riskinesses', 'risking', 'risotto', 'risottos', 'risque', 'ritual', 'ritualism', 'ritualisms', 'ritualistic', 'ritualistically', 'ritually', 'rituals', 'ritzier', 'ritziest', 'rivaled', 'rivaling', 'rivalled', 'rivalling', 'rivalries', 'rivalry', 'rivals', 'riverbank', 'riverbanks', 'riverbed', 'riverbeds', 'riverboat', 'riverboats', 'rivers', 'riverside', 'riversides', 'riveted', 'riveter', 'riveters', 'riveting', 'rivets', 'rivetted', 'rivetting', 'riving', 'rivulet', 'rivulets', 'riyals', 'roaches', 'roadbed', 'roadbeds', 'roadblock', 'roadblocked', 'roadblocking', 'roadblocks', 'roadhouse', 'roadhouses', 'roadie', 'roadies', 'roadkill', 'roadkills', 'roadrunner', 'roadrunners', 'roadshow', 'roadshows', 'roadside', 'roadsides', 'roadster', 'roadsters', 'roadway', 'roadways', 'roadwork', 'roadworks', 'roadworthy', 'roamed', 'roamer', 'roamers', 'roaming', 'roamings', 'roared', 'roarer', 'roarers', 'roaring', 'roarings', 'roasted', 'roaster', 'roasters', 'roasting', 'roastings', 'roasts', 'robbed', 'robber', 'robberies', 'robbers', 'robbery', 'robbing', 'robing', 'robins', 'robocall!', 'robocalled!', 'robocalling!', 'robocalls!', 'robotic', 'robotics', 'robotize', 'robotized', 'robotizes', 'robotizing', 'robots', 'robust', 'robuster', 'robustest', 'robustly', 'robustness', 'robustnesses', 'rockabillies', 'rockabilly', 'rockbound', 'rocked', 'rocker', 'rockers', 'rocket', 'rocketed', 'rocketing', 'rocketries', 'rocketry', 'rockets', 'rockfall', 'rockfalls', 'rockier', 'rockiest', 'rockiness', 'rockinesses', 'rocking', 'rococo', 'rococos', 'rodent', 'rodents', 'rodeos', 'roebuck', 'roebucks', 'roentgen', 'roentgens', 'rogered', 'rogering', 'rogers', 'rogueries', 'roguery', 'rogues', 'roguish', 'roguishly', 'roguishness', 'roguishnesses', 'roiled', 'roiling', 'roister', 'roistered', 'roisterer', 'roisterers', 'roistering', 'roisters', 'rollback', 'rollbacks', 'rolled', 'roller', 'rollers', 'rollerskating', 'rollerskatings', 'rollick', 'rollicked', 'rollicking', 'rollickings', 'rollicks', 'rolling', 'rollover', 'rollovers', 'romaine', 'romaines', 'romance', 'romanced', 'romancer', 'romancers', 'romances', 'romancing', 'romans', 'romantic', 'romantically', 'romanticism', 'romanticisms', 'romanticist', 'romanticists', 'romanticize', 'romanticized', 'romanticizes', 'romanticizing', 'romantics', 'romeos', 'romped', 'romper', 'rompers', 'romping', 'rondos', 'roofed', 'roofer', 'roofers', 'roofing', 'roofings', 'roofless', 'rooftop', 'rooftops', 'rooked', 'rookeries', 'rookery', 'rookie', 'rookies', 'rooking', 'roomed', 'roomer', 'roomers', 'roomette', 'roomettes', 'roomful', 'roomfuls', 'roomier', 'roomiest', 'roominess', 'roominesses', 'rooming', 'roommate', 'roommates', 'roosted', 'rooster', 'roosters', 'roosting', 'roosts', 'rooted', 'rooter', 'rooters', 'rooting', 'rootless', 'rootlet', 'rootlets', 'ropers', 'ropier', 'ropiest', 'roping', 'rosaries', 'rosary', 'roseate', 'rosebud', 'rosebuds', 'rosebush', 'rosebushes', 'rosemaries', 'rosemary', 'rosette', 'rosettes', 'rosewater', 'rosewaters', 'rosewood', 'rosewoods', 'rosier', 'rosiest', 'rosily', 'rosined', 'rosiness', 'rosinesses', 'rosining', 'rosins', 'roster', 'rosters', 'rostra', 'rostrum', 'rostrums', 'rotaries', 'rotary', 'rotate', 'rotated', 'rotates', 'rotating', 'rotation', 'rotations', 'rotatory', 'rotes', 'rotgut', 'rotguts', 'rotisserie', 'rotisseries', 'rotogravure', 'rotogravures', 'rotors', 'rototiller', 'rototillers', 'rotted', 'rotten', 'rottener', 'rottenest', 'rottenly', 'rottenness', 'rottennesses', 'rotting', 'rotund', 'rotunda', 'rotundas', 'rotundities', 'rotundity', 'rotundness', 'rotundnesses', 'rouble', 'roubles', 'rouged', 'rouges', 'roughage', 'roughages', 'roughed', 'roughen', 'roughened', 'roughening', 'roughens', 'rougher', 'roughest', 'roughhouse', 'roughhoused', 'roughhouses', 'roughhousing', 'roughing', 'roughly', 'roughneck', 'roughnecked', 'roughnecking', 'roughnecks', 'roughness', 'roughnesses', 'roughs', 'roughshod', 'rouging', 'roulette', 'roulettes', 'roundabout', 'roundabouts', 'rounded', 'roundelay', 'roundelays', 'rounder', 'roundest', 'roundhouse', 'roundhouses', 'rounding', 'roundish', 'roundly', 'roundness', 'roundnesses', 'rounds', 'roundtable', 'roundtables', 'roundup', 'roundups', 'roundworm', 'roundworms', 'roused', 'rouses', 'rousing', 'roustabout', 'roustabouts', 'rousted', 'rousting', 'rousts', 'routed', 'router', 'routers', 'routes', 'routine', 'routinely', 'routines', 'routing', 'routinize', 'routinized', 'routinizes', 'routinizing', 'rovers', 'roving', 'rowboat', 'rowboats', 'rowdier', 'rowdies', 'rowdiest', 'rowdily', 'rowdiness', 'rowdinesses', 'rowdyism', 'rowdyisms', 'roweled', 'roweling', 'rowelled', 'rowelling', 'rowels', 'rowers', 'rowing', 'rowings', 'royalist', 'royalists', 'royally', 'royals', 'royalties', 'royalty', 'rubati', 'rubato', 'rubatos', 'rubbed', 'rubber', 'rubberier', 'rubberiest', 'rubberize', 'rubberized', 'rubberizes', 'rubberizing', 'rubberneck', 'rubbernecked', 'rubbernecker', 'rubberneckers', 'rubbernecking', 'rubbernecks', 'rubbers', 'rubbery', 'rubbing', 'rubbish', 'rubbishes', 'rubbishy', 'rubble', 'rubbles', 'rubdown', 'rubdowns', 'rubella', 'rubellas', 'rubicund', 'rubidium', 'rubidiums', 'rubier', 'rubies', 'rubiest', 'rubles', 'rubric', 'rubrics', 'rucksack', 'rucksacks', 'ruckus', 'ruckuses', 'rudder', 'rudderless', 'rudders', 'ruddier', 'ruddiest', 'ruddiness', 'ruddinesses', 'rudely', 'rudeness', 'rudenesses', 'rudest', 'rudiment', 'rudimentary', 'rudiments', 'rueful', 'ruefully', 'ruefulness', 'ruefulnesses', 'rueing', 'ruffed', 'ruffian', 'ruffianly', 'ruffians', 'ruffing', 'ruffle', 'ruffled', 'ruffles', 'ruffling', 'ruffly', 'rugbies', 'rugged', 'ruggeder', 'ruggedest', 'ruggedly', 'ruggedness', 'ruggednesses', 'rugrat!', 'rugrats!', 'ruination', 'ruinations', 'ruined', 'ruining', 'ruinous', 'ruinously', 'rulers', 'ruling', 'rulings', 'rumbaed', 'rumbaing', 'rumbas', 'rumble', 'rumbled', 'rumbles', 'rumbling', 'rumblings', 'ruminant', 'ruminants', 'ruminate', 'ruminated', 'ruminates', 'ruminating', 'rumination', 'ruminations', 'ruminative', 'rummage', 'rummaged', 'rummages', 'rummaging', 'rummer', 'rummest', 'rummies', 'rumored', 'rumoring', 'rumormonger', 'rumormongers', 'rumors', 'rumour', 'rumoured', 'rumouring', 'rumours', 'rumple', 'rumpled', 'rumples', 'rumpling', 'rumply', 'rumpus', 'rumpuses', 'runabout', 'runabouts', 'runaround', 'runarounds', 'runaway', 'runaways', 'rundown', 'rundowns', 'runlet', 'runlets', 'runnel', 'runnels', 'runner', 'runners', 'runnier', 'runniest', 'running', 'runnings', 'runoff', 'runoffs', 'runtier', 'runtiest', 'runway', 'runways', 'rupees', 'rupiah', 'rupiahs', 'rupture', 'ruptured', 'ruptures', 'rupturing', 'rushed', 'rusher', 'rushers', 'rushes', 'rushing', 'russet', 'russets', 'rusted', 'rustic', 'rustically', 'rusticate', 'rusticated', 'rusticates', 'rusticating', 'rustication', 'rustications', 'rusticities', 'rusticity', 'rustics', 'rustier', 'rustiest', 'rustiness', 'rustinesses', 'rusting', 'rustle', 'rustled', 'rustler', 'rustlers', 'rustles', 'rustling', 'rustproof', 'rustproofed', 'rustproofing', 'rustproofs', 'rutabaga', 'rutabagas', 'ruthenium', 'rutheniums', 'rutherfordium', 'rutherfordiums', 'ruthless', 'ruthlessly', 'ruthlessness', 'ruthlessnesses', 'rutted', 'ruttier', 'ruttiest', 'rutting', 'sabbath', 'sabbaths', 'sabbatical', 'sabbaticals', 'sabers', 'sables', 'sabotage', 'sabotaged', 'sabotages', 'sabotaging', 'saboteur', 'saboteurs', 'sabots', 'sabras', 'sabres', 'saccharin', 'saccharine', 'saccharins', 'sacerdotal', 'sachem', 'sachems', 'sachet', 'sachets', 'sackcloth', 'sackcloths', 'sacked', 'sacker', 'sackers', 'sackful', 'sackfuls', 'sacking', 'sackings', 'sacrament', 'sacramental', 'sacraments', 'sacred', 'sacredly', 'sacredness', 'sacrednesses', 'sacrifice', 'sacrificed', 'sacrifices', 'sacrificial', 'sacrificially', 'sacrificing', 'sacrilege', 'sacrileges', 'sacrilegious', 'sacrilegiously', 'sacristan', 'sacristans', 'sacristies', 'sacristy', 'sacroiliac', 'sacroiliacs', 'sacrosanct', 'sacrosanctness', 'sacrosanctnesses', 'sacrum', 'sadden', 'saddened', 'saddening', 'saddens', 'sadder', 'saddest', 'saddle', 'saddlebag', 'saddlebags', 'saddled', 'saddles', 'saddling', 'sadism', 'sadisms', 'sadist', 'sadistic', 'sadistically', 'sadists', 'sadness', 'sadnesses', 'sadomasochism', 'sadomasochisms', 'sadomasochist', 'sadomasochistic', 'sadomasochists', 'safari', 'safaried', 'safariing', 'safaris', 'safeguard', 'safeguarded', 'safeguarding', 'safeguards', 'safekeeping', 'safekeepings', 'safely', 'safeness', 'safenesses', 'safest', 'safeties', 'safety', 'safflower', 'safflowers', 'saffron', 'saffrons', 'sagacious', 'sagaciously', 'sagacities', 'sagacity', 'sagebrush', 'sagebrushes', 'sagely', 'sagest', 'sagged', 'saggier', 'saggiest', 'sagging', 'sagos', 'saguaro', 'saguaros', 'sahibs', 'sailboard', 'sailboarder', 'sailboarders', 'sailboarding', 'sailboardings', 'sailboards', 'sailboat', 'sailboats', 'sailcloth', 'sailcloths', 'sailed', 'sailfish', 'sailfishes', 'sailing', 'sailings', 'sailor', 'sailors', 'sailplane', 'sailplanes', 'sainted', 'sainthood', 'sainthoods', 'saintlier', 'saintliest', 'saintlike', 'saintliness', 'saintlinesses', 'saintly', 'saints', 'sakes', 'sakis', 'salaam', 'salaamed', 'salaaming', 'salaams', 'salable', 'salacious', 'salaciously', 'salaciousness', 'salaciousnesses', 'salacities', 'salacity', 'salads', 'salamander', 'salamanders', 'salami', 'salamis', 'salaried', 'salaries', 'salary', 'saleable', 'salesclerk', 'salesclerks', 'salesgirl', 'salesgirls', 'salesladies', 'saleslady', 'salesman', 'salesmanship', 'salesmanships', 'salesmen', 'salespeople', 'salesperson', 'salespersons', 'saleswoman', 'saleswomen', 'salience', 'saliences', 'salient', 'saliently', 'salients', 'saline', 'salines', 'salinities', 'salinity', 'saliva', 'salivary', 'salivas', 'salivate', 'salivated', 'salivates', 'salivating', 'salivation', 'salivations', 'sallied', 'sallies', 'sallow', 'sallower', 'sallowest', 'sallowness', 'sallownesses', 'sallying', 'salmon', 'salmonella', 'salmonellae', 'salmonellas', 'salmons', 'salons', 'saloon', 'saloons', 'salsas', 'saltbox', 'saltboxes', 'saltcellar', 'saltcellars', 'salted', 'salter', 'saltest', 'saltier', 'saltiest', 'saltine', 'saltines', 'saltiness', 'saltinesses', 'salting', 'saltpeter', 'saltpeters', 'saltpetre', 'saltpetres', 'saltshaker', 'saltshakers', 'saltwater', 'saltwaters', 'salubrious', 'salutary', 'salutation', 'salutations', 'salutatorian', 'salutatorians', 'salutatory', 'salute', 'saluted', 'salutes', 'saluting', 'salvage', 'salvageable', 'salvaged', 'salvages', 'salvaging', 'salvation', 'salvations', 'salved', 'salver', 'salvers', 'salves', 'salving', 'salvoes', 'salvos', 'samarium', 'samariums', 'sambaed', 'sambaing', 'sambas', 'sameness', 'samenesses', 'samovar', 'samovars', 'sampan', 'sampans', 'sample', 'sampled', 'sampler', 'samplers', 'samples', 'sampling', 'samplings!', 'samurai', 'sanatoria', 'sanatorium', 'sanatoriums', 'sancta', 'sanctification', 'sanctifications', 'sanctified', 'sanctifies', 'sanctify', 'sanctifying', 'sanctimonies', 'sanctimonious', 'sanctimoniously', 'sanctimoniousness', 'sanctimoniousnesses', 'sanctimony', 'sanction', 'sanctioned', 'sanctioning', 'sanctions', 'sanctities', 'sanctity', 'sanctuaries', 'sanctuary', 'sanctum', 'sanctums', 'sandal', 'sandals', 'sandalwood', 'sandalwoods', 'sandbag', 'sandbagged', 'sandbagging', 'sandbags', 'sandbank', 'sandbanks', 'sandbar', 'sandbars', 'sandblast', 'sandblasted', 'sandblaster', 'sandblasters', 'sandblasting', 'sandblasts', 'sandbox', 'sandboxes', 'sandcastle', 'sandcastles', 'sanded', 'sander', 'sanders', 'sandhog', 'sandhogs', 'sandier', 'sandiest', 'sandiness', 'sandinesses', 'sanding', 'sandlot', 'sandlots', 'sandlotter', 'sandlotters', 'sandman', 'sandmen', 'sandpaper', 'sandpapered', 'sandpapering', 'sandpapers', 'sandpiper', 'sandpipers', 'sandstone', 'sandstones', 'sandstorm', 'sandstorms', 'sandwich', 'sandwiched', 'sandwiches', 'sandwiching', 'sanely', 'saneness', 'sanenesses', 'sanest', 'sangfroid', 'sangfroids', 'sangria', 'sangrias', 'sanguinary', 'sanguine', 'sanguinely', 'sanitaria', 'sanitarian', 'sanitarians', 'sanitarium', 'sanitariums', 'sanitary', 'sanitation', 'sanitations', 'sanities', 'sanitize', 'sanitized', 'sanitizes', 'sanitizing', 'sanity', 'sapience', 'sapiences', 'sapient', 'sapless', 'sapling', 'saplings', 'sapped', 'sapphire', 'sapphires', 'sappier', 'sappiest', 'sappiness', 'sappinesses', 'sapping', 'saprophyte', 'saprophytes', 'saprophytic', 'sapsucker', 'sapsuckers', 'sapwood', 'sapwoods', 'sarans', 'sarape', 'sarapes', 'sarcasm', 'sarcasms', 'sarcastic', 'sarcastically', 'sarcoma', 'sarcomas', 'sarcomata', 'sarcophagi', 'sarcophagus', 'sarcophaguses', 'sardine', 'sardines', 'sardonic', 'sardonically', 'sarees', 'sarges', 'sarong', 'sarongs', 'sarsaparilla', 'sarsaparillas', 'sartorial', 'sartorially', 'sashay', 'sashayed', 'sashaying', 'sashays', 'sashes', 'sassafras', 'sassafrases', 'sassed', 'sasses', 'sassier', 'sassiest', 'sassing', 'satanic', 'satanical', 'satanically', 'satanism', 'satanisms', 'satanist', 'satanists', 'satay!', 'satays!', 'satchel', 'satchels', 'sateen', 'sateens', 'satellite', 'satellites', 'satiable', 'satiate', 'satiated', 'satiates', 'satiating', 'satiation', 'satiations', 'satieties', 'satiety', 'sating', 'satins', 'satinwood', 'satinwoods', 'satiny', 'satire', 'satires', 'satiric', 'satirical', 'satirically', 'satirist', 'satirists', 'satirize', 'satirized', 'satirizes', 'satirizing', 'satisfaction', 'satisfactions', 'satisfactorily', 'satisfactory', 'satisfied', 'satisfies', 'satisfy', 'satisfying', 'satisfyingly', 'satori', 'satoris', 'satrap', 'satraps', 'saturate', 'saturated', 'saturates', 'saturating', 'saturation', 'saturations', 'saturnine', 'satyriases', 'satyriasis', 'satyric', 'satyrs', 'sauced', 'saucepan', 'saucepans', 'saucer', 'saucers', 'sauces', 'saucier', 'sauciest', 'saucily', 'sauciness', 'saucinesses', 'saucing', 'sauerkraut', 'sauerkrauts', 'saunaed', 'saunaing', 'saunas', 'saunter', 'sauntered', 'sauntering', 'saunters', 'saurian', 'sauropod', 'sauropods', 'sausage', 'sausages', 'sauted', 'sauteed', 'sauteing', 'sauterne', 'sauternes', 'sautes', 'savable', 'savage', 'savaged', 'savagely', 'savageness', 'savagenesses', 'savager', 'savageries', 'savagery', 'savages', 'savagest', 'savaging', 'savanna', 'savannah', 'savannahs', 'savannas', 'savant', 'savants', 'saveable', 'savers', 'saving', 'savings', 'savior', 'saviors', 'saviour', 'saviours', 'savored', 'savorier', 'savories', 'savoriest', 'savoriness', 'savorinesses', 'savoring', 'savors', 'savory', 'savour', 'savoured', 'savourier', 'savouries', 'savouriest', 'savouring', 'savours', 'savoury', 'savoys', 'savvied', 'savvier', 'savvies', 'savviest', 'savvying', 'sawbones', 'sawboneses', 'sawbuck', 'sawbucks', 'sawdust', 'sawdusts', 'sawflies', 'sawfly', 'sawhorse', 'sawhorses', 'sawing', 'sawmill', 'sawmills', 'sawyer', 'sawyers', 'saxifrage', 'saxifrages', 'saxophone', 'saxophones', 'saxophonist', 'saxophonists', 'saying', 'sayings', 'scabbard', 'scabbards', 'scabbed', 'scabbier', 'scabbiest', 'scabbiness', 'scabbinesses', 'scabbing', 'scabby', 'scabies', 'scabrous', 'scaffold', 'scaffolding', 'scaffoldings', 'scaffolds', 'scalawag', 'scalawags', 'scalded', 'scalding', 'scalds', 'scaled', 'scaleless', 'scalene', 'scales', 'scalier', 'scaliest', 'scaliness', 'scalinesses', 'scaling', 'scallion', 'scallions', 'scallop', 'scalloped', 'scalloping', 'scallops', 'scalped', 'scalpel', 'scalpels', 'scalper', 'scalpers', 'scalping', 'scalps', 'scammed', 'scamming', 'scamper', 'scampered', 'scampering', 'scampers', 'scampi', 'scampies', 'scamps', 'scandal', 'scandalize', 'scandalized', 'scandalizes', 'scandalizing', 'scandalmonger', 'scandalmongers', 'scandalous', 'scandalously', 'scandals', 'scandium', 'scandiums', 'scanned', 'scanner', 'scanners', 'scanning', 'scansion', 'scansions', 'scanted', 'scanter', 'scantest', 'scantier', 'scantiest', 'scantily', 'scantiness', 'scantinesses', 'scanting', 'scantly', 'scantness', 'scantnesses', 'scants', 'scanty', 'scapegoat', 'scapegoated', 'scapegoating', 'scapegoats', 'scapegrace', 'scapegraces', 'scapula', 'scapulae', 'scapular', 'scapulars', 'scapulas', 'scarab', 'scarabs', 'scarce', 'scarcely', 'scarceness', 'scarcenesses', 'scarcer', 'scarcest', 'scarcities', 'scarcity', 'scarecrow', 'scarecrows', 'scared', 'scareder', 'scaredest', 'scaremonger', 'scaremongers', 'scares', 'scarfed', 'scarfing', 'scarfs', 'scarier', 'scariest', 'scarification', 'scarifications', 'scarified', 'scarifies', 'scarify', 'scarifying', 'scarily', 'scariness', 'scarinesses', 'scaring', 'scarlatina', 'scarlatinas', 'scarlet', 'scarlets', 'scarped', 'scarping', 'scarps', 'scarred', 'scarring', 'scarves', 'scathing', 'scathingly', 'scatological', 'scatologies', 'scatology', 'scatted', 'scatter', 'scatterbrain', 'scatterbrained', 'scatterbrains', 'scattered', 'scattering', 'scatterings', 'scatters', 'scatting', 'scavenge', 'scavenged', 'scavenger', 'scavengers', 'scavenges', 'scavenging', 'scenario', 'scenarios', 'scenarist', 'scenarists', 'sceneries', 'scenery', 'scenes', 'scenic', 'scenically', 'scented', 'scenting', 'scentless', 'scents', 'scepter', 'scepters', 'sceptic', 'sceptical', 'scepticism', 'scepticisms', 'sceptics', 'sceptre', 'sceptres', 'schedule', 'scheduled', 'schedules', 'scheduling', 'schematic', 'schematically', 'schematics', 'scheme', 'schemed', 'schemer', 'schemers', 'schemes', 'scheming', 'scherzi', 'scherzo', 'scherzos', 'schilling', 'schillings', 'schism', 'schismatic', 'schismatics', 'schisms', 'schist', 'schists', 'schizo', 'schizoid', 'schizoids', 'schizophrenia', 'schizophrenias', 'schizophrenic', 'schizophrenics', 'schizos', 'schlemiel', 'schlemiels', 'schlep', 'schlepp', 'schlepped', 'schlepping', 'schlepps', 'schleps', 'schlock', 'schlocks', 'schlocky', 'schmaltz', 'schmaltzes', 'schmaltzier', 'schmaltziest', 'schmaltzy', 'schmalz', 'schmalzes', 'schmoe', 'schmoes', 'schmooze', 'schmoozed', 'schmoozes', 'schmoozing', 'schmos', 'schmuck', 'schmucks', 'schnapps', 'schnaps', 'schnauzer', 'schnauzers', 'schnitzel', 'schnitzels', 'schnook', 'schnooks', 'schnoz', 'schnozes', 'schnozzle', 'schnozzles', 'scholar', 'scholarly', 'scholars', 'scholarship', 'scholarships', 'scholastic', 'scholastically', 'school', 'schoolbag', 'schoolbags', 'schoolbook', 'schoolbooks', 'schoolboy', 'schoolboys', 'schoolchild', 'schoolchildren', 'schooled', 'schoolfellow', 'schoolfellows', 'schoolgirl', 'schoolgirls', 'schoolhouse', 'schoolhouses', 'schooling', 'schoolings', 'schoolmarm', 'schoolmarmish', 'schoolmarms', 'schoolmaster', 'schoolmasters', 'schoolmate', 'schoolmates', 'schoolmistress', 'schoolmistresses', 'schoolroom', 'schoolrooms', 'schools', 'schoolteacher', 'schoolteachers', 'schoolwork', 'schoolworks', 'schoolyard', 'schoolyards', 'schooner', 'schooners', 'schrod', 'schrods', 'schuss', 'schussboomer', 'schussboomers', 'schussed', 'schusses', 'schussing', 'schwas', 'sciatic', 'sciatica', 'sciaticas', 'science', 'sciences', 'scientific', 'scientifically', 'scientist', 'scientists', 'scimitar', 'scimitars', 'scintilla', 'scintillas', 'scintillate', 'scintillated', 'scintillates', 'scintillating', 'scintillation', 'scintillations', 'scions', 'scissor', 'scissored', 'scissoring', 'scissors', 'scleroses', 'sclerosis', 'sclerotic', 'scoffed', 'scoffer', 'scoffers', 'scoffing', 'scofflaw', 'scofflaws', 'scoffs', 'scolded', 'scolding', 'scoldings', 'scolds', 'scolioses', 'scoliosis', 'scollop', 'scolloped', 'scolloping', 'scollops', 'sconce', 'sconces', 'scones', 'scooped', 'scoopful', 'scoopfuls', 'scooping', 'scoops', 'scooted', 'scooter', 'scooters', 'scooting', 'scoots', 'scoped', 'scopes', 'scoping', 'scorbutic', 'scorch', 'scorched', 'scorcher', 'scorchers', 'scorches', 'scorching', 'scoreboard', 'scoreboards', 'scorecard', 'scorecards', 'scored', 'scorekeeper', 'scorekeepers', 'scoreless', 'scorer', 'scorers', 'scores', 'scoring', 'scorned', 'scorner', 'scorners', 'scornful', 'scornfully', 'scorning', 'scorns', 'scorpion', 'scorpions', 'scotch', 'scotched', 'scotches', 'scotching', 'scoundrel', 'scoundrels', 'scoured', 'scourer', 'scourers', 'scourge', 'scourged', 'scourges', 'scourging', 'scouring', 'scours', 'scouted', 'scouting', 'scoutings', 'scoutmaster', 'scoutmasters', 'scouts', 'scowled', 'scowling', 'scowls', 'scrabble', 'scrabbled', 'scrabbler', 'scrabblers', 'scrabbles', 'scrabbling', 'scraggier', 'scraggiest', 'scragglier', 'scraggliest', 'scraggly', 'scraggy', 'scrags', 'scramble', 'scrambled', 'scrambler', 'scramblers', 'scrambles', 'scrambling', 'scrammed', 'scramming', 'scrams', 'scrapbook', 'scrapbooks', 'scrape', 'scraped', 'scraper', 'scrapers', 'scrapes', 'scrapheap', 'scrapheaps', 'scraping', 'scrapped', 'scrapper', 'scrappers', 'scrappier', 'scrappiest', 'scrapping', 'scrappy', 'scraps', 'scrapyard', 'scrapyards', 'scratch', 'scratched', 'scratches', 'scratchier', 'scratchiest', 'scratchily', 'scratchiness', 'scratchinesses', 'scratching', 'scratchy', 'scrawl', 'scrawled', 'scrawling', 'scrawls', 'scrawly', 'scrawnier', 'scrawniest', 'scrawniness', 'scrawninesses', 'scrawny', 'scream', 'screamed', 'screamer', 'screamers', 'screaming', 'screams', 'screech', 'screeched', 'screeches', 'screechier', 'screechiest', 'screeching', 'screechy', 'screen', 'screened', 'screening', 'screenings', 'screenplay', 'screenplays', 'screens', 'screenwriter', 'screenwriters', 'screenwriting', 'screenwritings', 'screes', 'screwball', 'screwballs', 'screwdriver', 'screwdrivers', 'screwed', 'screwier', 'screwiest', 'screwiness', 'screwinesses', 'screwing', 'screws', 'screwworm', 'screwworms', 'screwy', 'scribal', 'scribble', 'scribbled', 'scribbler', 'scribblers', 'scribbles', 'scribbling', 'scribe', 'scribes', 'scrimmage', 'scrimmaged', 'scrimmages', 'scrimmaging', 'scrimp', 'scrimped', 'scrimping', 'scrimps', 'scrims', 'scrimshaw', 'scrimshawed', 'scrimshawing', 'scrimshaws', 'scrips', 'script', 'scripted', 'scripting', 'scripts', 'scriptural', 'scripture', 'scriptures', 'scriptwriter', 'scriptwriters', 'scrivener', 'scriveners', 'scrods', 'scrofula', 'scrofulas', 'scrofulous', 'scroll', 'scrolled', 'scrolling', 'scrolls', 'scrooge', 'scrooges', 'scrota', 'scrotal', 'scrotum', 'scrotums', 'scrounge', 'scrounged', 'scrounger', 'scroungers', 'scrounges', 'scroungier', 'scroungiest', 'scrounging', 'scroungy', 'scrubbed', 'scrubber', 'scrubbers', 'scrubbier', 'scrubbiest', 'scrubbing', 'scrubby', 'scrubs', 'scruff', 'scruffier', 'scruffiest', 'scruffily', 'scruffiness', 'scruffinesses', 'scruffs', 'scruffy', 'scrumptious', 'scrumptiously', 'scrunch', 'scrunched', 'scrunches', 'scrunchie', 'scrunchies', 'scrunching', 'scrunchy', 'scruple', 'scrupled', 'scruples', 'scrupling', 'scrupulosities', 'scrupulosity', 'scrupulous', 'scrupulously', 'scrupulousness', 'scrupulousnesses', 'scrutinies', 'scrutinize', 'scrutinized', 'scrutinizes', 'scrutinizing', 'scrutiny', 'scubaed', 'scubaing', 'scubas', 'scudded', 'scudding', 'scuffed', 'scuffing', 'scuffle', 'scuffled', 'scuffles', 'scuffling', 'scuffs', 'sculled', 'sculler', 'sculleries', 'scullers', 'scullery', 'sculling', 'scullion', 'scullions', 'sculls', 'sculpt', 'sculpted', 'sculpting', 'sculptor', 'sculptors', 'sculptress', 'sculptresses', 'sculpts', 'sculptural', 'sculpture', 'sculptured', 'sculptures', 'sculpturing', 'scumbag', 'scumbags', 'scummed', 'scummier', 'scummiest', 'scumming', 'scummy', 'scupper', 'scuppered', 'scuppering', 'scuppers', 'scurfier', 'scurfiest', 'scurfs', 'scurfy', 'scurried', 'scurries', 'scurrilities', 'scurrility', 'scurrilous', 'scurrilously', 'scurrilousness', 'scurrilousnesses', 'scurry', 'scurrying', 'scurvier', 'scurvies', 'scurviest', 'scurvily', 'scurvy', 'scutcheon', 'scutcheons', 'scuttle', 'scuttlebutt', 'scuttlebutts', 'scuttled', 'scuttles', 'scuttling', 'scuzzier', 'scuzziest', 'scuzzy', 'scythe', 'scythed', 'scythes', 'scything', 'seabed', 'seabeds', 'seabird', 'seabirds', 'seaboard', 'seaboards', 'seaborne', 'seacoast', 'seacoasts', 'seafarer', 'seafarers', 'seafaring', 'seafarings', 'seafloor', 'seafloors', 'seafood', 'seafoods', 'seafront', 'seafronts', 'seagoing', 'seagull', 'seagulls', 'seahorse', 'seahorses', 'sealant', 'sealants', 'sealed', 'sealer', 'sealers', 'sealing', 'sealskin', 'sealskins', 'seaman', 'seamanship', 'seamanships', 'seamed', 'seamen', 'seamier', 'seamiest', 'seaming', 'seamless', 'seamlessly', 'seamstress', 'seamstresses', 'seance', 'seances', 'seaplane', 'seaplanes', 'seaport', 'seaports', 'search', 'searched', 'searcher', 'searchers', 'searches', 'searching', 'searchingly', 'searchlight', 'searchlights', 'seared', 'searing', 'seascape', 'seascapes', 'seashell', 'seashells', 'seashore', 'seashores', 'seasick', 'seasickness', 'seasicknesses', 'seaside', 'seasides', 'season', 'seasonable', 'seasonably', 'seasonal', 'seasonally', 'seasoned', 'seasoning', 'seasonings', 'seasons', 'seated', 'seating', 'seatings', 'seatmate', 'seatmates', 'seawall', 'seawalls', 'seaward', 'seawards', 'seawater', 'seawaters', 'seaway', 'seaways', 'seaweed', 'seaweeds', 'seaworthier', 'seaworthiest', 'seaworthiness', 'seaworthinesses', 'seaworthy', 'sebaceous', 'seborrhea', 'seborrheas', 'seborrhoea', 'seborrhoeas', 'secant', 'secants', 'secede', 'seceded', 'secedes', 'seceding', 'secession', 'secessionist', 'secessionists', 'secessions', 'seclude', 'secluded', 'secludes', 'secluding', 'seclusion', 'seclusions', 'seclusive', 'second', 'secondaries', 'secondarily', 'secondary', 'seconded', 'seconder', 'seconders', 'secondhand', 'seconding', 'secondly', 'seconds', 'secrecies', 'secrecy', 'secret', 'secretarial', 'secretariat', 'secretariats', 'secretaries', 'secretary', 'secretaryship', 'secretaryships', 'secrete', 'secreted', 'secretes', 'secreting', 'secretion', 'secretions', 'secretive', 'secretively', 'secretiveness', 'secretivenesses', 'secretly', 'secretory', 'secrets', 'sectarian', 'sectarianism', 'sectarianisms', 'sectarians', 'sectaries', 'sectary', 'section', 'sectional', 'sectionalism', 'sectionalisms', 'sectionals', 'sectioned', 'sectioning', 'sections', 'sector', 'sectors', 'secular', 'secularism', 'secularisms', 'secularist', 'secularists', 'secularization', 'secularizations', 'secularize', 'secularized', 'secularizes', 'secularizing', 'secure', 'secured', 'securely', 'securer', 'secures', 'securest', 'securing', 'securities', 'security', 'sedans', 'sedate', 'sedated', 'sedately', 'sedateness', 'sedatenesses', 'sedater', 'sedates', 'sedatest', 'sedating', 'sedation', 'sedations', 'sedative', 'sedatives', 'sedentary', 'sedges', 'sediment', 'sedimentary', 'sedimentation', 'sedimentations', 'sediments', 'sedition', 'seditions', 'seditious', 'seduce', 'seduced', 'seducer', 'seducers', 'seduces', 'seducing', 'seduction', 'seductions', 'seductive', 'seductively', 'seductiveness', 'seductivenesses', 'seductress', 'seductresses', 'sedulous', 'sedulously', 'seedbed', 'seedbeds', 'seedcase', 'seedcases', 'seeded', 'seeder', 'seeders', 'seedier', 'seediest', 'seediness', 'seedinesses', 'seeding', 'seedless', 'seedling', 'seedlings', 'seedpod', 'seedpods', 'seeing', 'seeker', 'seekers', 'seeking', 'seemed', 'seeming', 'seemingly', 'seemlier', 'seemliest', 'seemliness', 'seemlinesses', 'seemly', 'seepage', 'seepages', 'seeped', 'seeping', 'seersucker', 'seersuckers', 'seesaw', 'seesawed', 'seesawing', 'seesaws', 'seethe', 'seethed', 'seethes', 'seething', 'segment', 'segmentation', 'segmentations', 'segmented', 'segmenting', 'segments', 'segregate', 'segregated', 'segregates', 'segregating', 'segregation', 'segregationist', 'segregationists', 'segregations', 'segued', 'segueing', 'segues', 'seigneur', 'seigneurs', 'seignior', 'seigniorial', 'seigniors', 'seined', 'seiner', 'seiners', 'seines', 'seining', 'seismic', 'seismically', 'seismograph', 'seismographer', 'seismographers', 'seismographic', 'seismographies', 'seismographs', 'seismography', 'seismologic', 'seismological', 'seismologies', 'seismologist', 'seismologists', 'seismology', 'seized', 'seizes', 'seizing', 'seizure', 'seizures', 'seldom', 'select', 'selected', 'selecting', 'selection', 'selections', 'selective', 'selectively', 'selectivities', 'selectivity', 'selectman', 'selectmen', 'selectness', 'selectnesses', 'selector', 'selectors', 'selects', 'selenium', 'seleniums', 'selenographer', 'selenographers', 'selenographies', 'selenography', 'selfie!', 'selfies!', 'selfish', 'selfishly', 'selfishness', 'selfishnesses', 'selfless', 'selflessly', 'selflessness', 'selflessnesses', 'selfsame', 'seller', 'sellers', 'selling', 'selloff!', 'selloffs!', 'sellout', 'sellouts', 'seltzer', 'seltzers', 'selvage', 'selvages', 'selvedge', 'selvedges', 'selves', 'semantic', 'semantically', 'semanticist', 'semanticists', 'semantics', 'semaphore', 'semaphored', 'semaphores', 'semaphoring', 'semblance', 'semblances', 'semens', 'semester', 'semesters', 'semiannual', 'semiannually', 'semiarid', 'semiautomatic', 'semiautomatics', 'semicircle', 'semicircles', 'semicircular', 'semicolon', 'semicolons', 'semiconducting', 'semiconductor', 'semiconductors', 'semiconscious', 'semidarkness', 'semidarknesses', 'semidetached', 'semifinal', 'semifinalist', 'semifinalists', 'semifinals', 'semigloss', 'semimonthlies', 'semimonthly', 'seminal', 'seminar', 'seminarian', 'seminarians', 'seminaries', 'seminars', 'seminary', 'semiofficial', 'semiotic', 'semiotics', 'semipermeable', 'semiprecious', 'semiprivate', 'semipro', 'semiprofessional', 'semiprofessionals', 'semipros', 'semiretired', 'semiskilled', 'semisolid', 'semisweet', 'semitone', 'semitones', 'semitrailer', 'semitrailers', 'semitransparent', 'semitropical', 'semivowel', 'semivowels', 'semiweeklies', 'semiweekly', 'semiyearly', 'semolina', 'semolinas', 'sempstress', 'sempstresses', 'senate', 'senates', 'senator', 'senatorial', 'senators', 'sender', 'senders', 'sending', 'sendoff', 'sendoffs', 'senescence', 'senescences', 'senescent', 'senile', 'senilities', 'senility', 'senior', 'seniorities', 'seniority', 'seniors', 'sennas', 'senora', 'senoras', 'senorita', 'senoritas', 'senors', 'sensation', 'sensational', 'sensationalism', 'sensationalisms', 'sensationalist', 'sensationalists', 'sensationalize', 'sensationalized', 'sensationalizes', 'sensationalizing', 'sensationally', 'sensations', 'sensed', 'senseless', 'senselessly', 'senselessness', 'senselessnesses', 'senses', 'sensibilities', 'sensibility', 'sensible', 'sensibleness', 'sensiblenesses', 'sensibly', 'sensing', 'sensitive', 'sensitively', 'sensitiveness', 'sensitivenesses', 'sensitives', 'sensitivities', 'sensitivity', 'sensitization', 'sensitizations', 'sensitize', 'sensitized', 'sensitizes', 'sensitizing', 'sensor', 'sensors', 'sensory', 'sensual', 'sensualist', 'sensualists', 'sensualities', 'sensuality', 'sensually', 'sensuous', 'sensuously', 'sensuousness', 'sensuousnesses', 'sentence', 'sentenced', 'sentences', 'sentencing', 'sententious', 'sententiously', 'sentience', 'sentiences', 'sentient', 'sentiment', 'sentimental', 'sentimentalism', 'sentimentalisms', 'sentimentalist', 'sentimentalists', 'sentimentalities', 'sentimentality', 'sentimentalization', 'sentimentalizations', 'sentimentalize', 'sentimentalized', 'sentimentalizes', 'sentimentalizing', 'sentimentally', 'sentiments', 'sentinel', 'sentinels', 'sentries', 'sentry', 'sepals', 'separabilities', 'separability', 'separable', 'separably', 'separate', 'separated', 'separately', 'separateness', 'separatenesses', 'separates', 'separating', 'separation', 'separations', 'separatism', 'separatisms', 'separatist', 'separatists', 'separative', 'separator', 'separators', 'sepias', 'sepses', 'sepsis', 'septet', 'septets', 'septette', 'septettes', 'septic', 'septicemia', 'septicemias', 'septicemic', 'septuagenarian', 'septuagenarians', 'septum', 'septums', 'sepulcher', 'sepulchered', 'sepulchering', 'sepulchers', 'sepulchral', 'sepulchre', 'sepulchred', 'sepulchres', 'sepulchring', 'sequel', 'sequels', 'sequence', 'sequenced', 'sequences', 'sequencing', 'sequencings', 'sequential', 'sequentially', 'sequester', 'sequestered', 'sequestering', 'sequesters', 'sequestrate', 'sequestrated', 'sequestrates', 'sequestrating', 'sequestration', 'sequestrations', 'sequin', 'sequined', 'sequinned', 'sequins', 'sequoia', 'sequoias', 'seraglio', 'seraglios', 'serape', 'serapes', 'seraph', 'seraphic', 'seraphim', 'seraphs', 'serenade', 'serenaded', 'serenades', 'serenading', 'serendipities', 'serendipitous', 'serendipity', 'serene', 'serenely', 'sereneness', 'serenenesses', 'serener', 'serenest', 'serenities', 'serenity', 'serest', 'serfdom', 'serfdoms', 'sergeant', 'sergeants', 'serges', 'serial', 'serialization', 'serializations', 'serialize', 'serialized', 'serializes', 'serializing', 'serially', 'serials', 'series', 'serifs', 'serigraph', 'serigraphs', 'serious', 'seriously', 'seriousness', 'seriousnesses', 'sermon', 'sermonize', 'sermonized', 'sermonizes', 'sermonizing', 'sermons', 'serologies', 'serology', 'serous', 'serpent', 'serpentine', 'serpentines', 'serpents', 'serrate', 'serrated', 'serration', 'serrations', 'serried', 'serums', 'servant', 'servants', 'served', 'server', 'servers', 'serves', 'service', 'serviceabilities', 'serviceability', 'serviceable', 'serviced', 'serviceman', 'servicemen', 'services', 'servicewoman', 'servicewomen', 'servicing', 'serviette', 'serviettes', 'servile', 'servilities', 'servility', 'serving', 'servings', 'servitor', 'servitors', 'servitude', 'servitudes', 'servomechanism', 'servomechanisms', 'servomotor', 'servomotors', 'servos', 'sesame', 'sesames', 'sesquicentennial', 'sesquicentennials', 'session', 'sessions', 'setback', 'setbacks', 'setscrew', 'setscrews', 'settee', 'settees', 'setter', 'setters', 'setting', 'settings', 'settle', 'settled', 'settlement', 'settlements', 'settler', 'settlers', 'settles', 'settling', 'setups', 'sevens', 'seventeen', 'seventeens', 'seventeenth', 'seventeenths', 'seventh', 'sevenths', 'seventies', 'seventieth', 'seventieths', 'seventy', 'several', 'severally', 'severance', 'severances', 'severe', 'severed', 'severely', 'severeness', 'severenesses', 'severer', 'severest', 'severing', 'severities', 'severity', 'severs', 'sewage', 'sewages', 'sewerage', 'sewerages', 'sewers', 'sewing', 'sewings', 'sexagenarian', 'sexagenarians', 'sexier', 'sexiest', 'sexily', 'sexiness', 'sexinesses', 'sexing', 'sexism', 'sexisms', 'sexist', 'sexists', 'sexless', 'sexologies', 'sexologist', 'sexologists', 'sexology', 'sexpot', 'sexpots', 'sextant', 'sextants', 'sextet', 'sextets', 'sextette', 'sextettes', 'sexting!', 'sextings!', 'sexton', 'sextons', 'sextuplet', 'sextuplets', 'sexual', 'sexualities', 'sexuality', 'sexually', 'shabbier', 'shabbiest', 'shabbily', 'shabbiness', 'shabbinesses', 'shabby', 'shackle', 'shackled', 'shackles', 'shackling', 'shacks', 'shaded', 'shades', 'shadier', 'shadiest', 'shadily', 'shadiness', 'shadinesses', 'shading', 'shadings', 'shadow', 'shadowbox', 'shadowboxed', 'shadowboxes', 'shadowboxing', 'shadowed', 'shadowier', 'shadowiest', 'shadowing', 'shadows', 'shadowy', 'shafted', 'shafting', 'shafts', 'shagged', 'shaggier', 'shaggiest', 'shagginess', 'shagginesses', 'shagging', 'shaggy', 'shakedown', 'shakedowns', 'shaken', 'shakeout', 'shakeouts', 'shaker', 'shakers', 'shakes', 'shakeup', 'shakeups', 'shakier', 'shakiest', 'shakily', 'shakiness', 'shakinesses', 'shaking', 'shales', 'shallot', 'shallots', 'shallow', 'shallower', 'shallowest', 'shallowly', 'shallowness', 'shallownesses', 'shallows', 'shalom', 'shaman', 'shamanic', 'shamans', 'shamble', 'shambled', 'shambles', 'shambling', 'shamed', 'shamefaced', 'shamefacedly', 'shameful', 'shamefully', 'shamefulness', 'shamefulnesses', 'shameless', 'shamelessly', 'shamelessness', 'shamelessnesses', 'shames', 'shaming', 'shammed', 'shammies', 'shamming', 'shammy', 'shampoo', 'shampooed', 'shampooer', 'shampooers', 'shampooing', 'shampoos', 'shamrock', 'shamrocks', 'shanghai', 'shanghaied', 'shanghaiing', 'shanghais', 'shanks', 'shanties', 'shantung', 'shantungs', 'shanty', 'shantytown', 'shantytowns', 'shaped', 'shapeless', 'shapelessly', 'shapelessness', 'shapelessnesses', 'shapelier', 'shapeliest', 'shapeliness', 'shapelinesses', 'shapely', 'shapes', 'shaping', 'shards', 'sharecrop', 'sharecropped', 'sharecropper', 'sharecroppers', 'sharecropping', 'sharecrops', 'shared', 'shareholder', 'shareholders', 'sharer', 'sharers', 'shares', 'shareware', 'sharewares', 'sharia', 'shariah!', 'shariahs!', 'sharias', 'sharing', 'sharks', 'sharkskin', 'sharkskins', 'sharped', 'sharpen', 'sharpened', 'sharpener', 'sharpeners', 'sharpening', 'sharpens', 'sharper', 'sharpers', 'sharpest', 'sharpie', 'sharpies', 'sharping', 'sharply', 'sharpness', 'sharpnesses', 'sharps', 'sharpshooter', 'sharpshooters', 'sharpshooting', 'sharpshootings', 'sharpy', 'shatter', 'shattered', 'shattering', 'shatterproof', 'shatters', 'shaved', 'shaven', 'shaver', 'shavers', 'shaves', 'shaving', 'shavings', 'shawls', 'sheared', 'shearer', 'shearers', 'shearing', 'shears', 'sheath', 'sheathe', 'sheathed', 'sheathes', 'sheathing', 'sheathings', 'sheaths', 'sheave', 'sheaved', 'sheaves', 'sheaving', 'shebang', 'shebangs', 'shedding', 'sheenier', 'sheeniest', 'sheens', 'sheeny', 'sheepdog', 'sheepdogs', 'sheepfold', 'sheepfolds', 'sheepherder', 'sheepherders', 'sheepish', 'sheepishly', 'sheepishness', 'sheepishnesses', 'sheepskin', 'sheepskins', 'sheered', 'sheerer', 'sheerest', 'sheering', 'sheerness', 'sheernesses', 'sheers', 'sheeting', 'sheetings', 'sheetlike', 'sheets', 'sheikdom', 'sheikdoms', 'sheikh', 'sheikhdom', 'sheikhdoms', 'sheikhs', 'sheiks', 'shekel', 'shekels', 'shellac', 'shellack', 'shellacked', 'shellacking', 'shellackings', 'shellacks', 'shellacs', 'shelled', 'shellfire', 'shellfires', 'shellfish', 'shellfishes', 'shelling', 'shells', 'shelter', 'sheltered', 'sheltering', 'shelters', 'shelve', 'shelved', 'shelves', 'shelving', 'shelvings', 'shenanigan', 'shenanigans', 'shepherd', 'shepherded', 'shepherdess', 'shepherdesses', 'shepherding', 'shepherds', 'sherbert', 'sherberts', 'sherbet', 'sherbets', 'sherds', 'sheriff', 'sheriffs', 'sherries', 'sherry', 'shewed', 'shewing', 'shiatsu', 'shiatsus', 'shibboleth', 'shibboleths', 'shield', 'shielded', 'shielding', 'shields', 'shiest', 'shifted', 'shiftier', 'shiftiest', 'shiftily', 'shiftiness', 'shiftinesses', 'shifting', 'shiftless', 'shiftlessly', 'shiftlessness', 'shiftlessnesses', 'shifts', 'shifty', 'shiitake!', 'shiitakes!', 'shillalah', 'shillalahs', 'shilled', 'shillelagh', 'shillelaghs', 'shilling', 'shillings', 'shills', 'shimmed', 'shimmer', 'shimmered', 'shimmering', 'shimmers', 'shimmery', 'shimmied', 'shimmies', 'shimming', 'shimmy', 'shimmying', 'shinbone', 'shinbones', 'shindig', 'shindigs', 'shined', 'shiner', 'shiners', 'shines', 'shingle', 'shingled', 'shingles', 'shingling', 'shinguard', 'shinguards', 'shinier', 'shiniest', 'shininess', 'shininesses', 'shining', 'shinned', 'shinnied', 'shinnies', 'shinning', 'shinny', 'shinnying', 'shinsplints', 'shipboard', 'shipboards', 'shipbuilder', 'shipbuilders', 'shipbuilding', 'shipbuildings', 'shipload', 'shiploads', 'shipmate', 'shipmates', 'shipment', 'shipments', 'shipowner', 'shipowners', 'shipped', 'shipper', 'shippers', 'shipping', 'shippings', 'shipshape', 'shipwreck', 'shipwrecked', 'shipwrecking', 'shipwrecks', 'shipwright', 'shipwrights', 'shipyard', 'shipyards', 'shires', 'shirked', 'shirker', 'shirkers', 'shirking', 'shirks', 'shirred', 'shirring', 'shirrings', 'shirrs', 'shirtfront', 'shirtfronts', 'shirting', 'shirtings', 'shirtless', 'shirts', 'shirtsleeve', 'shirtsleeves', 'shirttail', 'shirttails', 'shirtwaist', 'shirtwaists', 'shittier', 'shittiest', 'shitting', 'shitty', 'shiver', 'shivered', 'shivering', 'shivers', 'shivery', 'shlemiel', 'shlemiels', 'shlepp', 'shlepped', 'shlepping', 'shlepps', 'shleps', 'shlock', 'shlocks', 'shmaltz', 'shmaltzes', 'shoaled', 'shoaling', 'shoals', 'shoats', 'shocked', 'shocker', 'shockers', 'shocking', 'shockingly', 'shockproof', 'shocks', 'shodden', 'shoddier', 'shoddies', 'shoddiest', 'shoddily', 'shoddiness', 'shoddinesses', 'shoddy', 'shoehorn', 'shoehorned', 'shoehorning', 'shoehorns', 'shoeing', 'shoelace', 'shoelaces', 'shoemaker', 'shoemakers', 'shoeshine', 'shoeshines', 'shoestring', 'shoestrings', 'shoetree', 'shoetrees', 'shogun', 'shogunate', 'shogunates', 'shoguns', 'shooed', 'shooing', 'shooter', 'shooters', 'shooting', 'shootings', 'shootout', 'shootouts', 'shoots', 'shopaholic!', 'shopaholics!', 'shopkeeper', 'shopkeepers', 'shoplift', 'shoplifted', 'shoplifter', 'shoplifters', 'shoplifting', 'shopliftings', 'shoplifts', 'shoppe', 'shopped', 'shopper', 'shoppers', 'shoppes', 'shopping', 'shoppings', 'shoptalk', 'shoptalks', 'shopworn', 'shorebird', 'shorebirds', 'shored', 'shoreline', 'shorelines', 'shores', 'shoring', 'shorings', 'shortage', 'shortages', 'shortbread', 'shortbreads', 'shortcake', 'shortcakes', 'shortchange', 'shortchanged', 'shortchanges', 'shortchanging', 'shortcoming', 'shortcomings', 'shortcut', 'shortcuts', 'shorted', 'shorten', 'shortened', 'shortening', 'shortenings', 'shortens', 'shorter', 'shortest', 'shortfall', 'shortfalls', 'shorthand', 'shorthanded', 'shorthands', 'shorthorn', 'shorthorns', 'shortie', 'shorties', 'shorting', 'shortly', 'shortness', 'shortnesses', 'shorts', 'shortsighted', 'shortsightedly', 'shortsightedness', 'shortsightednesses', 'shortstop', 'shortstops', 'shortwave', 'shortwaves', 'shorty', 'shotgun', 'shotgunned', 'shotgunning', 'shotguns', 'should', 'shoulder', 'shouldered', 'shouldering', 'shoulders', 'shouted', 'shouter', 'shouters', 'shouting', 'shouts', 'shoved', 'shovel', 'shoveled', 'shovelful', 'shovelfuls', 'shoveling', 'shovelled', 'shovelling', 'shovels', 'shoves', 'shoving', 'showbiz', 'showbizzes', 'showboat', 'showboated', 'showboating', 'showboats', 'showcase', 'showcased', 'showcases', 'showcasing', 'showdown', 'showdowns', 'showed', 'shower', 'showered', 'showering', 'showers', 'showery', 'showgirl', 'showgirls', 'showier', 'showiest', 'showily', 'showiness', 'showinesses', 'showing', 'showings', 'showman', 'showmanship', 'showmanships', 'showmen', 'showoff', 'showoffs', 'showpiece', 'showpieces', 'showplace', 'showplaces', 'showroom', 'showrooms', 'showstopper', 'showstoppers', 'shrank', 'shrapnel', 'shrapnels', 'shredded', 'shredder', 'shredders', 'shredding', 'shreds', 'shrewd', 'shrewder', 'shrewdest', 'shrewdly', 'shrewdness', 'shrewdnesses', 'shrewish', 'shrews', 'shriek', 'shrieked', 'shrieking', 'shrieks', 'shrift', 'shrifts', 'shrike', 'shrikes', 'shrill', 'shrilled', 'shriller', 'shrillest', 'shrilling', 'shrillness', 'shrillnesses', 'shrills', 'shrilly', 'shrimp', 'shrimped', 'shrimping', 'shrimps', 'shrine', 'shrines', 'shrink', 'shrinkable', 'shrinkage', 'shrinkages', 'shrinking', 'shrinks', 'shrive', 'shrived', 'shrivel', 'shriveled', 'shriveling', 'shrivelled', 'shrivelling', 'shrivels', 'shriven', 'shrives', 'shriving', 'shroud', 'shrouded', 'shrouding', 'shrouds', 'shrove', 'shrubberies', 'shrubbery', 'shrubbier', 'shrubbiest', 'shrubby', 'shrubs', 'shrugged', 'shrugging', 'shrugs', 'shrunk', 'shrunken', 'shtick', 'shticks', 'shucked', 'shucking', 'shucks', 'shudder', 'shuddered', 'shuddering', 'shudders', 'shuffle', 'shuffleboard', 'shuffleboards', 'shuffled', 'shuffler', 'shufflers', 'shuffles', 'shuffling', 'shunned', 'shunning', 'shunted', 'shunting', 'shunts', 'shushed', 'shushes', 'shushing', 'shutdown', 'shutdowns', 'shuteye', 'shuteyes', 'shutoff', 'shutoffs', 'shutout', 'shutouts', 'shutter', 'shutterbug', 'shutterbugs', 'shuttered', 'shuttering', 'shutters', 'shutting', 'shuttle', 'shuttlecock', 'shuttlecocked', 'shuttlecocking', 'shuttlecocks', 'shuttled', 'shuttles', 'shuttling', 'shyest', 'shying', 'shyness', 'shynesses', 'shyster', 'shysters', 'sibilant', 'sibilants', 'sibling', 'siblings', 'sibylline', 'sibyls', 'sicced', 'siccing', 'sickbed', 'sickbeds', 'sicked', 'sicken', 'sickened', 'sickening', 'sickeningly', 'sickens', 'sicker', 'sickest', 'sickie', 'sickies', 'sicking', 'sickish', 'sickle', 'sickles', 'sicklier', 'sickliest', 'sickly', 'sickness', 'sicknesses', 'sickos', 'sickout', 'sickouts', 'sickroom', 'sickrooms', 'sidearm', 'sidearms', 'sidebar', 'sidebars', 'sideboard', 'sideboards', 'sideburns', 'sidecar', 'sidecars', 'sidekick', 'sidekicks', 'sidelight', 'sidelights', 'sideline', 'sidelined', 'sidelines', 'sidelining', 'sidelong', 'sideman', 'sidemen', 'sidepiece', 'sidepieces', 'sidereal', 'sidesaddle', 'sidesaddles', 'sideshow', 'sideshows', 'sidesplitting', 'sidestep', 'sidestepped', 'sidestepping', 'sidesteps', 'sidestroke', 'sidestroked', 'sidestrokes', 'sidestroking', 'sideswipe', 'sideswiped', 'sideswipes', 'sideswiping', 'sidetrack', 'sidetracked', 'sidetracking', 'sidetracks', 'sidewalk', 'sidewalks', 'sidewall', 'sidewalls', 'sideways', 'sidewinder', 'sidewinders', 'sidewise', 'siding', 'sidings', 'sidled', 'sidles', 'sidling', 'sieges', 'sienna', 'siennas', 'sierra', 'sierras', 'siesta', 'siestas', 'sieved', 'sieves', 'sieving', 'sifted', 'sifter', 'sifters', 'sifting', 'sighed', 'sighing', 'sighted', 'sighting', 'sightings', 'sightless', 'sightlier', 'sightliest', 'sightly', 'sightread', 'sightreading', 'sightreads', 'sights', 'sightseeing', 'sightseeings', 'sightseer', 'sightseers', 'sigmas', 'signage', 'signages', 'signal', 'signaled', 'signaler', 'signalers', 'signaling', 'signalization', 'signalizations', 'signalize', 'signalized', 'signalizes', 'signalizing', 'signalled', 'signalling', 'signally', 'signalman', 'signalmen', 'signals', 'signatories', 'signatory', 'signature', 'signatures', 'signboard', 'signboards', 'signed', 'signer', 'signers', 'signet', 'signets', 'significance', 'significances', 'significant', 'significantly', 'signification', 'significations', 'signified', 'signifies', 'signify', 'signifying', 'signing', 'signings', 'signor', 'signora', 'signoras', 'signore', 'signori', 'signorina', 'signorinas', 'signorine', 'signors', 'signpost', 'signposted', 'signposting', 'signposts', 'silage', 'silages', 'silence', 'silenced', 'silencer', 'silencers', 'silences', 'silencing', 'silent', 'silenter', 'silentest', 'silently', 'silents', 'silhouette', 'silhouetted', 'silhouettes', 'silhouetting', 'silica', 'silicas', 'silicate', 'silicates', 'siliceous', 'silicious', 'silicon', 'silicone', 'silicones', 'silicons', 'silicoses', 'silicosis', 'silken', 'silkier', 'silkiest', 'silkily', 'silkiness', 'silkinesses', 'silkscreen', 'silkscreened', 'silkscreening', 'silkscreens', 'silkworm', 'silkworms', 'sillier', 'sillies', 'silliest', 'silliness', 'sillinesses', 'silted', 'siltier', 'siltiest', 'silting', 'silvan', 'silver', 'silvered', 'silverfish', 'silverfishes', 'silvering', 'silvers', 'silversmith', 'silversmiths', 'silverware', 'silverwares', 'silvery', 'simian', 'simians', 'similar', 'similarities', 'similarity', 'similarly', 'simile', 'similes', 'similitude', 'similitudes', 'simmer', 'simmered', 'simmering', 'simmers', 'simonies', 'simonize', 'simonized', 'simonizes', 'simonizing', 'simony', 'simpatico', 'simper', 'simpered', 'simpering', 'simpers', 'simple', 'simpleminded', 'simpleness', 'simplenesses', 'simpler', 'simplest', 'simpleton', 'simpletons', 'simplicities', 'simplicity', 'simplification', 'simplifications', 'simplified', 'simplifies', 'simplify', 'simplifying', 'simplistic', 'simplistically', 'simply', 'simulate', 'simulated', 'simulates', 'simulating', 'simulation', 'simulations', 'simulator', 'simulators', 'simulcast', 'simulcasted', 'simulcasting', 'simulcasts', 'simultaneities', 'simultaneity', 'simultaneous', 'simultaneously', 'sincere', 'sincerely', 'sincerer', 'sincerest', 'sincerities', 'sincerity', 'sinecure', 'sinecures', 'sinews', 'sinewy', 'sinful', 'sinfully', 'sinfulness', 'sinfulnesses', 'singable', 'singed', 'singeing', 'singer', 'singers', 'singes', 'singing', 'singings', 'single', 'singled', 'singleness', 'singlenesses', 'singles', 'singleton', 'singletons', 'singletree', 'singletrees', 'singling', 'singly', 'singsong', 'singsongs', 'singular', 'singularities', 'singularity', 'singularly', 'singulars', 'sinister', 'sinkable', 'sinker', 'sinkers', 'sinkhole', 'sinkholes', 'sinking', 'sinless', 'sinned', 'sinner', 'sinners', 'sinning', 'sinuosities', 'sinuosity', 'sinuous', 'sinuses', 'sinusitis', 'sinusitises', 'siphon', 'siphoned', 'siphoning', 'siphons', 'sipped', 'sipper', 'sippers', 'sipping', 'sirees', 'sirens', 'siring', 'sirloin', 'sirloins', 'sirocco', 'siroccos', 'sirree', 'sirrees', 'sirups', 'sisals', 'sissier', 'sissies', 'sissiest', 'sissified', 'sister', 'sisterhood', 'sisterhoods', 'sisterliness', 'sisterlinesses', 'sisterly', 'sisters', 'sitarist', 'sitarists', 'sitars', 'sitcom', 'sitcoms', 'siting', 'sitter', 'sitters', 'sitting', 'sittings', 'situate', 'situated', 'situates', 'situating', 'situation', 'situations', 'situps', 'sixfold', 'sixpence', 'sixpences', 'sixshooter', 'sixshooters', 'sixteen', 'sixteens', 'sixteenth', 'sixteenths', 'sixths', 'sixties', 'sixtieth', 'sixtieths', 'sizable', 'sizeable', 'sizing', 'sizings', 'sizzle', 'sizzled', 'sizzles', 'sizzling', 'skateboard', 'skateboarded', 'skateboarder', 'skateboarders', 'skateboarding', 'skateboardings', 'skateboards', 'skated', 'skater', 'skaters', 'skates', 'skating', 'skatings', 'skedaddle', 'skedaddled', 'skedaddles', 'skedaddling', 'skeets', 'skeins', 'skeletal', 'skeleton', 'skeletons', 'skeptic', 'skeptical', 'skeptically', 'skepticism', 'skepticisms', 'skeptics', 'sketch', 'sketched', 'sketcher', 'sketchers', 'sketches', 'sketchier', 'sketchiest', 'sketchily', 'sketchiness', 'sketchinesses', 'sketching', 'sketchy', 'skewed', 'skewer', 'skewered', 'skewering', 'skewers', 'skewing', 'skidded', 'skidding', 'skiers', 'skiffs', 'skiing', 'skiings', 'skilful', 'skilled', 'skillet', 'skillets', 'skillful', 'skillfully', 'skillfulness', 'skillfulnesses', 'skills', 'skimmed', 'skimmer', 'skimmers', 'skimming', 'skimped', 'skimpier', 'skimpiest', 'skimpily', 'skimpiness', 'skimpinesses', 'skimping', 'skimps', 'skimpy', 'skincare', 'skincares', 'skinflick', 'skinflicks', 'skinflint', 'skinflints', 'skinhead', 'skinheads', 'skinless', 'skinned', 'skinnier', 'skinnies', 'skinniest', 'skinniness', 'skinninesses', 'skinning', 'skinny', 'skintight', 'skipped', 'skipper', 'skippered', 'skippering', 'skippers', 'skipping', 'skirmish', 'skirmished', 'skirmishes', 'skirmishing', 'skirted', 'skirting', 'skirts', 'skitter', 'skittered', 'skittering', 'skitters', 'skittish', 'skittishly', 'skittishness', 'skittishnesses', 'skivvied', 'skivvies', 'skivvy', 'skivvying', 'skoals', 'skulduggeries', 'skulduggery', 'skulked', 'skulker', 'skulkers', 'skulking', 'skulks', 'skullcap', 'skullcaps', 'skullduggeries', 'skullduggery', 'skulls', 'skunked', 'skunking', 'skunks', 'skycap', 'skycaps', 'skydive', 'skydived', 'skydiver', 'skydivers', 'skydives', 'skydiving', 'skydivings', 'skydove', 'skying', 'skyjack', 'skyjacked', 'skyjacker', 'skyjackers', 'skyjacking', 'skyjackings', 'skyjacks', 'skylark', 'skylarked', 'skylarking', 'skylarks', 'skylight', 'skylights', 'skyline', 'skylines', 'skyrocket', 'skyrocketed', 'skyrocketing', 'skyrockets', 'skyscraper', 'skyscrapers', 'skyward', 'skywards', 'skywriter', 'skywriters', 'skywriting', 'skywritings', 'slabbed', 'slabbing', 'slacked', 'slacken', 'slackened', 'slackening', 'slackens', 'slacker', 'slackers', 'slackest', 'slacking', 'slackly', 'slackness', 'slacknesses', 'slacks', 'slags', 'slaked', 'slakes', 'slaking', 'slalom', 'slalomed', 'slaloming', 'slaloms', 'slammed', 'slammer', 'slammers', 'slamming', 'slander', 'slandered', 'slanderer', 'slanderers', 'slandering', 'slanderous', 'slanders', 'slangier', 'slangiest', 'slangs', 'slangy', 'slanted', 'slanting', 'slantingly', 'slants', 'slantwise', 'slapdash', 'slaphappier', 'slaphappiest', 'slaphappy', 'slapped', 'slapping', 'slapstick', 'slapsticks', 'slashed', 'slasher', 'slashers', 'slashes', 'slashing', 'slated', 'slates', 'slather', 'slathered', 'slathering', 'slathers', 'slating', 'slattern', 'slatternly', 'slatterns', 'slaughter', 'slaughtered', 'slaughterer', 'slaughterers', 'slaughterhouse', 'slaughterhouses', 'slaughtering', 'slaughters', 'slaved', 'slaveholder', 'slaveholders', 'slaver', 'slavered', 'slaveries', 'slavering', 'slavers', 'slavery', 'slaves', 'slaving', 'slavish', 'slavishly', 'slavishness', 'slavishnesses', 'slaws', 'slayer', 'slayers', 'slaying', 'slayings', 'sleaze', 'sleazes', 'sleazier', 'sleaziest', 'sleazily', 'sleaziness', 'sleazinesses', 'sleazy', 'sledded', 'sledder', 'sledders', 'sledding', 'sledge', 'sledged', 'sledgehammer', 'sledgehammered', 'sledgehammering', 'sledgehammers', 'sledges', 'sledging', 'sleeked', 'sleeker', 'sleekest', 'sleeking', 'sleekly', 'sleekness', 'sleeknesses', 'sleeks', 'sleeper', 'sleepers', 'sleepier', 'sleepiest', 'sleepily', 'sleepiness', 'sleepinesses', 'sleeping', 'sleepless', 'sleeplessly', 'sleeplessness', 'sleeplessnesses', 'sleepover', 'sleepovers', 'sleeps', 'sleepwalk', 'sleepwalked', 'sleepwalker', 'sleepwalkers', 'sleepwalking', 'sleepwalkings', 'sleepwalks', 'sleepwear', 'sleepwears', 'sleepy', 'sleepyhead', 'sleepyheads', 'sleeted', 'sleetier', 'sleetiest', 'sleeting', 'sleets', 'sleety', 'sleeve', 'sleeved', 'sleeveless', 'sleeves', 'sleigh', 'sleighed', 'sleighing', 'sleighs', 'sleight', 'sleights', 'slender', 'slenderer', 'slenderest', 'slenderize', 'slenderized', 'slenderizes', 'slenderizing', 'slenderness', 'slendernesses', 'sleuth', 'sleuths', 'slewed', 'slewing', 'sliced', 'slicer', 'slicers', 'slices', 'slicing', 'slicked', 'slicker', 'slickers', 'slickest', 'slicking', 'slickly', 'slickness', 'slicknesses', 'slicks', 'slider', 'sliders', 'slides', 'slideshow!', 'slideshows!', 'sliding', 'sliest', 'slight', 'slighted', 'slighter', 'slightest', 'slighting', 'slightly', 'slightness', 'slightnesses', 'slights', 'slimes', 'slimier', 'slimiest', 'sliminess', 'sliminesses', 'slimmed', 'slimmer', 'slimmest', 'slimming', 'slimmings', 'slimness', 'slimnesses', 'slinging', 'slings', 'slingshot', 'slingshots', 'slinked', 'slinkier', 'slinkiest', 'slinking', 'slinks', 'slinky', 'slipcase', 'slipcases', 'slipcover', 'slipcovers', 'slipknot', 'slipknots', 'slippage', 'slippages', 'slipped', 'slipper', 'slipperier', 'slipperiest', 'slipperiness', 'slipperinesses', 'slippers', 'slippery', 'slipping', 'slipshod', 'slipstream', 'slipstreams', 'slipway', 'slipways', 'slither', 'slithered', 'slithering', 'slithers', 'slithery', 'slitting', 'sliver', 'slivered', 'slivering', 'slivers', 'slobber', 'slobbered', 'slobbering', 'slobbers', 'slobbery', 'slogan', 'slogans', 'slogged', 'slogging', 'sloops', 'sloped', 'slopes', 'sloping', 'slopped', 'sloppier', 'sloppiest', 'sloppily', 'sloppiness', 'sloppinesses', 'slopping', 'sloppy', 'sloshed', 'sloshes', 'sloshing', 'slothful', 'slothfully', 'slothfulness', 'slothfulnesses', 'sloths', 'slotted', 'slotting', 'slouch', 'slouched', 'sloucher', 'slouchers', 'slouches', 'slouchier', 'slouchiest', 'slouching', 'slouchy', 'slough', 'sloughed', 'sloughing', 'sloughs', 'sloven', 'slovenlier', 'slovenliest', 'slovenliness', 'slovenlinesses', 'slovenly', 'slovens', 'slowdown', 'slowdowns', 'slowed', 'slower', 'slowest', 'slowing', 'slowly', 'slowness', 'slownesses', 'slowpoke', 'slowpokes', 'sludge', 'sludges', 'sludgier', 'sludgiest', 'sludgy', 'sluggard', 'sluggards', 'slugged', 'slugger', 'sluggers', 'slugging', 'sluggish', 'sluggishly', 'sluggishness', 'sluggishnesses', 'sluice', 'sluiced', 'sluices', 'sluicing', 'sluing', 'slumber', 'slumbered', 'slumbering', 'slumberous', 'slumbers', 'slumbrous', 'slumdog!', 'slumdogs!', 'slumlord', 'slumlords', 'slummed', 'slummier', 'slummiest', 'slumming', 'slummy', 'slumped', 'slumping', 'slumps', 'slurped', 'slurping', 'slurps', 'slurred', 'slurries', 'slurring', 'slurry', 'slushes', 'slushier', 'slushiest', 'slushiness', 'slushinesses', 'slushy', 'sluttier', 'sluttiest', 'sluttish', 'slutty', 'slyest', 'slyness', 'slynesses', 'smacked', 'smacker', 'smackers', 'smacking', 'smacks', 'smaller', 'smallest', 'smallish', 'smallness', 'smallnesses', 'smallpox', 'smallpoxes', 'smalls', 'smarmier', 'smarmiest', 'smarmy', 'smarted', 'smarten', 'smartened', 'smartening', 'smartens', 'smarter', 'smartest', 'smarties', 'smarting', 'smartly', 'smartness', 'smartnesses', 'smarts', 'smartwatch!', 'smartwatches!', 'smarty', 'smartypants', 'smashed', 'smasher', 'smashers', 'smashes', 'smashing', 'smashup', 'smashups', 'smattering', 'smatterings', 'smeared', 'smearier', 'smeariest', 'smearing', 'smears', 'smeary', 'smelled', 'smellier', 'smelliest', 'smelliness', 'smellinesses', 'smelling', 'smells', 'smelly', 'smelted', 'smelter', 'smelters', 'smelting', 'smelts', 'smidgen', 'smidgens', 'smidgeon', 'smidgeons', 'smidgin', 'smidgins', 'smilax', 'smilaxes', 'smiled', 'smiles', 'smiley', 'smileys', 'smiling', 'smilingly', 'smirch', 'smirched', 'smirches', 'smirching', 'smirked', 'smirking', 'smirks', 'smites', 'smithereens', 'smithies', 'smiths', 'smithy', 'smiting', 'smitten', 'smocked', 'smocking', 'smockings', 'smocks', 'smoggier', 'smoggiest', 'smoggy', 'smogs', 'smoked', 'smokehouse', 'smokehouses', 'smokeless', 'smoker', 'smokers', 'smokes', 'smokescreen', 'smokescreens', 'smokestack', 'smokestacks', 'smokier', 'smokiest', 'smokiness', 'smokinesses', 'smoking', 'smokings', 'smolder', 'smoldered', 'smoldering', 'smolders', 'smooch', 'smooched', 'smooches', 'smooching', 'smooth', 'smoothed', 'smoother', 'smoothes', 'smoothest', 'smoothie', 'smoothies', 'smoothing', 'smoothly', 'smoothness', 'smoothnesses', 'smooths', 'smorgasbord', 'smorgasbords', 'smother', 'smothered', 'smothering', 'smothers', 'smoulder', 'smouldered', 'smouldering', 'smoulders', 'smudge', 'smudged', 'smudges', 'smudgier', 'smudgiest', 'smudging', 'smudgy', 'smugger', 'smuggest', 'smuggle', 'smuggled', 'smuggler', 'smugglers', 'smuggles', 'smuggling', 'smugglings', 'smugly', 'smugness', 'smugnesses', 'smuttier', 'smuttiest', 'smuttiness', 'smuttinesses', 'smutty', 'snacked', 'snacking', 'snacks', 'snaffle', 'snaffled', 'snaffles', 'snaffling', 'snafus', 'snagged', 'snagging', 'snails', 'snakebite', 'snakebites', 'snaked', 'snakelike', 'snakes', 'snakier', 'snakiest', 'snaking', 'snapdragon', 'snapdragons', 'snapped', 'snapper', 'snappers', 'snappier', 'snappiest', 'snappily', 'snappiness', 'snappinesses', 'snapping', 'snappish', 'snappishly', 'snappishness', 'snappishnesses', 'snappy', 'snapshot', 'snapshots', 'snared', 'snares', 'snaring', 'snarkier!', 'snarkiest!', 'snarky!', 'snarled', 'snarlier', 'snarliest', 'snarling', 'snarlingly', 'snarls', 'snarly', 'snatch', 'snatched', 'snatcher', 'snatchers', 'snatches', 'snatching', 'snazzier', 'snazziest', 'snazzily', 'snazzy', 'sneaked', 'sneaker', 'sneakers', 'sneakier', 'sneakiest', 'sneakily', 'sneakiness', 'sneakinesses', 'sneaking', 'sneakingly', 'sneaks', 'sneaky', 'sneered', 'sneering', 'sneeringly', 'sneers', 'sneeze', 'sneezed', 'sneezes', 'sneezing', 'snicker', 'snickered', 'snickering', 'snickers', 'snidely', 'snider', 'snidest', 'sniffed', 'sniffer', 'sniffers', 'sniffing', 'sniffle', 'sniffled', 'sniffles', 'sniffling', 'sniffs', 'snifter', 'snifters', 'snigger', 'sniggered', 'sniggering', 'sniggers', 'sniped', 'sniper', 'snipers', 'snipes', 'sniping', 'snipped', 'snippet', 'snippets', 'snippier', 'snippiest', 'snipping', 'snippy', 'snitch', 'snitched', 'snitches', 'snitching', 'snivel', 'sniveled', 'sniveler', 'snivelers', 'sniveling', 'snivelled', 'snivelling', 'snivels', 'snobberies', 'snobbery', 'snobbier', 'snobbiest', 'snobbish', 'snobbishly', 'snobbishness', 'snobbishnesses', 'snobby', 'snoods', 'snooker', 'snookered', 'snookering', 'snookers', 'snooped', 'snooper', 'snoopers', 'snoopier', 'snoopiest', 'snooping', 'snoops', 'snoopy', 'snootier', 'snootiest', 'snootily', 'snootiness', 'snootinesses', 'snoots', 'snooty', 'snooze', 'snoozed', 'snoozes', 'snoozing', 'snored', 'snorer', 'snorers', 'snores', 'snoring', 'snorkel', 'snorkeled', 'snorkeler', 'snorkelers', 'snorkeling', 'snorkelings', 'snorkelled', 'snorkelling', 'snorkels', 'snorted', 'snorter', 'snorters', 'snorting', 'snorts', 'snottier', 'snottiest', 'snottily', 'snottiness', 'snottinesses', 'snotty', 'snouts', 'snowball', 'snowballed', 'snowballing', 'snowballs', 'snowbank', 'snowbanks', 'snowbird', 'snowbirds', 'snowblower!', 'snowblowers!', 'snowboard', 'snowboarded', 'snowboarder', 'snowboarders', 'snowboarding', 'snowboardings', 'snowboards', 'snowbound', 'snowdrift', 'snowdrifts', 'snowdrop', 'snowdrops', 'snowed', 'snowfall', 'snowfalls', 'snowfield', 'snowfields', 'snowflake', 'snowflakes', 'snowier', 'snowiest', 'snowiness', 'snowinesses', 'snowing', 'snowman', 'snowmen', 'snowmobile', 'snowmobiled', 'snowmobiles', 'snowmobiling', 'snowplow', 'snowplowed', 'snowplowing', 'snowplows', 'snowshoe', 'snowshoed', 'snowshoeing', 'snowshoes', 'snowstorm', 'snowstorms', 'snowsuit', 'snowsuits', 'snubbed', 'snubbing', 'snuffbox', 'snuffboxes', 'snuffed', 'snuffer', 'snuffers', 'snuffing', 'snuffle', 'snuffled', 'snuffles', 'snuffling', 'snuffly', 'snuffs', 'snugged', 'snugger', 'snuggest', 'snugging', 'snuggle', 'snuggled', 'snuggles', 'snuggling', 'snugly', 'snugness', 'snugnesses', 'soaked', 'soaking', 'soakings', 'soapbox', 'soapboxes', 'soaped', 'soapier', 'soapiest', 'soapiness', 'soapinesses', 'soaping', 'soapstone', 'soapstones', 'soapsuds', 'soared', 'soaring', 'sobbed', 'sobbing', 'sobbingly', 'sobered', 'soberer', 'soberest', 'sobering', 'soberly', 'soberness', 'sobernesses', 'sobers', 'sobrieties', 'sobriety', 'sobriquet', 'sobriquets', 'soccer', 'soccers', 'sociabilities', 'sociability', 'sociable', 'sociables', 'sociably', 'social', 'socialism', 'socialisms', 'socialist', 'socialistic', 'socialists', 'socialite', 'socialites', 'socialization', 'socializations', 'socialize', 'socialized', 'socializes', 'socializing', 'socially', 'socials', 'societal', 'societies', 'society', 'socioeconomic', 'sociological', 'sociologically', 'sociologies', 'sociologist', 'sociologists', 'sociology', 'sociopath', 'sociopaths', 'socked', 'socket', 'sockets', 'sockeye', 'sockeyes', 'socking', 'sodded', 'sodden', 'soddenly', 'sodding', 'sodium', 'sodiums', 'sodomies', 'sodomite', 'sodomites', 'sodomize', 'sodomized', 'sodomizes', 'sodomizing', 'sodomy', 'soever', 'sofabed', 'sofabeds', 'softball', 'softballs', 'softbound', 'soften', 'softened', 'softener', 'softeners', 'softening', 'softens', 'softer', 'softest', 'softhearted', 'softie', 'softies', 'softly', 'softness', 'softnesses', 'software', 'softwares', 'softwood', 'softwoods', 'soggier', 'soggiest', 'soggily', 'sogginess', 'sogginesses', 'soigne', 'soignee', 'soiled', 'soiling', 'soiree', 'soirees', 'sojourn', 'sojourned', 'sojourner', 'sojourners', 'sojourning', 'sojourns', 'solace', 'solaced', 'solaces', 'solacing', 'solaria', 'solarium', 'solariums', 'solder', 'soldered', 'solderer', 'solderers', 'soldering', 'solders', 'soldier', 'soldiered', 'soldieries', 'soldiering', 'soldierly', 'soldiers', 'soldiery', 'solecism', 'solecisms', 'solely', 'solemn', 'solemner', 'solemness', 'solemnesses', 'solemnest', 'solemnified', 'solemnifies', 'solemnify', 'solemnifying', 'solemnities', 'solemnity', 'solemnization', 'solemnizations', 'solemnize', 'solemnized', 'solemnizes', 'solemnizing', 'solemnly', 'solemnness', 'solemnnesses', 'solenoid', 'solenoids', 'solicit', 'solicitation', 'solicitations', 'solicited', 'soliciting', 'solicitor', 'solicitors', 'solicitous', 'solicitously', 'solicitousness', 'solicitousnesses', 'solicits', 'solicitude', 'solicitudes', 'solidarities', 'solidarity', 'solider', 'solidest', 'solidi', 'solidification', 'solidifications', 'solidified', 'solidifies', 'solidify', 'solidifying', 'solidities', 'solidity', 'solidly', 'solidness', 'solidnesses', 'solids', 'solidus', 'soliloquies', 'soliloquize', 'soliloquized', 'soliloquizes', 'soliloquizing', 'soliloquy', 'soling', 'solipsism', 'solipsisms', 'solitaire', 'solitaires', 'solitaries', 'solitariness', 'solitarinesses', 'solitary', 'solitude', 'solitudes', 'soloed', 'soloing', 'soloist', 'soloists', 'solstice', 'solstices', 'solubilities', 'solubility', 'soluble', 'solubles', 'solute', 'solutes', 'solution', 'solutions', 'solvable', 'solved', 'solvencies', 'solvency', 'solvent', 'solvents', 'solver', 'solvers', 'solves', 'solving', 'somatic', 'somber', 'somberer', 'somberest', 'somberly', 'somberness', 'sombernesses', 'sombre', 'sombrer', 'sombrero', 'sombreros', 'sombrest', 'somebodies', 'somebody', 'someday', 'somehow', 'someone', 'someplace', 'somersault', 'somersaulted', 'somersaulting', 'somersaults', 'somerset', 'somersets', 'somersetted', 'somersetting', 'something', 'sometime', 'sometimes', 'someway', 'someways', 'somewhat', 'somewhere', 'somnambulism', 'somnambulisms', 'somnambulist', 'somnambulists', 'somnolence', 'somnolences', 'somnolent', 'sonars', 'sonata', 'sonatas', 'sonatina', 'sonatinas', 'songbird', 'songbirds', 'songbook', 'songbooks', 'songfest', 'songfests', 'songster', 'songsters', 'songstress', 'songstresses', 'songwriter', 'songwriters', 'sonnet', 'sonnets', 'sonnies', 'sonogram', 'sonograms', 'sonorities', 'sonority', 'sonorous', 'sonorously', 'sonorousness', 'sonorousnesses', 'sooner', 'soonest', 'soothe', 'soothed', 'soother', 'soothers', 'soothes', 'soothing', 'soothingly', 'sooths', 'soothsayer', 'soothsayers', 'soothsaying', 'soothsayings', 'sootier', 'sootiest', 'soots', 'sophism', 'sophisms', 'sophist', 'sophistic', 'sophistical', 'sophisticate', 'sophisticated', 'sophisticates', 'sophisticating', 'sophistication', 'sophistications', 'sophistries', 'sophistry', 'sophists', 'sophomore', 'sophomores', 'sophomoric', 'soporific', 'soporifically', 'soporifics', 'sopped', 'soppier', 'soppiest', 'sopping', 'soprano', 'sopranos', 'sorbet', 'sorbets', 'sorcerer', 'sorcerers', 'sorceress', 'sorceresses', 'sorceries', 'sorcery', 'sordid', 'sordidly', 'sordidness', 'sordidnesses', 'sorehead', 'soreheads', 'sorely', 'soreness', 'sorenesses', 'sorest', 'sorghum', 'sorghums', 'sororities', 'sorority', 'sorrel', 'sorrels', 'sorrier', 'sorriest', 'sorrily', 'sorriness', 'sorrinesses', 'sorrow', 'sorrowed', 'sorrowful', 'sorrowfully', 'sorrowfulness', 'sorrowfulnesses', 'sorrowing', 'sorrows', 'sorted', 'sorter', 'sorters', 'sortie', 'sortied', 'sortieing', 'sorties', 'sorting', 'sottish', 'soubriquet', 'soubriquets', 'souffle', 'souffles', 'soughed', 'soughing', 'soughs', 'sought', 'soulful', 'soulfully', 'soulfulness', 'soulfulnesses', 'soulless', 'soullessly', 'soulmate!', 'soulmates!', 'soundboard', 'soundboards', 'sounded', 'sounder', 'sounders', 'soundest', 'sounding', 'soundings', 'soundless', 'soundlessly', 'soundly', 'soundness', 'soundnesses', 'soundproof', 'soundproofed', 'soundproofing', 'soundproofings', 'soundproofs', 'sounds', 'soundtrack', 'soundtracks', 'soupcon', 'soupcons', 'souped', 'soupier', 'soupiest', 'souping', 'source', 'sourced', 'sources', 'sourcing', 'sourdough', 'sourdoughs', 'soured', 'sourer', 'sourest', 'souring', 'sourish', 'sourly', 'sourness', 'sournesses', 'sourpuss', 'sourpusses', 'sousaphone', 'sousaphones', 'soused', 'souses', 'sousing', 'southbound', 'southeast', 'southeaster', 'southeasterly', 'southeastern', 'southeasters', 'southeasts', 'southeastward', 'southeastwards', 'southerlies', 'southerly', 'southern', 'southerner', 'southerners', 'southernmost', 'southerns', 'southpaw', 'southpaws', 'souths', 'southward', 'southwards', 'southwest', 'southwester', 'southwesterly', 'southwestern', 'southwesters', 'southwests', 'southwestward', 'southwestwards', 'souvenir', 'souvenirs', 'sovereign', 'sovereigns', 'sovereignties', 'sovereignty', 'soviet', 'soviets', 'sowers', 'sowing', 'soyas', 'soybean', 'soybeans', 'spacecraft', 'spacecrafts', 'spaced', 'spaceflight', 'spaceflights', 'spaceman', 'spacemen', 'spaceport', 'spaceports', 'spacer', 'spacers', 'spaces', 'spaceship', 'spaceships', 'spacesuit', 'spacesuits', 'spacewalk', 'spacewalked', 'spacewalking', 'spacewalks', 'spacewoman', 'spacewomen', 'spacey', 'spacier', 'spaciest', 'spaciness', 'spacinesses', 'spacing', 'spacings', 'spacious', 'spaciously', 'spaciousness', 'spaciousnesses', 'spaded', 'spadeful', 'spadefuls', 'spades', 'spadework', 'spadeworks', 'spadices', 'spading', 'spadix', 'spadixes', 'spaghetti', 'spaghettis', 'spammed!', 'spammer!', 'spammers!', 'spamming!', 'spams!', 'spandex', 'spandexes', 'spangle', 'spangled', 'spangles', 'spangling', 'spaniel', 'spaniels', 'spanked', 'spanking', 'spankings', 'spanks', 'spanned', 'spanner', 'spanners', 'spanning', 'spared', 'sparely', 'spareness', 'sparenesses', 'sparer', 'spareribs', 'spares', 'sparest', 'sparing', 'sparingly', 'sparked', 'sparkier', 'sparkiest', 'sparking', 'sparkle', 'sparkled', 'sparkler', 'sparklers', 'sparkles', 'sparkling', 'sparks', 'sparky', 'sparred', 'sparring', 'sparrow', 'sparrows', 'sparse', 'sparsely', 'sparseness', 'sparsenesses', 'sparser', 'sparsest', 'sparsities', 'sparsity', 'spartan', 'spasmodic', 'spasmodically', 'spasms', 'spastic', 'spastics', 'spates', 'spathe', 'spathes', 'spatial', 'spatially', 'spatted', 'spatter', 'spattered', 'spattering', 'spatters', 'spatting', 'spatula', 'spatulas', 'spavin', 'spavined', 'spavins', 'spawned', 'spawning', 'spawns', 'spayed', 'spaying', 'speakeasies', 'speakeasy', 'speaker', 'speakers', 'speaking', 'speaks', 'speared', 'spearfish', 'spearfished', 'spearfishes', 'spearfishing', 'spearhead', 'spearheaded', 'spearheading', 'spearheads', 'spearing', 'spearmint', 'spearmints', 'spears', 'specced', 'speccing', 'special', 'specialist', 'specialists', 'specialities', 'speciality', 'specialization', 'specializations', 'specialize', 'specialized', 'specializes', 'specializing', 'specially', 'specials', 'specialties', 'specialty', 'specie', 'species', 'specific', 'specifically', 'specification', 'specifications', 'specificities', 'specificity', 'specifics', 'specified', 'specifies', 'specify', 'specifying', 'specimen', 'specimens', 'specious', 'speciously', 'speciousness', 'speciousnesses', 'specked', 'specking', 'speckle', 'speckled', 'speckles', 'speckling', 'specks', 'spectacle', 'spectacles', 'spectacular', 'spectacularly', 'spectaculars', 'spectator', 'spectators', 'specter', 'specters', 'spectra', 'spectral', 'spectre', 'spectres', 'spectrometer', 'spectrometers', 'spectroscope', 'spectroscopes', 'spectroscopic', 'spectroscopies', 'spectroscopy', 'spectrum', 'spectrums', 'speculate', 'speculated', 'speculates', 'speculating', 'speculation', 'speculations', 'speculative', 'speculatively', 'speculator', 'speculators', 'speech', 'speeches', 'speechless', 'speechlessly', 'speechlessness', 'speechlessnesses', 'speedboat', 'speedboats', 'speeded', 'speeder', 'speeders', 'speedier', 'speediest', 'speedily', 'speediness', 'speedinesses', 'speeding', 'speedings', 'speedometer', 'speedometers', 'speeds', 'speedster', 'speedsters', 'speedup', 'speedups', 'speedway', 'speedways', 'speedwell', 'speedwells', 'speedy', 'speleologies', 'speleologist', 'speleologists', 'speleology', 'spellbind', 'spellbinder', 'spellbinders', 'spellbinding', 'spellbinds', 'spellbound', 'spellcheck!', 'spellchecked!', 'spellchecker!', 'spellcheckers!', 'spellchecking!', 'spellchecks!', 'spelldown', 'spelldowns', 'spelled', 'speller', 'spellers', 'spelling', 'spellings', 'spells', 'spelunker', 'spelunkers', 'spelunking', 'spelunkings', 'spendable', 'spender', 'spenders', 'spending', 'spendings', 'spends', 'spendthrift', 'spendthrifts', 'spermatozoa', 'spermatozoon', 'spermicidal', 'spermicide', 'spermicides', 'sperms', 'spewed', 'spewer', 'spewers', 'spewing', 'sphagnum', 'sphagnums', 'sphere', 'spheres', 'spherical', 'spherically', 'spheroid', 'spheroidal', 'spheroids', 'sphincter', 'sphincters', 'sphinges', 'sphinx', 'sphinxes', 'spiced', 'spices', 'spicier', 'spiciest', 'spicily', 'spiciness', 'spicinesses', 'spicing', 'spicule', 'spicules', 'spider', 'spiders', 'spiderweb', 'spiderwebs', 'spidery', 'spieled', 'spieling', 'spiels', 'spiffier', 'spiffiest', 'spiffy', 'spigot', 'spigots', 'spiked', 'spikes', 'spikier', 'spikiest', 'spikiness', 'spikinesses', 'spiking', 'spillage', 'spillages', 'spilled', 'spilling', 'spillover', 'spillovers', 'spills', 'spillway', 'spillways', 'spinach', 'spinaches', 'spinal', 'spinally', 'spinals', 'spindle', 'spindled', 'spindles', 'spindlier', 'spindliest', 'spindling', 'spindly', 'spineless', 'spinelessly', 'spines', 'spinet', 'spinets', 'spinier', 'spiniest', 'spinnaker', 'spinnakers', 'spinner', 'spinneret', 'spinnerets', 'spinners', 'spinning', 'spinnings', 'spinoff', 'spinoffs', 'spinster', 'spinsterhood', 'spinsterhoods', 'spinsterish', 'spinsters', 'spiracle', 'spiracles', 'spiraea', 'spiraeas', 'spiral', 'spiraled', 'spiraling', 'spiralled', 'spiralling', 'spirally', 'spirals', 'spirea', 'spireas', 'spires', 'spirit', 'spirited', 'spiriting', 'spiritless', 'spirits', 'spiritual', 'spiritualism', 'spiritualisms', 'spiritualist', 'spiritualistic', 'spiritualists', 'spiritualities', 'spirituality', 'spiritually', 'spirituals', 'spirituous', 'spirochete', 'spirochetes', 'spitball', 'spitballs', 'spited', 'spiteful', 'spitefuller', 'spitefullest', 'spitefully', 'spitefulness', 'spitefulnesses', 'spites', 'spitfire', 'spitfires', 'spiting', 'spitted', 'spitting', 'spittle', 'spittles', 'spittoon', 'spittoons', 'splash', 'splashdown', 'splashdowns', 'splashed', 'splashes', 'splashier', 'splashiest', 'splashily', 'splashiness', 'splashinesses', 'splashing', 'splashy', 'splats', 'splatted', 'splatter', 'splattered', 'splattering', 'splatters', 'splatting', 'splayed', 'splayfeet', 'splayfoot', 'splayfooted', 'splaying', 'splays', 'spleen', 'spleens', 'splendid', 'splendider', 'splendidest', 'splendidly', 'splendor', 'splendorous', 'splendors', 'splendour', 'splendours', 'splenetic', 'splice', 'spliced', 'splicer', 'splicers', 'splices', 'splicing', 'splint', 'splinted', 'splinter', 'splintered', 'splintering', 'splinters', 'splintery', 'splinting', 'splints', 'splits', 'splitting', 'splittings', 'splotch', 'splotched', 'splotches', 'splotchier', 'splotchiest', 'splotching', 'splotchy', 'splurge', 'splurged', 'splurges', 'splurging', 'splutter', 'spluttered', 'spluttering', 'splutters', 'spoilage', 'spoilages', 'spoiled', 'spoiler', 'spoilers', 'spoiling', 'spoils', 'spoilsport', 'spoilsports', 'spoilt', 'spoken', 'spokes', 'spokesman', 'spokesmen', 'spokespeople', 'spokesperson', 'spokespersons', 'spokeswoman', 'spokeswomen', 'spoliation', 'spoliations', 'sponge', 'spongecake', 'spongecakes', 'sponged', 'sponger', 'spongers', 'sponges', 'spongier', 'spongiest', 'sponginess', 'sponginesses', 'sponging', 'spongy', 'sponsor', 'sponsored', 'sponsoring', 'sponsors', 'sponsorship', 'sponsorships', 'spontaneities', 'spontaneity', 'spontaneous', 'spontaneously', 'spoofed', 'spoofing', 'spoofs', 'spooked', 'spookier', 'spookiest', 'spookiness', 'spookinesses', 'spooking', 'spooks', 'spooky', 'spooled', 'spooling', 'spools', 'spoonbill', 'spoonbills', 'spooned', 'spoonerism', 'spoonerisms', 'spoonful', 'spoonfuls', 'spooning', 'spoons', 'spoonsful', 'spoored', 'spooring', 'spoors', 'sporadic', 'sporadically', 'spored', 'spores', 'sporing', 'sported', 'sportier', 'sportiest', 'sportiness', 'sportinesses', 'sporting', 'sportingly', 'sportive', 'sportively', 'sports', 'sportscast', 'sportscaster', 'sportscasters', 'sportscasts', 'sportsman', 'sportsmanlike', 'sportsmanship', 'sportsmanships', 'sportsmen', 'sportswear', 'sportswears', 'sportswoman', 'sportswomen', 'sportswriter', 'sportswriters', 'sporty', 'spotless', 'spotlessly', 'spotlessness', 'spotlessnesses', 'spotlight', 'spotlighted', 'spotlighting', 'spotlights', 'spotlit', 'spotted', 'spotter', 'spotters', 'spottier', 'spottiest', 'spottily', 'spottiness', 'spottinesses', 'spotting', 'spotty', 'spousal', 'spousals', 'spouse', 'spouses', 'spouted', 'spouting', 'spouts', 'sprain', 'sprained', 'spraining', 'sprains', 'sprang', 'sprats', 'sprawl', 'sprawled', 'sprawling', 'sprawls', 'sprayed', 'sprayer', 'sprayers', 'spraying', 'sprays', 'spread', 'spreadable', 'spreader', 'spreaders', 'spreading', 'spreads', 'spreadsheet', 'spreadsheets', 'sprees', 'sprier', 'spriest', 'sprightlier', 'sprightliest', 'sprightliness', 'sprightlinesses', 'sprightly', 'sprigs', 'spring', 'springboard', 'springboards', 'springbok', 'springboks', 'springier', 'springiest', 'springily', 'springiness', 'springinesses', 'springing', 'springlike', 'springs', 'springtime', 'springtimes', 'springy', 'sprinkle', 'sprinkled', 'sprinkler', 'sprinklers', 'sprinkles', 'sprinkling', 'sprinklings', 'sprint', 'sprinted', 'sprinter', 'sprinters', 'sprinting', 'sprints', 'sprite', 'sprites', 'spritz', 'spritzed', 'spritzer', 'spritzers', 'spritzes', 'spritzing', 'sprocket', 'sprockets', 'sprout', 'sprouted', 'sprouting', 'sprouts', 'spruce', 'spruced', 'sprucely', 'spruceness', 'sprucenesses', 'sprucer', 'spruces', 'sprucest', 'sprucing', 'sprung', 'spryer', 'spryest', 'spryly', 'spryness', 'sprynesses', 'spumed', 'spumes', 'spumier', 'spumiest', 'spuming', 'spumone', 'spumones', 'spumoni', 'spumonis', 'spunkier', 'spunkiest', 'spunks', 'spunky', 'spurge', 'spurges', 'spurious', 'spuriously', 'spuriousness', 'spuriousnesses', 'spurned', 'spurning', 'spurns', 'spurred', 'spurring', 'spurted', 'spurting', 'spurts', 'sputa', 'sputnik', 'sputniks', 'sputter', 'sputtered', 'sputtering', 'sputters', 'sputum', 'spyglass', 'spyglasses', 'spying', 'spyware!', 'spywares!', 'squabble', 'squabbled', 'squabbler', 'squabblers', 'squabbles', 'squabbling', 'squabs', 'squadron', 'squadrons', 'squads', 'squalid', 'squalider', 'squalidest', 'squalidly', 'squalidness', 'squalidnesses', 'squall', 'squalled', 'squallier', 'squalliest', 'squalling', 'squalls', 'squally', 'squalor', 'squalors', 'squamous', 'squander', 'squandered', 'squandering', 'squanders', 'square', 'squared', 'squarely', 'squareness', 'squarenesses', 'squarer', 'squares', 'squarest', 'squaring', 'squarish', 'squash', 'squashed', 'squashes', 'squashier', 'squashiest', 'squashing', 'squashy', 'squatness', 'squatnesses', 'squats', 'squatted', 'squatter', 'squatters', 'squattest', 'squatting', 'squawk', 'squawked', 'squawker', 'squawkers', 'squawking', 'squawks', 'squaws', 'squeak', 'squeaked', 'squeaker', 'squeakers', 'squeakier', 'squeakiest', 'squeakily', 'squeakiness', 'squeakinesses', 'squeaking', 'squeaks', 'squeaky', 'squeal', 'squealed', 'squealer', 'squealers', 'squealing', 'squeals', 'squeamish', 'squeamishly', 'squeamishness', 'squeamishnesses', 'squeegee', 'squeegeed', 'squeegeeing', 'squeegees', 'squeezable', 'squeeze', 'squeezed', 'squeezer', 'squeezers', 'squeezes', 'squeezing', 'squelch', 'squelched', 'squelches', 'squelchier', 'squelchiest', 'squelching', 'squelchy', 'squibs', 'squids', 'squiggle', 'squiggled', 'squiggles', 'squigglier', 'squiggliest', 'squiggling', 'squiggly', 'squint', 'squinted', 'squinter', 'squintest', 'squinting', 'squints', 'squire', 'squired', 'squires', 'squiring', 'squirm', 'squirmed', 'squirmier', 'squirmiest', 'squirming', 'squirms', 'squirmy', 'squirrel', 'squirreled', 'squirreling', 'squirrelled', 'squirrelling', 'squirrels', 'squirt', 'squirted', 'squirting', 'squirts', 'squish', 'squished', 'squishes', 'squishier', 'squishiest', 'squishing', 'squishy', 'sriracha!', 'srirachas!', 'stabbed', 'stabber', 'stabbers', 'stabbing', 'stabbings', 'stabilities', 'stability', 'stabilization', 'stabilizations', 'stabilize', 'stabilized', 'stabilizer', 'stabilizers', 'stabilizes', 'stabilizing', 'stable', 'stabled', 'stableman', 'stablemen', 'stabler', 'stables', 'stablest', 'stabling', 'stably', 'staccati', 'staccato', 'staccatos', 'stacked', 'stacking', 'stacks', 'stadia', 'stadium', 'stadiums', 'staffed', 'staffer', 'staffers', 'staffing', 'staffings', 'staffs', 'stagecoach', 'stagecoaches', 'stagecraft', 'stagecrafts', 'staged', 'stagehand', 'stagehands', 'stages', 'stagestruck', 'stagflation', 'stagflations', 'stagger', 'staggered', 'staggering', 'staggeringly', 'staggers', 'stagier', 'stagiest', 'staging', 'stagings', 'stagnancies', 'stagnancy', 'stagnant', 'stagnantly', 'stagnate', 'stagnated', 'stagnates', 'stagnating', 'stagnation', 'stagnations', 'staider', 'staidest', 'staidly', 'staidness', 'staidnesses', 'stained', 'staining', 'stainless', 'stainlesses', 'stains', 'staircase', 'staircases', 'stairs', 'stairway', 'stairways', 'stairwell', 'stairwells', 'staked', 'stakeholder', 'stakeholders', 'stakeout', 'stakeouts', 'stakes', 'staking', 'stalactite', 'stalactites', 'stalagmite', 'stalagmites', 'staled', 'stalemate', 'stalemated', 'stalemates', 'stalemating', 'staleness', 'stalenesses', 'staler', 'stales', 'stalest', 'staling', 'stalked', 'stalker', 'stalkers', 'stalking', 'stalkings', 'stalks', 'stalled', 'stalling', 'stallion', 'stallions', 'stalls', 'stalwart', 'stalwarts', 'stamen', 'stamens', 'stamina', 'staminas', 'stammer', 'stammered', 'stammerer', 'stammerers', 'stammering', 'stammeringly', 'stammers', 'stamped', 'stampede', 'stampeded', 'stampedes', 'stampeding', 'stamper', 'stampers', 'stamping', 'stamps', 'stance', 'stances', 'stanch', 'stanched', 'stancher', 'stanches', 'stanchest', 'stanching', 'stanchion', 'stanchions', 'standalone', 'standard', 'standardization', 'standardizations', 'standardize', 'standardized', 'standardizes', 'standardizing', 'standards', 'standby', 'standbys', 'standee', 'standees', 'stander', 'standers', 'standing', 'standings', 'standoff', 'standoffish', 'standoffs', 'standout', 'standouts', 'standpipe', 'standpipes', 'standpoint', 'standpoints', 'stands', 'standstill', 'standstills', 'standup', 'standups', 'stanza', 'stanzas', 'staphs', 'staphylococcal', 'staphylococci', 'staphylococcus', 'staple', 'stapled', 'stapler', 'staplers', 'staples', 'stapling', 'starboard', 'starboards', 'starch', 'starched', 'starches', 'starchier', 'starchiest', 'starchily', 'starchiness', 'starchinesses', 'starching', 'starchy', 'stardom', 'stardoms', 'stardust', 'stardusts', 'stared', 'starer', 'starers', 'stares', 'starfish', 'starfishes', 'stargaze', 'stargazed', 'stargazer', 'stargazers', 'stargazes', 'stargazing', 'staring', 'starker', 'starkest', 'starkly', 'starkness', 'starknesses', 'starless', 'starlet', 'starlets', 'starlight', 'starlights', 'starling', 'starlings', 'starlit', 'starred', 'starrier', 'starriest', 'starring', 'starry', 'started', 'starter', 'starters', 'starting', 'startle', 'startled', 'startles', 'startling', 'starts', 'startup!', 'startups!', 'starvation', 'starvations', 'starve', 'starved', 'starveling', 'starvelings', 'starves', 'starving', 'stashed', 'stashes', 'stashing', 'statecraft', 'statecrafts', 'stated', 'statehood', 'statehoods', 'statehouse', 'statehouses', 'stateless', 'statelessness', 'statelessnesses', 'statelier', 'stateliest', 'stateliness', 'statelinesses', 'stately', 'statement', 'statemented', 'statementing', 'statements', 'stateroom', 'staterooms', 'states', 'stateside', 'statesman', 'statesmanlike', 'statesmanship', 'statesmanships', 'statesmen', 'stateswoman', 'stateswomen', 'static', 'statically', 'statics', 'stating', 'station', 'stationary', 'stationed', 'stationer', 'stationeries', 'stationers', 'stationery', 'stationing', 'stations', 'statistic', 'statistical', 'statistically', 'statistician', 'statisticians', 'statistics', 'statuaries', 'statuary', 'statue', 'statues', 'statuesque', 'statuette', 'statuettes', 'stature', 'statures', 'status', 'statuses', 'statute', 'statutes', 'statutorily', 'statutory', 'staunch', 'staunched', 'stauncher', 'staunches', 'staunchest', 'staunching', 'staunchly', 'staunchness', 'staunchnesses', 'staved', 'staves', 'staving', 'stayed', 'staying', 'steadfast', 'steadfastly', 'steadfastness', 'steadfastnesses', 'steadied', 'steadier', 'steadies', 'steadiest', 'steadily', 'steadiness', 'steadinesses', 'steads', 'steady', 'steadying', 'steakhouse', 'steakhouses', 'steaks', 'stealing', 'steals', 'stealth', 'stealthier', 'stealthiest', 'stealthily', 'stealthiness', 'stealthinesses', 'stealths', 'stealthy', 'steamboat', 'steamboats', 'steamed', 'steamer', 'steamers', 'steamfitter', 'steamfitters', 'steamfitting', 'steamfittings', 'steamier', 'steamiest', 'steaminess', 'steaminesses', 'steaming', 'steamroll', 'steamrolled', 'steamroller', 'steamrollered', 'steamrollering', 'steamrollers', 'steamrolling', 'steamrolls', 'steams', 'steamship', 'steamships', 'steamy', 'steeds', 'steeled', 'steelier', 'steeliest', 'steeliness', 'steelinesses', 'steeling', 'steels', 'steelworker', 'steelworkers', 'steelworks', 'steely', 'steelyard', 'steelyards', 'steeped', 'steepen', 'steepened', 'steepening', 'steepens', 'steeper', 'steepest', 'steeping', 'steeple', 'steeplechase', 'steeplechases', 'steeplejack', 'steeplejacks', 'steeples', 'steeply', 'steepness', 'steepnesses', 'steeps', 'steerable', 'steerage', 'steerages', 'steered', 'steering', 'steerings', 'steers', 'steersman', 'steersmen', 'stegosauri', 'stegosaurus', 'stegosauruses', 'steins', 'stellar', 'stemless', 'stemmed', 'stemming', 'stemware', 'stemwares', 'stench', 'stenches', 'stencil', 'stenciled', 'stenciling', 'stencilled', 'stencilling', 'stencils', 'stenographer', 'stenographers', 'stenographic', 'stenographies', 'stenography', 'stenos', 'stent!', 'stentorian', 'stents!', 'stepbrother', 'stepbrothers', 'stepchild', 'stepchildren', 'stepdaughter', 'stepdaughters', 'stepfather', 'stepfathers', 'stepladder', 'stepladders', 'stepmother', 'stepmothers', 'stepparent', 'stepparents', 'steppe', 'stepped', 'stepper', 'steppers', 'steppes', 'stepping', 'steppingstone', 'steppingstones', 'stepsister', 'stepsisters', 'stepson', 'stepsons', 'stereo', 'stereophonic', 'stereos', 'stereoscope', 'stereoscopes', 'stereoscopic', 'stereotype', 'stereotyped', 'stereotypes', 'stereotypical', 'stereotyping', 'sterile', 'sterilities', 'sterility', 'sterilization', 'sterilizations', 'sterilize', 'sterilized', 'sterilizer', 'sterilizers', 'sterilizes', 'sterilizing', 'sterling', 'sterlings', 'sterna', 'sterner', 'sternest', 'sternly', 'sternness', 'sternnesses', 'sterns', 'sternum', 'sternums', 'steroid', 'steroidal', 'steroids', 'stertorous', 'stethoscope', 'stethoscopes', 'stetson', 'stetsons', 'stetted', 'stetting', 'stevedore', 'stevedores', 'steward', 'stewarded', 'stewardess', 'stewardesses', 'stewarding', 'stewards', 'stewardship', 'stewardships', 'stewed', 'stewing', 'sticker', 'stickers', 'stickier', 'stickies', 'stickiest', 'stickily', 'stickiness', 'stickinesses', 'sticking', 'stickleback', 'sticklebacks', 'stickler', 'sticklers', 'stickpin', 'stickpins', 'sticks', 'stickup', 'stickups', 'sticky', 'stiffed', 'stiffen', 'stiffened', 'stiffener', 'stiffeners', 'stiffening', 'stiffenings', 'stiffens', 'stiffer', 'stiffest', 'stiffing', 'stiffly', 'stiffness', 'stiffnesses', 'stiffs', 'stifle', 'stifled', 'stifles', 'stifling', 'stiflingly', 'stigma', 'stigmas', 'stigmata', 'stigmatic', 'stigmatization', 'stigmatizations', 'stigmatize', 'stigmatized', 'stigmatizes', 'stigmatizing', 'stiles', 'stiletto', 'stilettoes', 'stilettos', 'stillbirth', 'stillbirths', 'stillborn', 'stilled', 'stiller', 'stillest', 'stilling', 'stillness', 'stillnesses', 'stills', 'stilted', 'stilts', 'stimulant', 'stimulants', 'stimulate', 'stimulated', 'stimulates', 'stimulating', 'stimulation', 'stimulations', 'stimulative', 'stimuli', 'stimulus', 'stinger', 'stingers', 'stingier', 'stingiest', 'stingily', 'stinginess', 'stinginesses', 'stinging', 'stingray', 'stingrays', 'stings', 'stingy', 'stinkbug', 'stinkbugs', 'stinker', 'stinkers', 'stinkier', 'stinkiest', 'stinking', 'stinks', 'stinky', 'stinted', 'stinting', 'stints', 'stipend', 'stipends', 'stipple', 'stippled', 'stipples', 'stippling', 'stipplings', 'stipulate', 'stipulated', 'stipulates', 'stipulating', 'stipulation', 'stipulations', 'stirred', 'stirrer', 'stirrers', 'stirring', 'stirringly', 'stirrings', 'stirrup', 'stirrups', 'stitch', 'stitched', 'stitcheries', 'stitchery', 'stitches', 'stitching', 'stitchings', 'stoats', 'stockade', 'stockaded', 'stockades', 'stockading', 'stockbreeder', 'stockbreeders', 'stockbroker', 'stockbrokers', 'stockbroking', 'stockbrokings', 'stocked', 'stockholder', 'stockholders', 'stockier', 'stockiest', 'stockily', 'stockiness', 'stockinesses', 'stockinet', 'stockinets', 'stockinette', 'stockinettes', 'stocking', 'stockings', 'stockpile', 'stockpiled', 'stockpiles', 'stockpiling', 'stockpot', 'stockpots', 'stockroom', 'stockrooms', 'stocks', 'stocktaking', 'stocktakings', 'stocky', 'stockyard', 'stockyards', 'stodgier', 'stodgiest', 'stodgily', 'stodginess', 'stodginesses', 'stodgy', 'stogie', 'stogies', 'stoical', 'stoically', 'stoicism', 'stoicisms', 'stoics', 'stoked', 'stoker', 'stokers', 'stokes', 'stoking', 'stolen', 'stoles', 'stolid', 'stolider', 'stolidest', 'stolidities', 'stolidity', 'stolidly', 'stolidness', 'stolidnesses', 'stolon', 'stolons', 'stomach', 'stomachache', 'stomachaches', 'stomached', 'stomacher', 'stomachers', 'stomaching', 'stomachs', 'stomped', 'stomping', 'stomps', 'stoned', 'stonemason', 'stonemasons', 'stoner!', 'stoners!', 'stones', 'stonewall', 'stonewalled', 'stonewalling', 'stonewalls', 'stoneware', 'stonewares', 'stonewashed', 'stonework', 'stoneworks', 'stoney', 'stonier', 'stoniest', 'stonily', 'stoniness', 'stoninesses', 'stoning', 'stooge', 'stooges', 'stools', 'stooped', 'stooping', 'stoops', 'stopcock', 'stopcocks', 'stopgap', 'stopgaps', 'stoplight', 'stoplights', 'stopover', 'stopovers', 'stoppage', 'stoppages', 'stopped', 'stopper', 'stoppered', 'stoppering', 'stoppers', 'stopping', 'stopple', 'stoppled', 'stopples', 'stoppling', 'stopwatch', 'stopwatches', 'storage', 'storages', 'stored', 'storefront', 'storefronts', 'storehouse', 'storehouses', 'storekeeper', 'storekeepers', 'storeroom', 'storerooms', 'stores', 'storey', 'storeys', 'storied', 'stories', 'storing', 'storks', 'stormed', 'stormier', 'stormiest', 'stormily', 'storminess', 'storminesses', 'storming', 'storms', 'stormy', 'storyboard', 'storyboards', 'storybook', 'storybooks', 'storyteller', 'storytellers', 'storytelling', 'storytellings', 'stoups', 'stouter', 'stoutest', 'stouthearted', 'stoutly', 'stoutness', 'stoutnesses', 'stouts', 'stovepipe', 'stovepipes', 'stoves', 'stowage', 'stowages', 'stowaway', 'stowaways', 'stowed', 'stowing', 'straddle', 'straddled', 'straddler', 'straddlers', 'straddles', 'straddling', 'strafe', 'strafed', 'strafes', 'strafing', 'straggle', 'straggled', 'straggler', 'stragglers', 'straggles', 'stragglier', 'straggliest', 'straggling', 'straggly', 'straight', 'straightaway', 'straightaways', 'straightedge', 'straightedges', 'straighten', 'straightened', 'straightener', 'straighteners', 'straightening', 'straightens', 'straighter', 'straightest', 'straightforward', 'straightforwardly', 'straightforwardness', 'straightforwardnesses', 'straightforwards', 'straightjacket', 'straightjacketed', 'straightjacketing', 'straightjackets', 'straightly', 'straightness', 'straightnesses', 'straights', 'straightway', 'strain', 'strained', 'strainer', 'strainers', 'straining', 'strains', 'strait', 'straiten', 'straitened', 'straitening', 'straitens', 'straitjacket', 'straitjacketed', 'straitjacketing', 'straitjackets', 'straitlaced', 'straits', 'strand', 'stranded', 'stranding', 'strands', 'strange', 'strangely', 'strangeness', 'strangenesses', 'stranger', 'strangers', 'strangest', 'strangle', 'strangled', 'stranglehold', 'strangleholds', 'strangler', 'stranglers', 'strangles', 'strangling', 'strangulate', 'strangulated', 'strangulates', 'strangulating', 'strangulation', 'strangulations', 'strapless', 'straplesses', 'strapped', 'strapping', 'strappings', 'straps', 'strata', 'stratagem', 'stratagems', 'strategic', 'strategical', 'strategically', 'strategics', 'strategies', 'strategist', 'strategists', 'strategy', 'strati', 'stratification', 'stratifications', 'stratified', 'stratifies', 'stratify', 'stratifying', 'stratosphere', 'stratospheres', 'stratospheric', 'stratum', 'stratums', 'stratus', 'strawberries', 'strawberry', 'straws', 'strayed', 'straying', 'strays', 'streak', 'streaked', 'streaker', 'streakers', 'streakier', 'streakiest', 'streaking', 'streaks', 'streaky', 'stream', 'streamed', 'streamer', 'streamers', 'streaming', 'streamline', 'streamlined', 'streamlines', 'streamlining', 'streams', 'street', 'streetcar', 'streetcars', 'streetlight', 'streetlights', 'streets', 'streetwalker', 'streetwalkers', 'streetwise', 'strength', 'strengthen', 'strengthened', 'strengthener', 'strengtheners', 'strengthening', 'strengthens', 'strengths', 'strenuous', 'strenuously', 'strenuousness', 'strenuousnesses', 'streps', 'streptococcal', 'streptococci', 'streptococcus', 'streptomycin', 'streptomycins', 'stress', 'stressed', 'stresses', 'stressful', 'stressing', 'stretch', 'stretchable', 'stretched', 'stretcher', 'stretchers', 'stretches', 'stretchier', 'stretchiest', 'stretching', 'stretchy', 'strewed', 'strewing', 'strewn', 'strews', 'striae', 'striated', 'striation', 'striations', 'stricken', 'strict', 'stricter', 'strictest', 'strictly', 'strictness', 'strictnesses', 'stricture', 'strictures', 'stridden', 'stride', 'stridencies', 'stridency', 'strident', 'stridently', 'strides', 'striding', 'strife', 'strifes', 'strike', 'strikebreaker', 'strikebreakers', 'strikeout', 'strikeouts', 'striker', 'strikers', 'strikes', 'striking', 'strikingly', 'string', 'stringed', 'stringencies', 'stringency', 'stringent', 'stringently', 'stringer', 'stringers', 'stringier', 'stringiest', 'stringiness', 'stringinesses', 'stringing', 'strings', 'stringy', 'stripe', 'striped', 'stripes', 'stripier', 'stripiest', 'striping', 'stripling', 'striplings', 'stripped', 'stripper', 'strippers', 'stripping', 'strips', 'stript', 'striptease', 'stripteased', 'stripteaser', 'stripteasers', 'stripteases', 'stripteasing', 'stripy', 'strive', 'strived', 'striven', 'strives', 'striving', 'strobe', 'strobes', 'stroboscope', 'stroboscopes', 'stroboscopic', 'strode', 'stroke', 'stroked', 'strokes', 'stroking', 'stroll', 'strolled', 'stroller', 'strollers', 'strolling', 'strolls', 'strong', 'strongbox', 'strongboxes', 'stronger', 'strongest', 'stronghold', 'strongholds', 'strongly', 'strongman', 'strongmen', 'strontium', 'strontiums', 'strophe', 'strophes', 'strophic', 'stropped', 'stropping', 'strops', 'strove', 'struck', 'structural', 'structurally', 'structure', 'structured', 'structures', 'structuring', 'strudel', 'strudels', 'struggle', 'struggled', 'struggles', 'struggling', 'strummed', 'strumming', 'strumpet', 'strumpets', 'strums', 'strung', 'struts', 'strutted', 'strutting', 'strychnine', 'strychnines', 'stubbed', 'stubbier', 'stubbiest', 'stubbing', 'stubble', 'stubbles', 'stubblier', 'stubbliest', 'stubbly', 'stubborn', 'stubborner', 'stubbornest', 'stubbornly', 'stubbornness', 'stubbornnesses', 'stubby', 'stucco', 'stuccoed', 'stuccoes', 'stuccoing', 'stuccos', 'studbook', 'studbooks', 'studded', 'studding', 'studdings', 'student', 'students', 'studied', 'studiedly', 'studies', 'studio', 'studios', 'studious', 'studiously', 'studiousness', 'studiousnesses', 'studying', 'stuffed', 'stuffier', 'stuffiest', 'stuffily', 'stuffiness', 'stuffinesses', 'stuffing', 'stuffings', 'stuffs', 'stuffy', 'stultification', 'stultifications', 'stultified', 'stultifies', 'stultify', 'stultifying', 'stumble', 'stumbled', 'stumbler', 'stumblers', 'stumbles', 'stumbling', 'stumped', 'stumpier', 'stumpiest', 'stumping', 'stumps', 'stumpy', 'stunned', 'stunning', 'stunningly', 'stunted', 'stunting', 'stunts', 'stupefaction', 'stupefactions', 'stupefied', 'stupefies', 'stupefy', 'stupefying', 'stupendous', 'stupendously', 'stupid', 'stupider', 'stupidest', 'stupidities', 'stupidity', 'stupidly', 'stupids', 'stupor', 'stupors', 'sturdier', 'sturdiest', 'sturdily', 'sturdiness', 'sturdinesses', 'sturdy', 'sturgeon', 'sturgeons', 'stutter', 'stuttered', 'stutterer', 'stutterers', 'stuttering', 'stutters', 'styled', 'styles', 'styling', 'stylish', 'stylishly', 'stylishness', 'stylishnesses', 'stylist', 'stylistic', 'stylistically', 'stylists', 'stylize', 'stylized', 'stylizes', 'stylizing', 'stylus', 'styluses', 'stymie', 'stymied', 'stymieing', 'stymies', 'stymying', 'styptic', 'styptics', 'suasion', 'suasions', 'suavely', 'suaveness', 'suavenesses', 'suaver', 'suavest', 'suavities', 'suavity', 'subaltern', 'subalterns', 'subarctic', 'subarea', 'subareas', 'subatomic', 'subbasement', 'subbasements', 'subbed', 'subbing', 'subbranch', 'subbranches', 'subcategories', 'subcategory', 'subcommittee', 'subcommittees', 'subcompact', 'subcompacts', 'subconscious', 'subconsciouses', 'subconsciously', 'subconsciousness', 'subconsciousnesses', 'subcontinent', 'subcontinental', 'subcontinents', 'subcontract', 'subcontracted', 'subcontracting', 'subcontractor', 'subcontractors', 'subcontracts', 'subculture', 'subcultures', 'subcutaneous', 'subcutaneously', 'subdivide', 'subdivided', 'subdivides', 'subdividing', 'subdivision', 'subdivisions', 'subdue', 'subdued', 'subdues', 'subduing', 'subfamilies', 'subfamily', 'subfreezing', 'subgroup', 'subgroups', 'subhead', 'subheading', 'subheadings', 'subheads', 'subhuman', 'subhumans', 'subject', 'subjected', 'subjecting', 'subjection', 'subjections', 'subjective', 'subjectively', 'subjectivities', 'subjectivity', 'subjects', 'subjoin', 'subjoined', 'subjoining', 'subjoins', 'subjugate', 'subjugated', 'subjugates', 'subjugating', 'subjugation', 'subjugations', 'subjunctive', 'subjunctives', 'sublease', 'subleased', 'subleases', 'subleasing', 'sublet', 'sublets', 'subletting', 'sublimate', 'sublimated', 'sublimates', 'sublimating', 'sublimation', 'sublimations', 'sublime', 'sublimed', 'sublimely', 'sublimer', 'sublimes', 'sublimest', 'subliminal', 'subliming', 'sublimities', 'sublimity', 'submarginal', 'submarine', 'submariner', 'submariners', 'submarines', 'submerge', 'submerged', 'submergence', 'submergences', 'submerges', 'submerging', 'submerse', 'submersed', 'submerses', 'submersible', 'submersibles', 'submersing', 'submersion', 'submersions', 'submicroscopic', 'submission', 'submissions', 'submissive', 'submissively', 'submissiveness', 'submissivenesses', 'submit', 'submits', 'submitted', 'submitting', 'subnormal', 'suborbital', 'suborder', 'suborders', 'subordinate', 'subordinated', 'subordinates', 'subordinating', 'subordination', 'subordinations', 'suborn', 'subornation', 'subornations', 'suborned', 'suborning', 'suborns', 'subpena', 'subpenaed', 'subpenaing', 'subpenas', 'subplot', 'subplots', 'subpoena', 'subpoenaed', 'subpoenaing', 'subpoenas', 'subprime!', 'subprofessional', 'subprofessionals', 'subroutine', 'subroutines', 'subscribe', 'subscribed', 'subscriber', 'subscribers', 'subscribes', 'subscribing', 'subscript', 'subscription', 'subscriptions', 'subscripts', 'subsection', 'subsections', 'subsequent', 'subsequently', 'subservience', 'subserviences', 'subservient', 'subserviently', 'subset', 'subsets', 'subside', 'subsided', 'subsidence', 'subsidences', 'subsides', 'subsidiaries', 'subsidiary', 'subsidies', 'subsiding', 'subsidization', 'subsidizations', 'subsidize', 'subsidized', 'subsidizer', 'subsidizers', 'subsidizes', 'subsidizing', 'subsidy', 'subsist', 'subsisted', 'subsistence', 'subsistences', 'subsisting', 'subsists', 'subsoil', 'subsoils', 'subsonic', 'subspecies', 'substance', 'substances', 'substandard', 'substantial', 'substantially', 'substantiate', 'substantiated', 'substantiates', 'substantiating', 'substantiation', 'substantiations', 'substantive', 'substantively', 'substantives', 'substation', 'substations', 'substitute', 'substituted', 'substitutes', 'substituting', 'substitution', 'substitutions', 'substrata', 'substrate', 'substrates', 'substratum', 'substratums', 'substructure', 'substructures', 'subsume', 'subsumed', 'subsumes', 'subsuming', 'subsurface', 'subsurfaces', 'subsystem', 'subsystems', 'subteen', 'subteens', 'subtenancies', 'subtenancy', 'subtenant', 'subtenants', 'subterfuge', 'subterfuges', 'subterranean', 'subtext', 'subtexts', 'subtitle', 'subtitled', 'subtitles', 'subtitling', 'subtle', 'subtler', 'subtlest', 'subtleties', 'subtlety', 'subtly', 'subtopic', 'subtopics', 'subtotal', 'subtotaled', 'subtotaling', 'subtotalled', 'subtotalling', 'subtotals', 'subtract', 'subtracted', 'subtracting', 'subtraction', 'subtractions', 'subtracts', 'subtrahend', 'subtrahends', 'subtropic', 'subtropical', 'subtropics', 'suburb', 'suburban', 'suburbanite', 'suburbanites', 'suburbans', 'suburbia', 'suburbias', 'suburbs', 'subvention', 'subventions', 'subversion', 'subversions', 'subversive', 'subversively', 'subversiveness', 'subversivenesses', 'subversives', 'subvert', 'subverted', 'subverting', 'subverts', 'subway', 'subways', 'subzero', 'succeed', 'succeeded', 'succeeding', 'succeeds', 'success', 'successes', 'successful', 'successfully', 'succession', 'successions', 'successive', 'successively', 'successor', 'successors', 'succinct', 'succincter', 'succinctest', 'succinctly', 'succinctness', 'succinctnesses', 'succor', 'succored', 'succoring', 'succors', 'succotash', 'succotashes', 'succour', 'succoured', 'succouring', 'succours', 'succulence', 'succulences', 'succulencies', 'succulency', 'succulent', 'succulents', 'succumb', 'succumbed', 'succumbing', 'succumbs', 'suchlike', 'sucked', 'sucker', 'suckered', 'suckering', 'suckers', 'sucking', 'suckle', 'suckled', 'suckles', 'suckling', 'sucklings', 'sucrose', 'sucroses', 'suction', 'suctioned', 'suctioning', 'suctions', 'sudden', 'suddenly', 'suddenness', 'suddennesses', 'sudsier', 'sudsiest', 'suedes', 'suets', 'suffer', 'sufferance', 'sufferances', 'suffered', 'sufferer', 'sufferers', 'suffering', 'sufferings', 'suffers', 'suffice', 'sufficed', 'suffices', 'sufficiencies', 'sufficiency', 'sufficient', 'sufficiently', 'sufficing', 'suffix', 'suffixation', 'suffixations', 'suffixed', 'suffixes', 'suffixing', 'suffocate', 'suffocated', 'suffocates', 'suffocating', 'suffocation', 'suffocations', 'suffragan', 'suffragans', 'suffrage', 'suffrages', 'suffragette', 'suffragettes', 'suffragist', 'suffragists', 'suffuse', 'suffused', 'suffuses', 'suffusing', 'suffusion', 'suffusions', 'sugarcane', 'sugarcanes', 'sugarcoat', 'sugarcoated', 'sugarcoating', 'sugarcoats', 'sugared', 'sugarier', 'sugariest', 'sugaring', 'sugarless', 'sugarplum', 'sugarplums', 'sugars', 'sugary', 'suggest', 'suggested', 'suggestibilities', 'suggestibility', 'suggestible', 'suggesting', 'suggestion', 'suggestions', 'suggestive', 'suggestively', 'suggestiveness', 'suggestivenesses', 'suggests', 'suicidal', 'suicide', 'suicides', 'suitabilities', 'suitability', 'suitable', 'suitableness', 'suitablenesses', 'suitably', 'suitcase', 'suitcases', 'suited', 'suites', 'suiting', 'suitings', 'suitor', 'suitors', 'sukiyaki', 'sukiyakis', 'sulfas', 'sulfate', 'sulfates', 'sulfide', 'sulfides', 'sulfur', 'sulfuric', 'sulfurous', 'sulfurs', 'sulked', 'sulkier', 'sulkies', 'sulkiest', 'sulkily', 'sulkiness', 'sulkinesses', 'sulking', 'sullen', 'sullener', 'sullenest', 'sullenly', 'sullenness', 'sullennesses', 'sullied', 'sullies', 'sullying', 'sulphur', 'sulphured', 'sulphuring', 'sulphurous', 'sulphurs', 'sultan', 'sultana', 'sultanas', 'sultanate', 'sultanates', 'sultans', 'sultrier', 'sultriest', 'sultrily', 'sultriness', 'sultrinesses', 'sultry', 'sumach', 'sumachs', 'sumacs', 'summaries', 'summarily', 'summarize', 'summarized', 'summarizes', 'summarizing', 'summary', 'summation', 'summations', 'summed', 'summer', 'summered', 'summerhouse', 'summerhouses', 'summering', 'summers', 'summertime', 'summertimes', 'summery', 'summing', 'summit', 'summitries', 'summitry', 'summits', 'summon', 'summoned', 'summoner', 'summoners', 'summoning', 'summons', 'summonsed', 'summonses', 'summonsing', 'sumos', 'sumptuous', 'sumptuously', 'sumptuousness', 'sumptuousnesses', 'sunbath', 'sunbathe', 'sunbathed', 'sunbather', 'sunbathers', 'sunbathes', 'sunbathing', 'sunbathings', 'sunbaths', 'sunbeam', 'sunbeams', 'sunbelt', 'sunbelts', 'sunblock', 'sunblocks', 'sunbonnet', 'sunbonnets', 'sunburn', 'sunburned', 'sunburning', 'sunburns', 'sunburnt', 'sunburst', 'sunbursts', 'sundae', 'sundaes', 'sunder', 'sundered', 'sundering', 'sunders', 'sundial', 'sundials', 'sundown', 'sundowns', 'sundries', 'sundry', 'sunfish', 'sunfishes', 'sunflower', 'sunflowers', 'sunglasses', 'sunken', 'sunlamp', 'sunlamps', 'sunless', 'sunlight', 'sunlights', 'sunlit', 'sunned', 'sunnier', 'sunniest', 'sunniness', 'sunninesses', 'sunning', 'sunrise', 'sunrises', 'sunroof', 'sunroofs', 'sunscreen', 'sunscreens', 'sunset', 'sunsets', 'sunshade', 'sunshades', 'sunshine', 'sunshines', 'sunshiny', 'sunspot', 'sunspots', 'sunstroke', 'sunstrokes', 'suntan', 'suntanned', 'suntanning', 'suntans', 'sunups', 'superabundance', 'superabundances', 'superabundant', 'superannuate', 'superannuated', 'superannuates', 'superannuating', 'superannuation', 'superannuations', 'superb', 'superber', 'superbest', 'superbly', 'supercargo', 'supercargoes', 'supercargos', 'supercharge', 'supercharged', 'supercharger', 'superchargers', 'supercharges', 'supercharging', 'supercilious', 'superciliously', 'superciliousness', 'superciliousnesses', 'supercities', 'supercity', 'supercomputer', 'supercomputers', 'superconducting', 'superconductive', 'superconductivities', 'superconductivity', 'superconductor', 'superconductors', 'superego', 'superegos', 'supererogation', 'supererogations', 'supererogatory', 'superficial', 'superficialities', 'superficiality', 'superficially', 'superfine', 'superfluities', 'superfluity', 'superfluous', 'superfluously', 'superfluousness', 'superfluousnesses', 'superhero', 'superheroes', 'superhighway', 'superhighways', 'superhuman', 'superimpose', 'superimposed', 'superimposes', 'superimposing', 'superimposition', 'superimpositions', 'superintend', 'superintended', 'superintendence', 'superintendences', 'superintendencies', 'superintendency', 'superintendent', 'superintendents', 'superintending', 'superintends', 'superior', 'superiorities', 'superiority', 'superiors', 'superlative', 'superlatively', 'superlatives', 'superman', 'supermarket', 'supermarkets', 'supermen', 'supermodel!', 'supermodels!', 'supermom', 'supermoms', 'supernal', 'supernatural', 'supernaturally', 'supernova', 'supernovae', 'supernovas', 'supernumeraries', 'supernumerary', 'superpose', 'superposed', 'superposes', 'superposing', 'superposition', 'superpositions', 'superpower', 'superpowers', 'supers', 'supersaturate', 'supersaturated', 'supersaturates', 'supersaturating', 'supersaturation', 'supersaturations', 'superscribe', 'superscribed', 'superscribes', 'superscribing', 'superscript', 'superscription', 'superscriptions', 'superscripts', 'supersede', 'superseded', 'supersedes', 'superseding', 'supersize!', 'supersized!', 'supersizes!', 'supersizing!', 'supersonic', 'superstar', 'superstars', 'superstition', 'superstitions', 'superstitious', 'superstitiously', 'superstore', 'superstores', 'superstructure', 'superstructures', 'supertanker', 'supertankers', 'supervene', 'supervened', 'supervenes', 'supervening', 'supervention', 'superventions', 'supervise', 'supervised', 'supervises', 'supervising', 'supervision', 'supervisions', 'supervisor', 'supervisors', 'supervisory', 'superwoman', 'superwomen', 'supine', 'supped', 'supper', 'suppers', 'supping', 'supplant', 'supplanted', 'supplanting', 'supplants', 'supple', 'supplement', 'supplemental', 'supplementary', 'supplementation', 'supplementations', 'supplemented', 'supplementing', 'supplements', 'suppleness', 'supplenesses', 'suppler', 'supplest', 'suppliant', 'suppliants', 'supplicant', 'supplicants', 'supplicate', 'supplicated', 'supplicates', 'supplicating', 'supplication', 'supplications', 'supplied', 'supplier', 'suppliers', 'supplies', 'supply', 'supplying', 'support', 'supportable', 'supported', 'supporter', 'supporters', 'supporting', 'supportive', 'supports', 'suppose', 'supposed', 'supposedly', 'supposes', 'supposing', 'supposition', 'suppositions', 'suppositories', 'suppository', 'suppress', 'suppressant', 'suppressants', 'suppressed', 'suppresses', 'suppressible', 'suppressing', 'suppression', 'suppressions', 'suppressor', 'suppressors', 'suppurate', 'suppurated', 'suppurates', 'suppurating', 'suppuration', 'suppurations', 'supranational', 'supremacies', 'supremacist', 'supremacists', 'supremacy', 'supreme', 'supremely', 'surcease', 'surceased', 'surceases', 'surceasing', 'surcharge', 'surcharged', 'surcharges', 'surcharging', 'surcingle', 'surcingles', 'surefire', 'surefooted', 'surely', 'sureness', 'surenesses', 'surest', 'sureties', 'surety', 'surface', 'surfaced', 'surfaces', 'surfacing', 'surfboard', 'surfboarded', 'surfboarding', 'surfboards', 'surfed', 'surfeit', 'surfeited', 'surfeiting', 'surfeits', 'surfer', 'surfers', 'surfing', 'surfings', 'surged', 'surgeon', 'surgeons', 'surgeries', 'surgery', 'surges', 'surgical', 'surgically', 'surging', 'surlier', 'surliest', 'surliness', 'surlinesses', 'surmise', 'surmised', 'surmises', 'surmising', 'surmount', 'surmountable', 'surmounted', 'surmounting', 'surmounts', 'surname', 'surnames', 'surpass', 'surpassed', 'surpasses', 'surpassing', 'surplice', 'surplices', 'surplus', 'surplused', 'surpluses', 'surplusing', 'surplussed', 'surplussing', 'surprise', 'surprised', 'surprises', 'surprising', 'surprisingly', 'surreal', 'surrealism', 'surrealisms', 'surrealist', 'surrealistic', 'surrealistically', 'surrealists', 'surrender', 'surrendered', 'surrendering', 'surrenders', 'surreptitious', 'surreptitiously', 'surreptitiousness', 'surreptitiousnesses', 'surrey', 'surreys', 'surrogacies', 'surrogacy', 'surrogate', 'surrogates', 'surround', 'surrounded', 'surrounding', 'surroundings', 'surrounds', 'surtax', 'surtaxed', 'surtaxes', 'surtaxing', 'surveillance', 'surveillances', 'survey', 'surveyed', 'surveying', 'surveyings', 'surveyor', 'surveyors', 'surveys', 'survival', 'survivalist', 'survivalists', 'survivals', 'survive', 'survived', 'survives', 'surviving', 'survivor', 'survivors', 'susceptibilities', 'susceptibility', 'susceptible', 'sushis', 'suspect', 'suspected', 'suspecting', 'suspects', 'suspend', 'suspended', 'suspender', 'suspenders', 'suspending', 'suspends', 'suspense', 'suspenseful', 'suspenses', 'suspension', 'suspensions', 'suspicion', 'suspicions', 'suspicious', 'suspiciously', 'sustain', 'sustainable', 'sustained', 'sustaining', 'sustains', 'sustenance', 'sustenances', 'sutler', 'sutlers', 'suture', 'sutured', 'sutures', 'suturing', 'suzerain', 'suzerains', 'suzerainties', 'suzerainty', 'svelte', 'svelter', 'sveltest', 'swabbed', 'swabbing', 'swaddle', 'swaddled', 'swaddles', 'swaddling', 'swagged', 'swagger', 'swaggered', 'swaggering', 'swaggers', 'swagging', 'swains', 'swallow', 'swallowed', 'swallowing', 'swallows', 'swallowtail', 'swallowtails', 'swamis', 'swamped', 'swampier', 'swampiest', 'swamping', 'swampland', 'swamplands', 'swamps', 'swampy', 'swanked', 'swanker', 'swankest', 'swankier', 'swankiest', 'swankily', 'swankiness', 'swankinesses', 'swanking', 'swanks', 'swanky', 'swansdown', 'swansdowns', 'swapped', 'swapping', 'swards', 'swarmed', 'swarming', 'swarms', 'swarthier', 'swarthiest', 'swarthy', 'swashbuckler', 'swashbucklers', 'swashbuckling', 'swashbucklings', 'swashed', 'swashes', 'swashing', 'swastika', 'swastikas', 'swatch', 'swatches', 'swathe', 'swathed', 'swathes', 'swathing', 'swaths', 'swatted', 'swatter', 'swatters', 'swatting', 'swayback', 'swaybacked', 'swaybacks', 'swayed', 'swaying', 'swearer', 'swearers', 'swearing', 'swears', 'swearword', 'swearwords', 'sweatband', 'sweatbands', 'sweated', 'sweater', 'sweaters', 'sweatier', 'sweatiest', 'sweating', 'sweatpants', 'sweats', 'sweatshirt', 'sweatshirts', 'sweatshop', 'sweatshops', 'sweaty', 'swedes', 'sweeper', 'sweepers', 'sweeping', 'sweepingly', 'sweepings', 'sweeps', 'sweepstake', 'sweepstakes', 'sweetbread', 'sweetbreads', 'sweetbriar', 'sweetbriars', 'sweetbrier', 'sweetbriers', 'sweeten', 'sweetened', 'sweetener', 'sweeteners', 'sweetening', 'sweetenings', 'sweetens', 'sweeter', 'sweetest', 'sweetheart', 'sweethearts', 'sweetie', 'sweeties', 'sweetish', 'sweetly', 'sweetmeat', 'sweetmeats', 'sweetness', 'sweetnesses', 'sweets', 'swelled', 'sweller', 'swellest', 'swellhead', 'swellheaded', 'swellheads', 'swelling', 'swellings', 'swells', 'swelter', 'sweltered', 'sweltering', 'swelters', 'sweptback', 'swerve', 'swerved', 'swerves', 'swerving', 'swifter', 'swiftest', 'swiftly', 'swiftness', 'swiftnesses', 'swifts', 'swigged', 'swigging', 'swilled', 'swilling', 'swills', 'swimmer', 'swimmers', 'swimming', 'swimmingly', 'swimmings', 'swimsuit', 'swimsuits', 'swindle', 'swindled', 'swindler', 'swindlers', 'swindles', 'swindling', 'swineherd', 'swineherds', 'swines', 'swinger', 'swingers', 'swinging', 'swings', 'swinish', 'swiped', 'swipes', 'swiping', 'swirled', 'swirlier', 'swirliest', 'swirling', 'swirls', 'swirly', 'swished', 'swisher', 'swishes', 'swishest', 'swishing', 'switch', 'switchback', 'switchbacks', 'switchblade', 'switchblades', 'switchboard', 'switchboards', 'switched', 'switcher', 'switchers', 'switches', 'switching', 'swivel', 'swiveled', 'swiveling', 'swivelled', 'swivelling', 'swivels', 'swobbed', 'swobbing', 'swollen', 'swooned', 'swooning', 'swoons', 'swooped', 'swooping', 'swoops', 'swoosh', 'swooshed', 'swooshes', 'swooshing', 'swopped', 'swopping', 'swordfish', 'swordfishes', 'swordplay', 'swordplays', 'swords', 'swordsman', 'swordsmanship', 'swordsmanships', 'swordsmen', 'sybarite', 'sybarites', 'sybaritic', 'sycamore', 'sycamores', 'sycophancies', 'sycophancy', 'sycophant', 'sycophantic', 'sycophants', 'syllabi', 'syllabic', 'syllabicate', 'syllabicated', 'syllabicates', 'syllabicating', 'syllabication', 'syllabications', 'syllabification', 'syllabifications', 'syllabified', 'syllabifies', 'syllabify', 'syllabifying', 'syllable', 'syllables', 'syllabus', 'syllabuses', 'syllogism', 'syllogisms', 'syllogistic', 'sylphic', 'sylphlike', 'sylphs', 'sylvan', 'symbioses', 'symbiosis', 'symbiotic', 'symbol', 'symbolic', 'symbolical', 'symbolically', 'symbolism', 'symbolisms', 'symbolization', 'symbolizations', 'symbolize', 'symbolized', 'symbolizes', 'symbolizing', 'symbols', 'symmetric', 'symmetrical', 'symmetrically', 'symmetries', 'symmetry', 'sympathetic', 'sympathetically', 'sympathies', 'sympathize', 'sympathized', 'sympathizer', 'sympathizers', 'sympathizes', 'sympathizing', 'sympathy', 'symphonic', 'symphonies', 'symphony', 'symposia', 'symposium', 'symposiums', 'symptom', 'symptomatic', 'symptomatically', 'symptoms', 'synagog', 'synagogal', 'synagogs', 'synagogue', 'synagogues', 'synapse', 'synapses', 'synaptic', 'synced', 'synched', 'synching', 'synchronization', 'synchronizations', 'synchronize', 'synchronized', 'synchronizes', 'synchronizing', 'synchronous', 'synchs', 'syncing', 'syncopate', 'syncopated', 'syncopates', 'syncopating', 'syncopation', 'syncopations', 'syncope', 'syncopes', 'syndicate', 'syndicated', 'syndicates', 'syndicating', 'syndication', 'syndications', 'syndrome', 'syndromes', 'synergies', 'synergism', 'synergisms', 'synergistic', 'synergy', 'synfuel', 'synfuels', 'synods', 'synonym', 'synonymies', 'synonymous', 'synonyms', 'synonymy', 'synopses', 'synopsis', 'synoptic', 'syntactic', 'syntactical', 'syntactically', 'syntax', 'syntaxes', 'syntheses', 'synthesis', 'synthesize', 'synthesized', 'synthesizer', 'synthesizers', 'synthesizes', 'synthesizing', 'synthetic', 'synthetically', 'synthetics', 'syphilis', 'syphilises', 'syphilitic', 'syphilitics', 'syphon', 'syphoned', 'syphoning', 'syphons', 'syringe', 'syringed', 'syringes', 'syringing', 'syrups', 'syrupy', 'system', 'systematic', 'systematical', 'systematically', 'systematization', 'systematizations', 'systematize', 'systematized', 'systematizes', 'systematizing', 'systemic', 'systemically', 'systemics', 'systems', 'systole', 'systoles', 'systolic', 'tabbed', 'tabbies', 'tabbing', 'tabbouleh', 'tabboulehs', 'tabernacle', 'tabernacles', 'tablas', 'tableau', 'tableaus', 'tableaux', 'tablecloth', 'tablecloths', 'tabled', 'tableland', 'tablelands', 'tables', 'tablespoon', 'tablespoonful', 'tablespoonfuls', 'tablespoons', 'tablespoonsful', 'tablet', 'tabletop', 'tabletops', 'tablets', 'tableware', 'tablewares', 'tabling', 'tabloid', 'tabloids', 'tabooed', 'tabooing', 'taboos', 'tabors', 'tabued', 'tabuing', 'tabular', 'tabulate', 'tabulated', 'tabulates', 'tabulating', 'tabulation', 'tabulations', 'tabulator', 'tabulators', 'tachometer', 'tachometers', 'tachycardia', 'tachycardias', 'tacitly', 'tacitness', 'tacitnesses', 'taciturn', 'taciturnities', 'taciturnity', 'taciturnly', 'tacked', 'tacker', 'tackers', 'tackier', 'tackiest', 'tackiness', 'tackinesses', 'tacking', 'tackle', 'tackled', 'tackler', 'tacklers', 'tackles', 'tackling', 'tactful', 'tactfully', 'tactfulness', 'tactfulnesses', 'tactic', 'tactical', 'tactically', 'tactician', 'tacticians', 'tactics', 'tactile', 'tactilities', 'tactility', 'tactless', 'tactlessly', 'tactlessness', 'tactlessnesses', 'tacts', 'tadpole', 'tadpoles', 'taffeta', 'taffetas', 'taffies', 'taffrail', 'taffrails', 'tagged', 'tagger', 'taggers', 'tagging', 'taigas', 'tailback', 'tailbacks', 'tailcoat', 'tailcoats', 'tailed', 'tailgate', 'tailgated', 'tailgater', 'tailgaters', 'tailgates', 'tailgating', 'tailing', 'tailless', 'taillight', 'taillights', 'tailor', 'tailored', 'tailoring', 'tailorings', 'tailors', 'tailpipe', 'tailpipes', 'tailspin', 'tailspins', 'tailwind', 'tailwinds', 'tainted', 'tainting', 'taints', 'takeoff', 'takeoffs', 'takeout', 'takeouts', 'takeover', 'takeovers', 'takers', 'taking', 'takings', 'talcs', 'talcum', 'talcums', 'talebearer', 'talebearers', 'talent', 'talented', 'talents', 'talisman', 'talismans', 'talkative', 'talkatively', 'talkativeness', 'talkativenesses', 'talked', 'talker', 'talkers', 'talkie', 'talkier', 'talkies', 'talkiest', 'talking', 'tallboy', 'tallboys', 'taller', 'tallest', 'tallied', 'tallier', 'talliers', 'tallies', 'tallish', 'tallness', 'tallnesses', 'tallow', 'tallows', 'tallowy', 'tallyho', 'tallyhoed', 'tallyhoing', 'tallyhos', 'tallying', 'talons', 'taluses', 'tamable', 'tamale', 'tamales', 'tamarack', 'tamaracks', 'tamarind', 'tamarinds', 'tambourine', 'tambourines', 'tameable', 'tamely', 'tameness', 'tamenesses', 'tamers', 'tamest', 'taming', 'tamped', 'tamper', 'tampered', 'tamperer', 'tamperers', 'tampering', 'tampers', 'tamping', 'tampon', 'tampons', 'tanager', 'tanagers', 'tanbark', 'tanbarks', 'tandem', 'tandems', 'tandoori', 'tandooris', 'tangelo', 'tangelos', 'tangent', 'tangential', 'tangentially', 'tangents', 'tangerine', 'tangerines', 'tangibilities', 'tangibility', 'tangible', 'tangibleness', 'tangiblenesses', 'tangibles', 'tangibly', 'tangier', 'tangiest', 'tangle', 'tangled', 'tangles', 'tangling', 'tangoed', 'tangoing', 'tangos', 'tankard', 'tankards', 'tanked', 'tanker', 'tankers', 'tankful', 'tankfuls', 'tanking', 'tanned', 'tanner', 'tanneries', 'tanners', 'tannery', 'tannest', 'tannin', 'tanning', 'tannings', 'tannins', 'tansies', 'tantalise', 'tantalised', 'tantalises', 'tantalising', 'tantalization', 'tantalizations', 'tantalize', 'tantalized', 'tantalizer', 'tantalizers', 'tantalizes', 'tantalizing', 'tantalizingly', 'tantalum', 'tantalums', 'tantamount', 'tantra', 'tantras', 'tantrum', 'tantrums', 'tapeline', 'tapelines', 'tapered', 'tapering', 'tapers', 'tapestries', 'tapestry', 'tapeworm', 'tapeworms', 'taping', 'tapioca', 'tapiocas', 'tapirs', 'tapped', 'tapper', 'tappers', 'tappet', 'tappets', 'tapping', 'taproom', 'taprooms', 'taproot', 'taproots', 'tarantella', 'tarantellas', 'tarantula', 'tarantulae', 'tarantulas', 'tardier', 'tardiest', 'tardily', 'tardiness', 'tardinesses', 'target', 'targeted', 'targeting', 'targets', 'tariff', 'tariffs', 'taring', 'tarmac', 'tarmacked', 'tarmacking', 'tarmacs', 'tarnish', 'tarnished', 'tarnishes', 'tarnishing', 'tarots', 'tarpaulin', 'tarpaulins', 'tarpon', 'tarpons', 'tarragon', 'tarragons', 'tarred', 'tarried', 'tarrier', 'tarries', 'tarriest', 'tarring', 'tarrying', 'tarsal', 'tarsals', 'tarsus', 'tartan', 'tartans', 'tartar', 'tartaric', 'tartars', 'tarter', 'tartest', 'tartly', 'tartness', 'tartnesses', 'taser!', 'tasered!', 'tasering!', 'tasers!', 'tasked', 'tasking', 'taskmaster', 'taskmasters', 'taskmistress', 'taskmistresses', 'tassel', 'tasseled', 'tasseling', 'tasselled', 'tasselling', 'tassels', 'tasted', 'tasteful', 'tastefully', 'tastefulness', 'tastefulnesses', 'tasteless', 'tastelessly', 'tastelessness', 'tastelessnesses', 'taster', 'tasters', 'tastes', 'tastier', 'tastiest', 'tastily', 'tastiness', 'tastinesses', 'tasting', 'tastings', 'tatami', 'tatamis', 'taters', 'tatted', 'tatter', 'tatterdemalion', 'tatterdemalions', 'tattered', 'tattering', 'tatters', 'tatting', 'tattings', 'tattle', 'tattled', 'tattler', 'tattlers', 'tattles', 'tattletale', 'tattletales', 'tattling', 'tattoo', 'tattooed', 'tattooer', 'tattooers', 'tattooing', 'tattooist', 'tattooists', 'tattoos', 'taught', 'taunted', 'taunter', 'taunters', 'taunting', 'tauntingly', 'taunts', 'taupes', 'tauten', 'tautened', 'tautening', 'tautens', 'tauter', 'tautest', 'tautly', 'tautness', 'tautnesses', 'tautological', 'tautologically', 'tautologies', 'tautologous', 'tautology', 'tavern', 'taverns', 'tawdrier', 'tawdriest', 'tawdrily', 'tawdriness', 'tawdrinesses', 'tawdry', 'tawnier', 'tawnies', 'tawniest', 'taxable', 'taxation', 'taxations', 'taxers', 'taxicab', 'taxicabs', 'taxidermies', 'taxidermist', 'taxidermists', 'taxidermy', 'taxied', 'taxies', 'taxiing', 'taximeter', 'taximeters', 'taxing', 'taxonomic', 'taxonomical', 'taxonomies', 'taxonomist', 'taxonomists', 'taxonomy', 'taxpayer', 'taxpayers', 'taxpaying', 'taxying', 'teacake', 'teacakes', 'teachable', 'teacher', 'teachers', 'teaches', 'teaching', 'teachings', 'teacup', 'teacupful', 'teacupfuls', 'teacups', 'teakettle', 'teakettles', 'tealight!', 'tealights!', 'teamed', 'teaming', 'teammate', 'teammates', 'teamster', 'teamsters', 'teamwork', 'teamworks', 'teapot', 'teapots', 'teardrop', 'teardrops', 'teared', 'tearful', 'tearfully', 'teargas', 'teargases', 'teargassed', 'teargasses', 'teargassing', 'tearier', 'teariest', 'tearing', 'tearjerker', 'tearjerkers', 'tearoom', 'tearooms', 'teased', 'teasel', 'teasels', 'teaser', 'teasers', 'teases', 'teasing', 'teaspoon', 'teaspoonful', 'teaspoonfuls', 'teaspoons', 'teaspoonsful', 'technetium', 'technetiums', 'technical', 'technicalities', 'technicality', 'technically', 'technician', 'technicians', 'technique', 'techniques', 'techno!', 'technocracies', 'technocracy', 'technocrat', 'technocratic', 'technocrats', 'technological', 'technologically', 'technologies', 'technologist', 'technologists', 'technology', 'technos!', 'tectonic', 'tectonics', 'tedious', 'tediously', 'tediousness', 'tediousnesses', 'tedium', 'tediums', 'teeing', 'teemed', 'teeming', 'teenage', 'teenaged', 'teenager', 'teenagers', 'teenier', 'teeniest', 'teensier', 'teensiest', 'teensy', 'teenybopper', 'teenyboppers', 'teepee', 'teepees', 'teeter', 'teetered', 'teetering', 'teeters', 'teethe', 'teethed', 'teethes', 'teething', 'teethings', 'teetotal', 'teetotaler', 'teetotalers', 'teetotalism', 'teetotalisms', 'teetotaller', 'teetotallers', 'tektite', 'tektites', 'telecast', 'telecasted', 'telecaster', 'telecasters', 'telecasting', 'telecasts', 'telecommunication', 'telecommunications', 'telecommute', 'telecommuted', 'telecommuter', 'telecommuters', 'telecommutes', 'telecommuting', 'telecommutings', 'teleconference', 'teleconferenced', 'teleconferences', 'teleconferencing', 'teleconferencings', 'telegenic', 'telegram', 'telegrams', 'telegraph', 'telegraphed', 'telegrapher', 'telegraphers', 'telegraphic', 'telegraphically', 'telegraphies', 'telegraphing', 'telegraphist', 'telegraphists', 'telegraphs', 'telegraphy', 'telekineses', 'telekinesis', 'telekinetic', 'telemarketer', 'telemarketers', 'telemarketing', 'telemarketings', 'telemeter', 'telemeters', 'telemetries', 'telemetry', 'telepathic', 'telepathically', 'telepathies', 'telepathy', 'telephone', 'telephoned', 'telephoner', 'telephoners', 'telephones', 'telephonic', 'telephonies', 'telephoning', 'telephony', 'telephoto', 'telephotographies', 'telephotography', 'telephotos', 'teleplay', 'teleplays', 'teleprinter', 'teleprinters', 'teleprocessing', 'teleprocessings', 'teleprompter', 'teleprompters', 'telescope', 'telescoped', 'telescopes', 'telescopic', 'telescopically', 'telescoping', 'teletext', 'teletexts', 'telethon', 'telethons', 'teletypewriter', 'teletypewriters', 'televangelism', 'televangelisms', 'televangelist', 'televangelists', 'televise', 'televised', 'televises', 'televising', 'television', 'televisions', 'telexed', 'telexes', 'telexing', 'teller', 'tellers', 'tellies', 'telling', 'tellingly', 'telltale', 'telltales', 'tellurium', 'telluriums', 'temblor', 'temblors', 'temerities', 'temerity', 'temped', 'temper', 'tempera', 'temperament', 'temperamental', 'temperamentally', 'temperaments', 'temperance', 'temperances', 'temperas', 'temperate', 'temperately', 'temperateness', 'temperatenesses', 'temperature', 'temperatures', 'tempered', 'tempering', 'tempers', 'tempest', 'tempests', 'tempestuous', 'tempestuously', 'tempestuousness', 'tempestuousnesses', 'temping', 'template', 'templates', 'temple', 'temples', 'temporal', 'temporally', 'temporaries', 'temporarily', 'temporariness', 'temporarinesses', 'temporary', 'temporize', 'temporized', 'temporizer', 'temporizers', 'temporizes', 'temporizing', 'tempos', 'temptation', 'temptations', 'tempted', 'tempter', 'tempters', 'tempting', 'temptingly', 'temptress', 'temptresses', 'tempts', 'tempura', 'tempuras', 'tenabilities', 'tenability', 'tenable', 'tenably', 'tenacious', 'tenaciously', 'tenaciousness', 'tenaciousnesses', 'tenacities', 'tenacity', 'tenancies', 'tenancy', 'tenant', 'tenanted', 'tenanting', 'tenantries', 'tenantry', 'tenants', 'tended', 'tendencies', 'tendency', 'tendentious', 'tendentiously', 'tendentiousness', 'tendentiousnesses', 'tender', 'tendered', 'tenderer', 'tenderest', 'tenderfeet', 'tenderfoot', 'tenderfoots', 'tenderhearted', 'tenderheartedness', 'tenderheartednesses', 'tendering', 'tenderize', 'tenderized', 'tenderizer', 'tenderizers', 'tenderizes', 'tenderizing', 'tenderloin', 'tenderloins', 'tenderly', 'tenderness', 'tendernesses', 'tenders', 'tending', 'tendinitis', 'tendinitises', 'tendon', 'tendonitis', 'tendonitises', 'tendons', 'tendril', 'tendrils', 'tenement', 'tenements', 'tenets', 'tenfold', 'tennis', 'tennises', 'tenoned', 'tenoning', 'tenons', 'tenors', 'tenpin', 'tenpins', 'tensed', 'tensely', 'tenseness', 'tensenesses', 'tenser', 'tenses', 'tensest', 'tensile', 'tensing', 'tension', 'tensions', 'tensities', 'tensity', 'tentacle', 'tentacled', 'tentacles', 'tentative', 'tentatively', 'tentativeness', 'tentativenesses', 'tented', 'tenterhook', 'tenterhooks', 'tenthly', 'tenths', 'tenting', 'tenuities', 'tenuity', 'tenuous', 'tenuously', 'tenuousness', 'tenuousnesses', 'tenure', 'tenured', 'tenures', 'tenuring', 'tepees', 'tepider', 'tepidest', 'tepidities', 'tepidity', 'tepidly', 'tepidness', 'tepidnesses', 'tequila', 'tequilas', 'terabyte', 'terabytes', 'terbium', 'terbiums', 'tercentenaries', 'tercentenary', 'tercentennial', 'tercentennials', 'termagant', 'termagants', 'termed', 'terminable', 'terminal', 'terminally', 'terminals', 'terminate', 'terminated', 'terminates', 'terminating', 'termination', 'terminations', 'terming', 'termini', 'terminological', 'terminologically', 'terminologies', 'terminology', 'terminus', 'terminuses', 'termite', 'termites', 'termly', 'ternaries', 'ternary', 'terrace', 'terraced', 'terraces', 'terracing', 'terracotta', 'terracottas', 'terrain', 'terrains', 'terrapin', 'terrapins', 'terraria', 'terrarium', 'terrariums', 'terrazzo', 'terrazzos', 'terrestrial', 'terrestrially', 'terrestrials', 'terrible', 'terribleness', 'terriblenesses', 'terribly', 'terrier', 'terriers', 'terries', 'terrific', 'terrifically', 'terrified', 'terrifies', 'terrify', 'terrifying', 'terrifyingly', 'territorial', 'territorials', 'territories', 'territory', 'terror', 'terrorism', 'terrorisms', 'terrorist', 'terrorists', 'terrorize', 'terrorized', 'terrorizes', 'terrorizing', 'terrors', 'terrycloth', 'terrycloths', 'tersely', 'terseness', 'tersenesses', 'terser', 'tersest', 'tertiary', 'tessellate', 'tessellated', 'tessellates', 'tessellating', 'tessellation', 'tessellations', 'testament', 'testamentary', 'testaments', 'testate', 'testator', 'testators', 'testatrices', 'testatrix', 'tested', 'tester', 'testers', 'testes', 'testicle', 'testicles', 'testier', 'testiest', 'testified', 'testifier', 'testifiers', 'testifies', 'testify', 'testifying', 'testily', 'testimonial', 'testimonials', 'testimonies', 'testimony', 'testiness', 'testinesses', 'testing', 'testis', 'testosterone', 'testosterones', 'tetanus', 'tetanuses', 'tetchier', 'tetchiest', 'tetchy', 'tether', 'tethered', 'tethering', 'tethers', 'tetracycline', 'tetracyclines', 'tetrahedra', 'tetrahedral', 'tetrahedron', 'tetrahedrons', 'tetrameter', 'tetrameters', 'tetras', 'textbook', 'textbooks', 'texted!', 'textile', 'textiles', 'texting!', 'textual', 'textually', 'textural', 'texture', 'textured', 'textures', 'texturing', 'thalami', 'thalamus', 'thalidomide', 'thalidomides', 'thallium', 'thalliums', 'thanes', 'thanked', 'thankful', 'thankfully', 'thankfulness', 'thankfulnesses', 'thanking', 'thankless', 'thanklessly', 'thanklessness', 'thanklessnesses', 'thanks', 'thanksgiving', 'thanksgivings', 'thatch', 'thatched', 'thatcher', 'thatchers', 'thatches', 'thatching', 'thatchings', 'thawed', 'thawing', 'theater', 'theatergoer', 'theatergoers', 'theaters', 'theatre', 'theatres', 'theatrical', 'theatricalities', 'theatricality', 'theatrically', 'theatricals', 'theatrics', 'thefts', 'theirs', 'theism', 'theisms', 'theist', 'theistic', 'theists', 'thematic', 'thematically', 'themes', 'themselves', 'thence', 'thenceforth', 'thenceforward', 'thens', 'theocracies', 'theocracy', 'theocratic', 'theologian', 'theologians', 'theological', 'theologically', 'theologies', 'theology', 'theorem', 'theorems', 'theoretic', 'theoretical', 'theoretically', 'theoretician', 'theoreticians', 'theories', 'theorist', 'theorists', 'theorize', 'theorized', 'theorizes', 'theorizing', 'theory', 'theosophic', 'theosophical', 'theosophies', 'theosophist', 'theosophists', 'theosophy', 'therapeutic', 'therapeutically', 'therapeutics', 'therapies', 'therapist', 'therapists', 'therapy', 'thereabout', 'thereabouts', 'thereafter', 'thereat', 'thereby', 'therefor', 'therefore', 'therein', 'thereof', 'thereon', 'theres', 'thereto', 'theretofore', 'thereunto', 'thereupon', 'therewith', 'thermal', 'thermally', 'thermals', 'thermodynamic', 'thermodynamics', 'thermometer', 'thermometers', 'thermometric', 'thermonuclear', 'thermoplastic', 'thermoplastics', 'thermos', 'thermoses', 'thermostat', 'thermostatic', 'thermostatically', 'thermostats', 'therms', 'thesauri', 'thesaurus', 'thesauruses', 'theses', 'thesis', 'thespian', 'thespians', 'thetas', 'thiamin', 'thiamine', 'thiamines', 'thiamins', 'thicken', 'thickened', 'thickener', 'thickeners', 'thickening', 'thickenings', 'thickens', 'thicker', 'thickest', 'thicket', 'thickets', 'thickheaded', 'thickly', 'thickness', 'thicknesses', 'thicks', 'thickset', 'thieve', 'thieved', 'thieveries', 'thievery', 'thieves', 'thieving', 'thievings', 'thievish', 'thighbone', 'thighbones', 'thighs', 'thimble', 'thimbleful', 'thimblefuls', 'thimbles', 'thingamabob', 'thingamabobs', 'thingamajig', 'thingamajigs', 'things', 'thinkable', 'thinker', 'thinkers', 'thinking', 'thinkings', 'thinks', 'thinly', 'thinned', 'thinner', 'thinners', 'thinness', 'thinnesses', 'thinnest', 'thinning', 'thirdly', 'thirds', 'thirst', 'thirsted', 'thirstier', 'thirstiest', 'thirstily', 'thirstiness', 'thirstinesses', 'thirsting', 'thirsts', 'thirsty', 'thirteen', 'thirteens', 'thirteenth', 'thirteenths', 'thirties', 'thirtieth', 'thirtieths', 'thirty', 'thistle', 'thistledown', 'thistledowns', 'thistles', 'thither', 'tholes', 'thongs', 'thoraces', 'thoracic', 'thorax', 'thoraxes', 'thorium', 'thoriums', 'thornier', 'thorniest', 'thorniness', 'thorninesses', 'thorns', 'thorny', 'thorough', 'thoroughbred', 'thoroughbreds', 'thorougher', 'thoroughest', 'thoroughfare', 'thoroughfares', 'thoroughgoing', 'thoroughly', 'thoroughness', 'thoroughnesses', 'though', 'thought', 'thoughtful', 'thoughtfully', 'thoughtfulness', 'thoughtfulnesses', 'thoughtless', 'thoughtlessly', 'thoughtlessness', 'thoughtlessnesses', 'thoughts', 'thousand', 'thousandfold', 'thousands', 'thousandth', 'thousandths', 'thraldom', 'thraldoms', 'thrall', 'thralldom', 'thralldoms', 'thralled', 'thralling', 'thralls', 'thrash', 'thrashed', 'thrasher', 'thrashers', 'thrashes', 'thrashing', 'thrashings', 'thread', 'threadbare', 'threaded', 'threader', 'threaders', 'threadier', 'threadiest', 'threading', 'threadlike', 'threads', 'thready', 'threat', 'threaten', 'threatened', 'threatening', 'threateningly', 'threatens', 'threats', 'threefold', 'threepence', 'threepences', 'threes', 'threescore', 'threescores', 'threesome', 'threesomes', 'threnodies', 'threnody', 'thresh', 'threshed', 'thresher', 'threshers', 'threshes', 'threshing', 'threshold', 'thresholds', 'thrice', 'thrift', 'thriftier', 'thriftiest', 'thriftily', 'thriftiness', 'thriftinesses', 'thriftless', 'thrifts', 'thrifty', 'thrill', 'thrilled', 'thriller', 'thrillers', 'thrilling', 'thrillingly', 'thrills', 'thrive', 'thrived', 'thriven', 'thrives', 'thriving', 'throat', 'throatier', 'throatiest', 'throatily', 'throatiness', 'throatinesses', 'throats', 'throaty', 'throbbed', 'throbbing', 'throbs', 'throes', 'thrombi', 'thromboses', 'thrombosis', 'thrombotic', 'thrombus', 'throne', 'thrones', 'throng', 'thronged', 'thronging', 'throngs', 'throttle', 'throttled', 'throttler', 'throttlers', 'throttles', 'throttling', 'through', 'throughout', 'throughput', 'throughputs', 'throughway', 'throughways', 'throve', 'throwaway', 'throwaways', 'throwback', 'throwbacks', 'thrower', 'throwers', 'throwing', 'thrown', 'throws', 'thrummed', 'thrumming', 'thrums', 'thrush', 'thrushes', 'thrust', 'thrusting', 'thrusts', 'thruway', 'thruways', 'thudded', 'thudding', 'thuggeries', 'thuggery', 'thuggish', 'thulium', 'thuliums', 'thumbed', 'thumbing', 'thumbnail', 'thumbnails', 'thumbprint', 'thumbprints', 'thumbs', 'thumbscrew', 'thumbscrews', 'thumbtack', 'thumbtacks', 'thumped', 'thumping', 'thumpings', 'thumps', 'thunder', 'thunderbolt', 'thunderbolts', 'thunderclap', 'thunderclaps', 'thundercloud', 'thunderclouds', 'thundered', 'thunderer', 'thunderers', 'thunderhead', 'thunderheads', 'thundering', 'thunderous', 'thunderously', 'thunders', 'thundershower', 'thundershowers', 'thunderstorm', 'thunderstorms', 'thunderstricken', 'thunderstruck', 'thwack', 'thwacked', 'thwacker', 'thwackers', 'thwacking', 'thwacks', 'thwart', 'thwarted', 'thwarting', 'thwarts', 'thymes', 'thymine', 'thymines', 'thymus', 'thymuses', 'thyroid', 'thyroidal', 'thyroids', 'thyself', 'tiaras', 'tibiae', 'tibial', 'tibias', 'ticked', 'ticker', 'tickers', 'ticket', 'ticketed', 'ticketing', 'tickets', 'ticking', 'tickings', 'tickle', 'tickled', 'tickler', 'ticklers', 'tickles', 'tickling', 'ticklish', 'ticklishly', 'ticklishness', 'ticklishnesses', 'ticktacktoe', 'ticktacktoes', 'ticktock', 'ticktocks', 'tidally', 'tidbit', 'tidbits', 'tiddlywinks', 'tideland', 'tidelands', 'tidewater', 'tidewaters', 'tideway', 'tideways', 'tidied', 'tidier', 'tidies', 'tidiest', 'tidily', 'tidiness', 'tidinesses', 'tiding', 'tidings', 'tidying', 'tieback', 'tiebacks', 'tiebreaker', 'tiebreakers', 'tieing', 'tiered', 'tiffed', 'tiffing', 'tigerish', 'tigers', 'tighten', 'tightened', 'tightener', 'tighteners', 'tightening', 'tightens', 'tighter', 'tightest', 'tightfisted', 'tightly', 'tightness', 'tightnesses', 'tightrope', 'tightropes', 'tights', 'tightwad', 'tightwads', 'tigress', 'tigresses', 'tildes', 'tilers', 'tiling', 'tilings', 'tillable', 'tillage', 'tillages', 'tilled', 'tiller', 'tillers', 'tilling', 'tilted', 'tilting', 'timber', 'timbered', 'timbering', 'timberland', 'timberlands', 'timberline', 'timberlines', 'timbers', 'timbre', 'timbrel', 'timbrels', 'timbres', 'timekeeper', 'timekeepers', 'timekeeping', 'timekeepings', 'timeless', 'timelessly', 'timelessness', 'timelessnesses', 'timelier', 'timeliest', 'timeliness', 'timelinesses', 'timely', 'timeout', 'timeouts', 'timepiece', 'timepieces', 'timers', 'timeserver', 'timeservers', 'timeserving', 'timeservings', 'timetable', 'timetabled', 'timetables', 'timetabling', 'timeworn', 'timider', 'timidest', 'timidities', 'timidity', 'timidly', 'timidness', 'timidnesses', 'timing', 'timings', 'timorous', 'timorously', 'timorousness', 'timorousnesses', 'timothies', 'timothy', 'timpani', 'timpanist', 'timpanists', 'tincture', 'tinctured', 'tinctures', 'tincturing', 'tinder', 'tinderbox', 'tinderboxes', 'tinders', 'tinfoil', 'tinfoils', 'tinged', 'tingeing', 'tinges', 'tinging', 'tingle', 'tingled', 'tingles', 'tinglier', 'tingliest', 'tingling', 'tinglings', 'tingly', 'tinier', 'tiniest', 'tininess', 'tininesses', 'tinker', 'tinkered', 'tinkerer', 'tinkerers', 'tinkering', 'tinkers', 'tinkle', 'tinkled', 'tinkles', 'tinkling', 'tinned', 'tinnier', 'tinniest', 'tinniness', 'tinninesses', 'tinning', 'tinnitus', 'tinnituses', 'tinplate', 'tinplates', 'tinsel', 'tinseled', 'tinseling', 'tinselled', 'tinselling', 'tinsels', 'tinsmith', 'tinsmiths', 'tinted', 'tinting', 'tintinnabulation', 'tintinnabulations', 'tintype', 'tintypes', 'tinware', 'tinwares', 'tipped', 'tipper', 'tippers', 'tippet', 'tippets', 'tipping', 'tipple', 'tippled', 'tippler', 'tipplers', 'tipples', 'tippling', 'tipsier', 'tipsiest', 'tipsily', 'tipsiness', 'tipsinesses', 'tipster', 'tipsters', 'tiptoe', 'tiptoed', 'tiptoeing', 'tiptoes', 'tiptop', 'tiptops', 'tirade', 'tirades', 'tireder', 'tiredest', 'tiredly', 'tiredness', 'tirednesses', 'tireless', 'tirelessly', 'tirelessness', 'tirelessnesses', 'tiresome', 'tiresomely', 'tiresomeness', 'tiresomenesses', 'tiring', 'tissue', 'tissues', 'titanic', 'titanium', 'titaniums', 'titans', 'titbit', 'titbits', 'tithed', 'tither', 'tithers', 'tithes', 'tithing', 'titian', 'titians', 'titillate', 'titillated', 'titillates', 'titillating', 'titillatingly', 'titillation', 'titillations', 'titivate', 'titivated', 'titivates', 'titivating', 'titivation', 'titivations', 'titled', 'titleholder', 'titleholders', 'titles', 'titling', 'titlist', 'titlists', 'titmice', 'titmouse', 'titter', 'tittered', 'tittering', 'titters', 'tittivate', 'tittivated', 'tittivates', 'tittivating', 'tittle', 'tittles', 'titular', 'tizzies', 'toadied', 'toadies', 'toadstool', 'toadstools', 'toadying', 'toadyism', 'toadyisms', 'toasted', 'toaster', 'toasters', 'toastier', 'toastiest', 'toasting', 'toastmaster', 'toastmasters', 'toastmistress', 'toastmistresses', 'toasts', 'toasty', 'tobacco', 'tobaccoes', 'tobacconist', 'tobacconists', 'tobaccos', 'toboggan', 'tobogganed', 'tobogganer', 'tobogganers', 'tobogganing', 'tobogganings', 'toboggans', 'tocsin', 'tocsins', 'todays', 'toddies', 'toddle', 'toddled', 'toddler', 'toddlers', 'toddles', 'toddling', 'toecap', 'toecaps', 'toehold', 'toeholds', 'toeing', 'toenail', 'toenails', 'toffee', 'toffees', 'toffies', 'tofus', 'togaed', 'together', 'togetherness', 'togethernesses', 'togged', 'togging', 'toggle', 'toggled', 'toggles', 'toggling', 'toiled', 'toiler', 'toilers', 'toilet', 'toileted', 'toileting', 'toiletries', 'toiletry', 'toilets', 'toilette', 'toilettes', 'toiling', 'toilsome', 'tokenism', 'tokenisms', 'tokens', 'toking', 'tolerable', 'tolerably', 'tolerance', 'tolerances', 'tolerant', 'tolerantly', 'tolerate', 'tolerated', 'tolerates', 'tolerating', 'toleration', 'tolerations', 'toles', 'tollbooth', 'tollbooths', 'tolled', 'tollgate', 'tollgates', 'tolling', 'tollway', 'tollways', 'toluene', 'toluenes', 'tomahawk', 'tomahawked', 'tomahawking', 'tomahawks', 'tomato', 'tomatoes', 'tombed', 'tombing', 'tomboy', 'tomboyish', 'tomboys', 'tombstone', 'tombstones', 'tomcat', 'tomcats', 'tomfooleries', 'tomfoolery', 'tomographic', 'tomographies', 'tomography', 'tomorrow', 'tomorrows', 'tomtit', 'tomtits', 'tonalities', 'tonality', 'tonally', 'tonearm', 'tonearms', 'toneless', 'tonelessly', 'toners', 'tonged', 'tonging', 'tongue', 'tongued', 'tongueless', 'tongues', 'tonguing', 'tonics', 'tonier', 'toniest', 'tonight', 'tonights', 'toning', 'tonnage', 'tonnages', 'tonnes', 'tonsil', 'tonsillectomies', 'tonsillectomy', 'tonsillitis', 'tonsillitises', 'tonsils', 'tonsorial', 'tonsure', 'tonsured', 'tonsures', 'tonsuring', 'toolbox', 'toolboxes', 'tooled', 'tooling', 'toolmaker', 'toolmakers', 'tooted', 'tooter', 'tooters', 'toothache', 'toothaches', 'toothbrush', 'toothbrushes', 'toothed', 'toothier', 'toothiest', 'toothily', 'toothless', 'toothpaste', 'toothpastes', 'toothpick', 'toothpicks', 'toothsome', 'toothy', 'tooting', 'tootle', 'tootled', 'tootles', 'tootling', 'topazes', 'topcoat', 'topcoats', 'topdressing', 'topdressings', 'topflight', 'topiaries', 'topiary', 'topical', 'topicalities', 'topicality', 'topically', 'topics', 'topknot', 'topknots', 'topless', 'topmast', 'topmasts', 'topmost', 'topnotch', 'topographer', 'topographers', 'topographic', 'topographical', 'topographically', 'topographies', 'topography', 'topped', 'topper', 'toppers', 'topping', 'toppings', 'topple', 'toppled', 'topples', 'toppling', 'topsail', 'topsails', 'topside', 'topsides', 'topsoil', 'topsoils', 'topspin', 'topspins', 'toques', 'torahs', 'torchbearer', 'torchbearers', 'torched', 'torches', 'torching', 'torchlight', 'torchlights', 'toreador', 'toreadors', 'torment', 'tormented', 'tormenter', 'tormenters', 'tormenting', 'tormentingly', 'tormentor', 'tormentors', 'torments', 'tornado', 'tornadoes', 'tornados', 'torpedo', 'torpedoed', 'torpedoes', 'torpedoing', 'torpid', 'torpidities', 'torpidity', 'torpidly', 'torpor', 'torpors', 'torque', 'torqued', 'torques', 'torquing', 'torrent', 'torrential', 'torrents', 'torrid', 'torridities', 'torridity', 'torridly', 'torridness', 'torridnesses', 'torsion', 'torsional', 'torsions', 'torsos', 'tortellini', 'tortellinis', 'tortes', 'tortilla', 'tortillas', 'tortoise', 'tortoises', 'tortoiseshell', 'tortoiseshells', 'tortoni', 'tortonis', 'tortuous', 'tortuously', 'tortuousness', 'tortuousnesses', 'torture', 'tortured', 'torturer', 'torturers', 'tortures', 'torturing', 'torturous', 'tossed', 'tosses', 'tossing', 'tossup', 'tossups', 'totaled', 'totaling', 'totalisator', 'totalisators', 'totalitarian', 'totalitarianism', 'totalitarianisms', 'totalitarians', 'totalities', 'totality', 'totalizator', 'totalizators', 'totalled', 'totalling', 'totally', 'totals', 'totemic', 'totems', 'toting', 'totted', 'totter', 'tottered', 'totterer', 'totterers', 'tottering', 'totters', 'totting', 'toucan', 'toucans', 'touchable', 'touchdown', 'touchdowns', 'touche', 'touched', 'touches', 'touchier', 'touchiest', 'touchily', 'touchiness', 'touchinesses', 'touching', 'touchingly', 'touchscreen', 'touchscreens', 'touchstone', 'touchstones', 'touchy', 'toughen', 'toughened', 'toughener', 'tougheners', 'toughening', 'toughens', 'tougher', 'toughest', 'toughie', 'toughies', 'toughly', 'toughness', 'toughnesses', 'toughs', 'toupee', 'toupees', 'toured', 'touring', 'tourism', 'tourisms', 'tourist', 'tourists', 'tourmaline', 'tourmalines', 'tournament', 'tournaments', 'tourney', 'tourneys', 'tourniquet', 'tourniquets', 'tousle', 'tousled', 'tousles', 'tousling', 'touted', 'touting', 'toward', 'towards', 'towboat', 'towboats', 'toweled', 'towelette', 'towelettes', 'toweling', 'towelings', 'towelled', 'towelling', 'towellings', 'towels', 'towered', 'towering', 'towers', 'towhead', 'towheaded', 'towheads', 'towhee', 'towhees', 'towing', 'towline', 'towlines', 'townhouse', 'townhouses', 'townie', 'townies', 'townsfolk', 'township', 'townships', 'townsman', 'townsmen', 'townspeople', 'townswoman', 'townswomen', 'towpath', 'towpaths', 'towrope', 'towropes', 'toxemia', 'toxemias', 'toxicities', 'toxicity', 'toxicological', 'toxicologies', 'toxicologist', 'toxicologists', 'toxicology', 'toxins', 'toying', 'traceable', 'traced', 'tracer', 'traceries', 'tracers', 'tracery', 'traces', 'trachea', 'tracheae', 'tracheal', 'tracheas', 'tracheotomies', 'tracheotomy', 'tracing', 'tracings', 'trackball', 'trackballs', 'tracked', 'tracker', 'trackers', 'tracking', 'trackless', 'tracks', 'tractabilities', 'tractability', 'tractable', 'tractably', 'traction', 'tractions', 'tractor', 'tractors', 'tracts', 'traded', 'trademark', 'trademarked', 'trademarking', 'trademarks', 'tradeoff', 'tradeoffs', 'trader', 'traders', 'trades', 'tradesman', 'tradesmen', 'tradespeople', 'tradeswoman', 'tradeswomen', 'trading', 'tradings', 'tradition', 'traditional', 'traditionalism', 'traditionalisms', 'traditionalist', 'traditionalists', 'traditionally', 'traditions', 'traduce', 'traduced', 'traducer', 'traducers', 'traduces', 'traducing', 'traffic', 'trafficked', 'trafficker', 'traffickers', 'trafficking', 'traffickings', 'traffics', 'tragedian', 'tragedians', 'tragedienne', 'tragediennes', 'tragedies', 'tragedy', 'tragic', 'tragically', 'tragicomedies', 'tragicomedy', 'tragicomic', 'trailblazer', 'trailblazers', 'trailblazing', 'trailblazings', 'trailed', 'trailer', 'trailers', 'trailing', 'trails', 'trainable', 'trained', 'trainee', 'trainees', 'trainer', 'trainers', 'training', 'trainings', 'trainload', 'trainloads', 'trainman', 'trainmen', 'trains', 'traipse', 'traipsed', 'traipses', 'traipsing', 'traitor', 'traitorous', 'traitorously', 'traitors', 'traits', 'trajectories', 'trajectory', 'trammed', 'trammel', 'trammeled', 'trammeling', 'trammelled', 'trammelling', 'trammels', 'tramming', 'tramped', 'tramper', 'trampers', 'tramping', 'trample', 'trampled', 'trampler', 'tramplers', 'tramples', 'trampling', 'trampoline', 'trampolined', 'trampolines', 'trampolining', 'tramps', 'trance', 'trances', 'tranquil', 'tranquiler', 'tranquilest', 'tranquilities', 'tranquility', 'tranquilize', 'tranquilized', 'tranquilizer', 'tranquilizers', 'tranquilizes', 'tranquilizing', 'tranquiller', 'tranquillest', 'tranquillities', 'tranquillity', 'tranquillize', 'tranquillized', 'tranquillizer', 'tranquillizers', 'tranquillizes', 'tranquillizing', 'tranquilly', 'transact', 'transacted', 'transacting', 'transaction', 'transactions', 'transactor', 'transactors', 'transacts', 'transatlantic', 'transceiver', 'transceivers', 'transcend', 'transcended', 'transcendence', 'transcendences', 'transcendent', 'transcendental', 'transcendentalism', 'transcendentalisms', 'transcendentalist', 'transcendentalists', 'transcendentally', 'transcending', 'transcends', 'transcontinental', 'transcribe', 'transcribed', 'transcriber', 'transcribers', 'transcribes', 'transcribing', 'transcript', 'transcription', 'transcriptions', 'transcripts', 'transducer', 'transducers', 'transect', 'transected', 'transecting', 'transects', 'transept', 'transepts', 'transfer', 'transferable', 'transferal', 'transferals', 'transference', 'transferences', 'transferred', 'transferring', 'transfers', 'transfiguration', 'transfigurations', 'transfigure', 'transfigured', 'transfigures', 'transfiguring', 'transfix', 'transfixed', 'transfixes', 'transfixing', 'transfixt', 'transform', 'transformable', 'transformation', 'transformations', 'transformed', 'transformer', 'transformers', 'transforming', 'transforms', 'transfuse', 'transfused', 'transfuses', 'transfusing', 'transfusion', 'transfusions', 'transgender', 'transgendered', 'transgenders', 'transgress', 'transgressed', 'transgresses', 'transgressing', 'transgression', 'transgressions', 'transgressor', 'transgressors', 'transience', 'transiences', 'transiencies', 'transiency', 'transient', 'transiently', 'transients', 'transistor', 'transistorize', 'transistorized', 'transistorizes', 'transistorizing', 'transistors', 'transit', 'transited', 'transiting', 'transition', 'transitional', 'transitionally', 'transitioned', 'transitioning', 'transitions', 'transitive', 'transitively', 'transitiveness', 'transitivenesses', 'transitives', 'transitivities', 'transitivity', 'transitory', 'transits', 'translatable', 'translate', 'translated', 'translates', 'translating', 'translation', 'translations', 'translator', 'translators', 'transliterate', 'transliterated', 'transliterates', 'transliterating', 'transliteration', 'transliterations', 'translucence', 'translucences', 'translucencies', 'translucency', 'translucent', 'translucently', 'transmigrate', 'transmigrated', 'transmigrates', 'transmigrating', 'transmigration', 'transmigrations', 'transmissible', 'transmission', 'transmissions', 'transmit', 'transmits', 'transmittable', 'transmittal', 'transmittals', 'transmittance', 'transmittances', 'transmitted', 'transmitter', 'transmitters', 'transmitting', 'transmogrification', 'transmogrifications', 'transmogrified', 'transmogrifies', 'transmogrify', 'transmogrifying', 'transmutable', 'transmutation', 'transmutations', 'transmute', 'transmuted', 'transmutes', 'transmuting', 'transnational', 'transnationals', 'transoceanic', 'transom', 'transoms', 'transpacific', 'transparencies', 'transparency', 'transparent', 'transparently', 'transpiration', 'transpirations', 'transpire', 'transpired', 'transpires', 'transpiring', 'transplant', 'transplantation', 'transplantations', 'transplanted', 'transplanting', 'transplants', 'transpolar', 'transponder', 'transponders', 'transport', 'transportable', 'transportation', 'transportations', 'transported', 'transporter', 'transporters', 'transporting', 'transports', 'transpose', 'transposed', 'transposes', 'transposing', 'transposition', 'transpositions', 'transsexual', 'transsexualism', 'transsexualisms', 'transsexuals', 'transship', 'transshipment', 'transshipments', 'transshipped', 'transshipping', 'transships', 'transubstantiation', 'transubstantiations', 'transverse', 'transversely', 'transverses', 'transvestism', 'transvestisms', 'transvestite', 'transvestites', 'trapdoor', 'trapdoors', 'trapeze', 'trapezes', 'trapezia', 'trapezium', 'trapeziums', 'trapezoid', 'trapezoidal', 'trapezoids', 'trapped', 'trapper', 'trappers', 'trapping', 'trappings', 'trapshooting', 'trapshootings', 'trashed', 'trashes', 'trashier', 'trashiest', 'trashiness', 'trashinesses', 'trashing', 'trashy', 'trauma', 'traumas', 'traumata', 'traumatic', 'traumatically', 'traumatize', 'traumatized', 'traumatizes', 'traumatizing', 'travail', 'travailed', 'travailing', 'travails', 'travel', 'traveled', 'traveler', 'travelers', 'traveling', 'travelings', 'travelled', 'traveller', 'travellers', 'travelling', 'travelog', 'travelogs', 'travelogue', 'travelogues', 'travels', 'traversal', 'traversals', 'traverse', 'traversed', 'traverses', 'traversing', 'travestied', 'travesties', 'travesty', 'travestying', 'trawled', 'trawler', 'trawlers', 'trawling', 'trawls', 'treacheries', 'treacherous', 'treacherously', 'treacherousness', 'treacherousnesses', 'treachery', 'treacle', 'treacles', 'treacly', 'treading', 'treadle', 'treadled', 'treadles', 'treadling', 'treadmill', 'treadmills', 'treads', 'treason', 'treasonable', 'treasonous', 'treasons', 'treasure', 'treasured', 'treasurer', 'treasurers', 'treasures', 'treasuries', 'treasuring', 'treasury', 'treatable', 'treated', 'treaties', 'treating', 'treatise', 'treatises', 'treatment', 'treatments', 'treats', 'treaty', 'treble', 'trebled', 'trebles', 'trebling', 'treeing', 'treeless', 'treelike', 'treetop', 'treetops', 'trefoil', 'trefoils', 'trekked', 'trekker', 'trekkers', 'trekking', 'trellis', 'trellised', 'trellises', 'trellising', 'trematode', 'trematodes', 'tremble', 'trembled', 'trembles', 'trembling', 'tremendous', 'tremendously', 'tremolo', 'tremolos', 'tremor', 'tremors', 'tremulous', 'tremulously', 'tremulousness', 'tremulousnesses', 'trench', 'trenchancies', 'trenchancy', 'trenchant', 'trenchantly', 'trenched', 'trencher', 'trencherman', 'trenchermen', 'trenchers', 'trenches', 'trenching', 'trended', 'trendier', 'trendies', 'trendiest', 'trendily', 'trendiness', 'trendinesses', 'trending', 'trends', 'trendy', 'trepidation', 'trepidations', 'trespass', 'trespassed', 'trespasser', 'trespassers', 'trespasses', 'trespassing', 'tresses', 'trestle', 'trestles', 'triads', 'triage', 'triages', 'trialled', 'trialling', 'trials', 'triangle', 'triangles', 'triangular', 'triangularly', 'triangulate', 'triangulated', 'triangulates', 'triangulating', 'triangulation', 'triangulations', 'triathlon', 'triathlons', 'tribal', 'tribalism', 'tribalisms', 'tribes', 'tribesman', 'tribesmen', 'tribeswoman', 'tribeswomen', 'tribulation', 'tribulations', 'tribunal', 'tribunals', 'tribune', 'tribunes', 'tributaries', 'tributary', 'tribute', 'tributes', 'tricentennial', 'tricentennials', 'triceps', 'tricepses', 'triceratops', 'triceratopses', 'trices', 'trichina', 'trichinae', 'trichinas', 'trichinoses', 'trichinosis', 'tricked', 'trickeries', 'trickery', 'trickier', 'trickiest', 'trickily', 'trickiness', 'trickinesses', 'tricking', 'trickle', 'trickled', 'trickles', 'trickling', 'tricks', 'trickster', 'tricksters', 'tricky', 'tricolor', 'tricolors', 'tricolour', 'tricolours', 'tricycle', 'tricycles', 'trident', 'tridents', 'triennial', 'triennially', 'triennials', 'triers', 'trifecta!', 'trifectas!', 'trifle', 'trifled', 'trifler', 'triflers', 'trifles', 'trifling', 'trifocals', 'trigger', 'triggered', 'triggering', 'triggers', 'triglyceride', 'triglycerides', 'trigonometric', 'trigonometrical', 'trigonometries', 'trigonometry', 'trigs', 'trikes', 'trilateral', 'trilbies', 'trilby', 'trilled', 'trilling', 'trillion', 'trillions', 'trillionth', 'trillionths', 'trillium', 'trilliums', 'trills', 'trilobite', 'trilobites', 'trilogies', 'trilogy', 'trimaran', 'trimarans', 'trimester', 'trimesters', 'trimly', 'trimmed', 'trimmer', 'trimmers', 'trimmest', 'trimming', 'trimmings', 'trimness', 'trimnesses', 'trimonthly', 'trinities', 'trinitrotoluene', 'trinitrotoluenes', 'trinity', 'trinket', 'trinkets', 'tripartite', 'tripes', 'triple', 'tripled', 'triples', 'triplet', 'triplets', 'triplex', 'triplexes', 'triplicate', 'triplicated', 'triplicates', 'triplicating', 'tripling', 'triply', 'tripod', 'tripodal', 'tripods', 'tripped', 'tripper', 'trippers', 'tripping', 'triptych', 'triptychs', 'trireme', 'triremes', 'trisect', 'trisected', 'trisecting', 'trisection', 'trisections', 'trisects', 'tritely', 'triteness', 'tritenesses', 'triter', 'tritest', 'tritium', 'tritiums', 'triumph', 'triumphal', 'triumphant', 'triumphantly', 'triumphed', 'triumphing', 'triumphs', 'triumvir', 'triumvirate', 'triumvirates', 'triumvirs', 'trivalent', 'trivet', 'trivets', 'trivia', 'trivial', 'trivialities', 'triviality', 'trivialization', 'trivializations', 'trivialize', 'trivialized', 'trivializes', 'trivializing', 'trivially', 'trivium', 'trochaic', 'trochee', 'trochees', 'trodden', 'troglodyte', 'troglodytes', 'troika', 'troikas', 'trolled', 'trolley', 'trolleybus', 'trolleybuses', 'trolleybusses', 'trolleys', 'trollies', 'trolling', 'trollop', 'trollops', 'trolls', 'trolly', 'trombone', 'trombones', 'trombonist', 'trombonists', 'tromped', 'tromping', 'tromps', 'trooped', 'trooper', 'troopers', 'trooping', 'troops', 'troopship', 'troopships', 'tropes', 'trophies', 'trophy', 'tropic', 'tropical', 'tropically', 'tropics', 'tropism', 'tropisms', 'troposphere', 'tropospheres', 'troths', 'trotted', 'trotter', 'trotters', 'trotting', 'troubadour', 'troubadours', 'trouble', 'troubled', 'troublemaker', 'troublemakers', 'troubles', 'troubleshoot', 'troubleshooted', 'troubleshooter', 'troubleshooters', 'troubleshooting', 'troubleshootings', 'troubleshoots', 'troubleshot', 'troublesome', 'troublesomely', 'troubling', 'trough', 'troughs', 'trounce', 'trounced', 'trouncer', 'trouncers', 'trounces', 'trouncing', 'troupe', 'trouped', 'trouper', 'troupers', 'troupes', 'trouping', 'trouser', 'trousers', 'trousseau', 'trousseaus', 'trousseaux', 'trouts', 'troves', 'trowed', 'trowel', 'troweled', 'troweling', 'trowelled', 'trowelling', 'trowels', 'trowing', 'truancies', 'truancy', 'truant', 'truanted', 'truanting', 'truants', 'truces', 'trucked', 'trucker', 'truckers', 'trucking', 'truckings', 'truckle', 'truckled', 'truckles', 'truckling', 'truckload', 'truckloads', 'trucks', 'truculence', 'truculences', 'truculent', 'truculently', 'trudge', 'trudged', 'trudges', 'trudging', 'trueing', 'truelove', 'trueloves', 'truest', 'truffle', 'truffles', 'truing', 'truism', 'truisms', 'trumped', 'trumperies', 'trumpery', 'trumpet', 'trumpeted', 'trumpeter', 'trumpeters', 'trumpeting', 'trumpets', 'trumping', 'trumps', 'truncate', 'truncated', 'truncates', 'truncating', 'truncation', 'truncations', 'truncheon', 'truncheons', 'trundle', 'trundled', 'trundler', 'trundlers', 'trundles', 'trundling', 'trunks', 'trussed', 'trusses', 'trussing', 'trusted', 'trustee', 'trustees', 'trusteeship', 'trusteeships', 'trustful', 'trustfully', 'trustfulness', 'trustfulnesses', 'trustier', 'trusties', 'trustiest', 'trusting', 'trustingly', 'trusts', 'trustworthier', 'trustworthiest', 'trustworthiness', 'trustworthinesses', 'trustworthy', 'trusty', 'truther!', 'truthers!', 'truthful', 'truthfully', 'truthfulness', 'truthfulnesses', 'truthiness!', 'truthinesses!', 'truths', 'trying', 'tryingly', 'tryout', 'tryouts', 'trysted', 'trysting', 'trysts', 'tsarina', 'tsarinas', 'tsetse', 'tsetses', 'tsunami', 'tsunamis', 'tubbier', 'tubbiest', 'tubeless', 'tubercle', 'tubercles', 'tubercular', 'tuberculin', 'tuberculins', 'tuberculoses', 'tuberculosis', 'tuberculous', 'tuberose', 'tuberoses', 'tuberous', 'tubers', 'tubful', 'tubfuls', 'tubing', 'tubings', 'tubular', 'tubule', 'tubules', 'tucked', 'tucker', 'tuckered', 'tuckering', 'tuckers', 'tucking', 'tufted', 'tufter', 'tufters', 'tufting', 'tugboat', 'tugboats', 'tugged', 'tugging', 'tuition', 'tuitions', 'tularemia', 'tularemias', 'tulips', 'tulles', 'tumble', 'tumbled', 'tumbledown', 'tumbler', 'tumblers', 'tumbles', 'tumbleweed', 'tumbleweeds', 'tumbling', 'tumblings', 'tumbrel', 'tumbrels', 'tumbril', 'tumbrils', 'tumescence', 'tumescences', 'tumescent', 'tumidities', 'tumidity', 'tummies', 'tumorous', 'tumors', 'tumour', 'tumours', 'tumult', 'tumults', 'tumultuous', 'tumultuously', 'tundra', 'tundras', 'tuneful', 'tunefully', 'tunefulness', 'tunefulnesses', 'tuneless', 'tunelessly', 'tuners', 'tuneup', 'tuneups', 'tungsten', 'tungstens', 'tunics', 'tuning', 'tunnel', 'tunneled', 'tunneler', 'tunnelers', 'tunneling', 'tunnelled', 'tunneller', 'tunnellers', 'tunnelling', 'tunnels', 'tunnies', 'tuques', 'turban', 'turbans', 'turbid', 'turbidities', 'turbidity', 'turbine', 'turbines', 'turbocharge', 'turbocharged', 'turbocharger', 'turbochargers', 'turbocharges', 'turbocharging', 'turbofan', 'turbofans', 'turbojet', 'turbojets', 'turboprop', 'turboprops', 'turbos', 'turbot', 'turbots', 'turbulence', 'turbulences', 'turbulent', 'turbulently', 'turducken!', 'turduckens!', 'tureen', 'tureens', 'turfed', 'turfing', 'turgid', 'turgidities', 'turgidity', 'turgidly', 'turkey', 'turkeys', 'turmeric', 'turmerics', 'turmoil', 'turmoils', 'turnabout', 'turnabouts', 'turnaround', 'turnarounds', 'turnbuckle', 'turnbuckles', 'turncoat', 'turncoats', 'turned', 'turner', 'turners', 'turning', 'turnings', 'turnip', 'turnips', 'turnkey', 'turnkeys', 'turnoff', 'turnoffs', 'turnout', 'turnouts', 'turnover', 'turnovers', 'turnpike', 'turnpikes', 'turnstile', 'turnstiles', 'turntable', 'turntables', 'turpentine', 'turpentines', 'turpitude', 'turpitudes', 'turquoise', 'turquoises', 'turret', 'turreted', 'turrets', 'turtle', 'turtledove', 'turtledoves', 'turtleneck', 'turtlenecked', 'turtlenecks', 'turtles', 'turves', 'tushes', 'tusked', 'tussle', 'tussled', 'tussles', 'tussling', 'tussock', 'tussocks', 'tussocky', 'tutelage', 'tutelages', 'tutelary', 'tutored', 'tutorial', 'tutorials', 'tutoring', 'tutors', 'tutorship', 'tutorships', 'tutted', 'tutting', 'tuttis', 'tuxedo', 'tuxedoes', 'tuxedos', 'twaddle', 'twaddled', 'twaddler', 'twaddlers', 'twaddles', 'twaddling', 'twains', 'twanged', 'twangier', 'twangiest', 'twanging', 'twangs', 'twangy', 'tweaked', 'tweaking', 'tweaks', 'tweedier', 'tweediest', 'tweeds', 'tweedy', 'tweeted', 'tweeter', 'tweeters', 'tweeting', 'tweets', 'tweezers', 'twelfth', 'twelfths', 'twelve', 'twelvemonth', 'twelvemonths', 'twelves', 'twenties', 'twentieth', 'twentieths', 'twenty', 'twerk!', 'twerked!', 'twerking!', 'twerks!', 'twerps', 'twiddle', 'twiddled', 'twiddles', 'twiddlier', 'twiddliest', 'twiddling', 'twiddly', 'twigged', 'twiggier', 'twiggiest', 'twigging', 'twiggy', 'twilight', 'twilights', 'twilit', 'twilled', 'twills', 'twined', 'twiner', 'twiners', 'twines', 'twinge', 'twinged', 'twingeing', 'twinges', 'twinging', 'twinight', 'twining', 'twinkle', 'twinkled', 'twinkles', 'twinkling', 'twinklings', 'twinkly', 'twinned', 'twinning', 'twirled', 'twirler', 'twirlers', 'twirlier', 'twirliest', 'twirling', 'twirls', 'twirly', 'twisted', 'twister', 'twisters', 'twistier', 'twistiest', 'twisting', 'twists', 'twisty', 'twitch', 'twitched', 'twitches', 'twitchier', 'twitchiest', 'twitching', 'twitchy', 'twitted', 'twitter', 'twittered', 'twittering', 'twitters', 'twittery', 'twitting', 'twofer', 'twofers', 'twofold', 'twopence', 'twopences', 'twopenny', 'twosome', 'twosomes', 'tycoon', 'tycoons', 'tympana', 'tympani', 'tympanist', 'tympanists', 'tympanum', 'tympanums', 'typecast', 'typecasting', 'typecasts', 'typeface', 'typefaces', 'typescript', 'typescripts', 'typeset', 'typesets', 'typesetter', 'typesetters', 'typesetting', 'typesettings', 'typewrite', 'typewriter', 'typewriters', 'typewrites', 'typewriting', 'typewritings', 'typewritten', 'typewrote', 'typhoid', 'typhoids', 'typhoon', 'typhoons', 'typhus', 'typhuses', 'typical', 'typicalities', 'typicality', 'typically', 'typification', 'typifications', 'typified', 'typifies', 'typify', 'typifying', 'typing', 'typings', 'typist', 'typists', 'typographer', 'typographers', 'typographic', 'typographical', 'typographically', 'typographies', 'typography', 'typologies', 'typology', 'tyrannic', 'tyrannical', 'tyrannically', 'tyrannies', 'tyrannize', 'tyrannized', 'tyrannizes', 'tyrannizing', 'tyrannosaur', 'tyrannosaurs', 'tyrannosaurus', 'tyrannosauruses', 'tyrannous', 'tyranny', 'tyrant', 'tyrants', 'tzarina', 'tzarinas', 'ubiquities', 'ubiquitous', 'ubiquitously', 'ubiquity', 'udders', 'ufologies', 'ufologist', 'ufologists', 'ufology', 'uglier', 'ugliest', 'ugliness', 'uglinesses', 'ukases', 'ukelele', 'ukeleles', 'ukulele', 'ukuleles', 'ulcerate', 'ulcerated', 'ulcerates', 'ulcerating', 'ulceration', 'ulcerations', 'ulcerous', 'ulcers', 'ulster', 'ulsters', 'ulterior', 'ultimata', 'ultimate', 'ultimately', 'ultimates', 'ultimatum', 'ultimatums', 'ultimo', 'ultraconservative', 'ultraconservatives', 'ultrahigh', 'ultralight', 'ultralights', 'ultramarine', 'ultramarines', 'ultramodern', 'ultras', 'ultrasonic', 'ultrasonically', 'ultrasound', 'ultrasounds', 'ultraviolet', 'ultraviolets', 'ululate', 'ululated', 'ululates', 'ululating', 'ululation', 'ululations', 'umbels', 'umbers', 'umbilical', 'umbilici', 'umbilicus', 'umbilicuses', 'umbrae', 'umbrage', 'umbrages', 'umbras', 'umbrella', 'umbrellas', 'umiaks', 'umlaut', 'umlauts', 'umping', 'umpire', 'umpired', 'umpires', 'umpiring', 'umpteen', 'umpteenth', 'unabashed', 'unabashedly', 'unabated', 'unable', 'unabridged', 'unabridgeds', 'unaccented', 'unacceptable', 'unacceptably', 'unaccommodating', 'unaccompanied', 'unaccomplished', 'unaccountable', 'unaccountably', 'unaccounted', 'unaccredited', 'unaccustomed', 'unacknowledged', 'unacquainted', 'unadorned', 'unadulterated', 'unadventurous', 'unadvertised', 'unadvised', 'unadvisedly', 'unaesthetic', 'unaffected', 'unaffectedly', 'unaffiliated', 'unafraid', 'unaided', 'unalienable', 'unaligned', 'unalike', 'unalloyed', 'unalterable', 'unalterably', 'unaltered', 'unambiguous', 'unambiguously', 'unambitious', 'unanimities', 'unanimity', 'unanimous', 'unanimously', 'unannounced', 'unanswerable', 'unanswered', 'unanticipated', 'unapologetic', 'unapparent', 'unappealing', 'unappealingly', 'unappetizing', 'unappreciated', 'unappreciative', 'unapproachable', 'unappropriated', 'unapproved', 'unarguable', 'unarguably', 'unarmed', 'unarmored', 'unashamed', 'unashamedly', 'unasked', 'unassailable', 'unassertive', 'unassisted', 'unassuming', 'unassumingly', 'unattached', 'unattainable', 'unattended', 'unattested', 'unattractive', 'unattractively', 'unauthentic', 'unauthorized', 'unavailabilities', 'unavailability', 'unavailable', 'unavailing', 'unavailingly', 'unavoidable', 'unavoidably', 'unaware', 'unawareness', 'unawarenesses', 'unawares', 'unbaked', 'unbalanced', 'unbaptized', 'unbarred', 'unbarring', 'unbars', 'unbearable', 'unbearably', 'unbeatable', 'unbeaten', 'unbecoming', 'unbecomingly', 'unbeknown', 'unbeknownst', 'unbelief', 'unbeliefs', 'unbelievable', 'unbelievably', 'unbeliever', 'unbelievers', 'unbelieving', 'unbend', 'unbending', 'unbends', 'unbent', 'unbiased', 'unbiassed', 'unbidden', 'unbind', 'unbinding', 'unbinds', 'unbleached', 'unblemished', 'unblinking', 'unblock', 'unblocked', 'unblocking', 'unblocks', 'unblushing', 'unblushingly', 'unbolt', 'unbolted', 'unbolting', 'unbolts', 'unborn', 'unbosom', 'unbosomed', 'unbosoming', 'unbosoms', 'unbound', 'unbounded', 'unbowed', 'unbreakable', 'unbridgeable', 'unbridled', 'unbroken', 'unbuckle', 'unbuckled', 'unbuckles', 'unbuckling', 'unburden', 'unburdened', 'unburdening', 'unburdens', 'unbutton', 'unbuttoned', 'unbuttoning', 'unbuttons', 'uncannier', 'uncanniest', 'uncannily', 'uncanny', 'uncapped', 'uncapping', 'uncaps', 'uncaring', 'uncaught', 'unceasing', 'unceasingly', 'uncensored', 'unceremonious', 'unceremoniously', 'uncertain', 'uncertainly', 'uncertainties', 'uncertainty', 'unchain', 'unchained', 'unchaining', 'unchains', 'unchallenged', 'unchangeable', 'unchanged', 'unchanging', 'unchaperoned', 'uncharacteristic', 'uncharacteristically', 'uncharged', 'uncharitable', 'uncharitably', 'uncharted', 'unchaste', 'unchaster', 'unchastest', 'unchecked', 'unchristian', 'uncial', 'uncials', 'uncircumcised', 'uncivil', 'uncivilized', 'uncivilly', 'unclad', 'unclaimed', 'unclasp', 'unclasped', 'unclasping', 'unclasps', 'unclassified', 'unclean', 'uncleaned', 'uncleaner', 'uncleanest', 'uncleanlier', 'uncleanliest', 'uncleanliness', 'uncleanlinesses', 'uncleanly', 'uncleanness', 'uncleannesses', 'unclear', 'uncleared', 'unclearer', 'unclearest', 'uncles', 'uncloak', 'uncloaked', 'uncloaking', 'uncloaks', 'unclog', 'unclogged', 'unclogging', 'unclogs', 'unclothe', 'unclothed', 'unclothes', 'unclothing', 'unclouded', 'uncluttered', 'uncoil', 'uncoiled', 'uncoiling', 'uncoils', 'uncollected', 'uncolored', 'uncombed', 'uncombined', 'uncomfortable', 'uncomfortably', 'uncommitted', 'uncommon', 'uncommoner', 'uncommonest', 'uncommonly', 'uncommonness', 'uncommonnesses', 'uncommunicative', 'uncompensated', 'uncomplaining', 'uncomplainingly', 'uncompleted', 'uncomplicated', 'uncomplimentary', 'uncompounded', 'uncomprehending', 'uncomprehendingly', 'uncompromising', 'uncompromisingly', 'unconcealed', 'unconcern', 'unconcerned', 'unconcernedly', 'unconcerns', 'unconditional', 'unconditionally', 'unconditioned', 'unconfined', 'unconfirmed', 'unconformable', 'uncongenial', 'unconnected', 'unconquerable', 'unconquered', 'unconscionable', 'unconscionably', 'unconscious', 'unconsciouses', 'unconsciously', 'unconsciousness', 'unconsciousnesses', 'unconsecrated', 'unconsidered', 'unconsolidated', 'unconstitutional', 'unconstitutionalities', 'unconstitutionality', 'unconstitutionally', 'unconstrained', 'unconsumed', 'unconsummated', 'uncontaminated', 'uncontested', 'uncontrollable', 'uncontrollably', 'uncontrolled', 'unconventional', 'unconventionalities', 'unconventionality', 'unconventionally', 'unconverted', 'unconvinced', 'unconvincing', 'unconvincingly', 'uncooked', 'uncool', 'uncooperative', 'uncoordinated', 'uncork', 'uncorked', 'uncorking', 'uncorks', 'uncorrected', 'uncorroborated', 'uncountable', 'uncounted', 'uncouple', 'uncoupled', 'uncouples', 'uncoupling', 'uncouth', 'uncouthly', 'uncover', 'uncovered', 'uncovering', 'uncovers', 'uncritical', 'uncritically', 'uncross', 'uncrossed', 'uncrosses', 'uncrossing', 'uncrowded', 'uncrowned', 'unction', 'unctions', 'unctuous', 'unctuously', 'unctuousness', 'unctuousnesses', 'uncultivated', 'uncultured', 'uncured', 'uncurl', 'uncurled', 'uncurling', 'uncurls', 'uncustomary', 'undamaged', 'undated', 'undaunted', 'undauntedly', 'undeceive', 'undeceived', 'undeceives', 'undeceiving', 'undecided', 'undecideds', 'undecipherable', 'undeclared', 'undefeated', 'undefended', 'undefinable', 'undefined', 'undemanding', 'undemocratic', 'undemonstrative', 'undemonstratively', 'undeniable', 'undeniably', 'undependable', 'underachieve', 'underachieved', 'underachiever', 'underachievers', 'underachieves', 'underachieving', 'underact', 'underacted', 'underacting', 'underacts', 'underage', 'underarm', 'underarms', 'underbellies', 'underbelly', 'underbid', 'underbidding', 'underbids', 'underbrush', 'underbrushes', 'undercarriage', 'undercarriages', 'undercharge', 'undercharged', 'undercharges', 'undercharging', 'underclass', 'underclasses', 'underclassman', 'underclassmen', 'underclothes', 'underclothing', 'underclothings', 'undercoat', 'undercoated', 'undercoating', 'undercoatings', 'undercoats', 'undercover', 'undercurrent', 'undercurrents', 'undercut', 'undercuts', 'undercutting', 'underdeveloped', 'underdevelopment', 'underdevelopments', 'underdog', 'underdogs', 'underdone', 'underemployed', 'underemployment', 'underemployments', 'underestimate', 'underestimated', 'underestimates', 'underestimating', 'underestimation', 'underestimations', 'underexpose', 'underexposed', 'underexposes', 'underexposing', 'underexposure', 'underexposures', 'underfed', 'underfeed', 'underfeeding', 'underfeeds', 'underfoot', 'underfur', 'underfurs', 'undergarment', 'undergarments', 'undergo', 'undergoes', 'undergoing', 'undergone', 'undergraduate', 'undergraduates', 'underground', 'undergrounds', 'undergrowth', 'undergrowths', 'underhand', 'underhanded', 'underhandedly', 'underhandedness', 'underhandednesses', 'underlain', 'underlay', 'underlays', 'underlie', 'underlies', 'underline', 'underlined', 'underlines', 'underling', 'underlings', 'underlining', 'underlip', 'underlips', 'underlying', 'undermanned', 'undermentioned', 'undermine', 'undermined', 'undermines', 'undermining', 'undermost', 'underneath', 'underneaths', 'undernourished', 'undernourishment', 'undernourishments', 'underpaid', 'underpants', 'underpart', 'underparts', 'underpass', 'underpasses', 'underpay', 'underpaying', 'underpayment', 'underpayments', 'underpays', 'underpin', 'underpinned', 'underpinning', 'underpinnings', 'underpins', 'underplay', 'underplayed', 'underplaying', 'underplays', 'underpopulated', 'underprivileged', 'underproduction', 'underproductions', 'underrate', 'underrated', 'underrates', 'underrating', 'underrepresented', 'underscore', 'underscored', 'underscores', 'underscoring', 'undersea', 'underseas', 'undersecretaries', 'undersecretary', 'undersell', 'underselling', 'undersells', 'undersexed', 'undershirt', 'undershirts', 'undershoot', 'undershooting', 'undershoots', 'undershorts', 'undershot', 'underside', 'undersides', 'undersign', 'undersigned', 'undersigning', 'undersigns', 'undersize', 'undersized', 'underskirt', 'underskirts', 'undersold', 'understaffed', 'understand', 'understandable', 'understandably', 'understanding', 'understandingly', 'understandings', 'understands', 'understate', 'understated', 'understatement', 'understatements', 'understates', 'understating', 'understood', 'understudied', 'understudies', 'understudy', 'understudying', 'undertake', 'undertaken', 'undertaker', 'undertakers', 'undertakes', 'undertaking', 'undertakings', 'underthings', 'undertone', 'undertones', 'undertook', 'undertow', 'undertows', 'undervaluation', 'undervaluations', 'undervalue', 'undervalued', 'undervalues', 'undervaluing', 'underwater', 'underway', 'underwear', 'underwears', 'underweight', 'underweights', 'underwent', 'underwhelm', 'underwhelmed', 'underwhelming', 'underwhelms', 'underworld', 'underworlds', 'underwrite', 'underwriter', 'underwriters', 'underwrites', 'underwriting', 'underwritten', 'underwrote', 'undeserved', 'undeservedly', 'undeserving', 'undesirabilities', 'undesirability', 'undesirable', 'undesirables', 'undesirably', 'undesired', 'undetectable', 'undetected', 'undetermined', 'undeterred', 'undeveloped', 'undeviating', 'undies', 'undifferentiated', 'undigested', 'undignified', 'undiluted', 'undiminished', 'undimmed', 'undiplomatic', 'undischarged', 'undisciplined', 'undisclosed', 'undiscovered', 'undiscriminating', 'undisguised', 'undismayed', 'undisputed', 'undissolved', 'undistinguished', 'undistributed', 'undisturbed', 'undivided', 'undocumented', 'undoes', 'undoing', 'undoings', 'undomesticated', 'undone', 'undoubted', 'undoubtedly', 'undramatic', 'undreamed', 'undreamt', 'undress', 'undressed', 'undresses', 'undressing', 'undrinkable', 'undulant', 'undulate', 'undulated', 'undulates', 'undulating', 'undulation', 'undulations', 'unduly', 'undying', 'unearned', 'unearth', 'unearthed', 'unearthing', 'unearthlier', 'unearthliest', 'unearthliness', 'unearthlinesses', 'unearthly', 'unearths', 'unease', 'uneases', 'uneasier', 'uneasiest', 'uneasily', 'uneasiness', 'uneasinesses', 'uneasy', 'uneatable', 'uneaten', 'uneconomic', 'uneconomical', 'uneconomically', 'unedifying', 'unedited', 'uneducated', 'unembarrassed', 'unemotional', 'unemphatic', 'unemployable', 'unemployed', 'unemployment', 'unemployments', 'unenclosed', 'unencumbered', 'unending', 'unendurable', 'unenforced', 'unenlightened', 'unenterprising', 'unenthusiastic', 'unenviable', 'unequal', 'unequaled', 'unequalled', 'unequally', 'unequipped', 'unequivocal', 'unequivocally', 'unerring', 'unerringly', 'unessential', 'unethical', 'unethically', 'uneven', 'unevenly', 'unevenness', 'unevennesses', 'uneventful', 'uneventfully', 'unexampled', 'unexceptionable', 'unexceptionably', 'unexceptional', 'unexceptionally', 'unexcited', 'unexciting', 'unexcused', 'unexpected', 'unexpectedly', 'unexpectedness', 'unexpectednesses', 'unexpired', 'unexplained', 'unexploited', 'unexplored', 'unexposed', 'unexpressed', 'unexpurgated', 'unfading', 'unfailing', 'unfailingly', 'unfair', 'unfairer', 'unfairest', 'unfairly', 'unfairness', 'unfairnesses', 'unfaithful', 'unfaithfully', 'unfaithfulness', 'unfaithfulnesses', 'unfaltering', 'unfamiliar', 'unfamiliarities', 'unfamiliarity', 'unfashionable', 'unfashionably', 'unfasten', 'unfastened', 'unfastening', 'unfastens', 'unfathomable', 'unfathomably', 'unfavorable', 'unfavorably', 'unfeasible', 'unfeeling', 'unfeelingly', 'unfeigned', 'unfeminine', 'unfertilized', 'unfetter', 'unfettered', 'unfettering', 'unfetters', 'unfilled', 'unfiltered', 'unfinished', 'unfitness', 'unfitnesses', 'unfits', 'unfitted', 'unfitter', 'unfittest', 'unfitting', 'unfixed', 'unfixes', 'unfixing', 'unflagging', 'unflaggingly', 'unflappabilities', 'unflappability', 'unflappable', 'unflappably', 'unflattering', 'unflavored', 'unfledged', 'unflinching', 'unflinchingly', 'unfocused', 'unfold', 'unfolded', 'unfolding', 'unfolds', 'unforced', 'unforeseeable', 'unforeseen', 'unforgettable', 'unforgettably', 'unforgivable', 'unforgivably', 'unforgiving', 'unforgotten', 'unformed', 'unformulated', 'unfortified', 'unfortunate', 'unfortunately', 'unfortunates', 'unfounded', 'unframed', 'unfreeze', 'unfreezes', 'unfreezing', 'unfrequented', 'unfriend!', 'unfriended!', 'unfriending!', 'unfriendlier', 'unfriendliest', 'unfriendliness', 'unfriendlinesses', 'unfriendly', 'unfriends!', 'unfrock', 'unfrocked', 'unfrocking', 'unfrocks', 'unfroze', 'unfrozen', 'unfruitful', 'unfulfilled', 'unfunded', 'unfunny', 'unfurl', 'unfurled', 'unfurling', 'unfurls', 'unfurnished', 'ungainlier', 'ungainliest', 'ungainliness', 'ungainlinesses', 'ungainly', 'ungenerous', 'ungentle', 'ungentlemanly', 'unglued', 'ungodlier', 'ungodliest', 'ungodliness', 'ungodlinesses', 'ungodly', 'ungovernable', 'ungoverned', 'ungraceful', 'ungracefully', 'ungracious', 'ungraciously', 'ungraded', 'ungrammatical', 'ungrammatically', 'ungrateful', 'ungratefully', 'ungratefulness', 'ungratefulnesses', 'ungrudging', 'unguarded', 'unguent', 'unguents', 'unguided', 'ungulate', 'ungulates', 'unhallowed', 'unhampered', 'unhand', 'unhanded', 'unhandier', 'unhandiest', 'unhanding', 'unhands', 'unhandy', 'unhappier', 'unhappiest', 'unhappily', 'unhappiness', 'unhappinesses', 'unhappy', 'unhardened', 'unharmed', 'unharness', 'unharnessed', 'unharnesses', 'unharnessing', 'unharvested', 'unhatched', 'unhealed', 'unhealthful', 'unhealthier', 'unhealthiest', 'unhealthily', 'unhealthiness', 'unhealthinesses', 'unhealthy', 'unheard', 'unheated', 'unheeded', 'unhelpful', 'unhelpfully', 'unheralded', 'unhesitating', 'unhesitatingly', 'unhindered', 'unhinge', 'unhinged', 'unhinges', 'unhinging', 'unhistorical', 'unhitch', 'unhitched', 'unhitches', 'unhitching', 'unholier', 'unholiest', 'unholiness', 'unholinesses', 'unholy', 'unhook', 'unhooked', 'unhooking', 'unhooks', 'unhorse', 'unhorsed', 'unhorses', 'unhorsing', 'unhurried', 'unhurriedly', 'unhurt', 'unicameral', 'unicellular', 'unicorn', 'unicorns', 'unicycle', 'unicycles', 'unidentifiable', 'unidentified', 'unidiomatic', 'unification', 'unifications', 'unified', 'unifies', 'uniform', 'uniformed', 'uniforming', 'uniformities', 'uniformity', 'uniformly', 'uniforms', 'unifying', 'unilateral', 'unilaterally', 'unimaginable', 'unimaginative', 'unimaginatively', 'unimpaired', 'unimpeachable', 'unimpeded', 'unimportant', 'unimposing', 'unimpressed', 'unimpressive', 'unimproved', 'unincorporated', 'uninfected', 'uninfluenced', 'uninformative', 'uninformed', 'uninhabitable', 'uninhabited', 'uninhibited', 'uninhibitedly', 'uninitiated', 'uninjured', 'uninspired', 'uninspiring', 'uninstall!', 'uninstalled!', 'uninstalling!', 'uninstalls!', 'uninstructed', 'uninsured', 'unintelligent', 'unintelligible', 'unintelligibly', 'unintended', 'unintentional', 'unintentionally', 'uninterested', 'uninteresting', 'uninterrupted', 'uninvited', 'uninviting', 'unionism', 'unionisms', 'unionist', 'unionists', 'unionization', 'unionizations', 'unionize', 'unionized', 'unionizes', 'unionizing', 'unions', 'unique', 'uniquely', 'uniqueness', 'uniquenesses', 'uniquer', 'uniquest', 'unisex', 'unisexes', 'unison', 'unisons', 'unitary', 'united', 'unitedly', 'unites', 'unities', 'uniting', 'unitize', 'unitized', 'unitizes', 'unitizing', 'univalent', 'univalve', 'univalves', 'universal', 'universalities', 'universality', 'universalize', 'universalized', 'universalizes', 'universalizing', 'universally', 'universals', 'universe', 'universes', 'universities', 'university', 'unjust', 'unjustifiable', 'unjustifiably', 'unjustified', 'unjustly', 'unkempt', 'unkind', 'unkinder', 'unkindest', 'unkindlier', 'unkindliest', 'unkindly', 'unkindness', 'unkindnesses', 'unknowable', 'unknowables', 'unknowing', 'unknowingly', 'unknown', 'unknowns', 'unlabeled', 'unlace', 'unlaced', 'unlaces', 'unlacing', 'unladen', 'unladylike', 'unlatch', 'unlatched', 'unlatches', 'unlatching', 'unlawful', 'unlawfully', 'unlawfulness', 'unlawfulnesses', 'unleaded', 'unleadeds', 'unlearn', 'unlearned', 'unlearning', 'unlearns', 'unleash', 'unleashed', 'unleashes', 'unleashing', 'unleavened', 'unless', 'unlettered', 'unlicensed', 'unlighted', 'unlikable', 'unlike', 'unlikelier', 'unlikeliest', 'unlikelihood', 'unlikelihoods', 'unlikeliness', 'unlikelinesses', 'unlikely', 'unlikeness', 'unlikenesses', 'unlimber', 'unlimbered', 'unlimbering', 'unlimbers', 'unlimited', 'unlined', 'unlisted', 'unlivable', 'unload', 'unloaded', 'unloading', 'unloads', 'unlock', 'unlocked', 'unlocking', 'unlocks', 'unloose', 'unloosed', 'unloosen', 'unloosened', 'unloosening', 'unloosens', 'unlooses', 'unloosing', 'unlovable', 'unloved', 'unlovelier', 'unloveliest', 'unlovely', 'unloving', 'unluckier', 'unluckiest', 'unluckily', 'unluckiness', 'unluckinesses', 'unlucky', 'unmade', 'unmake', 'unmakes', 'unmaking', 'unmanageable', 'unmanlier', 'unmanliest', 'unmanly', 'unmanned', 'unmannerly', 'unmanning', 'unmans', 'unmarked', 'unmarketable', 'unmarred', 'unmarried', 'unmask', 'unmasked', 'unmasking', 'unmasks', 'unmatched', 'unmeaning', 'unmeant', 'unmeasured', 'unmediated', 'unmentionable', 'unmentionables', 'unmentioned', 'unmerciful', 'unmercifully', 'unmerited', 'unmindful', 'unmistakable', 'unmistakably', 'unmitigated', 'unmixed', 'unmodified', 'unmolested', 'unmoral', 'unmoralities', 'unmorality', 'unmotivated', 'unmounted', 'unmovable', 'unmoved', 'unmusical', 'unnameable', 'unnamed', 'unnatural', 'unnaturally', 'unnaturalness', 'unnaturalnesses', 'unnecessarily', 'unnecessary', 'unneeded', 'unnerve', 'unnerved', 'unnerves', 'unnerving', 'unnoticeable', 'unnoticed', 'unnumbered', 'unobjectionable', 'unobservant', 'unobserved', 'unobstructed', 'unobtainable', 'unobtrusive', 'unobtrusively', 'unobtrusiveness', 'unobtrusivenesses', 'unoccupied', 'unoffensive', 'unofficial', 'unofficially', 'unopened', 'unopposed', 'unorganized', 'unoriginal', 'unorthodox', 'unpack', 'unpacked', 'unpacking', 'unpacks', 'unpaid', 'unpainted', 'unpaired', 'unpalatable', 'unparalleled', 'unparallelled', 'unpardonable', 'unpardonably', 'unpasteurized', 'unpatriotic', 'unpaved', 'unpeeled', 'unperceived', 'unperceptive', 'unperformed', 'unperson', 'unpersons', 'unpersuaded', 'unpersuasive', 'unperturbed', 'unpinned', 'unpinning', 'unpins', 'unplanned', 'unpleasant', 'unpleasantly', 'unpleasantness', 'unpleasantnesses', 'unpleasing', 'unplug', 'unplugged', 'unplugging', 'unplugs', 'unplumbed', 'unpolished', 'unpolitical', 'unpolluted', 'unpopular', 'unpopularities', 'unpopularity', 'unpractical', 'unpracticed', 'unprecedented', 'unprecedentedly', 'unpredictabilities', 'unpredictability', 'unpredictable', 'unpredictably', 'unprejudiced', 'unpremeditated', 'unprepared', 'unpreparedness', 'unpreparednesses', 'unprepossessing', 'unpressed', 'unpretentious', 'unpretentiously', 'unpreventable', 'unprincipled', 'unprintable', 'unprocessed', 'unproductive', 'unproductively', 'unprofessional', 'unprofessionally', 'unprofitable', 'unprofitably', 'unpromising', 'unprompted', 'unpronounceable', 'unpropitious', 'unprotected', 'unproved', 'unproven', 'unprovided', 'unprovoked', 'unpublished', 'unpunished', 'unqualified', 'unquenchable', 'unquestionable', 'unquestionably', 'unquestioned', 'unquestioning', 'unquestioningly', 'unquiet', 'unquieter', 'unquietest', 'unquote', 'unquoted', 'unquotes', 'unquoting', 'unrated', 'unravel', 'unraveled', 'unraveling', 'unravelled', 'unravelling', 'unravels', 'unread', 'unreadable', 'unready', 'unreal', 'unrealistic', 'unrealistically', 'unrealities', 'unreality', 'unrealized', 'unreasonable', 'unreasonableness', 'unreasonablenesses', 'unreasonably', 'unreasoning', 'unrecognizable', 'unrecognized', 'unreconstructed', 'unrecorded', 'unrecoverable', 'unreel', 'unreeled', 'unreeling', 'unreels', 'unrefined', 'unreformed', 'unregenerate', 'unregistered', 'unregulated', 'unrehearsed', 'unrelated', 'unrelenting', 'unrelentingly', 'unreliabilities', 'unreliability', 'unreliable', 'unreliably', 'unrelieved', 'unremarkable', 'unremembered', 'unremitting', 'unremittingly', 'unrepentant', 'unreported', 'unrepresentative', 'unrepresented', 'unrequited', 'unreserved', 'unreservedly', 'unresistant', 'unresolved', 'unresponsive', 'unresponsively', 'unresponsiveness', 'unresponsivenesses', 'unrest', 'unrestrained', 'unrestricted', 'unrests', 'unrewarded', 'unrewarding', 'unrighteous', 'unrighteousness', 'unrighteousnesses', 'unripe', 'unripened', 'unriper', 'unripest', 'unrivaled', 'unrivalled', 'unroll', 'unrolled', 'unrolling', 'unrolls', 'unromantic', 'unruffled', 'unrulier', 'unruliest', 'unruliness', 'unrulinesses', 'unruly', 'unsaddle', 'unsaddled', 'unsaddles', 'unsaddling', 'unsafe', 'unsafely', 'unsafer', 'unsafest', 'unsaid', 'unsalable', 'unsalted', 'unsanctioned', 'unsanitary', 'unsatisfactorily', 'unsatisfactory', 'unsatisfied', 'unsatisfying', 'unsaturated', 'unsaved', 'unsavory', 'unsavoury', 'unsaying', 'unsays', 'unscathed', 'unscented', 'unscheduled', 'unschooled', 'unscientific', 'unscientifically', 'unscramble', 'unscrambled', 'unscrambles', 'unscrambling', 'unscratched', 'unscrew', 'unscrewed', 'unscrewing', 'unscrews', 'unscripted', 'unscrupulous', 'unscrupulously', 'unscrupulousness', 'unscrupulousnesses', 'unseal', 'unsealed', 'unsealing', 'unseals', 'unsearchable', 'unseasonable', 'unseasonably', 'unseasoned', 'unseat', 'unseated', 'unseating', 'unseats', 'unseeing', 'unseeingly', 'unseemlier', 'unseemliest', 'unseemliness', 'unseemlinesses', 'unseemly', 'unseen', 'unsegmented', 'unsegregated', 'unselfish', 'unselfishly', 'unselfishness', 'unselfishnesses', 'unsentimental', 'unsettle', 'unsettled', 'unsettles', 'unsettling', 'unshackle', 'unshackled', 'unshackles', 'unshackling', 'unshakable', 'unshakably', 'unshakeable', 'unshaken', 'unshaped', 'unshapely', 'unshaven', 'unsheathe', 'unsheathed', 'unsheathes', 'unsheathing', 'unshod', 'unshorn', 'unsifted', 'unsightlier', 'unsightliest', 'unsightliness', 'unsightlinesses', 'unsightly', 'unsigned', 'unsinkable', 'unskilled', 'unskillful', 'unskillfully', 'unsmiling', 'unsnap', 'unsnapped', 'unsnapping', 'unsnaps', 'unsnarl', 'unsnarled', 'unsnarling', 'unsnarls', 'unsociable', 'unsocial', 'unsoiled', 'unsold', 'unsolicited', 'unsolvable', 'unsolved', 'unsophisticated', 'unsorted', 'unsought', 'unsound', 'unsounder', 'unsoundest', 'unsoundly', 'unsoundness', 'unsoundnesses', 'unsparing', 'unsparingly', 'unspeakable', 'unspeakably', 'unspecific', 'unspecified', 'unspectacular', 'unspent', 'unspoiled', 'unspoken', 'unsportsmanlike', 'unstable', 'unstabler', 'unstablest', 'unstably', 'unstained', 'unstated', 'unsteadier', 'unsteadiest', 'unsteadily', 'unsteadiness', 'unsteadinesses', 'unsteady', 'unstinting', 'unstintingly', 'unstop', 'unstoppable', 'unstopped', 'unstopping', 'unstops', 'unstrap', 'unstrapped', 'unstrapping', 'unstraps', 'unstressed', 'unstructured', 'unstrung', 'unstuck', 'unstudied', 'unsubscribe!', 'unsubscribed!', 'unsubscribes!', 'unsubscribing!', 'unsubstantial', 'unsubstantiated', 'unsuccessful', 'unsuccessfully', 'unsuitabilities', 'unsuitability', 'unsuitable', 'unsuitably', 'unsuited', 'unsullied', 'unsung', 'unsupervised', 'unsupported', 'unsure', 'unsurpassed', 'unsurprising', 'unsurprisingly', 'unsuspected', 'unsuspecting', 'unsuspectingly', 'unsustainable', 'unswayed', 'unsweetened', 'unswerving', 'unsymmetrical', 'unsympathetic', 'unsympathetically', 'unsystematic', 'untactful', 'untainted', 'untalented', 'untamed', 'untangle', 'untangled', 'untangles', 'untangling', 'untanned', 'untapped', 'untarnished', 'untasted', 'untaught', 'unteachable', 'untenable', 'untenanted', 'untended', 'untested', 'unthinkable', 'unthinkably', 'unthinking', 'unthinkingly', 'untidier', 'untidiest', 'untidily', 'untidiness', 'untidinesses', 'untidy', 'untied', 'unties', 'untimelier', 'untimeliest', 'untimeliness', 'untimelinesses', 'untimely', 'untiring', 'untiringly', 'untitled', 'untold', 'untouchable', 'untouchables', 'untouched', 'untoward', 'untraceable', 'untrained', 'untrammeled', 'untrammelled', 'untranslatable', 'untranslated', 'untraveled', 'untreated', 'untried', 'untrimmed', 'untrod', 'untroubled', 'untrue', 'untruer', 'untruest', 'untruly', 'untrustworthy', 'untruth', 'untruthful', 'untruthfully', 'untruthfulness', 'untruthfulnesses', 'untruths', 'untutored', 'untwist', 'untwisted', 'untwisting', 'untwists', 'untying', 'untypical', 'unusable', 'unused', 'unusual', 'unusually', 'unutterable', 'unutterably', 'unvaried', 'unvarnished', 'unvarying', 'unveil', 'unveiled', 'unveiling', 'unveils', 'unverifiable', 'unverified', 'unversed', 'unvoiced', 'unwanted', 'unwarier', 'unwariest', 'unwarily', 'unwariness', 'unwarinesses', 'unwarrantable', 'unwarranted', 'unwary', 'unwashed', 'unwavering', 'unwearable', 'unwearied', 'unwelcome', 'unwell', 'unwholesome', 'unwholesomeness', 'unwholesomenesses', 'unwieldier', 'unwieldiest', 'unwieldiness', 'unwieldinesses', 'unwieldy', 'unwilling', 'unwillingly', 'unwillingness', 'unwillingnesses', 'unwind', 'unwinding', 'unwinds', 'unwise', 'unwisely', 'unwiser', 'unwisest', 'unwitting', 'unwittingly', 'unwonted', 'unworkable', 'unworldlier', 'unworldliest', 'unworldliness', 'unworldlinesses', 'unworldly', 'unworn', 'unworried', 'unworthier', 'unworthiest', 'unworthily', 'unworthiness', 'unworthinesses', 'unworthy', 'unwound', 'unwoven', 'unwrap', 'unwrapped', 'unwrapping', 'unwraps', 'unwrinkled', 'unwritten', 'unyielding', 'unyoke', 'unyoked', 'unyokes', 'unyoking', 'unzipped', 'unzipping', 'unzips', 'upbeat', 'upbeats', 'upbraid', 'upbraided', 'upbraiding', 'upbraids', 'upbringing', 'upbringings', 'upchuck', 'upchucked', 'upchucking', 'upchucks', 'upcoming', 'upcountries', 'upcountry', 'update', 'updated', 'updates', 'updating', 'updraft', 'updrafts', 'upended', 'upending', 'upends', 'upfront', 'upgrade', 'upgraded', 'upgrades', 'upgrading', 'upheaval', 'upheavals', 'upheld', 'uphill', 'uphills', 'uphold', 'upholder', 'upholders', 'upholding', 'upholds', 'upholster', 'upholstered', 'upholsterer', 'upholsterers', 'upholsteries', 'upholstering', 'upholsters', 'upholstery', 'upkeep', 'upkeeps', 'upland', 'uplands', 'uplift', 'uplifted', 'uplifting', 'uplifts', 'upload', 'uploaded', 'uploading', 'uploads', 'upmarket', 'upmost', 'uppercase', 'uppercases', 'upperclassman', 'upperclassmen', 'uppercut', 'uppercuts', 'uppercutting', 'uppermost', 'uppers', 'upping', 'uppish', 'uppity', 'upraise', 'upraised', 'upraises', 'upraising', 'uprear', 'upreared', 'uprearing', 'uprears', 'upright', 'uprightly', 'uprightness', 'uprightnesses', 'uprights', 'uprising', 'uprisings', 'upriver', 'uproar', 'uproarious', 'uproariously', 'uproars', 'uproot', 'uprooted', 'uprooting', 'uproots', 'upscale', 'upsets', 'upsetting', 'upshot', 'upshots', 'upside', 'upsides', 'upsilon', 'upsilons', 'upstage', 'upstaged', 'upstages', 'upstaging', 'upstairs', 'upstanding', 'upstart', 'upstarted', 'upstarting', 'upstarts', 'upstate', 'upstates', 'upstream', 'upstroke', 'upstrokes', 'upsurge', 'upsurged', 'upsurges', 'upsurging', 'upswing', 'upswings', 'uptake', 'uptakes', 'upthrust', 'upthrusting', 'upthrusts', 'uptick', 'upticks', 'uptight', 'uptown', 'uptowns', 'upturn', 'upturned', 'upturning', 'upturns', 'upward', 'upwardly', 'upwards', 'upwind', 'uracil', 'uracils', 'uranium', 'uraniums', 'urbane', 'urbanely', 'urbaner', 'urbanest', 'urbanities', 'urbanity', 'urbanization', 'urbanizations', 'urbanize', 'urbanized', 'urbanizes', 'urbanizing', 'urbanologies', 'urbanologist', 'urbanologists', 'urbanology', 'urchin', 'urchins', 'ureas', 'uremia', 'uremias', 'uremic', 'ureter', 'ureters', 'urethane', 'urethanes', 'urethra', 'urethrae', 'urethral', 'urethras', 'urgencies', 'urgency', 'urgent', 'urgently', 'urging', 'urinal', 'urinals', 'urinalyses', 'urinalysis', 'urinary', 'urinate', 'urinated', 'urinates', 'urinating', 'urination', 'urinations', 'urines', 'urogenital', 'urological', 'urologies', 'urologist', 'urologists', 'urology', 'ursine', 'urticaria', 'urticarias', 'usabilities', 'usability', 'usable', 'usages', 'useabilities', 'useability', 'useable', 'useful', 'usefully', 'usefulness', 'usefulnesses', 'useless', 'uselessly', 'uselessness', 'uselessnesses', 'username!', 'usernames!', 'ushered', 'usherette', 'usherettes', 'ushering', 'ushers', 'usually', 'usuals', 'usurer', 'usurers', 'usuries', 'usurious', 'usurpation', 'usurpations', 'usurped', 'usurper', 'usurpers', 'usurping', 'usurps', 'utensil', 'utensils', 'uterine', 'uterus', 'uteruses', 'utilitarian', 'utilitarianism', 'utilitarianisms', 'utilitarians', 'utilities', 'utility', 'utilization', 'utilizations', 'utilize', 'utilized', 'utilizes', 'utilizing', 'utmost', 'utmosts', 'utopia', 'utopian', 'utopians', 'utopias', 'utterance', 'utterances', 'uttered', 'uttering', 'utterly', 'uttermost', 'uttermosts', 'utters', 'uvulae', 'uvular', 'uvulars', 'uvulas', 'uxorious', 'vacancies', 'vacancy', 'vacant', 'vacantly', 'vacate', 'vacated', 'vacates', 'vacating', 'vacation', 'vacationed', 'vacationer', 'vacationers', 'vacationing', 'vacationist', 'vacationists', 'vacations', 'vaccinate', 'vaccinated', 'vaccinates', 'vaccinating', 'vaccination', 'vaccinations', 'vaccine', 'vaccines', 'vacillate', 'vacillated', 'vacillates', 'vacillating', 'vacillation', 'vacillations', 'vacuities', 'vacuity', 'vacuole', 'vacuoles', 'vacuous', 'vacuously', 'vacuousness', 'vacuousnesses', 'vacuum', 'vacuumed', 'vacuuming', 'vacuums', 'vagabond', 'vagabondage', 'vagabondages', 'vagabonds', 'vagaries', 'vagarious', 'vagary', 'vagina', 'vaginae', 'vaginal', 'vaginally', 'vaginas', 'vagrancies', 'vagrancy', 'vagrant', 'vagrants', 'vaguely', 'vagueness', 'vaguenesses', 'vaguer', 'vaguest', 'vainer', 'vainest', 'vainglories', 'vainglorious', 'vaingloriously', 'vainglory', 'vainly', 'valance', 'valances', 'valediction', 'valedictions', 'valedictorian', 'valedictorians', 'valedictories', 'valedictory', 'valence', 'valences', 'valencies', 'valency', 'valentine', 'valentines', 'valeted', 'valeting', 'valets', 'valetudinarian', 'valetudinarianism', 'valetudinarianisms', 'valetudinarians', 'valiance', 'valiances', 'valiant', 'valiantly', 'validate', 'validated', 'validates', 'validating', 'validation', 'validations', 'validities', 'validity', 'validly', 'validness', 'validnesses', 'valise', 'valises', 'valley', 'valleys', 'valorous', 'valorously', 'valors', 'valour', 'valours', 'valuable', 'valuables', 'valuate', 'valuated', 'valuates', 'valuating', 'valuation', 'valuations', 'valued', 'valueless', 'valuer', 'valuers', 'values', 'valuing', 'valved', 'valveless', 'valves', 'valving', 'valvular', 'vamoose', 'vamoosed', 'vamooses', 'vamoosing', 'vamped', 'vamping', 'vampire', 'vampires', 'vanadium', 'vanadiums', 'vandal', 'vandalise', 'vandalised', 'vandalises', 'vandalising', 'vandalism', 'vandalisms', 'vandalize', 'vandalized', 'vandalizes', 'vandalizing', 'vandals', 'vanguard', 'vanguards', 'vanilla', 'vanillas', 'vanish', 'vanished', 'vanishes', 'vanishing', 'vanities', 'vanity', 'vanned', 'vanning', 'vanquish', 'vanquished', 'vanquisher', 'vanquishers', 'vanquishes', 'vanquishing', 'vantage', 'vantages', 'vaped!', 'vapes!', 'vapidities', 'vapidity', 'vapidly', 'vapidness', 'vapidnesses', 'vaping!', 'vaporise', 'vaporised', 'vaporises', 'vaporising', 'vaporization', 'vaporizations', 'vaporize', 'vaporized', 'vaporizer', 'vaporizers', 'vaporizes', 'vaporizing', 'vaporous', 'vapors', 'vapory', 'vapour', 'vapours', 'vaquero', 'vaqueros', 'variabilities', 'variability', 'variable', 'variables', 'variably', 'variance', 'variances', 'variant', 'variants', 'variation', 'variations', 'varicolored', 'varicose', 'varied', 'variegate', 'variegated', 'variegates', 'variegating', 'variegation', 'variegations', 'varies', 'varietal', 'varietals', 'varieties', 'variety', 'various', 'variously', 'varlet', 'varlets', 'varmint', 'varmints', 'varnish', 'varnished', 'varnishes', 'varnishing', 'varsities', 'varsity', 'varying', 'vascular', 'vasectomies', 'vasectomy', 'vasomotor', 'vassal', 'vassalage', 'vassalages', 'vassals', 'vaster', 'vastest', 'vastly', 'vastness', 'vastnesses', 'vatted', 'vatting', 'vaudeville', 'vaudevilles', 'vaudevillian', 'vaudevillians', 'vaulted', 'vaulter', 'vaulters', 'vaulting', 'vaultings', 'vaults', 'vaunted', 'vaunting', 'vaunts', 'veals', 'vector', 'vectored', 'vectoring', 'vectors', 'veejay', 'veejays', 'veered', 'veering', 'vegans', 'vegetable', 'vegetables', 'vegetarian', 'vegetarianism', 'vegetarianisms', 'vegetarians', 'vegetate', 'vegetated', 'vegetates', 'vegetating', 'vegetation', 'vegetations', 'vegetative', 'vegged', 'vegges', 'veggie', 'veggies', 'vegging', 'vehemence', 'vehemences', 'vehemencies', 'vehemency', 'vehement', 'vehemently', 'vehicle', 'vehicles', 'vehicular', 'veiled', 'veiling', 'veined', 'veining', 'velars', 'veldts', 'vellum', 'vellums', 'velocipede', 'velocipedes', 'velocities', 'velocity', 'velour', 'velours', 'velvet', 'velveteen', 'velveteens', 'velvets', 'velvety', 'venalities', 'venality', 'venally', 'venation', 'venations', 'vended', 'vender', 'venders', 'vendetta', 'vendettas', 'vendible', 'vending', 'vendor', 'vendors', 'veneer', 'veneered', 'veneering', 'veneers', 'venerabilities', 'venerability', 'venerable', 'venerate', 'venerated', 'venerates', 'venerating', 'veneration', 'venerations', 'venereal', 'vengeance', 'vengeances', 'vengeful', 'vengefully', 'venial', 'venireman', 'veniremen', 'venison', 'venisons', 'venomous', 'venomously', 'venoms', 'venous', 'vented', 'ventilate', 'ventilated', 'ventilates', 'ventilating', 'ventilation', 'ventilations', 'ventilator', 'ventilators', 'venting', 'ventral', 'ventricle', 'ventricles', 'ventricular', 'ventriloquies', 'ventriloquism', 'ventriloquisms', 'ventriloquist', 'ventriloquists', 'ventriloquy', 'venture', 'ventured', 'ventures', 'venturesome', 'venturesomely', 'venturesomeness', 'venturesomenesses', 'venturing', 'venturous', 'venturously', 'venturousness', 'venturousnesses', 'venues', 'veracious', 'veraciously', 'veracities', 'veracity', 'veranda', 'verandah', 'verandahs', 'verandas', 'verbal', 'verbalization', 'verbalizations', 'verbalize', 'verbalized', 'verbalizes', 'verbalizing', 'verbally', 'verbals', 'verbatim', 'verbena', 'verbenas', 'verbiage', 'verbiages', 'verbose', 'verbosely', 'verbosities', 'verbosity', 'verboten', 'verdant', 'verdantly', 'verdict', 'verdicts', 'verdigris', 'verdigrises', 'verdure', 'verdures', 'verged', 'verger', 'vergers', 'verges', 'verging', 'verier', 'veriest', 'verifiable', 'verification', 'verifications', 'verified', 'verifies', 'verify', 'verifying', 'verily', 'verisimilitude', 'verisimilitudes', 'veritable', 'veritably', 'verities', 'verity', 'vermicelli', 'vermicellis', 'vermiculite', 'vermiculites', 'vermiform', 'vermilion', 'vermilions', 'vermillion', 'vermillions', 'vermin', 'verminous', 'vermouth', 'vermouths', 'vernacular', 'vernaculars', 'vernal', 'vernier', 'verniers', 'veronica', 'veronicas', 'verruca', 'verrucae', 'verrucas', 'versatile', 'versatilities', 'versatility', 'versed', 'verses', 'versification', 'versifications', 'versified', 'versifier', 'versifiers', 'versifies', 'versify', 'versifying', 'versing', 'version', 'versions', 'versos', 'versus', 'vertebra', 'vertebrae', 'vertebral', 'vertebras', 'vertebrate', 'vertebrates', 'vertex', 'vertexes', 'vertical', 'vertically', 'verticals', 'vertices', 'vertigines', 'vertiginous', 'vertigo', 'vertigoes', 'vertigos', 'verves', 'vesicle', 'vesicles', 'vesicular', 'vesiculate', 'vesper', 'vespers', 'vessel', 'vessels', 'vestal', 'vestals', 'vested', 'vestibule', 'vestibules', 'vestige', 'vestiges', 'vestigial', 'vestigially', 'vesting', 'vestings', 'vestment', 'vestments', 'vestries', 'vestry', 'vestryman', 'vestrymen', 'vetches', 'veteran', 'veterans', 'veterinarian', 'veterinarians', 'veterinaries', 'veterinary', 'vetoed', 'vetoes', 'vetoing', 'vetted', 'vetting', 'vexation', 'vexations', 'vexatious', 'vexatiously', 'vexing', 'viabilities', 'viability', 'viable', 'viably', 'viaduct', 'viaducts', 'viands', 'vibraharp', 'vibraharps', 'vibrancies', 'vibrancy', 'vibrant', 'vibrantly', 'vibraphone', 'vibraphones', 'vibraphonist', 'vibraphonists', 'vibrate', 'vibrated', 'vibrates', 'vibrating', 'vibration', 'vibrations', 'vibrato', 'vibrator', 'vibrators', 'vibratory', 'vibratos', 'viburnum', 'viburnums', 'vicarage', 'vicarages', 'vicarious', 'vicariously', 'vicariousness', 'vicariousnesses', 'vicars', 'vicegerent', 'vicegerents', 'vicennial', 'viceregal', 'viceroy', 'viceroys', 'vichyssoise', 'vichyssoises', 'vicing', 'vicinities', 'vicinity', 'vicious', 'viciously', 'viciousness', 'viciousnesses', 'vicissitude', 'vicissitudes', 'victim', 'victimization', 'victimizations', 'victimize', 'victimized', 'victimizes', 'victimizing', 'victims', 'victor', 'victories', 'victorious', 'victoriously', 'victors', 'victory', 'victual', 'victualed', 'victualing', 'victualled', 'victualling', 'victuals', 'vicuna', 'vicunas', 'videlicet', 'videocassette', 'videocassettes', 'videodisc', 'videodiscs', 'videodisk', 'videodisks', 'videoed', 'videoing', 'videophone', 'videophones', 'videos', 'videotape', 'videotaped', 'videotapes', 'videotaping', 'viewed', 'viewer', 'viewers', 'viewership', 'viewerships', 'viewfinder', 'viewfinders', 'viewing', 'viewings', 'viewpoint', 'viewpoints', 'vigesimal', 'vigilance', 'vigilances', 'vigilant', 'vigilante', 'vigilantes', 'vigilantism', 'vigilantisms', 'vigilantist', 'vigilantists', 'vigilantly', 'vigils', 'vignette', 'vignetted', 'vignettes', 'vignetting', 'vignettist', 'vignettists', 'vigorous', 'vigorously', 'vigors', 'vigour', 'vigours', 'viking', 'vikings', 'vilely', 'vileness', 'vilenesses', 'vilest', 'vilification', 'vilifications', 'vilified', 'vilifies', 'vilify', 'vilifying', 'village', 'villager', 'villagers', 'villages', 'villain', 'villainies', 'villainous', 'villains', 'villainy', 'villas', 'villein', 'villeinage', 'villeinages', 'villeins', 'villus', 'vinaigrette', 'vinaigrettes', 'vincible', 'vindicate', 'vindicated', 'vindicates', 'vindicating', 'vindication', 'vindications', 'vindicator', 'vindicators', 'vindictive', 'vindictively', 'vindictiveness', 'vindictivenesses', 'vinegar', 'vinegars', 'vinegary', 'vineyard', 'vineyards', 'vinos', 'vinous', 'vintage', 'vintages', 'vintner', 'vintners', 'vinyls', 'violable', 'violas', 'violate', 'violated', 'violates', 'violating', 'violation', 'violations', 'violator', 'violators', 'violence', 'violences', 'violent', 'violently', 'violet', 'violets', 'violin', 'violinist', 'violinists', 'violins', 'violist', 'violists', 'violoncellist', 'violoncellists', 'violoncello', 'violoncellos', 'viperous', 'vipers', 'virago', 'viragoes', 'viragos', 'vireos', 'virgin', 'virginal', 'virginals', 'virginities', 'virginity', 'virgins', 'virgule', 'virgules', 'virile', 'virilities', 'virility', 'virologies', 'virologist', 'virologists', 'virology', 'virtual', 'virtually', 'virtue', 'virtues', 'virtuosi', 'virtuosities', 'virtuosity', 'virtuoso', 'virtuosos', 'virtuous', 'virtuously', 'virtuousness', 'virtuousnesses', 'virulence', 'virulences', 'virulent', 'virulently', 'viruses', 'visaed', 'visage', 'visages', 'visaing', 'viscera', 'visceral', 'viscerally', 'viscid', 'viscose', 'viscoses', 'viscosities', 'viscosity', 'viscount', 'viscountcies', 'viscountcy', 'viscountess', 'viscountesses', 'viscounts', 'viscous', 'viscus', 'visibilities', 'visibility', 'visible', 'visibly', 'vising', 'vision', 'visionaries', 'visionary', 'visioned', 'visioning', 'visions', 'visitant', 'visitants', 'visitation', 'visitations', 'visited', 'visiting', 'visitor', 'visitors', 'visits', 'visors', 'vistas', 'visual', 'visualization', 'visualizations', 'visualize', 'visualized', 'visualizer', 'visualizers', 'visualizes', 'visualizing', 'visually', 'visuals', 'vitalities', 'vitality', 'vitalization', 'vitalizations', 'vitalize', 'vitalized', 'vitalizes', 'vitalizing', 'vitally', 'vitals', 'vitamin', 'vitamins', 'vitiate', 'vitiated', 'vitiates', 'vitiating', 'vitiation', 'vitiations', 'viticulture', 'viticultures', 'viticulturist', 'viticulturists', 'vitreous', 'vitrifaction', 'vitrifactions', 'vitrification', 'vitrifications', 'vitrified', 'vitrifies', 'vitrify', 'vitrifying', 'vitrine', 'vitrines', 'vitriol', 'vitriolic', 'vitriols', 'vittles', 'vituperate', 'vituperated', 'vituperates', 'vituperating', 'vituperation', 'vituperations', 'vituperative', 'vivace', 'vivacious', 'vivaciously', 'vivaciousness', 'vivaciousnesses', 'vivacities', 'vivacity', 'vivaria', 'vivarium', 'vivariums', 'vivider', 'vividest', 'vividly', 'vividness', 'vividnesses', 'vivified', 'vivifies', 'vivify', 'vivifying', 'viviparous', 'vivisect', 'vivisected', 'vivisecting', 'vivisection', 'vivisectional', 'vivisectionist', 'vivisectionists', 'vivisections', 'vivisects', 'vixenish', 'vixenishly', 'vixens', 'vizier', 'viziers', 'vizirs', 'vizors', 'vocable', 'vocables', 'vocabularies', 'vocabulary', 'vocalic', 'vocalist', 'vocalists', 'vocalization', 'vocalizations', 'vocalize', 'vocalized', 'vocalizes', 'vocalizing', 'vocally', 'vocals', 'vocation', 'vocational', 'vocations', 'vocative', 'vocatives', 'vociferate', 'vociferated', 'vociferates', 'vociferating', 'vociferation', 'vociferations', 'vociferous', 'vociferously', 'vociferousness', 'vociferousnesses', 'vodkas', 'vogues', 'voguish', 'voiced', 'voiceless', 'voicelessly', 'voicelessness', 'voicelessnesses', 'voicemail!', 'voicemails!', 'voices', 'voicing', 'voidable', 'voided', 'voiding', 'voiles', 'volatile', 'volatilities', 'volatility', 'volatilize', 'volatilized', 'volatilizes', 'volatilizing', 'volcanic', 'volcano', 'volcanoes', 'volcanos', 'volition', 'volitional', 'volitions', 'volley', 'volleyball', 'volleyballs', 'volleyed', 'volleying', 'volleys', 'voltage', 'voltages', 'voltaic', 'voltmeter', 'voltmeters', 'volubilities', 'volubility', 'voluble', 'volubly', 'volume', 'volumes', 'voluminous', 'voluminously', 'voluminousness', 'voluminousnesses', 'voluntaries', 'voluntarily', 'voluntarism', 'voluntarisms', 'voluntary', 'volunteer', 'volunteered', 'volunteering', 'volunteerism', 'volunteerisms', 'volunteers', 'voluptuaries', 'voluptuary', 'voluptuous', 'voluptuously', 'voluptuousness', 'voluptuousnesses', 'volute', 'volutes', 'vomited', 'vomiting', 'vomits', 'voodoo', 'voodooed', 'voodooing', 'voodooism', 'voodooisms', 'voodoos', 'voracious', 'voraciously', 'voraciousness', 'voraciousnesses', 'voracities', 'voracity', 'vortex', 'vortexes', 'vortices', 'votaries', 'votary', 'voters', 'voting', 'votive', 'vouched', 'voucher', 'vouchers', 'vouches', 'vouching', 'vouchsafe', 'vouchsafed', 'vouchsafes', 'vouchsafing', 'vowels', 'vowing', 'voyage', 'voyaged', 'voyager', 'voyagers', 'voyages', 'voyageur', 'voyageurs', 'voyaging', 'voyeur', 'voyeurism', 'voyeurisms', 'voyeuristic', 'voyeurs', 'vulcanization', 'vulcanizations', 'vulcanize', 'vulcanized', 'vulcanizes', 'vulcanizing', 'vulgar', 'vulgarer', 'vulgarest', 'vulgarian', 'vulgarians', 'vulgarism', 'vulgarisms', 'vulgarities', 'vulgarity', 'vulgarization', 'vulgarizations', 'vulgarize', 'vulgarized', 'vulgarizer', 'vulgarizers', 'vulgarizes', 'vulgarizing', 'vulgarly', 'vulnerabilities', 'vulnerability', 'vulnerable', 'vulnerably', 'vulpine', 'vulture', 'vultures', 'vulturous', 'vulvae', 'vulvas', 'vuvuzela!', 'vuvuzelas!', 'wacker!', 'wackest!', 'wackier', 'wackiest', 'wackiness', 'wackinesses', 'wackos', 'wacks!', 'wadded', 'wadding', 'waddings', 'waddle', 'waddled', 'waddles', 'waddling', 'waders', 'wading', 'wafers', 'waffle', 'waffled', 'waffler', 'wafflers', 'waffles', 'waffling', 'wafted', 'wafting', 'wagered', 'wagerer', 'wagerers', 'wagering', 'wagers', 'wagged', 'waggeries', 'waggery', 'wagging', 'waggish', 'waggishly', 'waggishness', 'waggishnesses', 'waggle', 'waggled', 'waggles', 'waggling', 'waggon', 'waggons', 'waging', 'wagoner', 'wagoners', 'wagons', 'wagtail', 'wagtails', 'wailed', 'wailer', 'wailers', 'wailing', 'wailings', 'wainscot', 'wainscoted', 'wainscoting', 'wainscotings', 'wainscots', 'wainscotted', 'wainscotting', 'wainscottings', 'wainwright', 'wainwrights', 'waistband', 'waistbands', 'waistcoat', 'waistcoats', 'waistline', 'waistlines', 'waists', 'waited', 'waiter', 'waiters', 'waiting', 'waitings', 'waitperson', 'waitpersons', 'waitress', 'waitresses', 'waitstaff', 'waitstaffs', 'waived', 'waiver', 'waivers', 'waives', 'waiving', 'wakeful', 'wakefully', 'wakefulness', 'wakefulnesses', 'wakened', 'wakening', 'wakens', 'waking', 'waling', 'walkaway', 'walkaways', 'walked', 'walker', 'walkers', 'walking', 'walkings', 'walkout', 'walkouts', 'walkover', 'walkovers', 'walkway', 'walkways', 'wallabies', 'wallaby', 'wallboard', 'wallboards', 'walled', 'wallet', 'wallets', 'walleye', 'walleyed', 'walleyes', 'wallflower', 'wallflowers', 'walling', 'wallop', 'walloped', 'walloping', 'wallopings', 'wallops', 'wallow', 'wallowed', 'wallowing', 'wallows', 'wallpaper', 'wallpapered', 'wallpapering', 'wallpapers', 'walnut', 'walnuts', 'walrus', 'walruses', 'waltzed', 'waltzer', 'waltzers', 'waltzes', 'waltzing', 'wampum', 'wampums', 'wander', 'wandered', 'wanderer', 'wanderers', 'wandering', 'wanderings', 'wanderlust', 'wanderlusts', 'wanders', 'wangle', 'wangled', 'wangler', 'wanglers', 'wangles', 'wangling', 'waning', 'wannabe', 'wannabes', 'wanner', 'wanness', 'wannesses', 'wannest', 'wanted', 'wanting', 'wanton', 'wantoned', 'wantoning', 'wantonly', 'wantonness', 'wantonnesses', 'wantons', 'wapiti', 'wapitis', 'warble', 'warbled', 'warbler', 'warblers', 'warbles', 'warbling', 'warbonnet', 'warbonnets', 'warded', 'warden', 'wardens', 'warder', 'warders', 'warding', 'wardrobe', 'wardrobes', 'wardroom', 'wardrooms', 'warehouse', 'warehoused', 'warehouses', 'warehousing', 'warfare', 'warfares', 'warhead', 'warheads', 'warhorse', 'warhorses', 'warier', 'wariest', 'warily', 'wariness', 'warinesses', 'warlike', 'warlock', 'warlocks', 'warlord', 'warlords', 'warmblooded', 'warmed', 'warmer', 'warmers', 'warmest', 'warmhearted', 'warmheartedness', 'warmheartednesses', 'warming', 'warmish', 'warmly', 'warmness', 'warmnesses', 'warmonger', 'warmongering', 'warmongerings', 'warmongers', 'warmth', 'warmths', 'warmup', 'warmups', 'warned', 'warning', 'warnings', 'warpath', 'warpaths', 'warped', 'warping', 'warplane', 'warplanes', 'warrant', 'warranted', 'warrantied', 'warranties', 'warranting', 'warrants', 'warranty', 'warrantying', 'warred', 'warren', 'warrens', 'warring', 'warrior', 'warriors', 'warship', 'warships', 'warthog', 'warthogs', 'wartier', 'wartiest', 'wartime', 'wartimes', 'washable', 'washables', 'washbasin', 'washbasins', 'washboard', 'washboards', 'washbowl', 'washbowls', 'washcloth', 'washcloths', 'washed', 'washer', 'washers', 'washerwoman', 'washerwomen', 'washes', 'washier', 'washiest', 'washing', 'washings', 'washout', 'washouts', 'washrag', 'washrags', 'washroom', 'washrooms', 'washstand', 'washstands', 'washtub', 'washtubs', 'waspish', 'waspishly', 'waspishness', 'waspishnesses', 'wassail', 'wassailed', 'wassailing', 'wassails', 'wastage', 'wastages', 'wastebasket', 'wastebaskets', 'wasted', 'wasteful', 'wastefully', 'wastefulness', 'wastefulnesses', 'wasteland', 'wastelands', 'wastepaper', 'wastepapers', 'waster', 'wasters', 'wastes', 'wasting', 'wastrel', 'wastrels', 'watchband', 'watchbands', 'watchdog', 'watchdogs', 'watched', 'watcher', 'watchers', 'watches', 'watchful', 'watchfully', 'watchfulness', 'watchfulnesses', 'watching', 'watchmaker', 'watchmakers', 'watchmaking', 'watchmakings', 'watchman', 'watchmen', 'watchtower', 'watchtowers', 'watchword', 'watchwords', 'waterbed', 'waterbeds', 'waterbird', 'waterbirds', 'waterboard!', 'waterboarded!', 'waterboarding!', 'waterboardings!', 'waterboards!', 'waterborne', 'watercolor', 'watercolors', 'watercourse', 'watercourses', 'watercraft', 'watercress', 'watercresses', 'watered', 'waterfall', 'waterfalls', 'waterfowl', 'waterfowls', 'waterfront', 'waterfronts', 'waterhole', 'waterholes', 'waterier', 'wateriest', 'wateriness', 'waterinesses', 'watering', 'waterlilies', 'waterlily', 'waterline', 'waterlines', 'waterlogged', 'watermark', 'watermarked', 'watermarking', 'watermarks', 'watermelon', 'watermelons', 'watermill', 'watermills', 'waterpower', 'waterpowers', 'waterproof', 'waterproofed', 'waterproofing', 'waterproofings', 'waterproofs', 'waters', 'watershed', 'watersheds', 'waterside', 'watersides', 'waterspout', 'waterspouts', 'watertight', 'waterway', 'waterways', 'waterwheel', 'waterwheels', 'waterworks', 'watery', 'wattage', 'wattages', 'wattle', 'wattled', 'wattles', 'wattling', 'wavelength', 'wavelengths', 'wavelet', 'wavelets', 'wavelike', 'wavered', 'waverer', 'waverers', 'wavering', 'waveringly', 'wavers', 'wavier', 'waviest', 'waviness', 'wavinesses', 'waving', 'waxier', 'waxiest', 'waxiness', 'waxinesses', 'waxing', 'waxwing', 'waxwings', 'waxwork', 'waxworks', 'waybill', 'waybills', 'wayfarer', 'wayfarers', 'wayfaring', 'wayfarings', 'waylaid', 'waylay', 'waylayer', 'waylayers', 'waylaying', 'waylays', 'wayside', 'waysides', 'wayward', 'waywardly', 'waywardness', 'waywardnesses', 'weaken', 'weakened', 'weakener', 'weakeners', 'weakening', 'weakens', 'weaker', 'weakest', 'weakfish', 'weakfishes', 'weakling', 'weaklings', 'weakly', 'weakness', 'weaknesses', 'wealth', 'wealthier', 'wealthiest', 'wealthiness', 'wealthinesses', 'wealths', 'wealthy', 'weaned', 'weaning', 'weapon', 'weaponless', 'weaponries', 'weaponry', 'weapons', 'wearable', 'wearer', 'wearers', 'wearied', 'wearier', 'wearies', 'weariest', 'wearily', 'weariness', 'wearinesses', 'wearing', 'wearisome', 'wearisomely', 'wearying', 'weasel', 'weaseled', 'weaseling', 'weaselled', 'weaselling', 'weaselly', 'weasels', 'weather', 'weathercock', 'weathercocks', 'weathered', 'weathering', 'weatherings', 'weatherization', 'weatherizations', 'weatherize', 'weatherized', 'weatherizes', 'weatherizing', 'weatherman', 'weathermen', 'weatherperson', 'weatherpersons', 'weatherproof', 'weatherproofed', 'weatherproofing', 'weatherproofs', 'weathers', 'weatherstrip', 'weatherstripped', 'weatherstripping', 'weatherstrippings', 'weatherstrips', 'weaved', 'weaver', 'weavers', 'weaves', 'weaving', 'weavings', 'webbed', 'webbing', 'webbings', 'webcam!', 'webcams!', 'webcast!', 'webcasting!', 'webcasts!', 'webfeet', 'webfoot', 'webinar!', 'webinars!', 'webisode!', 'webisodes!', 'webmaster!', 'webmasters!', 'website', 'websites', 'wedded', 'wedding', 'weddings', 'wedged', 'wedges', 'wedgie', 'wedgies', 'wedging', 'wedlock', 'wedlocks', 'weeded', 'weeder', 'weeders', 'weedier', 'weediest', 'weeding', 'weedless', 'weeing', 'weekday', 'weekdays', 'weekend', 'weekended', 'weekending', 'weekends', 'weeklies', 'weekly', 'weeknight', 'weeknights', 'weened', 'weenie', 'weenier', 'weenies', 'weeniest', 'weening', 'weensier', 'weensiest', 'weensy', 'weeper', 'weepers', 'weepier', 'weepies', 'weepiest', 'weeping', 'weevil', 'weevils', 'weighed', 'weighing', 'weighs', 'weight', 'weighted', 'weightier', 'weightiest', 'weightily', 'weightiness', 'weightinesses', 'weighting', 'weightless', 'weightlessly', 'weightlessness', 'weightlessnesses', 'weightlifter', 'weightlifters', 'weightlifting', 'weightliftings', 'weights', 'weighty', 'weirder', 'weirdest', 'weirdie', 'weirdies', 'weirdly', 'weirdness', 'weirdnesses', 'weirdo', 'weirdos', 'welched', 'welches', 'welching', 'welcome', 'welcomed', 'welcomes', 'welcoming', 'weldable', 'welded', 'welder', 'welders', 'welding', 'welfare', 'welfares', 'welkin', 'welkins', 'welled', 'wellhead', 'wellheads', 'welling', 'wellington', 'wellingtons', 'wellness', 'wellnesses', 'wellspring', 'wellsprings', 'welshed', 'welsher', 'welshers', 'welshes', 'welshing', 'welted', 'welter', 'weltered', 'weltering', 'welters', 'welterweight', 'welterweights', 'welting', 'wenches', 'wended', 'wending', 'werewolf', 'werewolves', 'werwolf', 'werwolves', 'westbound', 'westerlies', 'westerly', 'western', 'westerner', 'westerners', 'westernization', 'westernizations', 'westernize', 'westernized', 'westernizes', 'westernizing', 'westernmost', 'westerns', 'wests', 'westward', 'westwards', 'wetback', 'wetbacks', 'wetland', 'wetlands', 'wetness', 'wetnesses', 'wetted', 'wetter', 'wetters', 'wettest', 'wetting', 'whacked', 'whacker', 'whackers', 'whackier', 'whackiest', 'whacking', 'whacks', 'whacky', 'whaleboat', 'whaleboats', 'whalebone', 'whalebones', 'whaled', 'whaler', 'whalers', 'whales', 'whaling', 'whalings', 'whammed', 'whammies', 'whamming', 'whammy', 'wharfs', 'wharves', 'whatchamacallit', 'whatchamacallits', 'whatever', 'whatnot', 'whatnots', 'whatsoever', 'wheals', 'wheaten', 'wheats', 'wheedle', 'wheedled', 'wheedler', 'wheedlers', 'wheedles', 'wheedling', 'wheelbarrow', 'wheelbarrows', 'wheelbase', 'wheelbases', 'wheelchair', 'wheelchairs', 'wheeled', 'wheelhouse', 'wheelhouses', 'wheelie', 'wheelies', 'wheeling', 'wheels', 'wheelwright', 'wheelwrights', 'wheeze', 'wheezed', 'wheezes', 'wheezier', 'wheeziest', 'wheezily', 'wheeziness', 'wheezinesses', 'wheezing', 'wheezy', 'whelks', 'whelmed', 'whelming', 'whelms', 'whelped', 'whelping', 'whelps', 'whence', 'whenever', 'whensoever', 'whereabouts', 'whereas', 'whereat', 'whereby', 'wherefore', 'wherefores', 'wherein', 'whereof', 'whereon', 'wheres', 'wheresoever', 'whereto', 'whereupon', 'wherever', 'wherewith', 'wherewithal', 'wherewithals', 'wherries', 'wherry', 'whether', 'whetstone', 'whetstones', 'whetted', 'whetting', 'wheys', 'whichever', 'whiffed', 'whiffing', 'whiffletree', 'whiffletrees', 'whiffs', 'whiled', 'whiles', 'whiling', 'whilom', 'whilst', 'whimper', 'whimpered', 'whimpering', 'whimpers', 'whimsey', 'whimseys', 'whimsical', 'whimsicalities', 'whimsicality', 'whimsically', 'whimsies', 'whimsy', 'whined', 'whiner', 'whiners', 'whines', 'whinier', 'whiniest', 'whining', 'whinnied', 'whinnies', 'whinny', 'whinnying', 'whipcord', 'whipcords', 'whiplash', 'whiplashes', 'whipped', 'whipper', 'whippers', 'whippersnapper', 'whippersnappers', 'whippet', 'whippets', 'whipping', 'whippings', 'whippletree', 'whippletrees', 'whippoorwill', 'whippoorwills', 'whipsaw', 'whipsawed', 'whipsawing', 'whipsawn', 'whipsaws', 'whirled', 'whirligig', 'whirligigs', 'whirling', 'whirlpool', 'whirlpools', 'whirls', 'whirlwind', 'whirlwinds', 'whirlybird', 'whirlybirds', 'whirred', 'whirring', 'whirrs', 'whisked', 'whisker', 'whiskered', 'whiskers', 'whiskery', 'whiskey', 'whiskeys', 'whiskies', 'whisking', 'whisks', 'whisky', 'whisper', 'whispered', 'whisperer', 'whisperers', 'whispering', 'whispers', 'whistle', 'whistled', 'whistler', 'whistlers', 'whistles', 'whistling', 'whists', 'whitecap', 'whitecaps', 'whitefish', 'whitefishes', 'whitehead', 'whiteheads', 'whiten', 'whitened', 'whitener', 'whiteners', 'whiteness', 'whitenesses', 'whitening', 'whitenings', 'whitens', 'whiteout', 'whiteouts', 'whiter', 'whites', 'whitest', 'whitetail', 'whitetails', 'whitewall', 'whitewalls', 'whitewash', 'whitewashed', 'whitewashes', 'whitewashing', 'whitewater', 'whitewaters', 'whitey', 'whiteys', 'whither', 'whiting', 'whitings', 'whitish', 'whittle', 'whittled', 'whittler', 'whittlers', 'whittles', 'whittling', 'whizkid', 'whizkids', 'whizzbang', 'whizzbangs', 'whizzed', 'whizzes', 'whizzing', 'whodunit', 'whodunits', 'whodunnit', 'whodunnits', 'whoever', 'wholehearted', 'wholeheartedly', 'wholeheartedness', 'wholeheartednesses', 'wholeness', 'wholenesses', 'wholes', 'wholesale', 'wholesaled', 'wholesaler', 'wholesalers', 'wholesales', 'wholesaling', 'wholesome', 'wholesomely', 'wholesomeness', 'wholesomenesses', 'wholesomer', 'wholesomest', 'wholly', 'whomever', 'whomsoever', 'whooped', 'whoopee', 'whooper', 'whoopers', 'whooping', 'whoops', 'whoosh', 'whooshed', 'whooshes', 'whooshing', 'whopper', 'whoppers', 'whopping', 'whorehouse', 'whorehouses', 'whoreish', 'whores', 'whorish', 'whorled', 'whorls', 'whosoever', 'wicked', 'wickeder', 'wickedest', 'wickedly', 'wickedness', 'wickednesses', 'wicker', 'wickers', 'wickerwork', 'wickerworks', 'wicket', 'wickets', 'wicking', 'widely', 'widemouthed', 'widened', 'widener', 'wideners', 'wideness', 'widenesses', 'widening', 'widens', 'widescreen!', 'widescreens!', 'widespread', 'widest', 'widgeon', 'widgeons', 'widowed', 'widower', 'widowers', 'widowhood', 'widowhoods', 'widowing', 'widows', 'widths', 'wielded', 'wielder', 'wielders', 'wielding', 'wields', 'wiener', 'wieners', 'wienie', 'wienies', 'wifeless', 'wifely', 'wigeon', 'wigeons', 'wigged', 'wigging', 'wiggle', 'wiggled', 'wiggler', 'wigglers', 'wiggles', 'wigglier', 'wiggliest', 'wiggling', 'wiggly', 'wights', 'wiglet', 'wiglets', 'wigwag', 'wigwagged', 'wigwagging', 'wigwags', 'wigwam', 'wigwams', 'wikis!', 'wildcat', 'wildcats', 'wildcatted', 'wildcatter', 'wildcatters', 'wildcatting', 'wildebeest', 'wildebeests', 'wilder', 'wilderness', 'wildernesses', 'wildest', 'wildfire', 'wildfires', 'wildflower', 'wildflowers', 'wildfowl', 'wildfowls', 'wildlife', 'wildlifes', 'wildly', 'wildness', 'wildnesses', 'wilful', 'wilfully', 'wilfulness', 'wilfulnesses', 'wilier', 'wiliest', 'wiliness', 'wilinesses', 'wiling', 'willed', 'willful', 'willfully', 'willfulness', 'willfulnesses', 'willies', 'willing', 'willingly', 'willingness', 'willingnesses', 'williwaw', 'williwaws', 'willow', 'willowier', 'willowiest', 'willows', 'willowy', 'willpower', 'willpowers', 'wilted', 'wilting', 'wimpier', 'wimpiest', 'wimpish', 'wimple', 'wimpled', 'wimples', 'wimpling', 'winced', 'winces', 'winched', 'winches', 'winching', 'wincing', 'windbag', 'windbags', 'windblown', 'windbreak', 'windbreaker', 'windbreakers', 'windbreaks', 'windburn', 'windburned', 'windburns', 'windchill', 'windchills', 'winded', 'winder', 'winders', 'windfall', 'windfalls', 'windflower', 'windflowers', 'windier', 'windiest', 'windily', 'windiness', 'windinesses', 'winding', 'windings', 'windjammer', 'windjammers', 'windlass', 'windlasses', 'windless', 'windmill', 'windmilled', 'windmilling', 'windmills', 'window', 'windowless', 'windowpane', 'windowpanes', 'windows', 'windowsill', 'windowsills', 'windpipe', 'windpipes', 'windproof', 'windrow', 'windrows', 'windshield', 'windshields', 'windsock', 'windsocks', 'windstorm', 'windstorms', 'windsurf', 'windsurfed', 'windsurfer', 'windsurfers', 'windsurfing', 'windsurfings', 'windsurfs', 'windswept', 'windup', 'windups', 'windward', 'windwards', 'wineglass', 'wineglasses', 'winegrower', 'winegrowers', 'winemaker', 'winemakers', 'wineries', 'winery', 'wingding', 'wingdings', 'winged', 'winging', 'wingless', 'winglike', 'wingnut!', 'wingnuts!', 'wingspan', 'wingspans', 'wingspread', 'wingspreads', 'wingtip', 'wingtips', 'winier', 'winiest', 'wining', 'winked', 'winker', 'winkers', 'winking', 'winkle', 'winkled', 'winkles', 'winkling', 'winnable', 'winner', 'winners', 'winning', 'winningly', 'winnings', 'winnow', 'winnowed', 'winnower', 'winnowers', 'winnowing', 'winnows', 'winsome', 'winsomely', 'winsomeness', 'winsomenesses', 'winsomer', 'winsomest', 'winter', 'wintered', 'wintergreen', 'wintergreens', 'winterier', 'winteriest', 'wintering', 'winterize', 'winterized', 'winterizes', 'winterizing', 'winters', 'wintertime', 'wintertimes', 'wintery', 'wintrier', 'wintriest', 'wintry', 'wipers', 'wiping', 'wirehair', 'wirehairs', 'wireless', 'wirelesses', 'wiretap', 'wiretapped', 'wiretapper', 'wiretappers', 'wiretapping', 'wiretappings', 'wiretaps', 'wirier', 'wiriest', 'wiriness', 'wirinesses', 'wiring', 'wirings', 'wisdom', 'wisdoms', 'wiseacre', 'wiseacres', 'wisecrack', 'wisecracked', 'wisecracking', 'wisecracks', 'wisely', 'wisest', 'wishbone', 'wishbones', 'wished', 'wisher', 'wishers', 'wishes', 'wishful', 'wishfully', 'wishing', 'wispier', 'wispiest', 'wistaria', 'wistarias', 'wisteria', 'wisterias', 'wistful', 'wistfully', 'wistfulness', 'wistfulnesses', 'witchcraft', 'witchcrafts', 'witched', 'witcheries', 'witchery', 'witches', 'witching', 'withal', 'withdraw', 'withdrawal', 'withdrawals', 'withdrawing', 'withdrawn', 'withdraws', 'withdrew', 'withed', 'wither', 'withered', 'withering', 'witheringly', 'withers', 'withes', 'withheld', 'withhold', 'withholding', 'withholdings', 'withholds', 'within', 'withing', 'withins', 'without', 'withstand', 'withstanding', 'withstands', 'withstood', 'witless', 'witlessly', 'witlessness', 'witlessnesses', 'witness', 'witnessed', 'witnesses', 'witnessing', 'witted', 'witticism', 'witticisms', 'wittier', 'wittiest', 'wittily', 'wittiness', 'wittinesses', 'witting', 'wittingly', 'wiving', 'wizard', 'wizardries', 'wizardry', 'wizards', 'wizened', 'wizzes', 'woads', 'wobble', 'wobbled', 'wobbles', 'wobblier', 'wobbliest', 'wobbliness', 'wobblinesses', 'wobbling', 'wobbly', 'woebegone', 'woeful', 'woefuller', 'woefullest', 'woefully', 'woefulness', 'woefulnesses', 'wolfed', 'wolfhound', 'wolfhounds', 'wolfing', 'wolfish', 'wolfram', 'wolframs', 'wolverine', 'wolverines', 'wolves', 'womanhood', 'womanhoods', 'womanish', 'womanize', 'womanized', 'womanizer', 'womanizers', 'womanizes', 'womanizing', 'womankind', 'womanlier', 'womanliest', 'womanlike', 'womanliness', 'womanlinesses', 'womanly', 'wombat', 'wombats', 'womenfolk', 'womenfolks', 'wonder', 'wondered', 'wonderful', 'wonderfully', 'wonderfulness', 'wonderfulnesses', 'wondering', 'wonderingly', 'wonderland', 'wonderlands', 'wonderment', 'wonderments', 'wonders', 'wondrous', 'wondrously', 'wonkier', 'wonkiest', 'wonted', 'wonton', 'wontons', 'wonts', 'woodbine', 'woodbines', 'woodblock', 'woodblocks', 'woodcarver', 'woodcarvers', 'woodcarving', 'woodcarvings', 'woodchuck', 'woodchucks', 'woodcock', 'woodcocks', 'woodcraft', 'woodcrafts', 'woodcut', 'woodcuts', 'woodcutter', 'woodcutters', 'woodcutting', 'woodcuttings', 'wooded', 'wooden', 'woodener', 'woodenest', 'woodenly', 'woodenness', 'woodennesses', 'woodier', 'woodies', 'woodiest', 'woodiness', 'woodinesses', 'wooding', 'woodland', 'woodlands', 'woodlot', 'woodlots', 'woodman', 'woodmen', 'woodpecker', 'woodpeckers', 'woodpile', 'woodpiles', 'woodshed', 'woodsheds', 'woodsier', 'woodsiest', 'woodsiness', 'woodsinesses', 'woodsman', 'woodsmen', 'woodsy', 'woodwind', 'woodwinds', 'woodwork', 'woodworker', 'woodworkers', 'woodworking', 'woodworkings', 'woodworks', 'wooers', 'woofed', 'woofer', 'woofers', 'woofing', 'wooing', 'woolen', 'woolens', 'woolgathering', 'woolgatherings', 'woolie', 'woolier', 'woolies', 'wooliest', 'woollen', 'woollens', 'woollier', 'woollies', 'woolliest', 'woolliness', 'woollinesses', 'woolly', 'wools', 'woozier', 'wooziest', 'woozily', 'wooziness', 'woozinesses', 'wordage', 'wordages', 'wordbook', 'wordbooks', 'worded', 'wordier', 'wordiest', 'wordily', 'wordiness', 'wordinesses', 'wording', 'wordings', 'wordless', 'wordlessly', 'wordplay', 'wordplays', 'workable', 'workaday', 'workaholic', 'workaholics', 'workbench', 'workbenches', 'workbook', 'workbooks', 'workday', 'workdays', 'worked', 'worker', 'workers', 'workfare', 'workfares', 'workforce', 'workforces', 'workhorse', 'workhorses', 'workhouse', 'workhouses', 'working', 'workingman', 'workingmen', 'workings', 'workingwoman', 'workingwomen', 'workload', 'workloads', 'workman', 'workmanlike', 'workmanship', 'workmanships', 'workmen', 'workout', 'workouts', 'workplace', 'workplaces', 'workroom', 'workrooms', 'worksheet', 'worksheets', 'workshop', 'workshops', 'workstation', 'workstations', 'worktable', 'worktables', 'workup', 'workups', 'workweek', 'workweeks', 'worldlier', 'worldliest', 'worldliness', 'worldlinesses', 'worldly', 'worlds', 'worldview', 'worldviews', 'worldwide', 'wormed', 'wormhole', 'wormholes', 'wormier', 'wormiest', 'worming', 'wormwood', 'wormwoods', 'worried', 'worrier', 'worriers', 'worries', 'worriment', 'worriments', 'worrisome', 'worrying', 'worryingly', 'worrywart', 'worrywarts', 'worsen', 'worsened', 'worsening', 'worsens', 'worses', 'worship', 'worshiped', 'worshiper', 'worshipers', 'worshipful', 'worshiping', 'worshipped', 'worshipper', 'worshippers', 'worshipping', 'worships', 'worsted', 'worsteds', 'worsting', 'worsts', 'worthier', 'worthies', 'worthiest', 'worthily', 'worthiness', 'worthinesses', 'worthless', 'worthlessly', 'worthlessness', 'worthlessnesses', 'worths', 'worthwhile', 'worthy', 'worts', 'wouldst', 'wounded', 'wounding', 'wounds', 'wowing', 'wracks', 'wraith', 'wraiths', 'wrangle', 'wrangled', 'wrangler', 'wranglers', 'wrangles', 'wrangling', 'wraparound', 'wraparounds', 'wrapped', 'wrapper', 'wrappers', 'wrapping', 'wrappings', 'wrasse', 'wrasses', 'wrathful', 'wrathfully', 'wraths', 'wreaked', 'wreaking', 'wreaks', 'wreath', 'wreathe', 'wreathed', 'wreathes', 'wreathing', 'wreaths', 'wreckage', 'wreckages', 'wrecked', 'wrecker', 'wreckers', 'wrecking', 'wrecks', 'wrench', 'wrenched', 'wrenches', 'wrenching', 'wrested', 'wresting', 'wrestle', 'wrestled', 'wrestler', 'wrestlers', 'wrestles', 'wrestling', 'wrestlings', 'wrests', 'wretch', 'wretched', 'wretcheder', 'wretchedest', 'wretchedly', 'wretchedness', 'wretchednesses', 'wretches', 'wriest', 'wriggle', 'wriggled', 'wriggler', 'wrigglers', 'wriggles', 'wrigglier', 'wriggliest', 'wriggling', 'wriggly', 'wright', 'wrights', 'wringer', 'wringers', 'wringing', 'wrings', 'wrinkle', 'wrinkled', 'wrinkles', 'wrinklier', 'wrinklies', 'wrinkliest', 'wrinkling', 'wrinkly', 'wristband', 'wristbands', 'wrists', 'wristwatch', 'wristwatches', 'writer', 'writers', 'writes', 'writhe', 'writhed', 'writhes', 'writhing', 'writing', 'writings', 'written', 'wrongdoer', 'wrongdoers', 'wrongdoing', 'wrongdoings', 'wronged', 'wronger', 'wrongest', 'wrongful', 'wrongfully', 'wrongfulness', 'wrongfulnesses', 'wrongheaded', 'wrongheadedly', 'wrongheadedness', 'wrongheadednesses', 'wronging', 'wrongly', 'wrongness', 'wrongnesses', 'wrongs', 'wrought', 'wryest', 'wryness', 'wrynesses', 'wursts', 'wusses', 'wussier', 'wussies', 'wussiest', 'xenons', 'xenophobe', 'xenophobes', 'xenophobia', 'xenophobias', 'xenophobic', 'xerographic', 'xerographies', 'xerography', 'xeroxed', 'xeroxes', 'xeroxing', 'xylems', 'xylophone', 'xylophones', 'xylophonist', 'xylophonists', 'yachted', 'yachting', 'yachtings', 'yachts', 'yachtsman', 'yachtsmen', 'yachtswoman', 'yachtswomen', 'yacked', 'yacking', 'yahoos', 'yakked', 'yakking', 'yammer', 'yammered', 'yammerer', 'yammerers', 'yammering', 'yammers', 'yangs', 'yanked', 'yanking', 'yapped', 'yapping', 'yardage', 'yardages', 'yardarm', 'yardarms', 'yardman', 'yardmaster', 'yardmasters', 'yardmen', 'yardstick', 'yardsticks', 'yarmelke', 'yarmelkes', 'yarmulke', 'yarmulkes', 'yarrow', 'yarrows', 'yawing', 'yawned', 'yawner', 'yawners', 'yawning', 'yearbook', 'yearbooks', 'yearlies', 'yearling', 'yearlings', 'yearlong', 'yearly', 'yearned', 'yearning', 'yearnings', 'yearns', 'yeastier', 'yeastiest', 'yeasts', 'yeasty', 'yelled', 'yelling', 'yellow', 'yellowed', 'yellower', 'yellowest', 'yellowing', 'yellowish', 'yellowness', 'yellownesses', 'yellows', 'yellowy', 'yelped', 'yelping', 'yeoman', 'yeomanries', 'yeomanry', 'yeomen', 'yeshiva', 'yeshivah', 'yeshivahs', 'yeshivas', 'yeshivoth', 'yessed', 'yessing', 'yesterday', 'yesterdays', 'yesteryear', 'yesteryears', 'yielded', 'yielding', 'yields', 'yipped', 'yippee', 'yipping', 'yodeled', 'yodeler', 'yodelers', 'yodeling', 'yodelled', 'yodeller', 'yodellers', 'yodelling', 'yodels', 'yogas', 'yoghourt', 'yoghourts', 'yoghurt', 'yoghurts', 'yogins', 'yogurt', 'yogurts', 'yokels', 'yoking', 'yolked', 'yonder', 'yores', 'younger', 'youngest', 'youngish', 'youngster', 'youngsters', 'yourself', 'yourselves', 'youthful', 'youthfully', 'youthfulness', 'youthfulnesses', 'youths', 'yowled', 'yowling', 'ytterbium', 'ytterbiums', 'yttrium', 'yttriums', 'yuccas', 'yucked', 'yuckier', 'yuckiest', 'yucking', 'yukked', 'yukking', 'yules', 'yuletide', 'yuletides', 'yummier', 'yummiest', 'yuppie', 'yuppies', 'zanier', 'zanies', 'zaniest', 'zaniness', 'zaninesses', 'zapped', 'zapper', 'zappers', 'zapping', 'zealot', 'zealotries', 'zealotry', 'zealots', 'zealous', 'zealously', 'zealousness', 'zealousnesses', 'zeals', 'zebras', 'zeitgeist', 'zeitgeists', 'zenith', 'zeniths', 'zephyr', 'zephyrs', 'zeppelin', 'zeppelins', 'zeroed', 'zeroes', 'zeroing', 'zestful', 'zestfully', 'zestfulness', 'zestfulnesses', 'zestier', 'zestiest', 'zigzag', 'zigzagged', 'zigzagging', 'zigzags', 'zilches', 'zillion', 'zillions', 'zinced', 'zincing', 'zincked', 'zincking', 'zinfandel', 'zinfandels', 'zinged', 'zinger', 'zingers', 'zingier', 'zingiest', 'zinging', 'zinnia', 'zinnias', 'zipped', 'zipper', 'zippered', 'zippering', 'zippers', 'zippier', 'zippiest', 'zipping', 'zircon', 'zirconium', 'zirconiums', 'zircons', 'zither', 'zithers', 'zlotys', 'zodiac', 'zodiacal', 'zodiacs', 'zombie', 'zombies', 'zombis', 'zonally', 'zoning', 'zonings', 'zonked', 'zookeeper', 'zookeepers', 'zoological', 'zoologically', 'zoologies', 'zoologist', 'zoologists', 'zoology', 'zoomed', 'zooming', 'zoophyte', 'zoophytes', 'zoophytic', 'zounds', 'zucchini', 'zucchinis', 'zwieback', 'zwiebacks', 'zydeco', 'zydecos', 'zygote', 'zygotes', 'zygotic', 'zymurgies', 'zymurgy']
| 242,147
| 968,374
| 0.69563
| 73,641
| 968,588
| 9.149509
| 0.99981
| 0.000018
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.000004
| 0.076023
| 968,588
| 4
| 968,374
| 242,147
| 0.752861
| 0.000216
| 0
| 0
| 0
| 0
| 0.695953
| 0.000312
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| false
| 1
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 1
|
0
| 9
|
7a3c57f7a33d6042fdef912e67178f45cb20a155
| 38,845
|
py
|
Python
|
ydb/public/api/grpc/yq_v1_pb2_grpc.py
|
gridnevvvit/ydb-python-sdk
|
952f7b4f179595b07711934691d2e15643929cc5
|
[
"Apache-2.0"
] | 2
|
2022-02-18T16:18:52.000Z
|
2022-02-19T20:15:05.000Z
|
ydb/public/api/grpc/yq_v1_pb2_grpc.py
|
gridnevvvit/ydb-python-sdk
|
952f7b4f179595b07711934691d2e15643929cc5
|
[
"Apache-2.0"
] | 1
|
2022-02-09T12:49:19.000Z
|
2022-02-21T08:15:36.000Z
|
ydb/public/api/grpc/yq_v1_pb2_grpc.py
|
gridnevvvit/ydb-python-sdk
|
952f7b4f179595b07711934691d2e15643929cc5
|
[
"Apache-2.0"
] | 2
|
2022-02-03T14:58:56.000Z
|
2022-02-22T19:42:59.000Z
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from ydb.public.api.protos import yq_pb2 as ydb_dot_public_dot_api_dot_protos_dot_yq__pb2
class YandexQueryServiceStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.CreateQuery = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/CreateQuery',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateQueryRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateQueryResponse.FromString,
)
self.ListQueries = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ListQueries',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListQueriesRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListQueriesResponse.FromString,
)
self.DescribeQuery = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DescribeQuery',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeQueryRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeQueryResponse.FromString,
)
self.GetQueryStatus = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/GetQueryStatus',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetQueryStatusRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetQueryStatusResponse.FromString,
)
self.ModifyQuery = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ModifyQuery',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyQueryRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyQueryResponse.FromString,
)
self.DeleteQuery = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DeleteQuery',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteQueryRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteQueryResponse.FromString,
)
self.ControlQuery = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ControlQuery',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ControlQueryRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ControlQueryResponse.FromString,
)
self.GetResultData = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/GetResultData',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetResultDataRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetResultDataResponse.FromString,
)
self.ListJobs = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ListJobs',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListJobsRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListJobsResponse.FromString,
)
self.DescribeJob = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DescribeJob',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeJobRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeJobResponse.FromString,
)
self.CreateConnection = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/CreateConnection',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateConnectionRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateConnectionResponse.FromString,
)
self.ListConnections = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ListConnections',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListConnectionsRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListConnectionsResponse.FromString,
)
self.DescribeConnection = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DescribeConnection',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeConnectionRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeConnectionResponse.FromString,
)
self.ModifyConnection = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ModifyConnection',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyConnectionRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyConnectionResponse.FromString,
)
self.DeleteConnection = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DeleteConnection',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteConnectionRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteConnectionResponse.FromString,
)
self.TestConnection = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/TestConnection',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.TestConnectionRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.TestConnectionResponse.FromString,
)
self.CreateBinding = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/CreateBinding',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateBindingRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateBindingResponse.FromString,
)
self.ListBindings = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ListBindings',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListBindingsRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListBindingsResponse.FromString,
)
self.DescribeBinding = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DescribeBinding',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeBindingRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeBindingResponse.FromString,
)
self.ModifyBinding = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/ModifyBinding',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyBindingRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyBindingResponse.FromString,
)
self.DeleteBinding = channel.unary_unary(
'/YandexQuery.V1.YandexQueryService/DeleteBinding',
request_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteBindingRequest.SerializeToString,
response_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteBindingResponse.FromString,
)
class YandexQueryServiceServicer(object):
"""Missing associated documentation comment in .proto file."""
def CreateQuery(self, request, context):
"""Query
Query is the text of an SQL request, the results of the last run and the state after the last run (partitions offsets, consumer in YDS)
Create a query object with a given SQL
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListQueries(self, request, context):
"""Get a list of brief queries objects
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DescribeQuery(self, request, context):
"""Get full information about the object of the query
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetQueryStatus(self, request, context):
"""Get status of the query
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ModifyQuery(self, request, context):
"""Change the attributes of the query (acl, name, ...)
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteQuery(self, request, context):
"""Completely delete the query
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ControlQuery(self, request, context):
"""Change the state of the query lifecycle
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetResultData(self, request, context):
"""Get a results page
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListJobs(self, request, context):
"""Job
Job - appears immediately after starting the request and contains the request metadata
Get a list of jobs
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DescribeJob(self, request, context):
"""Get information about the job
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateConnection(self, request, context):
"""Connection
Connection - entity that describes connection points. This can be imagined as an analogue of a network address.
Create a connection object (ObjectStorage, YDB, YDS, ...)
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListConnections(self, request, context):
"""Get a list of connections objects
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DescribeConnection(self, request, context):
"""Get information about the object of the connection
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ModifyConnection(self, request, context):
"""Change the attributes of the connection
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteConnection(self, request, context):
"""Completely delete the connection
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def TestConnection(self, request, context):
"""Test the connection (permissions, network, ...)
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateBinding(self, request, context):
"""Binding
Binding - entity using which a schema is assigned to non-schematic data
Create a binding object - bind schema with ObjectStorage object or YDS stream
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListBindings(self, request, context):
"""Get a list of bindings objects
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DescribeBinding(self, request, context):
"""Get information about the object of the binding
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ModifyBinding(self, request, context):
"""Change the attributes of the binding
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteBinding(self, request, context):
"""Completely delete the binding
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_YandexQueryServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
'CreateQuery': grpc.unary_unary_rpc_method_handler(
servicer.CreateQuery,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateQueryRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateQueryResponse.SerializeToString,
),
'ListQueries': grpc.unary_unary_rpc_method_handler(
servicer.ListQueries,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListQueriesRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListQueriesResponse.SerializeToString,
),
'DescribeQuery': grpc.unary_unary_rpc_method_handler(
servicer.DescribeQuery,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeQueryRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeQueryResponse.SerializeToString,
),
'GetQueryStatus': grpc.unary_unary_rpc_method_handler(
servicer.GetQueryStatus,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetQueryStatusRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetQueryStatusResponse.SerializeToString,
),
'ModifyQuery': grpc.unary_unary_rpc_method_handler(
servicer.ModifyQuery,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyQueryRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyQueryResponse.SerializeToString,
),
'DeleteQuery': grpc.unary_unary_rpc_method_handler(
servicer.DeleteQuery,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteQueryRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteQueryResponse.SerializeToString,
),
'ControlQuery': grpc.unary_unary_rpc_method_handler(
servicer.ControlQuery,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ControlQueryRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ControlQueryResponse.SerializeToString,
),
'GetResultData': grpc.unary_unary_rpc_method_handler(
servicer.GetResultData,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetResultDataRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetResultDataResponse.SerializeToString,
),
'ListJobs': grpc.unary_unary_rpc_method_handler(
servicer.ListJobs,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListJobsRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListJobsResponse.SerializeToString,
),
'DescribeJob': grpc.unary_unary_rpc_method_handler(
servicer.DescribeJob,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeJobRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeJobResponse.SerializeToString,
),
'CreateConnection': grpc.unary_unary_rpc_method_handler(
servicer.CreateConnection,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateConnectionRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateConnectionResponse.SerializeToString,
),
'ListConnections': grpc.unary_unary_rpc_method_handler(
servicer.ListConnections,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListConnectionsRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListConnectionsResponse.SerializeToString,
),
'DescribeConnection': grpc.unary_unary_rpc_method_handler(
servicer.DescribeConnection,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeConnectionRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeConnectionResponse.SerializeToString,
),
'ModifyConnection': grpc.unary_unary_rpc_method_handler(
servicer.ModifyConnection,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyConnectionRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyConnectionResponse.SerializeToString,
),
'DeleteConnection': grpc.unary_unary_rpc_method_handler(
servicer.DeleteConnection,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteConnectionRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteConnectionResponse.SerializeToString,
),
'TestConnection': grpc.unary_unary_rpc_method_handler(
servicer.TestConnection,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.TestConnectionRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.TestConnectionResponse.SerializeToString,
),
'CreateBinding': grpc.unary_unary_rpc_method_handler(
servicer.CreateBinding,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateBindingRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateBindingResponse.SerializeToString,
),
'ListBindings': grpc.unary_unary_rpc_method_handler(
servicer.ListBindings,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListBindingsRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListBindingsResponse.SerializeToString,
),
'DescribeBinding': grpc.unary_unary_rpc_method_handler(
servicer.DescribeBinding,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeBindingRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeBindingResponse.SerializeToString,
),
'ModifyBinding': grpc.unary_unary_rpc_method_handler(
servicer.ModifyBinding,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyBindingRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyBindingResponse.SerializeToString,
),
'DeleteBinding': grpc.unary_unary_rpc_method_handler(
servicer.DeleteBinding,
request_deserializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteBindingRequest.FromString,
response_serializer=ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteBindingResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'YandexQuery.V1.YandexQueryService', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class YandexQueryService(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def CreateQuery(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/CreateQuery',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateQueryRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateQueryResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListQueries(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ListQueries',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListQueriesRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListQueriesResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DescribeQuery(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DescribeQuery',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeQueryRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeQueryResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetQueryStatus(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/GetQueryStatus',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetQueryStatusRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetQueryStatusResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ModifyQuery(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ModifyQuery',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyQueryRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyQueryResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteQuery(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DeleteQuery',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteQueryRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteQueryResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ControlQuery(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ControlQuery',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ControlQueryRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ControlQueryResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetResultData(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/GetResultData',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetResultDataRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.GetResultDataResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListJobs(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ListJobs',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListJobsRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListJobsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DescribeJob(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DescribeJob',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeJobRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeJobResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/CreateConnection',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateConnectionRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListConnections(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ListConnections',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListConnectionsRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListConnectionsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DescribeConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DescribeConnection',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeConnectionRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ModifyConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ModifyConnection',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyConnectionRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DeleteConnection',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteConnectionRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def TestConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/TestConnection',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.TestConnectionRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.TestConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateBinding(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/CreateBinding',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateBindingRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.CreateBindingResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListBindings(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ListBindings',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListBindingsRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ListBindingsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DescribeBinding(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DescribeBinding',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeBindingRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DescribeBindingResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ModifyBinding(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/ModifyBinding',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyBindingRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.ModifyBindingResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteBinding(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/YandexQuery.V1.YandexQueryService/DeleteBinding',
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteBindingRequest.SerializeToString,
ydb_dot_public_dot_api_dot_protos_dot_yq__pb2.DeleteBindingResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 51.382275
| 143
| 0.693886
| 3,831
| 38,845
| 6.589402
| 0.058209
| 0.025353
| 0.060371
| 0.075463
| 0.854342
| 0.852401
| 0.807439
| 0.770916
| 0.764182
| 0.759666
| 0
| 0.005807
| 0.241962
| 38,845
| 755
| 144
| 51.450331
| 0.851491
| 0.04675
| 0
| 0.523364
| 1
| 0
| 0.089661
| 0.055885
| 0
| 0
| 0
| 0
| 0
| 1
| 0.068536
| false
| 0
| 0.003115
| 0.03271
| 0.109034
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7ac0002fe81ccf30bcaee2e5b697a14b5180fbd7
| 11,755
|
py
|
Python
|
modules/webpage_generation.py
|
last-genius/homeworks_project
|
759ba35003faf5888d84a8480db31d8875dda30f
|
[
"MIT"
] | null | null | null |
modules/webpage_generation.py
|
last-genius/homeworks_project
|
759ba35003faf5888d84a8480db31d8875dda30f
|
[
"MIT"
] | 3
|
2020-04-06T15:31:08.000Z
|
2020-05-13T06:49:15.000Z
|
modules/webpage_generation.py
|
LastGenius-edu/homeworks_project
|
759ba35003faf5888d84a8480db31d8875dda30f
|
[
"MIT"
] | 3
|
2020-05-19T19:37:09.000Z
|
2020-05-19T21:54:29.000Z
|
def book_page(title, wordcolor):
"""
Generates a webpage for the book.
Compatible with flask template system
"""
return f"""
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='css/style.css') }}}}">
<link rel="shortcut icon" type="image/png" href="{{{{ url_for('static', filename='img/favicon.png') }}}}"/>
<title>{title}</title>
</head>
<body class="body">
<table class="tablecategory">
<tr class="rowcategory">
<td class="categorytitle" colspan="2">
<h1 class="bookcenter">{title}</h1>
</td>
</tr>
<tr class="bookrow">
<td class="tablecell" align="center">
<div class="bookbox">
<h2>Word cloud</h2>
<img width="82%" height="82%" src="{{{{ url_for('static', filename='output/wordclouds/{title}.jpg') }}}}">
</div>
</td>
<td class="tablecell">
<div class="bookbox" style="word-wrap: break-word;">
<h2>Color words</h2>
{wordcolor}
</div>
</td>
</tr>
<tr class="bookrow">
<td class="tablecell" colspan="2">
<div class="booksinglebox">
<h2>Lexical Dispersion Plot of TOP-10 words for {title}</h2>
<img width="85%" height="85%" style="" src="{{{{ url_for('static', filename='output/dispersion/{title}.png') }}}}">
</div>
</td>
</tr>
<tr class="bookrow">
<td class="tablecell" colspan="2">
<div class="booksinglebox">
<h2>Lexical Dispersion Plot of TOP-10 female names for {title}</h2>
<img width="85%" height="85%" style="" src="{{{{ url_for('static', filename='output/femalenames/{title}.png') }}}}">
</div>
</td>
</tr>
<tr class="bookrow">
<td class="tablecell" colspan="2">
<div class="booksinglebox">
<h2>Lexical Dispersion Plot of TOP-10 male names for {title}</h2>
<img width="85%" height="85%" style="" src="{{{{ url_for('static', filename='output/malenames/{title}.png') }}}}">
</div>
</td>
</tr>
</table>
</body>
</html>"""
def category_page(category):
"""
Generates a webpage for the category
Compatible with flask template system
"""
start_page = f"""
<!-- Sultanov Andriy -->
<!-- MIT License 2020 -->
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='css/style.css') }}}}">
<link rel="shortcut icon" type="image/png" href="{{{{ url_for('static', filename='img/favicon.png') }}}}"/>
<title>{category.name}</title>
</head>
<body class="body">
<table class="tablecategory">
<tr class="rowcategory">
<td class="categorytitle" colspan="7">
<h1 class="categorycenter">{category.name}</h1>
</td>
</tr>"""
cells = len(category.books)
rows = (cells // 6) + 1
for i in range(rows):
start_page += """<tr class="animatedcategoryrow">"""
for book in category.books[i*6:(i*6) + 6]:
start_page += f"""<td class="tablecell">
<a href="https://text-analysis-ucu.herokuapp.com/title?title={book.title}">
<div class="categorybox">
<h2>{book.title}</h2>
</div>
</a>
</td>"""
start_page += """</tr>"""
start_page += """</table></body></html>"""
return start_page
def category_list_page(category_list):
"""
Generates a webpage for the category
Compatible with flask template system
"""
start_page = f"""
<!-- Sultanov Andriy -->
<!-- MIT License 2020 -->
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='css/style.css') }}}}">
<link rel="shortcut icon" type="image/png" href="{{{{ url_for('static', filename='img/favicon.png') }}}}"/>
<title>{category_list.name}</title>
</head>
<body class="body">
<table class="tablecategory">
<tr class="rowcategory">
<td class="categorytitle" colspan="7">
<h1 class="categorycenter">{category_list.name}</h1>
</td>
</tr>"""
cells = len(category_list.categories)
rows = (cells // 6) + 1
for i in range(rows):
start_page += """<tr class="animatedcategoryrow">"""
for category in category_list.categories[i * 6:(i * 6) + 6]:
start_page += f"""<td class="tablecell">
<a href="https://text-analysis-ucu.herokuapp.com/category?title={category.name}">
<div class="categorybox">
<h2>{category.name}</h2>
</div>
</a>
</td>"""
start_page += """</tr>"""
start_page += """</table></body></html>"""
return start_page
def book_list_page(books):
"""
Generates a webpage for the category
Compatible with flask template system
"""
start_page = f"""
<!-- Sultanov Andriy -->
<!-- MIT License 2020 -->
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='css/style.css') }}}}">
<link rel="shortcut icon" type="image/png" href="{{{{ url_for('static', filename='img/favicon.png') }}}}"/>
<title>Books</title>
</head>
<body class="body">
<table class="tablecategory">
<tr class="rowcategory">
<td class="categorytitle" colspan="7">
<h1 class="categorycenter">Books</h1>
</td>
</tr>"""
cells = len(books)
rows = (cells // 6) + 1
for i in range(rows):
start_page += """<tr class="animatedcategoryrow">"""
for book in books[i * 6:(i * 6) + 6]:
start_page += f"""<td class="tablecell">
<a href="https://text-analysis-ucu.herokuapp.com/title?title={book.title}">
<div class="categorybox">
<h2>{book.title}</h2>
</div>
</a>
</td>"""
start_page += """</tr>"""
start_page += """</table></body></html>"""
return start_page
def home_page(books, authors, years, topics):
"""
Generates a home webpage
Compatible with flask template system
"""
page = """
<!-- Sultanov Andriy -->
<!-- MIT License 2020 -->
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
<link rel="shortcut icon" type="image/png" href="{{ url_for('static', filename='img/favicon.png') }}"/>
<title>Home</title>
</head>
<body class="body">
<h1 class="title">Textual Analysis Data Visualization</h1>
<h1 class="bytitle">Project by Andriy Sultanov</h1>
<div class="subtitlediv">
<table>
<tr>
<td>
<h1 class="subtitle">Categories</h1>
</td>
<td>
<div class='icon-scroll'></div>
</td>
</tr>
</table>
</div>
<table class="tablecategories">
<tr class="tablerow">
<td>
<a href="https://text-analysis-ucu.herokuapp.com/category?title=books">
<h1 class="category">Books</h1>
</a>
</td>
"""
for book in books[:5]:
page += f"""
<td class="tablecell">
<a href="https://text-analysis-ucu.herokuapp.com/title?title={book.title}">
<div class="box">
<h2>{book.title}</h2>
</div>
</a>
</td>"""
page += """</tr>
<tr class="tablerow">
<td>
<a href="https://text-analysis-ucu.herokuapp.com/category?title=authors">
<h1 class="category"1>Authors</h1>
</a>
</td>"""
for author in authors[:5]:
page += f"""<td class="tablecell">
<a href="https://text-analysis-ucu.herokuapp.com/category?title={author.name}">
<div class="box">
<h2>{author.name}</h2>
</div>
</a>
</td>"""
page += """</tr>
<tr class="tablerow">
<td>
<a href="https://text-analysis-ucu.herokuapp.com/category?title=years">
<h1 class="category">Years</h1>
</a>
</td>"""
for year in years[:5]:
page += f"""
<td class="tablecell">
<a href="https://text-analysis-ucu.herokuapp.com/category?title={year.name}">
<div class="box">
<h2>{year.name}</h2>
</div>
</a>
</td>"""
page += """</tr>
<tr class="tablerow">
<td>
<h1 class="category">Topics</h1>
</td>
<td class="tablecell">
<div class="box">
<h2>Title</h2>
</div>
</td>
<td class="tablecell">
<div class="box">
<h2>Title</h2>
</div>
</td>
<td class="tablecell">
<div class="box">
<h2>Title</h2>
</div>
</td>
<td class="tablecell">
<div class="box">
<h2>Title</h2>
</div>
</td>
<td class="tablecell">
<div class="box">
<h2>Title</h2>
</div>
</td>
</tr>
</table>
</body>
</html>"""
return page
| 37.31746
| 144
| 0.408252
| 1,057
| 11,755
| 4.498581
| 0.124882
| 0.029443
| 0.053838
| 0.058885
| 0.815352
| 0.77939
| 0.765931
| 0.746583
| 0.739432
| 0.739432
| 0
| 0.018419
| 0.431901
| 11,755
| 314
| 145
| 37.436306
| 0.693621
| 0.03054
| 0
| 0.754717
| 1
| 0.086792
| 0.875487
| 0.123982
| 0
| 0
| 0
| 0
| 0
| 1
| 0.018868
| false
| 0
| 0
| 0
| 0.037736
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
8f25758456f51f5a93a9a071662bd3ea80ae6524
| 22,930
|
py
|
Python
|
tests/test_vector_jacobian_product.py
|
PennyLaneAI/pennylane-lightning
|
772bf0e0a15103b46f651266212ce3178aaa9321
|
[
"Apache-2.0"
] | 29
|
2020-08-12T15:05:27.000Z
|
2022-03-11T15:49:58.000Z
|
tests/test_vector_jacobian_product.py
|
PennyLaneAI/pennylane-lightning
|
772bf0e0a15103b46f651266212ce3178aaa9321
|
[
"Apache-2.0"
] | 238
|
2020-08-12T15:04:28.000Z
|
2022-03-30T14:35:35.000Z
|
tests/test_vector_jacobian_product.py
|
PennyLaneAI/pennylane-lightning
|
772bf0e0a15103b46f651266212ce3178aaa9321
|
[
"Apache-2.0"
] | 13
|
2020-10-14T14:59:29.000Z
|
2022-03-23T08:53:17.000Z
|
# Copyright 2018-2021 Xanadu Quantum Technologies Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Tests for the ``vector_jacobian_product`` method of LightningQubit.
"""
import pytest
import pennylane as qml
from pennylane import numpy as np
try:
from pennylane_lightning.lightning_qubit_ops import (
VectorJacobianProductC64,
VectorJacobianProductC128,
)
except (ImportError, ModuleNotFoundError):
pytest.skip("No binary module found. Skipping.", allow_module_level=True)
class TestComputeVJP:
"""Tests for the numeric computation of VJPs"""
@pytest.fixture
def dev(self):
return qml.device("lightning.qubit", wires=2)
def test_unsupported_complex_type(self, dev):
dev._state = dev._asarray(dev._state, np.complex256)
dy = np.array([[1.0, 2.0], [3.0, 4.0]])
jac = np.array([[[1.0, 0.1, 0.2], [0.2, 0.6, 0.1]], [[0.4, -0.7, 1.2], [-0.5, -0.6, 0.7]]])
with pytest.raises(TypeError, match="Unsupported complex Type: complex256"):
dev.compute_vjp(dy, jac)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_computation(self, tol, dev, C):
"""Test that the correct VJP is returned"""
dev._state = dev._asarray(dev._state, C)
dy = np.array([[1.0, 2.0], [3.0, 4.0]])
jac = np.array([[[1.0, 0.1, 0.2], [0.2, 0.6, 0.1]], [[0.4, -0.7, 1.2], [-0.5, -0.6, 0.7]]])
vjp = dev.compute_vjp(dy, jac)
expected = np.tensordot(dy, jac, axes=[[0, 1], [0, 1]])
assert vjp.shape == (3,)
assert np.allclose(vjp, expected, atol=tol, rtol=0)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_computation_num(self, tol, dev, C):
"""Test that the correct VJP is returned"""
dev._state = dev._asarray(dev._state, C)
dy = np.array([[1.0, 2.0], [3.0, 4.0]])
jac = np.array([[[1.0, 0.1, 0.2], [0.2, 0.6, 0.1]], [[0.4, -0.7, 1.2], [-0.5, -0.6, 0.7]]])
vjp = dev.compute_vjp(dy, jac, num=4)
expected = np.tensordot(dy, jac, axes=[[0, 1], [0, 1]])
assert vjp.shape == (3,)
assert np.allclose(vjp, expected, atol=tol, rtol=0)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_computation_num_error(self, dev, C):
"""Test that the correct VJP is returned"""
dev._state = dev._asarray(dev._state, C)
dy = np.array([[1.0, 2.0], [3.0, 4.0]])
jac = np.array([[[1.0, 0.1, 0.2], [0.2, 0.6, 0.1]], [[0.4, -0.7, 1.2], [-0.5, -0.6, 0.7]]])
with pytest.raises(ValueError, match="Invalid size for the gradient-output vector"):
dev.compute_vjp(dy, jac, num=3)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_jacobian_is_none(self, dev, C):
"""A None Jacobian returns a None VJP"""
dev._state = dev._asarray(dev._state, C)
dy = np.array([[1.0, 2.0], [3.0, 4.0]])
jac = None
vjp = dev.compute_vjp(dy, jac)
assert vjp is None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_zero_dy(self, dev, C):
"""A zero dy vector will return a zero matrix"""
dev._state = dev._asarray(dev._state, C)
dy = np.zeros([2, 2])
jac = np.array([[[1.0, 0.1, 0.2], [0.2, 0.6, 0.1]], [[0.4, -0.7, 1.2], [-0.5, -0.6, 0.7]]])
vjp = dev.compute_vjp(dy, jac)
assert np.all(vjp == np.zeros([3]))
class TestVectorJacobianProduct:
"""Tests for the vector_jacobian_product function"""
@pytest.fixture
def dev(self):
return qml.device("lightning.qubit", wires=2)
def test_unsupported_complex_type(self, dev):
dev._state = dev._asarray(dev._state, np.complex256)
x, y, z = [0.5, 0.3, -0.7]
with qml.tape.JacobianTape() as tape:
qml.RX(0.4, wires=[0])
qml.Rot(x, y, z, wires=[0])
qml.RY(-0.2, wires=[0])
qml.expval(qml.PauliZ(0))
tape.trainable_params = {1, 2, 3}
dy = np.array([1.0])
with pytest.raises(TypeError, match="Unsupported complex Type: complex256"):
dev.vector_jacobian_product(tape, dy)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_use_device_state(self, tol, dev, C):
"""Tests that when using the device state, the correct answer is still returned."""
dev._state = dev._asarray(dev._state, C)
x, y, z = [0.5, 0.3, -0.7]
with qml.tape.JacobianTape() as tape:
qml.RX(0.4, wires=[0])
qml.Rot(x, y, z, wires=[0])
qml.RY(-0.2, wires=[0])
qml.expval(qml.PauliZ(0))
tape.trainable_params = {1, 2, 3}
dy = np.array([1.0])
jac1, vjp1 = dev.vector_jacobian_product(tape, dy)
tape.execute(dev)
jac2, vjp2 = dev.vector_jacobian_product(tape, dy, use_device_state=True)
assert np.allclose(vjp1, vjp2, atol=tol, rtol=0)
assert np.allclose(jac1, jac2, atol=tol, rtol=0)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_provide_starting_state(self, tol, dev, C):
"""Tests provides correct answer when provided starting state."""
dev._state = dev._asarray(dev._state, C)
x, y, z = [0.5, 0.3, -0.7]
with qml.tape.JacobianTape() as tape:
qml.RX(0.4, wires=[0])
qml.Rot(x, y, z, wires=[0])
qml.RY(-0.2, wires=[0])
qml.expval(qml.PauliZ(0))
tape.trainable_params = {1, 2, 3}
dy = np.array([1.0])
jac1, vjp1 = dev.vector_jacobian_product(tape, dy)
tape.execute(dev)
jac2, vjp2 = dev.vector_jacobian_product(tape, dy, starting_state=dev._pre_rotated_state)
assert np.allclose(vjp1, vjp2, atol=tol, rtol=0)
assert np.allclose(jac1, jac2, atol=tol, rtol=0)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_not_expval(self, dev, C):
"""Test if a QuantumFunctionError is raised for a tape with measurements that are not
expectation values"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape:
qml.RX(0.1, wires=0)
qml.var(qml.PauliZ(0))
dy = np.array([1.0])
with pytest.raises(qml.QuantumFunctionError, match="Adjoint differentiation method does"):
dev.vector_jacobian_product(tape, dy)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_finite_shots_warns(self, C):
"""Tests warning raised when finite shots specified"""
dev = qml.device("lightning.qubit", wires=1, shots=1)
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape:
qml.expval(qml.PauliZ(0))
dy = np.array([1.0])
with pytest.warns(
UserWarning, match="Requested adjoint differentiation to be computed with finite shots."
):
dev.vector_jacobian_product(tape, dy)
from pennylane_lightning import LightningQubit as lq
@pytest.mark.skipif(not lq._CPP_BINARY_AVAILABLE, reason="Lightning binary required")
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_unsupported_op(self, dev, C):
"""Test if a QuantumFunctionError is raised for an unsupported operation, i.e.,
multi-parameter operations that are not qml.Rot"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape:
qml.CRot(0.1, 0.2, 0.3, wires=[0, 1])
qml.expval(qml.PauliZ(0))
dy = np.array([1.0])
with pytest.raises(
qml.QuantumFunctionError, match="The CRot operation is not supported using the"
):
dev.vector_jacobian_product(tape, dy)
with qml.tape.JacobianTape() as tape:
qml.SingleExcitation(0.1, wires=[0, 1])
qml.expval(qml.PauliZ(0))
with pytest.raises(
qml.QuantumFunctionError,
match="The SingleExcitation operation is not supported using the",
):
dev.vector_jacobian_product(tape, dy)
@pytest.mark.skipif(not lq._CPP_BINARY_AVAILABLE, reason="Lightning binary required")
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_proj_unsupported(self, dev, C):
"""Test if a QuantumFunctionError is raised for a Projector observable"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape:
qml.CRX(0.1, wires=[0, 1])
qml.expval(qml.Projector([0, 1], wires=[0, 1]))
dy = np.array([1.0])
with pytest.raises(
qml.QuantumFunctionError, match="differentiation method does not support the Projector"
):
dev.vector_jacobian_product(tape, dy)
with qml.tape.JacobianTape() as tape:
qml.CRX(0.1, wires=[0, 1])
qml.expval(qml.Projector([0], wires=[0]) @ qml.PauliZ(0))
with pytest.raises(
qml.QuantumFunctionError, match="differentiation method does not support the Projector"
):
dev.vector_jacobian_product(tape, dy)
@pytest.mark.skipif(not lq._CPP_BINARY_AVAILABLE, reason="Lightning binary required")
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_unsupported_hermitian_expectation(self, dev, C):
dev._state = dev._asarray(dev._state, C)
obs = np.array([[1, 0], [0, -1]], dtype=np.complex128, requires_grad=False)
with qml.tape.JacobianTape() as tape:
qml.RY(0.1, wires=(0,))
qml.expval(qml.Hermitian(obs, wires=(0,)))
dy = np.array([1.0])
with pytest.raises(
qml.QuantumFunctionError, match="Lightning adjoint differentiation method does not"
):
dev.vector_jacobian_product(tape, dy)
with qml.tape.JacobianTape() as tape:
qml.RY(0.1, wires=(0,))
qml.expval(qml.Hermitian(obs, wires=(0,)) @ qml.PauliZ(wires=1))
with pytest.raises(
qml.QuantumFunctionError, match="Lightning adjoint differentiation method does not"
):
dev.vector_jacobian_product(tape, dy)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_no_trainable_parameters(self, dev, C):
"""A tape with no trainable parameters will simply return None"""
dev._state = dev._asarray(dev._state, C)
x = 0.4
with qml.tape.QuantumTape() as tape:
qml.RX(x, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape.trainable_params = {}
dy = np.array([1.0])
jac, vjp = dev.vector_jacobian_product(tape, dy)
assert vjp is None
assert jac is None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_no_trainable_parameters_(self, dev, C):
"""A tape with no trainable parameters will simply return None"""
dev._state = dev._asarray(dev._state, C)
x = 0.4
with qml.tape.QuantumTape() as tape:
qml.RX(x, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape.trainable_params = {}
dy = np.array([1.0])
jac, vjp = dev.vector_jacobian_product(tape, dy)
assert vjp is None
assert jac is None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_zero_dy(self, dev, C):
"""A zero dy vector will return no tapes and a zero matrix"""
dev._state = dev._asarray(dev._state, C)
x = 0.4
y = 0.6
with qml.tape.QuantumTape() as tape:
qml.RX(x, wires=0)
qml.RX(y, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape.trainable_params = {0, 1}
dy = np.array([0.0])
jac, vjp = dev.vector_jacobian_product(tape, dy)
assert np.all(vjp == np.zeros([len(tape.trainable_params)]))
assert jac is None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_single_expectation_value(self, tol, dev, C):
"""Tests correct output shape and evaluation for a tape
with a single expval output"""
dev._state = dev._asarray(dev._state, C)
x = 0.543
y = -0.654
with qml.tape.JacobianTape() as tape:
qml.RX(x, wires=[0])
qml.RY(y, wires=[1])
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0) @ qml.PauliX(1))
tape.trainable_params = {0, 1}
dy = np.array([1.0])
jac1, vjp = dev.vector_jacobian_product(tape, dy)
jac2 = dev.adjoint_jacobian(tape)
expected = np.array([-np.sin(y) * np.sin(x), np.cos(y) * np.cos(x)])
assert np.allclose(vjp, expected, atol=tol, rtol=0)
assert np.allclose(jac1, jac2, atol=tol, rtol=0)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_multiple_expectation_values(self, tol, dev, C):
"""Tests correct output shape and evaluation for a tape
with multiple expval outputs"""
dev._state = dev._asarray(dev._state, C)
x = 0.543
y = -0.654
with qml.tape.JacobianTape() as tape:
qml.RX(x, wires=[0])
qml.RY(y, wires=[1])
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
qml.expval(qml.PauliX(1))
tape.trainable_params = {0, 1}
dy = np.array([1.0, 2.0])
jac1, vjp = dev.vector_jacobian_product(tape, dy)
jac2 = dev.adjoint_jacobian(tape)
expected = np.array([-np.sin(x), 2 * np.cos(y)])
assert np.allclose(vjp, expected, atol=tol, rtol=0)
assert np.allclose(jac1, jac2, atol=tol, rtol=0)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_prob_expectation_values(self, dev, C):
"""Tests correct output shape and evaluation for a tape
with prob and expval outputs"""
dev._state = dev._asarray(dev._state, C)
x = 0.543
y = -0.654
with qml.tape.JacobianTape() as tape:
qml.RX(x, wires=[0])
qml.RY(y, wires=[1])
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
qml.probs(wires=[0, 1])
tape.trainable_params = {0, 1}
dy = np.array([1.0, 2.0, 3.0, 4.0, 5.0])
with pytest.raises(qml.QuantumFunctionError, match="Adjoint differentiation method does"):
dev.vector_jacobian_product(tape, dy)
class TestBatchVectorJacobianProduct:
"""Tests for the batch_vjp function"""
@pytest.fixture
def dev(self):
return qml.device("lightning.qubit", wires=2)
def test_unsupported_complex_type(self, dev):
dev._state = dev._asarray(dev._state, np.complex256)
with qml.tape.QuantumTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {0}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
with pytest.raises(TypeError, match="Unsupported complex Type: complex256"):
dev.batch_vjp(tapes, dys)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_one_tape_no_trainable_parameters(self, dev, C):
"""A tape with no trainable parameters will simply return None"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.QuantumTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
jacs, vjps = dev.batch_vjp(tapes, dys)
assert vjps[0] is None
assert vjps[1] is not None
assert jacs[0] is None
assert jacs[1] is not None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_all_tapes_no_trainable_parameters(self, dev, C):
"""If all tapes have no trainable parameters all outputs will be None"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.QuantumTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.QuantumTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = set()
tape2.trainable_params = set()
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
jacs, vjps = dev.batch_vjp(tapes, dys)
assert vjps[0] is None
assert vjps[1] is None
assert jacs[0] is None
assert jacs[1] is None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_zero_dy(self, dev, C):
"""A zero dy vector will return no tapes and a zero matrix"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.QuantumTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {0}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([0.0]), np.array([1.0])]
jacs, vjps = dev.batch_vjp(tapes, dys)
assert np.allclose(vjps[0], 0)
assert jacs[0] is None
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_reduction_append(self, dev, C):
"""Test the 'append' reduction strategy"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {0}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
jacs, vjps = dev.batch_vjp(tapes, dys, reduction="append")
jac0 = dev.adjoint_jacobian(tape1)
jac1 = dev.adjoint_jacobian(tape2)
assert len(vjps) == 2
assert all(isinstance(v, np.ndarray) for v in vjps)
assert all(len(v) == len(t.trainable_params) for t, v in zip(tapes, vjps))
assert np.allclose(jacs[0], jac0)
assert np.allclose(jacs[1], jac1)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_reduction_append_callable(self, dev, C):
"""Test the 'append' reduction strategy"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {0}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
jacs, vjps = dev.batch_vjp(tapes, dys, reduction=list.append)
jac0 = dev.adjoint_jacobian(tape1)
jac1 = dev.adjoint_jacobian(tape2)
assert len(vjps) == 2
assert all(isinstance(v, np.ndarray) for v in vjps)
assert all(len(v) == len(t.trainable_params) for t, v in zip(tapes, vjps))
assert np.allclose(jacs[0], jac0)
assert np.allclose(jacs[1], jac1)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_reduction_extend(self, dev, C):
"""Test the 'extend' reduction strategy"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {0}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
jacs, vjps = dev.batch_vjp(tapes, dys, reduction="extend")
jac0 = dev.adjoint_jacobian(tape1)
jac1 = dev.adjoint_jacobian(tape2)
assert len(vjps) == sum(len(t.trainable_params) for t in tapes)
assert np.allclose(jacs[0], jac0)
assert np.allclose(jacs[1], jac1)
@pytest.mark.parametrize("C", [np.complex64, np.complex128])
def test_reduction_extend_callable(self, dev, C):
"""Test the 'extend' reduction strategy"""
dev._state = dev._asarray(dev._state, C)
with qml.tape.JacobianTape() as tape1:
qml.RX(0.4, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
with qml.tape.JacobianTape() as tape2:
qml.RX(0.4, wires=0)
qml.RX(0.6, wires=0)
qml.CNOT(wires=[0, 1])
qml.expval(qml.PauliZ(0))
tape1.trainable_params = {0}
tape2.trainable_params = {0, 1}
tapes = [tape1, tape2]
dys = [np.array([1.0]), np.array([1.0])]
_, vjps = dev.batch_vjp(tapes, dys, reduction=list.extend)
assert len(vjps) == sum(len(t.trainable_params) for t in tapes)
| 33.920118
| 100
| 0.58635
| 3,264
| 22,930
| 4.033395
| 0.084252
| 0.033726
| 0.030763
| 0.026662
| 0.851272
| 0.843449
| 0.824763
| 0.820053
| 0.814432
| 0.8079
| 0
| 0.050232
| 0.26812
| 22,930
| 675
| 101
| 33.97037
| 0.734239
| 0.095552
| 0
| 0.808036
| 0
| 0
| 0.038886
| 0
| 0
| 0
| 0
| 0
| 0.098214
| 1
| 0.069196
| false
| 0
| 0.013393
| 0.006696
| 0.095982
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
8f52a1dc1d8b8c1c594b04ab0d0afa0fe316132b
| 13,544
|
py
|
Python
|
tests/rule_engine/normalisation_rule.py
|
cnorthwood/ternip
|
9bdca293585d97206ed1d0bc250789582645d885
|
[
"Apache-2.0"
] | 54
|
2015-01-08T14:45:00.000Z
|
2021-11-06T03:32:51.000Z
|
tests/rule_engine/normalisation_rule.py
|
cnorthwood/ternip
|
9bdca293585d97206ed1d0bc250789582645d885
|
[
"Apache-2.0"
] | 4
|
2015-03-23T00:31:39.000Z
|
2016-01-27T20:41:32.000Z
|
tests/rule_engine/normalisation_rule.py
|
cnorthwood/ternip
|
9bdca293585d97206ed1d0bc250789582645d885
|
[
"Apache-2.0"
] | 14
|
2015-03-23T00:21:28.000Z
|
2020-01-20T16:45:29.000Z
|
#!/usr/bin/env python
import unittest
from ternip.timex import Timex
from ternip.rule_engine.normalisation_rule import NormalisationRule
class normalisation_rule_Test(unittest.TestCase):
def testApplyValue(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testApplyValue', r'{#2} + "01" + {#1}')
t = Timex(type='date')
self.assertTrue(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
self.assertEquals(t.value, '19960106')
def testApplyChangeType(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testApplyChangeType', change_type=r'"non-date"')
t = Timex(type='date')
self.assertTrue(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
self.assertEquals(t.type, 'non-date')
def testApplyFreq(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testApplyFreq', freq=r'"1D"')
t = Timex(type='date')
self.assertTrue(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
self.assertEquals(t.freq, '1D')
def testApplyQuant(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testApplyQuant', quant=r'"EVERY"')
t = Timex(type='date')
self.assertTrue(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
self.assertEquals(t.quant, 'EVERY')
def testApplyInsensitive(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><january~.+><(\d{4})~.+>', 'date', 'testApplyInsensitive', r'{#2} + "01" + {#1}')
t = Timex(type='date')
self.assertTrue(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
self.assertEquals(t.value, '19960106')
def testNoApply(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><February~.+><(\d{4})~.+>', 'date', 'testNoApply', r'{#2} + "01" + {#1}')
t = Timex(type='date')
self.assertFalse(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
self.assertEquals(t.value, None)
def testApplyCorrectType(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testApplyCorrectType', r'{#2} + "01" + {#1}')
t = Timex(type='time')
self.assertFalse(rule.apply(t, '', '', [('06', 'POS', set([t])), ('th', 'POS', set([t])), ('January', 'POS', set([t])), ('1996', 'POS', set([t]))], [], [])[0])
def testPosGuardAllows(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testPosGuardAllows', r'{#2} + "01" + {#1}',
guards = [r'<th~.+><January~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertTrue(rule.apply(t, '', '', body, before, after)[0])
self.assertEquals(t.value, '19960106')
def testPosGuardBlocks(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testPosGuardBlocks', r'{#2} + "01" + {#1}',
guards = [r'<th~.+><February~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertFalse(rule.apply(t, '', '', body, before, after)[0])
def testNegGuardAllows(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testNegGuardAllows', r'{#2} + "01" + {#1}',
guards = [r'!<th~.+><February~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertTrue(rule.apply(t, '', '', body, before, after)[0])
self.assertEquals(t.value, '19960106')
def testNegGuardBlocks(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testNegGuardBlocks', r'{#2} + "01" + {#1}',
guards = [r'!<th~.+><January~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertFalse(rule.apply(t, '', '', body, before, after)[0])
def testPosBeforeAllows(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testPosBeforeAllows', r'{#2} + "01" + {#1}',
before_guards = [r'<on~.+><the~.+>$'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertTrue(rule.apply(t, '', '', body, before, after)[0])
self.assertEquals(t.value, '19960106')
def testPosBeforeBlocks(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testPosBeforeBlocks', r'{#2} + "01" + {#1}',
before_guards = [r'<to~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertFalse(rule.apply(t, '', '', body, before, after)[0])
def testNegBeforeAllows(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testNegBeforeAllows', r'{#2} + "01" + {#1}',
before_guards = [r'!<to~.+><Atlanta~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertTrue(rule.apply(t, '', '', body, before, after)[0])
self.assertEquals(t.value, '19960106')
def testNegBeforeBlocks(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testNegBeforeBlocks', r'{#2} + "01" + {#1}',
before_guards = [r'!<a~.+><plane~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertFalse(rule.apply(t, '', '', body, before, after)[0])
def testPosAfterAllows(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testPosAfterAllows', r'{#2} + "01" + {#1}',
after_guards = [r'<to~.+><Atlanta~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertTrue(rule.apply(t, '', '', body, before, after)[0])
self.assertEquals(t.value, '19960106')
def testPosAfterBlocks(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testPosAfterBlocks', r'{#2} + "01" + {#1}',
after_guards = [r'<a~.+><plane~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertFalse(rule.apply(t, '', '', body, before, after)[0])
def testNegAfterAllows(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testNegAfterAllows', r'{#2} + "01" + {#1}',
after_guards = [r'!<a~.+><plane~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertTrue(rule.apply(t, '', '', body, before, after)[0])
self.assertEquals(t.value, '19960106')
def testNegAfterBlocks(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', 'testNegAfterBlocks', r'{#2} + "01" + {#1}',
after_guards = [r'!<to~.+><Atlanta~.+>'])
t = Timex(type='date')
(before, body, after) = (
[('We', 'POS', set()),
('took', 'POS', set()),
('a', 'POS', set()),
('plane', 'POS', set()),
('on', 'POS', set()),
('the', 'POS', set())],
[('06', 'POS', set()),
('th', 'POS', set()),
('January', 'POS', set()),
('1996', 'POS', set())],
[('to', 'POS', set()),
('Atlanta', 'POS', set())]
)
self.assertFalse(rule.apply(t, '', '', body, before, after)[0])
| 46.068027
| 168
| 0.378913
| 1,269
| 13,544
| 4.033885
| 0.063042
| 0.201602
| 0.038289
| 0.096503
| 0.81891
| 0.81891
| 0.813245
| 0.804649
| 0.798593
| 0.794882
| 0
| 0.031233
| 0.333358
| 13,544
| 294
| 169
| 46.068027
| 0.535718
| 0.001477
| 0
| 0.738971
| 0
| 0
| 0.224926
| 0.06054
| 0
| 0
| 0
| 0
| 0.113971
| 1
| 0.069853
| false
| 0
| 0.011029
| 0
| 0.084559
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
8f64f7e75d6bf57f2450ffb543809c4e1a4df086
| 1,634
|
py
|
Python
|
tests/pipeline/test_detect_faces.py
|
dregula/image-processing-pipeline
|
7df1963247caa01b503980fe152138b88df6c526
|
[
"MIT"
] | 45
|
2019-10-24T17:20:04.000Z
|
2022-02-21T16:29:15.000Z
|
tests/pipeline/test_detect_faces.py
|
XiaohangShi/image-processing-pipeline
|
7df1963247caa01b503980fe152138b88df6c526
|
[
"MIT"
] | 2
|
2020-08-02T05:24:14.000Z
|
2020-09-25T05:31:08.000Z
|
tests/pipeline/test_detect_faces.py
|
XiaohangShi/image-processing-pipeline
|
7df1963247caa01b503980fe152138b88df6c526
|
[
"MIT"
] | 16
|
2019-10-24T17:20:11.000Z
|
2021-11-30T05:59:04.000Z
|
import os
from pipeline.capture_images import CaptureImages
from pipeline.detect_faces import DetectFaces
import tests.config as config
class TestDetectFaces:
def test_detect_faces(self):
capture_images = CaptureImages(os.path.join(config.ASSETS_IMAGES_DIR, "friends"))
prototxt = os.path.join(config.MODELS_FACE_DETECTOR_DIR, "deploy.prototxt.txt")
model = os.path.join(config.MODELS_FACE_DETECTOR_DIR, "res10_300x300_ssd_iter_140000.caffemodel")
detect_faces = DetectFaces(prototxt=prototxt, model=model)
pipeline = iter(capture_images |
detect_faces)
data = next(pipeline)
assert len(data["faces"])
data = next(pipeline)
assert len(data["faces"])
data = next(pipeline)
assert len(data["faces"])
data = next(pipeline)
assert len(data["faces"])
def test_detect_faces_in_batch(self):
capture_images = CaptureImages(os.path.join(config.ASSETS_IMAGES_DIR, "friends"))
prototxt = os.path.join(config.MODELS_FACE_DETECTOR_DIR, "deploy.prototxt.txt")
model = os.path.join(config.MODELS_FACE_DETECTOR_DIR, "res10_300x300_ssd_iter_140000.caffemodel")
detect_faces = DetectFaces(prototxt=prototxt, model=model, batch_size=2)
pipeline = iter(capture_images |
detect_faces)
data = next(pipeline)
assert len(data["faces"])
data = next(pipeline)
assert len(data["faces"])
data = next(pipeline)
assert len(data["faces"])
data = next(pipeline)
assert len(data["faces"])
| 32.68
| 105
| 0.664015
| 194
| 1,634
| 5.381443
| 0.226804
| 0.068966
| 0.099617
| 0.16092
| 0.818008
| 0.818008
| 0.818008
| 0.818008
| 0.818008
| 0.818008
| 0
| 0.023144
| 0.23317
| 1,634
| 49
| 106
| 33.346939
| 0.810056
| 0
| 0
| 0.742857
| 0
| 0
| 0.105263
| 0.04896
| 0
| 0
| 0
| 0
| 0.228571
| 1
| 0.057143
| false
| 0
| 0.114286
| 0
| 0.2
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
56b9fe9cdbb9a17890a1b669ae357754d13b291b
| 7,971
|
py
|
Python
|
tests/utils/boolrule/test_boolrule.py
|
DomineCore/bamboo-engine
|
fb4583e70f9e1e87d9d48c2393db8d8104306f37
|
[
"MIT"
] | 55
|
2021-09-07T11:50:35.000Z
|
2022-03-23T13:19:38.000Z
|
tests/utils/boolrule/test_boolrule.py
|
DomineCore/bamboo-engine
|
fb4583e70f9e1e87d9d48c2393db8d8104306f37
|
[
"MIT"
] | 64
|
2021-09-07T12:04:12.000Z
|
2022-03-29T03:47:18.000Z
|
tests/utils/boolrule/test_boolrule.py
|
DomineCore/bamboo-engine
|
fb4583e70f9e1e87d9d48c2393db8d8104306f37
|
[
"MIT"
] | 20
|
2021-09-07T11:52:08.000Z
|
2022-03-28T08:05:22.000Z
|
# -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
"""
from bamboo_engine.utils.boolrule.boolrule import BoolRule
def test_eq():
assert BoolRule("1 == 1").test() == True
assert BoolRule('"1" == 1').test() == True
assert BoolRule("True == true").test() == True
assert BoolRule("False == false").test() == True
assert BoolRule("1 == True").test() == True
assert BoolRule("0 == False").test() == True
assert BoolRule('"1" == True').test() == True
assert BoolRule('"0" == False').test() == True
assert BoolRule('"3.14" == 3.14').test() == True
assert BoolRule('"abc" == "abc"').test() == True
assert BoolRule("1 == 2").test() == False
assert BoolRule('123 == "123a"').test() == False
assert BoolRule('1 == "2"').test() == False
assert BoolRule('True == "true"').test() == False
assert BoolRule('False == "false"').test() == False
def test_ne():
assert BoolRule("1 != 2").test() == True
assert BoolRule('"1" != 2').test() == True
assert BoolRule('True != "true"').test() == True
assert BoolRule('"abc" != "cba"').test() == True
assert BoolRule("1 != 1").test() == False
def test_gt():
assert BoolRule("2 > 1").test() == True
assert BoolRule('"2" > 1').test() == True
assert BoolRule("1 > 2").test() == False
assert BoolRule('"1" > 2').test() == False
def test_lt():
assert BoolRule("1 < 2").test() == True
assert BoolRule('"1" < 2').test() == True
assert BoolRule("2 < 1").test() == False
assert BoolRule("2 < 2").test() == False
def test_in():
assert BoolRule("1 in (1, 2)").test() == True
assert BoolRule('1 in ("1", "2")').test() == True
assert BoolRule('"1" in (1, 2)').test() == True
assert BoolRule('"1" in ("1", "2")').test() == True
assert BoolRule("1 in (0, 2)").test() == False
assert BoolRule('1 in ("11", 2)').test() == False
def test_notin():
assert BoolRule("1 notin (0, 2)").test() == True
assert BoolRule('1 notin ("0", "2")').test() == True
assert BoolRule('"abc" notin (0, 2)').test() == True
def test_and():
assert BoolRule("1 < 2 and 2 < 3").test() == True
assert BoolRule('"a" < "s" and 2 < 3').test() == True
assert BoolRule("1 > 2 and 2 > 1").test() == False
assert BoolRule("2 > 1 and 1 > 2").test() == False
assert BoolRule("2 > 1 and 1 > 2").test() == False
assert BoolRule('"s" > "s" and 2 < 3').test() == False
assert BoolRule('"s" < "s" and 2 < 3').test() == False
def test_or():
assert BoolRule("1 < 2 or 2 < 3").test() == True
assert BoolRule("1 < 2 or 2 < 1").test() == True
assert BoolRule("1 > 2 or 2 > 1").test() == True
assert BoolRule('"s" > "s" or "su" > "st"').test() == True
assert BoolRule("1 > 2 or 2 > 3").test() == False
assert BoolRule('"a" > "s" or "s" > "st"').test() == False
def test_context():
context = {"${v1}": 1, "${v2}": "1"}
assert BoolRule("${v1} == ${v2}").test(context) == True
assert BoolRule("${v1} == 1").test(context) == True
assert BoolRule('${v1} == "1"').test(context) == True
assert BoolRule('${v2} == "1"').test(context) == True
assert BoolRule('${v2} == "1"').test(context) == True
assert BoolRule('${v1} in ("1")').test(context) == True
def test_gt_or_equal():
context = {"${v1}": 1, "${v2}": "1"}
assert BoolRule("${v1} >= ${v2}").test(context) == True
assert BoolRule("${v1} >= 1").test(context) == True
assert BoolRule('${v1} >= "1"').test(context) == True
assert BoolRule("${v1} >= 0").test(context) == True
assert BoolRule('${v1} >= "0"').test(context) == True
# assert BoolRule('${v1} >= 2').test(context) == True
assert BoolRule('${v2} >= "2"').test(context) == False
def test_lt_or_equal():
context = {"${v1}": 1, "${v2}": "1"}
assert BoolRule("${v1} <= ${v2}").test(context) == True
assert BoolRule("${v1} <= 1").test(context) == True
assert BoolRule('${v1} <= "2"').test(context) == True
assert BoolRule('${v1} <= "123456789111"').test(context) == True
assert BoolRule("${v1} <= 123456789111").test(context) == True
assert BoolRule("${v1} <= 0").test(context) == False
assert BoolRule('${v1} <= "0"').test(context) == False
assert BoolRule('"a" <= "b"').test(context) == True
assert BoolRule('"a" <= "49"').test(context) == False
def test_true_equal():
context = {"${v1}": True, "${v2}": "True"}
# 下面的表达式测试不符合预期
# assert BoolRule('${v1} == ${v2}').test(context) == True
assert BoolRule("${v1} == True").test(context) == True
assert BoolRule("${v1} == true").test(context) == True
assert BoolRule("${v1} == ${v1}").test(context) == True
assert BoolRule("${v1} == 1").test(context) == True
assert BoolRule('${v1} == "1"').test(context) == True
assert BoolRule('${v1} == "s"').test(context) == False
assert BoolRule("${v1} == 0").test(context) == False
assert BoolRule('${v1} == "0"').test(context) == False
assert BoolRule("${v1} == false").test(context) == False
assert BoolRule("${v1} == False").test(context) == False
assert BoolRule('${v1} == "false"').test(context) == False
assert BoolRule('${v1} == "False"').test(context) == False
def test_false_equal():
context = {"${v1}": False, "${v2}": "False"}
# 下面的表达式测试不符合预期
# assert BoolRule('${v1} == "False"').test(context) == True
assert BoolRule("${v1} == ${v1}").test(context) == True
assert BoolRule("${v1} == false").test(context) == True
assert BoolRule("${v1} == False").test(context) == True
assert BoolRule('${v1} == "0"').test(context) == True
assert BoolRule("${v1} == 0").test(context) == True
assert BoolRule('${v1} == "0"').test(context) == True
assert BoolRule('${v1} == "1"').test(context) == False
assert BoolRule("${v1} == true").test(context) == False
assert BoolRule('${v1} == "true"').test(context) == False
assert BoolRule("${v1} == True").test(context) == False
assert BoolRule('${v1} == "True"').test(context) == False
assert BoolRule('${v1} == "s"').test(context) == False
def test_multi_or():
assert BoolRule('("s" > "s" or "su" > "st") or (1 > 3 and 2 < 3)').test() == True
assert BoolRule('(1 > 3 and 2 < 3) or ("s" > "s" or "su" > "st")').test() == True
assert BoolRule('(1 < 3 and 2 < 3) or ("s" > "s" or "su" > "st")').test() == True
assert (
BoolRule(
'(1 > 2 or 2 > 3) or ("s" > "s" or "su" > "st") or (4 > 5 and 5 < 6)'
).test()
== True
)
assert BoolRule('(1 > 2 or 2 > 3) or ("s" > "s" or "su" < "st")').test() == False
assert (
BoolRule(
'(1 > 2 or 2 > 3) or ("s" > "s" or "su" < "st") or (4 > 5 and 5 < 6)'
).test()
== False
)
def test_multi_and():
assert BoolRule('("s" > "s" or "su" > "st") and (1 < 3 and 2 < 3)').test() == True
assert BoolRule('(1 < 2 or 2 > 3) and ("s" > "s" or "su" < "st")').test() == False
assert BoolRule('(1 > 2 or 2 > 3) and ("s" > "s" or "su" > "st")').test() == False
assert BoolRule('(1 > 2 or 2 > 3) and ("s" > "s" or "su" < "st")').test() == False
assert (
BoolRule(
'(1 < 3 and 2 < 3) and ("s" > "s" or "su" > "st") and (4 > 5 and 5 < 6)'
).test()
== False
)
| 37.957143
| 115
| 0.554008
| 1,080
| 7,971
| 4.066667
| 0.113889
| 0.34745
| 0.266393
| 0.175319
| 0.79622
| 0.745674
| 0.729053
| 0.689891
| 0.650273
| 0.643443
| 0
| 0.047079
| 0.2139
| 7,971
| 209
| 116
| 38.138756
| 0.653846
| 0.114917
| 0
| 0.197183
| 0
| 0.077465
| 0.261005
| 0
| 0
| 0
| 0
| 0
| 0.746479
| 1
| 0.105634
| false
| 0
| 0.007042
| 0
| 0.112676
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
56f3330aedf13b215fcf781e6e069d4dfcfc0730
| 174
|
py
|
Python
|
CCC/CCC_12_J3_Icon_Scaling.py
|
Togohogo1/pg
|
ee3c36acde47769c66ee13a227762ee677591375
|
[
"MIT"
] | null | null | null |
CCC/CCC_12_J3_Icon_Scaling.py
|
Togohogo1/pg
|
ee3c36acde47769c66ee13a227762ee677591375
|
[
"MIT"
] | 1
|
2021-10-14T18:26:56.000Z
|
2021-10-14T18:26:56.000Z
|
CCC/CCC_12_J3_Icon_Scaling.py
|
Togohogo1/pg
|
ee3c36acde47769c66ee13a227762ee677591375
|
[
"MIT"
] | 1
|
2021-08-06T03:39:55.000Z
|
2021-08-06T03:39:55.000Z
|
k = int(input())
for i in range(k):
print("*"*k + "x"*k + "*"*k)
for i in range(k):
print(" "*k + "x"*k + "x"*k)
for i in range(k):
print("*"*k + " "*k + "*"*k)
| 19.333333
| 32
| 0.413793
| 33
| 174
| 2.181818
| 0.272727
| 0.166667
| 0.25
| 0.458333
| 0.833333
| 0.833333
| 0.833333
| 0.833333
| 0.555556
| 0
| 0
| 0
| 0.258621
| 174
| 8
| 33
| 21.75
| 0.55814
| 0
| 0
| 0.428571
| 0
| 0
| 0.051724
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.428571
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 8
|
56f70627e722f524a50c5ea86da51d95af84570a
| 242
|
py
|
Python
|
kiqpo/core/Navigate.py
|
bionic-py/Bionic
|
a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4
|
[
"MIT"
] | 9
|
2021-10-31T03:38:16.000Z
|
2021-12-17T00:03:36.000Z
|
kiqpo/core/Navigate.py
|
bionic-py/Bionic
|
a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4
|
[
"MIT"
] | 12
|
2021-11-11T14:18:09.000Z
|
2021-12-03T14:00:25.000Z
|
kiqpo/core/Navigate.py
|
kiqpo/kiqpo
|
a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4
|
[
"MIT"
] | 3
|
2022-03-03T18:30:53.000Z
|
2022-03-09T13:29:39.000Z
|
def navigate(path,windowRender,title,windowClassName):
return f"""<div class='Navigate-kiqpo' >
<a onclick="Navigate{path,windowRender,title,windowClassName}" href='{path}' id='Navigate'>{title}</a>
</div>"""
| 40.333333
| 118
| 0.636364
| 26
| 242
| 5.923077
| 0.576923
| 0.155844
| 0.311688
| 0.376623
| 0.571429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.181818
| 242
| 5
| 119
| 48.4
| 0.777778
| 0
| 0
| 0
| 0
| 0.25
| 0.690083
| 0.438017
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0.25
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 9
|
7130cb1db445319eaf85f57edd058266feee5a55
| 4,452
|
py
|
Python
|
tests/bfuck/test_interpreter.py
|
JavierLuna/esolangs
|
a1da280f42cef910745c0dd1f89da7454ddb03ad
|
[
"MIT"
] | null | null | null |
tests/bfuck/test_interpreter.py
|
JavierLuna/esolangs
|
a1da280f42cef910745c0dd1f89da7454ddb03ad
|
[
"MIT"
] | null | null | null |
tests/bfuck/test_interpreter.py
|
JavierLuna/esolangs
|
a1da280f42cef910745c0dd1f89da7454ddb03ad
|
[
"MIT"
] | null | null | null |
import unittest
from io import StringIO
from unittest.mock import patch
from interpreters import BrainFuckInterpreter
class TestBFInterpreterUnitary(unittest.TestCase):
def test_ast_caching_no_execution(self):
interpreter = BrainFuckInterpreter("-.-.-.-.-.-.-.-")
self.assertIsNotNone(interpreter.env)
self.assertFalse(interpreter._code_is_dirty)
self.assertIsNone(interpreter._cached_ast)
def test_ast_caching_execute_once(self):
interpreter = BrainFuckInterpreter("+")
self.assertIsNotNone(interpreter.env)
self.assertIsNone(interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIsNotNone(interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
def test_ast_caching_execute_twice(self):
interpreter = BrainFuckInterpreter("+")
self.assertIsNotNone(interpreter.env)
self.assertIsNone(interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIsNotNone(interpreter._cached_ast)
cached_ast = interpreter._cached_ast
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIs(cached_ast, interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
def test_ast_caching_code_dirty(self):
interpreter = BrainFuckInterpreter("+")
self.assertIsNotNone(interpreter.env)
self.assertIsNone(interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIsNotNone(interpreter._cached_ast)
cached_ast = interpreter._cached_ast
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIs(cached_ast, interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
interpreter.code = "-"
self.assertTrue(interpreter._code_is_dirty)
self.assertEqual(cached_ast, interpreter._cached_ast)
interpreter.execute()
self.assertIsNot(cached_ast, interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
def test_ast_code_clean_if_same_value(self):
interpreter = BrainFuckInterpreter("+")
self.assertIsNotNone(interpreter.env)
self.assertIsNone(interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIsNotNone(interpreter._cached_ast)
cached_ast = interpreter._cached_ast
self.assertFalse(interpreter._code_is_dirty)
interpreter.execute()
self.assertIs(cached_ast, interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
interpreter.code = "+"
self.assertFalse(interpreter._code_is_dirty)
self.assertEqual(cached_ast, interpreter._cached_ast)
interpreter.execute()
self.assertIs(cached_ast, interpreter._cached_ast)
self.assertFalse(interpreter._code_is_dirty)
class TestBFPrograms(unittest.TestCase):
def test_add_two_cells(self):
code = "++++>+++++<[>+<-]"
interpreter = BrainFuckInterpreter(code)
interpreter.execute()
self.assertEqual(interpreter.env.current_cell, 0)
interpreter.env.cell_pointer += 1
self.assertEqual(interpreter.env.current_cell, 9)
@patch('sys.stdout', new_callable=StringIO)
def test_print_char(self, mock_stdout):
code = "+" * ord("a") + "."
interpreter = BrainFuckInterpreter(code)
interpreter.execute()
self.assertEqual(mock_stdout.getvalue(), "a")
@patch('sys.stdout', new_callable=StringIO)
@patch('sys.stdin.read')
def test_uppercase_char(self, mock_stdin, mock_stdout):
mock_stdin.return_value = 'a'
code = "," + "-" * 32 + "."
interpreter = BrainFuckInterpreter(code)
interpreter.execute()
self.assertEqual(mock_stdout.getvalue(), "A")
@patch('sys.stdout', new_callable=StringIO)
def test_print_hello_world(self, mock_stdout):
code = "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++" \
".>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
interpreter = BrainFuckInterpreter(code)
interpreter.execute()
self.assertEqual(mock_stdout.getvalue(), "Hello World!\n")
| 39.052632
| 83
| 0.680818
| 440
| 4,452
| 6.563636
| 0.15
| 0.090374
| 0.131579
| 0.121884
| 0.83795
| 0.816136
| 0.793629
| 0.777008
| 0.725762
| 0.706025
| 0
| 0.001397
| 0.195867
| 4,452
| 113
| 84
| 39.39823
| 0.805307
| 0
| 0
| 0.652632
| 0
| 0
| 0.048518
| 0.024933
| 0.010526
| 0
| 0
| 0
| 0.442105
| 1
| 0.094737
| false
| 0
| 0.042105
| 0
| 0.157895
| 0.021053
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
856bcda1ce8e8ae52422d377a86ada697d23a73b
| 212
|
py
|
Python
|
main/online/admin.py
|
MahanBi/Back-End
|
5074ac1d341ad2addd1750e4aea2e6800be2bfef
|
[
"MIT"
] | null | null | null |
main/online/admin.py
|
MahanBi/Back-End
|
5074ac1d341ad2addd1750e4aea2e6800be2bfef
|
[
"MIT"
] | null | null | null |
main/online/admin.py
|
MahanBi/Back-End
|
5074ac1d341ad2addd1750e4aea2e6800be2bfef
|
[
"MIT"
] | 1
|
2021-12-06T21:36:28.000Z
|
2021-12-06T21:36:28.000Z
|
from django.contrib import admin
from .models import Room, RoomMember, OnlineRanking, Word
admin.site.register(Room)
admin.site.register(RoomMember)
admin.site.register(Word)
admin.site.register(OnlineRanking)
| 23.555556
| 57
| 0.820755
| 28
| 212
| 6.214286
| 0.428571
| 0.206897
| 0.390805
| 0.241379
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.080189
| 212
| 8
| 58
| 26.5
| 0.892308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
8587059822ec510943db50c4450d0319055d99c9
| 66
|
py
|
Python
|
topsis_101883048_HarnoorSandhu/__init__.py
|
sharnoor404/topsis_101883048_HarnoorSandhu
|
577494c18ca0245ad2c8c3e71d6585b2e7a63246
|
[
"MIT"
] | null | null | null |
topsis_101883048_HarnoorSandhu/__init__.py
|
sharnoor404/topsis_101883048_HarnoorSandhu
|
577494c18ca0245ad2c8c3e71d6585b2e7a63246
|
[
"MIT"
] | null | null | null |
topsis_101883048_HarnoorSandhu/__init__.py
|
sharnoor404/topsis_101883048_HarnoorSandhu
|
577494c18ca0245ad2c8c3e71d6585b2e7a63246
|
[
"MIT"
] | null | null | null |
from topsis_101883048_HarnoorSandhu.topsis_101883048 import topsis
| 66
| 66
| 0.939394
| 8
| 66
| 7.375
| 0.625
| 0.508475
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.285714
| 0.045455
| 66
| 1
| 66
| 66
| 0.650794
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
858ffa7e7ba4e6f61e1fd04e88c69fa0ea3f6445
| 27
|
py
|
Python
|
addons/auto_generate_product_sku/wizard/__init__.py
|
marionumza/vocal_v12
|
480990e919c9410903e06e7813ee92800bd6a569
|
[
"Unlicense"
] | null | null | null |
addons/auto_generate_product_sku/wizard/__init__.py
|
marionumza/vocal_v12
|
480990e919c9410903e06e7813ee92800bd6a569
|
[
"Unlicense"
] | null | null | null |
addons/auto_generate_product_sku/wizard/__init__.py
|
marionumza/vocal_v12
|
480990e919c9410903e06e7813ee92800bd6a569
|
[
"Unlicense"
] | 1
|
2021-05-05T07:59:08.000Z
|
2021-05-05T07:59:08.000Z
|
from . import generate_sku
| 13.5
| 26
| 0.814815
| 4
| 27
| 5.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148148
| 27
| 1
| 27
| 27
| 0.913043
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
a413586bc8593f912b6806681b78dddc2358c086
| 96
|
py
|
Python
|
main.py
|
antoniofdias/lullaby
|
04a6fa106cac4e0a6e5bd53e473325afdbbbf129
|
[
"MIT"
] | null | null | null |
main.py
|
antoniofdias/lullaby
|
04a6fa106cac4e0a6e5bd53e473325afdbbbf129
|
[
"MIT"
] | null | null | null |
main.py
|
antoniofdias/lullaby
|
04a6fa106cac4e0a6e5bd53e473325afdbbbf129
|
[
"MIT"
] | null | null | null |
import detect_closed_eyes
import mqtt_client
detect_closed_eyes.detect_eyes(mqtt_client.client)
| 24
| 50
| 0.90625
| 15
| 96
| 5.333333
| 0.4
| 0.3
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.052083
| 96
| 4
| 50
| 24
| 0.879121
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
a41a419fc83250c724e38f2ca0e34eb7f3e04218
| 770
|
py
|
Python
|
py/lightControl.py
|
leeleavitt/autoGrow
|
b4454c0a00aed8111a86d72a667df49a7d285ce4
|
[
"MIT"
] | 1
|
2020-02-09T23:17:58.000Z
|
2020-02-09T23:17:58.000Z
|
py/lightControl.py
|
leeleavitt/autoGrow
|
b4454c0a00aed8111a86d72a667df49a7d285ce4
|
[
"MIT"
] | 1
|
2020-01-26T15:27:57.000Z
|
2020-01-26T15:27:57.000Z
|
py/lightControl.py
|
leeleavitt/autoGrow
|
b4454c0a00aed8111a86d72a667df49a7d285ce4
|
[
"MIT"
] | null | null | null |
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT, initial=GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
GPIO.cleanup()
| 17.906977
| 42
| 0.72987
| 149
| 770
| 3.771812
| 0.114094
| 0.181495
| 0.284698
| 0.398577
| 0.852313
| 0.852313
| 0.852313
| 0.852313
| 0.852313
| 0.852313
| 0
| 0.070822
| 0.083117
| 770
| 43
| 43
| 17.906977
| 0.725212
| 0
| 0
| 0.864865
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.054054
| 0
| 0.054054
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
a45a38de655a407697923d0c47aa1c91de7f7bbd
| 112,642
|
py
|
Python
|
tests/unit/test_service.py
|
SofyaTavrovskaya/xrally-kubernetes
|
302e8850affc4310ce99795d8ec65443fc582055
|
[
"Apache-2.0"
] | null | null | null |
tests/unit/test_service.py
|
SofyaTavrovskaya/xrally-kubernetes
|
302e8850affc4310ce99795d8ec65443fc582055
|
[
"Apache-2.0"
] | null | null | null |
tests/unit/test_service.py
|
SofyaTavrovskaya/xrally-kubernetes
|
302e8850affc4310ce99795d8ec65443fc582055
|
[
"Apache-2.0"
] | 1
|
2020-01-23T20:09:35.000Z
|
2020-01-23T20:09:35.000Z
|
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import mock
from kubernetes.client import rest
from rally.common import cfg
from rally import exceptions as rally_exc
from tests.unit import test
from xrally_kubernetes import service
CONF = cfg.CONF
class KubernetesServiceTestCase(test.TestCase):
def setUp(self):
super(KubernetesServiceTestCase, self).setUp()
from kubernetes import client as k8s_config
from kubernetes.client import api_client
from kubernetes.client.apis import core_v1_api
if hasattr(k8s_config, "ConfigurationObject"):
p_mock_config = mock.patch.object(k8s_config,
"ConfigurationObject")
else:
p_mock_config = mock.patch.object(k8s_config, "Configuration")
self.config_cls = p_mock_config.start()
self.config = self.config_cls.return_value
self.addCleanup(p_mock_config.stop)
p_mock_api = mock.patch.object(api_client, "ApiClient")
self.api_cls = p_mock_api.start()
self.api = self.api_cls.return_value
self.addCleanup(p_mock_api.stop)
p_mock_client = mock.patch.object(core_v1_api, "CoreV1Api")
self.client_cls = p_mock_client.start()
self.client = self.client_cls.return_value
self.addCleanup(p_mock_client.stop)
CONF.set_override("status_poll_interval", 0, "kubernetes")
CONF.set_override("status_total_retries", 1, "kubernetes")
CONF.set_override("start_prepoll_delay", 0, "kubernetes")
self._k8s_client = None
@property
def k8s_client(self):
if self._k8s_client is None:
spec = {
"api_key_prefix": "stub_prefix",
"api_key": "stub_key",
"server": "stub_server",
"certificate-authority": "stub_auth"
}
self._k8s_client = service.Kubernetes(
spec,
name_generator=mock.MagicMock()
)
return self._k8s_client
class ServiceTestCase(KubernetesServiceTestCase):
def test__init__kubernetes_version(self):
from kubernetes import client as k8s_config
spec = {
"client-certificate": "stub_cert",
"client-key": "stub_key",
"server": "stub_server",
"certificate-authority": "stub_auth"
}
k8s_service = service.Kubernetes(spec)
self.config_cls.assert_called_once()
if hasattr(k8s_config, "ConfigurationObject"):
self.assertEqual(3, k8s_service._k8s_client_version)
else:
self.assertEqual(4, k8s_service._k8s_client_version)
def test___init___cert_without_tls(self):
# setUp method called it
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
spec = {
"client-certificate": "stub_cert",
"client-key": "stub_key",
"server": "stub_server",
"certificate-authority": "stub_auth"
}
service.Kubernetes(spec)
self.config_cls.assert_called_once()
self.api_cls.assert_called_once()
self.client_cls.assert_called_once()
eq_vals = {
"host": "stub_server",
"cert_file": "stub_cert",
"key_file": "stub_key",
"ssl_ca_cert": "stub_auth"
}
for key, value in eq_vals.items():
self.assertEqual(value, getattr(self.config, key))
def test___init___cert_with_tls(self):
# setUp method called it
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
spec = {
"client-certificate": "stub_cert",
"client-key": "stub_key",
"server": "stub_server",
"certificate-authority": "stub_auth",
"tls_insecure": True
}
service.Kubernetes(spec)
self.config_cls.assert_called_once()
self.api_cls.assert_called_once()
self.client_cls.assert_called_once()
eq_vals = {
"host": "stub_server",
"cert_file": "stub_cert",
"key_file": "stub_key",
"ssl_ca_cert": "stub_auth",
"verify_ssl": False
}
for key, value in eq_vals.items():
self.assertEqual(value, getattr(self.config, key))
def test___init___api(self):
# setUp method called it
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
spec = {
"api_key_prefix": "stub_prefix",
"api_key": "stub_key",
"server": "stub_server",
"certificate-authority": "stub_auth"
}
service.Kubernetes(spec)
self.config_cls.assert_called_once()
self.api_cls.assert_called_once()
self.client_cls.assert_called_once()
eq_vals = {
"host": "stub_server",
"api_key_prefix": {"authorization": "stub_prefix"},
"api_key": {"authorization": "stub_key"},
"ssl_ca_cert": "stub_auth"
}
for key, value in eq_vals.items():
self.assertEqual(value, getattr(self.config, key))
def test_create_spec_from_file(self):
from kubernetes.config import kube_config
patcher = mock.patch('os.path.exists')
mock_thing = patcher.start()
mock_thing.return_value = True
kube_config.load_kube_config = mock.MagicMock()
self.config_cls.reset_mock()
self.config.host = "stub host"
self.config.ssl_ca_cert = "stub crt"
self.config.api_key = {"authorization": "stub"}
self.config.api_key_prefix = {}
self.config.cert_file = "client crt"
self.config.key_file = "client key"
self.config.verify_ssl = False
expected = {
"host": "stub host",
"certificate-authority": "stub crt",
"api_key": {"authorization": "stub"},
"api_key_prefix": {},
"client-certificate": "client crt",
"client-key": "client key",
"tls_insecure": False
}
self.assertEqual(expected, service.Kubernetes.create_spec_from_file())
patcher.stop()
def test_create_spec_from_file_not_found(self):
from kubernetes.config import kube_config
patcher = mock.patch('os.path.exists')
mock_thing = patcher.start()
mock_thing.return_value = False
kube_config.load_kube_config = mock.MagicMock()
self.config_cls.reset_mock()
self.assertEqual({}, service.Kubernetes.create_spec_from_file())
kube_config.load_kube_config.assert_not_called()
self.config_cls.assert_not_called()
patcher.stop()
class NamespacesTestCase(KubernetesServiceTestCase):
def test_list_namespaces(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
spec = {
"api_key_prefix": "stub_prefix",
"api_key": "stub_key",
"server": "stub_server",
"certificate-authority": "stub_auth"
}
k8s_client = service.Kubernetes(spec)
items = []
expected = []
for i in range(3):
item = mock.MagicMock()
item.metadata.name = i
item.metadata.uid = i
item.metadata.labels = {"test": "test-%s" % i}
items.append(item)
expected.append({"name": i,
"uid": i,
"labels": {"test": "test-%s" % i}})
resp = mock.MagicMock()
resp.items = items
self.client.list_namespace = mock.MagicMock()
self.client.list_namespace.return_value = resp
list_ns = k8s_client.list_namespaces()
self.assertEqual(expected, list_ns)
def test_create_namespace(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "test"
self.k8s_client.create_namespace(status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Namespace",
"metadata": {
"name": "test",
"labels": {
"role": "test"
}
}
}
self.client.create_namespace.assert_called_once_with(body=expected)
def test_create_and_wait_namespace_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
read_resp = mock.MagicMock()
read_resp.status.phase = "Active"
self.client.read_namespace.return_value = read_resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "test"
self.k8s_client.create_namespace(status_wait=True)
self.client.create_namespace.assert_called_once()
self.client.read_namespace.assert_called_once_with("test")
def test_create_and_wait_namespace_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespace.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_namespace,
status_wait=True
)
self.client.create_namespace.assert_called_once()
self.assertEqual(0, self.client.read_namespace.call_count)
def test_create_and_wait_namespace_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespace.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_namespace,
status_wait=True
)
self.client.create_namespace.assert_called_once()
self.client.read_namespace.assert_called_once()
def test_create_and_wait_namespace_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
read_resp = mock.MagicMock()
read_resp.status.phase = "Pending"
self.client.read_namespace.return_value = read_resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_namespace,
status_wait=True
)
self.client.create_namespace.assert_called_once()
self.assertEqual(2, self.client.read_namespace.call_count)
def test_delete_namespace(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_namespace("test", status_wait=False)
self.client.delete_namespace.assert_called_once_with(
body=k8s_config.V1DeleteOptions(),
name="test"
)
def test_delete_namespace_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespace.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_namespace("test")
self.client.delete_namespace.assert_called_once()
self.client.read_namespace.assert_called_once_with("test")
def test_delete_namespace_and_wait_termination_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespace.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_namespace,
"test"
)
self.client.delete_namespace.assert_called_once()
self.assertEqual(0, self.client.read_namespace.call_count)
def test_delete_namespace_and_wait_termination_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespace.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_namespace,
"test"
)
self.client.delete_namespace.assert_called_once()
self.client.read_namespace.assert_called_once()
def test_delete_namespace_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_namespace,
"test"
)
self.client.delete_namespace.assert_called_once()
self.assertEqual(2, self.client.read_namespace.call_count)
def test_create_serviceaccount(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
expected = {
"apiVersion": "v1",
"kind": "ServiceAccount",
"metadata": {
"name": "test"
}
}
self.k8s_client.create_serviceaccount("test", namespace="ns")
self.client.create_namespaced_service_account.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_secret(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
expected = {
"apiVersion": "v1",
"kind": "Secret",
"metadata": {
"name": "test",
"annotations": {
"kubernetes.io/service-account.name": "test"
}
}
}
self.k8s_client.create_secret("test", namespace="ns")
self.client.create_namespaced_secret.assert_called_once_with(
body=expected,
namespace="ns"
)
class PodTestCase(KubernetesServiceTestCase):
def test_create_pod(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image"
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_pod_with_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
command=["ls"],
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"command": ["ls"]
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_pod_with_incorrect_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_pod,
image="test/image",
namespace="ns",
command="ls",
status_wait=False
)
self.assertEqual("'command' argument should be list or tuple type, "
"found %s" % type("ls"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_pod.call_count
)
def test_create_pod_with_sa(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
client = self.k8s_client
client._spec["serviceaccounts"] = True
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
client.create_pod(
image="test/image",
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"serviceAccountName": "ns",
"containers": [
{
"name": "name",
"image": "test/image"
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_and_wait_pod_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
read_resp = mock.MagicMock()
read_resp.status.phase = "Running"
self.client.read_namespaced_pod.return_value = read_resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
status_wait=True
)
self.client.create_namespaced_pod.assert_called_once()
self.client.read_namespaced_pod.assert_called_once_with(
"name",
namespace="ns"
)
def test_create_and_wait_pod_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_pod.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_pod,
image="test/image",
namespace="ns",
status_wait=True
)
self.client.create_namespaced_pod.assert_called_once()
self.assertEqual(0, self.client.read_namespaced_pod.call_count)
def test_create_and_wait_pod_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_pod.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_pod,
image="test/image",
namespace="ns",
status_wait=True
)
self.client.create_namespaced_pod.assert_called_once()
self.client.read_namespaced_pod.assert_called_once()
def test_create_and_wait_pod_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
read_resp = mock.MagicMock()
read_resp.status.phase = "Pending"
self.client.read_namespaced_pod.return_value = read_resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_pod,
image="test/image",
namespace="ns",
status_wait=True
)
self.client.create_namespaced_pod.assert_called_once()
self.assertEqual(2, self.client.read_namespaced_pod.call_count)
def test_delete_pod(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_pod("test", namespace="ns", status_wait=False)
self.client.delete_namespaced_pod.assert_called_once_with(
"test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
)
def test_delete_pod_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_pod.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_pod("test", namespace="ns")
self.client.delete_namespaced_pod.assert_called_once()
self.client.read_namespaced_pod.assert_called_once_with(
"test", namespace="ns")
def test_delete_pod_and_wait_termination_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_pod.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_pod,
"test",
namespace="ns"
)
self.client.delete_namespaced_pod.assert_called_once()
self.assertEqual(0, self.client.read_namespaced_pod.call_count)
def test_delete_pod_and_wait_termination_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_pod.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_pod,
"test",
namespace="ns"
)
self.client.delete_namespaced_pod.assert_called_once()
self.client.read_namespaced_pod.assert_called_once()
def test_delete_pod_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_pod,
"test",
namespace="ns"
)
self.client.delete_namespaced_pod.assert_called_once()
self.assertEqual(2, self.client.read_namespaced_pod.call_count)
class ReplicationControllerTestCase(KubernetesServiceTestCase):
def test_create_replication_controller(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_rc(
image="test/image",
replicas=2,
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "ReplicationController",
"metadata": {
"name": "name",
},
"spec": {
"replicas": 2,
"selector": {
"app": mock.ANY
},
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image"
}
]
}
}
}
}
(self.client.create_namespaced_replication_controller
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_replication_controller_with_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_rc(
image="test/image",
replicas=2,
namespace="ns",
command=["ls"],
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "ReplicationController",
"metadata": {
"name": "name",
},
"spec": {
"replicas": 2,
"selector": {
"app": mock.ANY
},
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"command": ["ls"]
}
]
}
}
}
}
(self.client.create_namespaced_replication_controller
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_replication_controller_with_incorrect_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_rc,
image="test/image",
replicas=2,
namespace="ns",
command="ls",
status_wait=False
)
self.assertEqual("'command' argument should be list or tuple type, "
"found %s" % type("ls"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_replication_controller.call_count
)
def test_create_and_wait_replication_controller_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
resp = mock.MagicMock()
resp.status.replicas = 2
resp.status.ready_replicas = 2
self.client.read_namespaced_replication_controller.return_value = resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_rc(
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_replication_controller
.assert_called_once())
(self.client.read_namespaced_replication_controller
.assert_called_once_with(
"name",
namespace="ns"
))
def test_create_and_wait_replication_controller_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_replication_controller.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_rc,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_replication_controller
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_replication_controller.call_count
)
def test_create_and_wait_replication_controller_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_replication_controller.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_rc,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_replication_controller
.assert_called_once())
(self.client.read_namespaced_replication_controller
.assert_called_once())
def test_create_and_wait_replication_controller_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
resp = mock.MagicMock()
resp.status.ready_replicas = None
self.client.read_namespaced_replication_controller.return_value = resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_rc,
image="test/image",
replicas=2,
namespace="ns",
status_wait=True
)
(self.client.create_namespaced_replication_controller
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_replication_controller.call_count
)
def test_delete_replication_controller(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_rc("test", namespace="ns", status_wait=False)
(self.client.delete_namespaced_replication_controller
.assert_called_once_with(
"test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
))
def test_delete_replication_controller_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_replication_controller.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_rc("test", namespace="ns")
(self.client.delete_namespaced_replication_controller
.assert_called_once())
(self.client.read_namespaced_replication_controller
.assert_called_once_with("test", namespace="ns"))
def test_delete_replication_controller_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_replication_controller.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_rc,
"test",
namespace="ns"
)
(self.client.delete_namespaced_replication_controller
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_replication_controller.call_count
)
def test_delete_replication_controller_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_replication_controller.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_rc,
"test",
namespace="ns"
)
(self.client.delete_namespaced_replication_controller
.assert_called_once())
(self.client.read_namespaced_replication_controller
.assert_called_once_with("test", namespace="ns"))
def test_delete_replication_controller_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_rc,
"test",
namespace="ns"
)
(self.client.delete_namespaced_replication_controller
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_replication_controller.call_count
)
class ReplicaSetServiceTestCase(KubernetesServiceTestCase):
def setUp(self):
super(ReplicaSetServiceTestCase, self).setUp()
from kubernetes.client.apis import extensions_v1beta1_api
p_mock_client = mock.patch.object(extensions_v1beta1_api,
"ExtensionsV1beta1Api")
self.client_cls = p_mock_client.start()
self.client = self.client_cls.return_value
self.addCleanup(p_mock_client.stop)
def test_create_replicaset(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_replicaset(
image="test/image",
replicas=2,
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "extensions/v1beta1",
"kind": "ReplicaSet",
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"replicas": 2,
"selector": {
"matchLabels": {
"app": mock.ANY
}
},
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image"
}
]
}
}
}
}
(self.client.create_namespaced_replica_set
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_replicaset_with_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_replicaset(
image="test/image",
replicas=2,
namespace="ns",
command=["ls"],
status_wait=False)
expected = {
"apiVersion": "extensions/v1beta1",
"kind": "ReplicaSet",
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"replicas": 2,
"selector": {
"matchLabels": {
"app": mock.ANY
}
},
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"command": ["ls"]
}
]
}
}
}
}
(self.client.create_namespaced_replica_set
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_replicaset_with_incorrect_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_replicaset,
image="test/image",
replicas=2,
namespace="ns",
command="ls",
status_wait=False
)
self.assertEqual("'command' argument should be list or tuple type, "
"found %s" % type("ls"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_replica_set.call_count
)
def test_create_and_wait_replicaset_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
resp = mock.MagicMock()
resp.status.replicas = 2
resp.status.ready_replicas = 2
self.client.read_namespaced_replica_set.return_value = resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_replicaset(
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_replica_set
.assert_called_once())
(self.client.read_namespaced_replica_set
.assert_called_once_with(
"name",
namespace="ns"
))
def test_create_and_wait_replicaset_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_replica_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_replicaset,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_replica_set
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_replica_set.call_count
)
def test_create_and_wait_replicaset_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_replica_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_replicaset,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_replica_set
.assert_called_once())
(self.client.read_namespaced_replica_set
.assert_called_once())
def test_create_and_wait_replicaset_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
resp = mock.MagicMock()
resp.status.ready_replicas = None
self.client.read_namespaced_replica_set.return_value = resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_replicaset,
image="test/image",
replicas=2,
namespace="ns",
status_wait=True
)
(self.client.create_namespaced_replica_set
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_replica_set.call_count
)
def test_delete_replicaset(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_replicaset("test", namespace="ns",
status_wait=False)
(self.client.delete_namespaced_replica_set
.assert_called_once_with(
"test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
))
def test_delete_replicaset_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_replica_set.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_replicaset("test", namespace="ns")
(self.client.delete_namespaced_replica_set
.assert_called_once())
(self.client.read_namespaced_replica_set
.assert_called_once_with("test", namespace="ns"))
def test_delete_replicaset_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_replica_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_replicaset,
"test",
namespace="ns"
)
(self.client.delete_namespaced_replica_set
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_replica_set.call_count
)
def test_delete_replicaset_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_replica_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_replicaset,
"test",
namespace="ns"
)
(self.client.delete_namespaced_replica_set
.assert_called_once())
(self.client.read_namespaced_replica_set
.assert_called_once_with("test", namespace="ns"))
def test_delete_replicaset_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_replicaset,
"test",
namespace="ns"
)
(self.client.delete_namespaced_replica_set
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_replica_set.call_count
)
class PodWithVolumeTestCase(KubernetesServiceTestCase):
def test_create_pod_with_volume_and_wait_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
read_resp = mock.MagicMock()
read_resp.status.phase = "Running"
self.client.read_namespaced_pod.return_value = read_resp
event_resp = mock.MagicMock()
event_resp.items = []
self.client.list_namespaced_event.return_value = event_resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
volume={
"mount_path": ["stub"],
"volume": ["stub"]
},
name=None,
status_wait=True
)
self.client.create_namespaced_pod.assert_called_once()
self.client.read_namespaced_pod.assert_called_once_with(
"name",
namespace="ns"
)
self.client.list_namespaced_event.assert_called_once_with(
namespace="ns"
)
def test_create_pod_with_volume_and_wait_create_container_error(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
read_resp = mock.MagicMock()
read_resp.status.phase = "Running"
self.client.read_namespaced_pod.return_value = read_resp
event_resp = mock.MagicMock()
event = mock.MagicMock()
event.name = "name"
event.reason = "CreateContainerError"
event.message = "Test raise"
event_resp.items = [event]
self.client.list_namespaced_event.return_value = event_resp
self.assertRaises(
rally_exc.RallyException,
self.k8s_client.create_pod,
image="test/image",
namespace="ns",
volume={
"mount_path": ["stub"],
"volume": ["stub"]
},
status_wait=True
)
self.client.create_namespaced_pod.assert_called_once()
self.assertEqual(0, self.client.read_namespaced_pod.call_count)
self.client.list_namespaced_event.assert_called_once_with(
namespace="ns"
)
def test_check_volume_pod_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
api = mock.MagicMock()
api.api_client.request = mock.MagicMock()
self.client.connect_get_namespaced_pod_exec.__self__ = mock.MagicMock()
self.client.connect_get_namespaced_pod_exec.__self__.return_value = api
self.client.connect_get_namespaced_pod_exec.return_value = (
"for success")
self.assertIsNone(self.k8s_client.check_volume_pod(
"name",
namespace="ns",
check_cmd="check",
error_regexp="nope"
))
def test_check_volume_pod_exec_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
api = mock.MagicMock()
api.api_client.request = mock.MagicMock()
self.client.connect_get_namespaced_pod_exec.__self__ = mock.MagicMock()
self.client.connect_get_namespaced_pod_exec.__self__.return_value = api
self.client.connect_get_namespaced_pod_exec.return_value = (
"exec failed: command not found")
self.assertRaises(
rally_exc.RallyException,
self.k8s_client.check_volume_pod,
"name",
namespace="ns",
check_cmd="check",
error_regexp="nope"
)
def test_check_volume_pod_exec_error_regexp(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
api = mock.MagicMock()
api.api_client.request = mock.MagicMock()
self.client.connect_get_namespaced_pod_exec.__self__ = mock.MagicMock()
self.client.connect_get_namespaced_pod_exec.__self__.return_value = api
self.client.connect_get_namespaced_pod_exec.return_value = (
"nope, error response")
self.assertRaises(
rally_exc.RallyException,
self.k8s_client.check_volume_pod,
"name",
namespace="ns",
check_cmd="check",
error_regexp="nope"
)
def test_create_pod_emptydir_volume(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
volume={
"mount_path": [
{
"name": "stub",
"mountPath": "/check"
}
],
"volume": [
{
"name": "stub",
"emptyDir": {}
}
]
},
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"volumeMounts": [
{
"mountPath": "/check",
"name": "stub"
}
]
}
],
"volumes": [
{
"name": "stub",
"emptyDir": {}
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_pod_secret_volume(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
volume={
"mount_path": [
{
"name": "stub",
"mountPath": "/check"
}
],
"volume": [
{
"name": "stub",
"secret": {
"secretName": "stub"
}
}
]
},
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"volumeMounts": [
{
"mountPath": "/check",
"name": "stub"
}
]
}
],
"volumes": [
{
"name": "stub",
"secret": {
"secretName": "stub"
}
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_pod_hostpath_volume(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
volume={
"mount_path": [
{
"name": "stub",
"mountPath": "/check"
}
],
"volume": [
{
"name": "stub",
"hostPath": {
"type": "Directory",
"path": "/path"
}
}
]
},
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"volumeMounts": [
{
"mountPath": "/check",
"name": "stub"
}
]
}
],
"volumes": [
{
"name": "stub",
"hostPath": {
"type": "Directory",
"path": "/path"
}
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_pod_configmap_volume(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
volume={
"mount_path": [
{
"name": "stub",
"mountPath": "/check.txt",
"subPath": "check.txt"
}
],
"volume": [
{
"name": "stub",
"configMap": {
"name": "stub"
}
}
]
},
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"volumeMounts": [
{
"mountPath": "/check.txt",
"name": "stub",
"subPath": "check.txt"
}
]
}
],
"volumes": [
{
"name": "stub",
"configMap": {
"name": "stub"
}
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
class DeploymentServiceTestCase(KubernetesServiceTestCase):
def setUp(self):
super(DeploymentServiceTestCase, self).setUp()
from kubernetes.client.apis import extensions_v1beta1_api
p_mock_client = mock.patch.object(extensions_v1beta1_api,
"ExtensionsV1beta1Api")
self.client_cls = p_mock_client.start()
self.client = self.client_cls.return_value
self.addCleanup(p_mock_client.stop)
def test_create_deployment(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_deployment(
image="test/image",
replicas=2,
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"replicas": 2,
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image"
}
]
}
}
}
}
(self.client.create_namespaced_deployment
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_deployment_with_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_deployment(
image="test/image",
replicas=2,
namespace="ns",
command=["ls"],
status_wait=False)
expected = {
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"replicas": 2,
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"command": ["ls"]
}
]
}
}
}
}
(self.client.create_namespaced_deployment
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_deployment_with_incorrect_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_deployment,
image="test/image",
replicas=2,
namespace="ns",
command="ls",
status_wait=False
)
self.assertEqual("'command' argument should be list or tuple type, "
"found %s" % type("ls"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_deployment.call_count
)
def test_create_deployment_with_incorrect_env(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_deployment,
image="test/image",
replicas=2,
namespace="ns",
command=["ls"],
env="VAR",
status_wait=False
)
self.assertEqual("'env' argument should be list or tuple type, "
"found %s" % type("VAR"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_deployment.call_count
)
def test_create_deployment_with_incorrect_resources(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_deployment,
image="test/image",
replicas=2,
namespace="ns",
command=["ls"],
resources=("limit", "unlimited"),
status_wait=False
)
self.assertEqual("'resources' argument should be dict type, found "
"%s" % type(("limit", "unlimited")), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_deployment.call_count
)
def test_create_and_wait_deployment_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
resp = mock.MagicMock()
resp.status.replicas = 2
resp.status.ready_replicas = 2
self.client.read_namespaced_deployment_status.return_value = resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_deployment(
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_deployment
.assert_called_once())
(self.client.read_namespaced_deployment_status
.assert_called_once_with(
name="name",
namespace="ns"
))
def test_create_and_wait_deployment_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_deployment.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_deployment,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_deployment
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_deployment_status.call_count
)
def test_create_and_wait_deployment_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_deployment_status.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_deployment,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_deployment
.assert_called_once())
(self.client.read_namespaced_deployment_status
.assert_called_once())
def test_create_and_wait_deployment_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
resp = mock.MagicMock()
resp.status.ready_replicas = None
self.client.read_namespaced_deployment_status.return_value = resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_deployment,
image="test/image",
replicas=2,
namespace="ns",
status_wait=True
)
(self.client.create_namespaced_deployment
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_deployment_status.call_count
)
def test_delete_deployment(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_deployment("test", namespace="ns",
status_wait=False)
(self.client.delete_namespaced_deployment
.assert_called_once_with(
name="test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
))
def test_delete_deployment_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_deployment_status.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_deployment("test", namespace="ns")
(self.client.delete_namespaced_deployment
.assert_called_once())
(self.client.read_namespaced_deployment_status
.assert_called_once_with(name="test", namespace="ns"))
def test_delete_deployment_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_deployment.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_deployment,
"test",
namespace="ns"
)
(self.client.delete_namespaced_deployment
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_deployment_status.call_count
)
def test_delete_deployment_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_deployment_status.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_deployment,
"test",
namespace="ns"
)
(self.client.delete_namespaced_deployment
.assert_called_once())
(self.client.read_namespaced_deployment_status
.assert_called_once_with(name="test", namespace="ns"))
def test_delete_deployment_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_deployment,
"test",
namespace="ns"
)
(self.client.delete_namespaced_deployment
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_deployment_status.call_count
)
class JobServiceTestCase(KubernetesServiceTestCase):
def setUp(self):
super(JobServiceTestCase, self).setUp()
from kubernetes.client.apis import batch_v1_api
p_mock_client = mock.patch.object(batch_v1_api, "BatchV1Api")
self.client_cls = p_mock_client.start()
self.client = self.client_cls.return_value
self.addCleanup(p_mock_client.stop)
def test_create_job(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_job(
image="test/image",
command=["ls"],
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "batch/v1",
"kind": "Job",
"metadata": {
"name": "name"
},
"spec": {
"template": {
"metadata": {
"name": "name"
},
"spec": {
"restartPolicy": "Never",
"containers": [
{
"name": "name",
"image": "test/image",
"command": ["ls"]
}
]
}
}
}
}
self.client.create_namespaced_job.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_and_wait_job_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
resp = mock.MagicMock()
resp.status.succeeded = 1
self.client.read_namespaced_job.return_value = resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_job(
image="test/image",
namespace="ns",
command=["ls"],
status_wait=True
)
self.client.create_namespaced_job.assert_called_once()
self.client.read_namespaced_job.assert_called_once_with(
"name",
namespace="ns"
)
def test_create_and_wait_job_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_job.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_job,
image="test/image",
namespace="ns",
command=["ls"],
status_wait=True
)
self.client.create_namespaced_job.assert_called_once()
self.assertEqual(0, self.client.read_namespaced_job.call_count)
def test_create_and_wait_job_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_job.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_job,
image="test/image",
namespace="ns",
command=["ls"],
status_wait=True
)
self.client.create_namespaced_job.assert_called_once()
self.client.read_namespaced_job.assert_called_once()
def test_create_and_wait_job_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
resp = mock.MagicMock()
resp.status.succeeded = 0
self.client.read_namespaced_job.return_value = resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_job,
image="test/image",
command=["ls"],
namespace="ns",
status_wait=True
)
self.client.create_namespaced_job.assert_called_once()
self.assertEqual(2, self.client.read_namespaced_job.call_count)
def test_delete_job(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_job("test", namespace="ns", status_wait=False)
self.client.delete_namespaced_job.assert_called_once_with(
"test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
)
def test_delete_job_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_job.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_job("test", namespace="ns")
self.client.delete_namespaced_job.assert_called_once()
self.client.read_namespaced_job.assert_called_once_with(
"test",
namespace="ns"
)
def test_delete_job_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_job.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_job,
"test",
namespace="ns"
)
self.client.delete_namespaced_job.assert_called_once()
self.assertEqual(0, self.client.read_namespaced_job.call_count)
def test_delete_job_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_job.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_job,
"test",
namespace="ns"
)
self.client.delete_namespaced_job.assert_called_once()
self.client.read_namespaced_job.assert_called_once_with(
"test",
namespace="ns"
)
def test_delete_job_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_job,
"test",
namespace="ns"
)
self.client.delete_namespaced_job.assert_called_once()
self.assertEqual(2, self.client.read_namespaced_job.call_count)
class StatefulSetServiceTestCase(KubernetesServiceTestCase):
def setUp(self):
super(StatefulSetServiceTestCase, self).setUp()
from kubernetes.client.apis import apps_v1_api
p_mock_client = mock.patch.object(apps_v1_api, "AppsV1Api")
self.client_cls = p_mock_client.start()
self.client = self.client_cls.return_value
self.addCleanup(p_mock_client.stop)
def test_create_statefulset(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_statefulset(
image="test/image",
replicas=2,
namespace="ns",
status_wait=False)
expected = {
"apiVersion": "apps/v1",
"kind": "StatefulSet",
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"selector": {
"matchLabels": {
"app": mock.ANY
}
},
"replicas": 2,
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"image": "test/image",
"name": "name"
}
]
}
}
}
}
(self.client.create_namespaced_stateful_set
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_statefulset_with_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_statefulset(
image="test/image",
replicas=2,
namespace="ns",
command=["ls"],
status_wait=False)
expected = {
"apiVersion": "apps/v1",
"kind": "StatefulSet",
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"selector": {
"matchLabels": {
"app": mock.ANY
}
},
"replicas": 2,
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"image": "test/image",
"name": "name",
"command": ["ls"]
}
]
}
}
}
}
(self.client.create_namespaced_stateful_set
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_statefulset_with_incorrect_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_statefulset,
image="test/image",
replicas=2,
namespace="ns",
command="ls",
status_wait=False
)
self.assertEqual("'command' argument should be list or tuple type, "
"found %s" % type("ls"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_stateful_set.call_count
)
def test_create_and_wait_statefulset_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
resp = mock.MagicMock()
resp.status.replicas = 2
resp.status.ready_replicas = 2
self.client.read_namespaced_stateful_set.return_value = resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_statefulset(
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_stateful_set
.assert_called_once())
(self.client.read_namespaced_stateful_set
.assert_called_once_with(
"name",
namespace="ns"
))
def test_create_and_wait_statefulset_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_stateful_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_statefulset,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_stateful_set
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_stateful_set.call_count
)
def test_create_and_wait_statefulset_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_stateful_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_statefulset,
image="test/image",
namespace="ns",
replicas=2,
status_wait=True
)
(self.client.create_namespaced_stateful_set
.assert_called_once())
(self.client.read_namespaced_stateful_set
.assert_called_once())
def test_create_and_wait_statefulset_read_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
resp = mock.MagicMock()
resp.status.ready_replicas = None
self.client.read_namespaced_stateful_set.return_value = resp
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.create_statefulset,
image="test/image",
replicas=2,
namespace="ns",
status_wait=True
)
(self.client.create_namespaced_stateful_set
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_stateful_set.call_count
)
def test_delete_statefulset(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_statefulset("test", namespace="ns",
status_wait=False)
(self.client.delete_namespaced_stateful_set
.assert_called_once_with(
"test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
))
def test_delete_statefulset_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_stateful_set.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_statefulset("test", namespace="ns")
(self.client.delete_namespaced_stateful_set
.assert_called_once())
(self.client.read_namespaced_stateful_set
.assert_called_once_with("test", namespace="ns"))
def test_delete_statefulset_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_stateful_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_statefulset,
"test",
namespace="ns"
)
(self.client.delete_namespaced_stateful_set
.assert_called_once())
self.assertEqual(
0,
self.client.read_namespaced_stateful_set.call_count
)
def test_delete_statefulset_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_stateful_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_statefulset,
"test",
namespace="ns"
)
(self.client.delete_namespaced_stateful_set
.assert_called_once())
(self.client.read_namespaced_stateful_set
.assert_called_once_with("test", namespace="ns"))
def test_delete_statefulset_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_statefulset,
"test",
namespace="ns"
)
(self.client.delete_namespaced_stateful_set
.assert_called_once())
self.assertEqual(
2,
self.client.read_namespaced_stateful_set.call_count
)
class KubernetesServicesServiceTestCase(KubernetesServiceTestCase):
def test_create_service_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
expected = {
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "name",
"labels": {
"check-label": "true"
}
},
"spec": {
"type": "ClusterIP",
"ports": [
{
"port": 80,
"protocol": "TCP"
}
],
"selector": {
"check-label": "true"
}
}
}
self.k8s_client.create_service(
"name",
namespace="ns",
port=80,
protocol="TCP",
type="ClusterIP",
labels={"check-label": "true"}
)
self.client.create_namespaced_service.assert_called_once_with(
body=expected,
namespace="ns"
)
def test_create_service_fail(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_service.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_service,
"name",
namespace="ns",
port=80,
protocol="TCP",
type="ClusterIP",
labels={"check-label": "true"}
)
def test_get_service_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.get_service("name", namespace="ns")
self.client.read_namespaced_service.assert_called_once()
def test_get_service_fail(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_service.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.get_service,
"name",
namespace="ns"
)
def test_delete_service_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.delete_service("name", namespace="ns")
self.client.delete_namespaced_service.assert_called_once_with(
"name",
namespace="ns",
body=mock.ANY
)
def test_delete_service_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_service.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_service,
"name",
namespace="ns"
)
def test_create_get_and_endpoints(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
expected = {
"apiVersion": "v1",
"kind": "Endpoints",
"metadata": {
"name": "name"
},
"subsets": [
{
"addresses": [
{
"ip": "10.0.0.3"
}
],
"ports": [
{
"port": "30433"
}
]
}
]
}
self.k8s_client.create_endpoints(
"name",
namespace="ns",
ip="10.0.0.3",
port="30433"
)
self.client.create_namespaced_endpoints.assert_called_once_with(
body=expected,
namespace="ns"
)
self.k8s_client.get_endpoints("name", namespace="ns")
self.client.read_namespaced_endpoints.assert_called_once()
self.k8s_client.delete_endpoints("name", namespace="ns")
self.client.delete_namespaced_endpoints.assert_called_once_with(
"name",
namespace="ns",
body=mock.ANY
)
class PodWithLocalPVVolumeTestCase(KubernetesServiceTestCase):
def test_create_local_pv_no_wait(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_local_pv(
None,
storage_class="local",
size="1Gi",
volume_mode="stubMode",
local_path="/check",
access_modes=["ReadWriteOnly"],
node_affinity={"stub": "double stub"},
status_wait=False
)
expected = {
"kind": "PersistentVolume",
"apiVersion": "v1",
"metadata": {
"name": "name"
},
"spec": {
"capacity": {
"storage": "1Gi"
},
"volumeMode": "stubMode",
"accessModes": ["ReadWriteOnly"],
"persistentVolumeReclaimPolicy": "Retain",
"storageClassName": "local",
"local": {
"path": "/check"
},
"nodeAffinity": {
"stub": "double stub"
}
}
}
self.client.create_persistent_volume.assert_called_once_with(
body=expected)
def test_create_local_pv_wait_for_status(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
read_resp = mock.MagicMock()
read_resp.status.phase = "Available"
self.client.read_persistent_volume.return_value = read_resp
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_local_pv(
None,
storage_class="local",
size="1Gi",
volume_mode="stubMode",
local_path="/check",
access_modes=["ReadWriteOnly"],
node_affinity={"stub": "double stub"},
status_wait=True
)
self.client.create_persistent_volume.assert_called_once()
self.client.read_persistent_volume.assert_called_once()
def test_create_local_pv_wait_for_status_error(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_persistent_volume.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.assertRaises(
rest.ApiException,
self.k8s_client.create_local_pv,
None,
storage_class="local",
size="1Gi",
volume_mode="stubMode",
local_path="/check",
access_modes=["ReadWriteOnly"],
node_affinity={"stub": "double stub"},
status_wait=True
)
self.client.create_persistent_volume.assert_called_once()
def test_create_local_pvc(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.create_local_pvc(
"name",
namespace="ns",
storage_class="local",
access_modes=["ReadWriteOnly"],
size="1Gi"
)
expected = {
"kind": "PersistentVolumeClaim",
"apiVersion": "v1",
"metadata": {
"name": "name"
},
"spec": {
"resources": {
"requests": {
"storage": "1Gi"
}
},
"accessModes": ["ReadWriteOnly"],
"storageClassName": "local"
}
}
self.client.create_namespaced_persistent_volume_claim(
namespace="ns",
body=expected
)
def test_create_pod_local_pv_volume(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_pod(
image="test/image",
namespace="ns",
volume={
"mount_path": [
{
"mountPath": "/check",
"name": "name"
}
],
"volume": [
{
"name": "name",
"persistentVolumeClaim": {
"claimName": "name"
}
}
]
},
status_wait=False)
expected = {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "name",
"labels": {
"role": "name"
}
},
"spec": {
"containers": [
{
"name": "name",
"image": "test/image",
"volumeMounts": [
{
"mountPath": "/check",
"name": "name"
}
]
}
],
"volumes": [
{
"name": "name",
"persistentVolumeClaim": {
"claimName": "name"
}
}
]
}
}
self.client.create_namespaced_pod.assert_called_once_with(
body=expected,
namespace="ns"
)
class DaemonSetServiceTestCase(KubernetesServiceTestCase):
def setUp(self):
super(DaemonSetServiceTestCase, self).setUp()
from kubernetes.client.apis import core_v1_api
from kubernetes.client.apis import extensions_v1beta1_api
p_mock_client = mock.patch.object(extensions_v1beta1_api,
"ExtensionsV1beta1Api")
self.client_cls = p_mock_client.start()
self.client = self.client_cls.return_value
self.addCleanup(p_mock_client.stop)
p_mock_client_v1 = mock.patch.object(core_v1_api, "CoreV1Api")
self.client_v1_cls = p_mock_client_v1.start()
self.client_v1 = self.client_v1_cls.return_value
self.addCleanup(p_mock_client_v1.stop)
def test_create_daemonset(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_daemonset(
image="test/image",
namespace="ns",
node_labels=None,
status_wait=False)
expected = {
"apiVersion": "extensions/v1beta1",
"kind": "DaemonSet",
"metadata": {
"name": "name"
},
"spec": {
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"image": "test/image",
"name": "name"
}
]
}
}
}
}
(self.client.create_namespaced_daemon_set
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_daemonset_with_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_daemonset(
image="test/image",
namespace="ns",
command=["ls"],
node_labels=None,
status_wait=False)
expected = {
"apiVersion": "extensions/v1beta1",
"kind": "DaemonSet",
"metadata": {
"name": "name"
},
"spec": {
"template": {
"metadata": {
"name": "name",
"labels": {
"app": mock.ANY
}
},
"spec": {
"containers": [
{
"image": "test/image",
"name": "name",
"command": ["ls"]
}
]
}
}
}
}
(self.client.create_namespaced_daemon_set
.assert_called_once_with(
body=expected,
namespace="ns"
))
def test_create_daemonset_with_incorrect_command(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
ex = self.assertRaises(
ValueError,
self.k8s_client.create_daemonset,
image="test/image",
namespace="ns",
command="ls",
node_labels=None,
status_wait=False
)
self.assertEqual("'command' argument should be list or tuple type, "
"found %s" % type("ls"), str(ex))
self.assertEqual(
0,
self.client.create_namespaced_daemon_set.call_count
)
def test_create_and_wait_daemonset_success_node_no_filter(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client_v1_cls.reset_mock()
resp = mock.MagicMock()
resp.status.number_ready = 1
self.client.read_namespaced_daemon_set.return_value = resp
node = mock.MagicMock()
node.metadata.name = "n"
nodes = mock.MagicMock()
nodes.items = [node]
self.client_v1.list_node.return_value = nodes
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_daemonset(
image="test/image",
namespace="ns",
node_labels=None,
status_wait=True
)
self.client.create_namespaced_daemon_set.assert_called_once()
self.client.read_namespaced_daemon_set.assert_called_once_with(
"name",
namespace="ns"
)
self.client_v1.list_node.assert_called_once()
def test_create_and_wait_daemonset_success_node_filtered(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client_v1_cls.reset_mock()
resp = mock.MagicMock()
resp.status.number_ready = 1
self.client.read_namespaced_daemon_set.return_value = resp
node1 = mock.MagicMock()
node1.metadata.name = "n"
node1.metadata.labels = {
"test/node": "true"
}
node2 = mock.MagicMock()
node2.metadata.name = "n3"
node2.metadata.labels = {
"test/node": "false"
}
nodes = mock.MagicMock()
nodes.items = [node1, node2]
self.client_v1.list_node.return_value = nodes
self.k8s_client.generate_random_name = mock.MagicMock()
self.k8s_client.generate_random_name.return_value = "name"
self.k8s_client.create_daemonset(
image="test/image",
namespace="ns",
node_labels={"test/node": "true"},
status_wait=True
)
self.client.create_namespaced_daemon_set.assert_called_once()
self.client.read_namespaced_daemon_set.assert_called_once_with(
"name",
namespace="ns"
)
self.client_v1.list_node.assert_called_once()
def test_create_and_wait_daemonset_fail_create(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.create_namespaced_daemon_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_daemonset,
image="test/image",
namespace="ns",
node_labels=None,
status_wait=True
)
(self.client.create_namespaced_daemon_set
.assert_called_once())
self.assertEqual(0, self.client.read_namespaced_daemon_set.call_count)
def test_create_and_wait_daemonset_fail_read(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_daemon_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.create_daemonset,
image="test/image",
namespace="ns",
node_labels=None,
status_wait=True
)
self.client.create_namespaced_daemon_set.assert_called_once()
self.client.read_namespaced_daemon_set.assert_called_once()
self.assertEqual(0, self.client_v1.list_node.call_count)
def test_delete_daemonset(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
from kubernetes import client as k8s_config
self.k8s_client.delete_daemonset("test", namespace="ns",
status_wait=False)
self.client.delete_namespaced_daemon_set.assert_called_once_with(
"test",
body=k8s_config.V1DeleteOptions(),
namespace="ns"
)
def test_delete_daemonset_and_wait_termination_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_daemon_set.side_effect = [
rest.ApiException(status=404, reason="Not found")
]
self.k8s_client.delete_daemonset("test", namespace="ns")
self.client.delete_namespaced_daemon_set.assert_called_once()
self.client.read_namespaced_daemon_set.assert_called_once_with(
"test",
namespace="ns"
)
def test_delete_daemonset_delete_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.delete_namespaced_daemon_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_daemonset,
"test",
namespace="ns"
)
self.client.delete_namespaced_daemon_set.assert_called_once()
self.assertEqual(0, self.client.read_namespaced_daemon_set.call_count)
def test_delete_daemonset_read_failed(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client.read_namespaced_daemon_set.side_effect = [
rest.ApiException(status=500, reason="Test")
]
self.assertRaises(
rest.ApiException,
self.k8s_client.delete_daemonset,
"test",
namespace="ns"
)
self.client.delete_namespaced_daemon_set.assert_called_once()
self.client.read_namespaced_daemon_set.assert_called_once_with(
"test",
namespace="ns"
)
def test_delete_daemonset_and_wait_termination_timeout(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
CONF.set_override("status_total_retries", 2, "kubernetes")
self.assertRaises(
rally_exc.TimeoutException,
self.k8s_client.delete_daemonset,
"test",
namespace="ns"
)
self.client.delete_namespaced_daemon_set.assert_called_once()
self.assertEqual(2, self.client.read_namespaced_daemon_set.call_count)
def test_check_daemonsets_success(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client_v1_cls.reset_mock()
node1 = mock.MagicMock()
node1.metadata.name = "n"
node1.metadata.labels = {
"test/node": "true"
}
node2 = mock.MagicMock()
node2.metadata.name = "n3"
node2.metadata.labels = {
"test/node": "false"
}
nodes = mock.MagicMock()
nodes.items = [node1, node2]
self.client_v1.list_node.return_value = nodes
pod = mock.MagicMock()
pod.spec.node_name = "n"
pods = mock.MagicMock()
pods.items = [pod]
self.client_v1.list_namespaced_pod.return_value = pods
self.k8s_client.check_daemonset(
"ns",
app="testapp",
node_labels={"test/node": "true"}
)
self.client_v1.list_namespaced_pod.assert_called_once_with(
namespace="ns",
label_selector="app=testapp"
)
self.client_v1.list_node.assert_called_once()
def test_check_daemonsets_fail(self):
self.config_cls.reset_mock()
self.api_cls.reset_mock()
self.client_cls.reset_mock()
self.client_v1_cls.reset_mock()
node1 = mock.MagicMock()
node1.metadata.name = "n"
node1.metadata.labels = {
"test/node": "true"
}
node2 = mock.MagicMock()
node2.metadata.name = "n2"
node2.metadata.labels = {
"test/node": "true"
}
node3 = mock.MagicMock()
node3.metadata.name = "n3"
node3.metadata.labels = {
"test/node": "false"
}
nodes = mock.MagicMock()
nodes.items = [node1, node2, node3]
self.client_v1.list_node.return_value = nodes
pod = mock.MagicMock()
pod.spec.node_name = "n"
pods = mock.MagicMock()
pods.items = [pod]
self.client_v1.list_namespaced_pod.return_value = pods
self.assertRaises(
rally_exc.RallyException,
self.k8s_client.check_daemonset,
"ns",
app="testapp",
node_labels={"test/node": "true"}
)
self.client_v1.list_namespaced_pod.assert_called_once_with(
namespace="ns",
label_selector="app=testapp"
)
self.client_v1.list_node.assert_called_once()
| 31.429129
| 79
| 0.539772
| 10,919
| 112,642
| 5.237568
| 0.03297
| 0.07414
| 0.079316
| 0.092046
| 0.922852
| 0.904387
| 0.894927
| 0.881183
| 0.86431
| 0.853119
| 0
| 0.008947
| 0.361961
| 112,642
| 3,583
| 80
| 31.437901
| 0.786782
| 0.005673
| 0
| 0.715883
| 0
| 0
| 0.075715
| 0.002813
| 0
| 0
| 0
| 0
| 0.092404
| 1
| 0.044064
| false
| 0
| 0.00855
| 0
| 0.057218
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
a476187de8a25db101ee0be5fcb11aa9f744284b
| 2,496
|
py
|
Python
|
spider/consts.py
|
sppsun/spider
|
b5fb7fbd16df3960a5e12204db2ef1644fb3e882
|
[
"MIT"
] | 1
|
2020-01-10T19:24:48.000Z
|
2020-01-10T19:24:48.000Z
|
spider/consts.py
|
sunnypandas/spider
|
b5fb7fbd16df3960a5e12204db2ef1644fb3e882
|
[
"MIT"
] | 1
|
2019-05-29T06:30:09.000Z
|
2019-05-29T06:30:09.000Z
|
spider/consts.py
|
sppsun/spider
|
b5fb7fbd16df3960a5e12204db2ef1644fb3e882
|
[
"MIT"
] | 3
|
2019-12-20T06:20:26.000Z
|
2020-03-01T18:41:23.000Z
|
MYSQL_ITEM_PIPELINES = {
'scrapy.pipelines.images.ImagesPipeline': 1,
'spider.pipelines.MySqlPipeline': 100,
}
DB2_ITEM_PIPELINES = {
'scrapy.pipelines.images.ImagesPipeline': 1,
'spider.pipelines.DB2Pipeline': 100,
}
MONGODB_ITEM_PIPELINES = {
'scrapy.pipelines.images.ImagesPipeline': 1,
'spider.pipelines.MongoDBPipeline': 100,
}
DOWNLOADER_MIDDLEWARES_HTTP_PROXY_ON = {
#'spider.middlewares.DownloaderMiddleware': 543,
#to support random ua
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
#to support proxy
'scrapy.downloadermiddlewares.retry.RetryMiddleware': 90,
'scrapy_proxies.RandomProxy': 100,
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware': 110,
}
DOWNLOADER_MIDDLEWARES_HTTP_PROXY_OFF = {
#'spider.middlewares.DownloaderMiddleware': 543,
#to support random ua
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
#to support splash
'scrapy_splash.SplashCookiesMiddleware': 723,
'scrapy_splash.SplashMiddleware': 725,
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware': 810,
}
DOWNLOADER_MIDDLEWARES_TOR_PROXY_ON = {
#'spider.middlewares.DownloaderMiddleware': 543,
#to support random ua
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
#to support proxy
'spider.middlewares.TorProxyMiddleware': 543,
}
DOWNLOADER_MIDDLEWARES_TOR_PROXY_OFF = {
#'spider.middlewares.DownloaderMiddleware': 543,
#to support random ua
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
}
DOWNLOADER_MIDDLEWARES_SQUID_PROXY_ON = {
#'spider.middlewares.DownloaderMiddleware': 543,
#to support random ua
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
#to support proxy
'spider.middlewares.SquidProxyMiddleware': 543,
}
DOWNLOADER_MIDDLEWARES_SQUID_PROXY_OFF = {
#'spider.middlewares.DownloaderMiddleware': 543,
#to support random ua
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
}
| 36.705882
| 82
| 0.777644
| 227
| 2,496
| 8.352423
| 0.237885
| 0.047468
| 0.117089
| 0.126582
| 0.7173
| 0.7173
| 0.7173
| 0.7173
| 0.7173
| 0.616034
| 0
| 0.03341
| 0.124599
| 2,496
| 68
| 83
| 36.705882
| 0.834325
| 0.187099
| 0
| 0.340909
| 0
| 0
| 0.619166
| 0.619166
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
a4938beefd2810ec18a7b3f758667dbbb79225e8
| 14,236
|
py
|
Python
|
devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_MotorStatus.py
|
Jam-cpu/Masters-Project---Final
|
0b266b1f117a579b96507249f0a128d0e3cc082a
|
[
"BSD-3-Clause-Clear"
] | null | null | null |
devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_MotorStatus.py
|
Jam-cpu/Masters-Project---Final
|
0b266b1f117a579b96507249f0a128d0e3cc082a
|
[
"BSD-3-Clause-Clear"
] | null | null | null |
devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_MotorStatus.py
|
Jam-cpu/Masters-Project---Final
|
0b266b1f117a579b96507249f0a128d0e3cc082a
|
[
"BSD-3-Clause-Clear"
] | null | null | null |
# This Python file uses the following encoding: utf-8
"""autogenerated by genpy from robotnik_msgs/MotorStatus.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class MotorStatus(genpy.Message):
_md5sum = "bee7a4674a1d69703bedee2437db3d94"
_type = "robotnik_msgs/MotorStatus"
_has_header = False # flag to mark the presence of a Header object
_full_text = """string state
string status
string communicationstatus
string statusword
string driveflags
string[] activestatusword
string[] activedriveflags
int32 digitaloutputs
int32 digitalinputs
float32 averagecurrent
float32[] analoginputs
"""
__slots__ = ['state','status','communicationstatus','statusword','driveflags','activestatusword','activedriveflags','digitaloutputs','digitalinputs','averagecurrent','analoginputs']
_slot_types = ['string','string','string','string','string','string[]','string[]','int32','int32','float32','float32[]']
def __init__(self, *args, **kwds):
"""
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes. You cannot mix in-order arguments and keyword arguments.
The available fields are:
state,status,communicationstatus,statusword,driveflags,activestatusword,activedriveflags,digitaloutputs,digitalinputs,averagecurrent,analoginputs
:param args: complete set of field values, in .msg order
:param kwds: use keyword arguments corresponding to message field names
to set specific fields.
"""
if args or kwds:
super(MotorStatus, self).__init__(*args, **kwds)
# message fields cannot be None, assign default values for those that are
if self.state is None:
self.state = ''
if self.status is None:
self.status = ''
if self.communicationstatus is None:
self.communicationstatus = ''
if self.statusword is None:
self.statusword = ''
if self.driveflags is None:
self.driveflags = ''
if self.activestatusword is None:
self.activestatusword = []
if self.activedriveflags is None:
self.activedriveflags = []
if self.digitaloutputs is None:
self.digitaloutputs = 0
if self.digitalinputs is None:
self.digitalinputs = 0
if self.averagecurrent is None:
self.averagecurrent = 0.
if self.analoginputs is None:
self.analoginputs = []
else:
self.state = ''
self.status = ''
self.communicationstatus = ''
self.statusword = ''
self.driveflags = ''
self.activestatusword = []
self.activedriveflags = []
self.digitaloutputs = 0
self.digitalinputs = 0
self.averagecurrent = 0.
self.analoginputs = []
def _get_types(self):
"""
internal API method
"""
return self._slot_types
def serialize(self, buff):
"""
serialize message into buffer
:param buff: buffer, ``StringIO``
"""
try:
_x = self.state
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.status
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.communicationstatus
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.statusword
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.driveflags
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
length = len(self.activestatusword)
buff.write(_struct_I.pack(length))
for val1 in self.activestatusword:
length = len(val1)
if python3 or type(val1) == unicode:
val1 = val1.encode('utf-8')
length = len(val1)
buff.write(struct.Struct('<I%ss'%length).pack(length, val1))
length = len(self.activedriveflags)
buff.write(_struct_I.pack(length))
for val1 in self.activedriveflags:
length = len(val1)
if python3 or type(val1) == unicode:
val1 = val1.encode('utf-8')
length = len(val1)
buff.write(struct.Struct('<I%ss'%length).pack(length, val1))
_x = self
buff.write(_get_struct_2if().pack(_x.digitaloutputs, _x.digitalinputs, _x.averagecurrent))
length = len(self.analoginputs)
buff.write(_struct_I.pack(length))
pattern = '<%sf'%length
buff.write(struct.Struct(pattern).pack(*self.analoginputs))
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
def deserialize(self, str):
"""
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``
"""
if python3:
codecs.lookup_error("rosmsg").msg_type = self._type
try:
end = 0
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.state = str[start:end].decode('utf-8', 'rosmsg')
else:
self.state = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.status = str[start:end].decode('utf-8', 'rosmsg')
else:
self.status = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.communicationstatus = str[start:end].decode('utf-8', 'rosmsg')
else:
self.communicationstatus = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.statusword = str[start:end].decode('utf-8', 'rosmsg')
else:
self.statusword = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.driveflags = str[start:end].decode('utf-8', 'rosmsg')
else:
self.driveflags = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
self.activestatusword = []
for i in range(0, length):
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
val1 = str[start:end].decode('utf-8', 'rosmsg')
else:
val1 = str[start:end]
self.activestatusword.append(val1)
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
self.activedriveflags = []
for i in range(0, length):
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
val1 = str[start:end].decode('utf-8', 'rosmsg')
else:
val1 = str[start:end]
self.activedriveflags.append(val1)
_x = self
start = end
end += 12
(_x.digitaloutputs, _x.digitalinputs, _x.averagecurrent,) = _get_struct_2if().unpack(str[start:end])
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
pattern = '<%sf'%length
start = end
s = struct.Struct(pattern)
end += s.size
self.analoginputs = s.unpack(str[start:end])
return self
except struct.error as e:
raise genpy.DeserializationError(e) # most likely buffer underfill
def serialize_numpy(self, buff, numpy):
"""
serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module
"""
try:
_x = self.state
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.status
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.communicationstatus
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.statusword
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
_x = self.driveflags
length = len(_x)
if python3 or type(_x) == unicode:
_x = _x.encode('utf-8')
length = len(_x)
buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
length = len(self.activestatusword)
buff.write(_struct_I.pack(length))
for val1 in self.activestatusword:
length = len(val1)
if python3 or type(val1) == unicode:
val1 = val1.encode('utf-8')
length = len(val1)
buff.write(struct.Struct('<I%ss'%length).pack(length, val1))
length = len(self.activedriveflags)
buff.write(_struct_I.pack(length))
for val1 in self.activedriveflags:
length = len(val1)
if python3 or type(val1) == unicode:
val1 = val1.encode('utf-8')
length = len(val1)
buff.write(struct.Struct('<I%ss'%length).pack(length, val1))
_x = self
buff.write(_get_struct_2if().pack(_x.digitaloutputs, _x.digitalinputs, _x.averagecurrent))
length = len(self.analoginputs)
buff.write(_struct_I.pack(length))
pattern = '<%sf'%length
buff.write(self.analoginputs.tostring())
except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
def deserialize_numpy(self, str, numpy):
"""
unpack serialized message in str into this message instance using numpy for array types
:param str: byte array of serialized message, ``str``
:param numpy: numpy python module
"""
if python3:
codecs.lookup_error("rosmsg").msg_type = self._type
try:
end = 0
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.state = str[start:end].decode('utf-8', 'rosmsg')
else:
self.state = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.status = str[start:end].decode('utf-8', 'rosmsg')
else:
self.status = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.communicationstatus = str[start:end].decode('utf-8', 'rosmsg')
else:
self.communicationstatus = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.statusword = str[start:end].decode('utf-8', 'rosmsg')
else:
self.statusword = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
self.driveflags = str[start:end].decode('utf-8', 'rosmsg')
else:
self.driveflags = str[start:end]
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
self.activestatusword = []
for i in range(0, length):
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
val1 = str[start:end].decode('utf-8', 'rosmsg')
else:
val1 = str[start:end]
self.activestatusword.append(val1)
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
self.activedriveflags = []
for i in range(0, length):
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
val1 = str[start:end].decode('utf-8', 'rosmsg')
else:
val1 = str[start:end]
self.activedriveflags.append(val1)
_x = self
start = end
end += 12
(_x.digitaloutputs, _x.digitalinputs, _x.averagecurrent,) = _get_struct_2if().unpack(str[start:end])
start = end
end += 4
(length,) = _struct_I.unpack(str[start:end])
pattern = '<%sf'%length
start = end
s = struct.Struct(pattern)
end += s.size
self.analoginputs = numpy.frombuffer(str[start:end], dtype=numpy.float32, count=length)
return self
except struct.error as e:
raise genpy.DeserializationError(e) # most likely buffer underfill
_struct_I = genpy.struct_I
def _get_struct_I():
global _struct_I
return _struct_I
_struct_2if = None
def _get_struct_2if():
global _struct_2if
if _struct_2if is None:
_struct_2if = struct.Struct("<2if")
return _struct_2if
| 33.654846
| 183
| 0.601573
| 1,778
| 14,236
| 4.693476
| 0.101237
| 0.086279
| 0.068544
| 0.04985
| 0.738646
| 0.732175
| 0.719233
| 0.719233
| 0.709886
| 0.697663
| 0
| 0.018469
| 0.265945
| 14,236
| 422
| 184
| 33.734597
| 0.780096
| 0.096937
| 0
| 0.847594
| 1
| 0
| 0.073386
| 0.004488
| 0
| 0
| 0.000787
| 0
| 0
| 1
| 0.02139
| false
| 0
| 0.010695
| 0
| 0.064171
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
8efd10a652f705932eab758fb95d3be3f9ff1085
| 53,205
|
py
|
Python
|
tests/integrations/conftest.py
|
aimakerspace/Synergos
|
ce972f6b031535e82be6724f42118c33f90e9189
|
[
"Apache-2.0"
] | null | null | null |
tests/integrations/conftest.py
|
aimakerspace/Synergos
|
ce972f6b031535e82be6724f42118c33f90e9189
|
[
"Apache-2.0"
] | null | null | null |
tests/integrations/conftest.py
|
aimakerspace/Synergos
|
ce972f6b031535e82be6724f42118c33f90e9189
|
[
"Apache-2.0"
] | 3
|
2021-11-25T03:26:52.000Z
|
2022-01-24T09:48:37.000Z
|
#!/usr/bin/env python
####################
# Required Modules #
####################
# Generic/Built-in
import logging
import pytest
# Libs
# Custom
from synergos import (
ProjectTask,
ExperimentTask,
RunTask,
ParticipantTask,
RegistrationTask,
TagTask,
AlignmentTask,
ModelTask,
OptimizationTask,
ValidationTask,
PredictionTask,
Driver
)
##################
# Configurations #
##################
HOST = '0.0.0.0'
PORT = '5000'
IS_SECURED = False
ADDRESS = f"https://{HOST}:{PORT}" if IS_SECURED else f"http://{HOST}:{PORT}"
###########
# Helpers #
###########
def generate_minimal_keys(
project_id: str,
expt_id_1: str,
expt_id_2: str,
run_id_1: str,
run_id_2: str,
participant_id_1: str,
participant_id_2: str
) -> dict:
PROJECT_KEY = {'project_id': project_id}
EXPT_KEY_1 = {'project_id': project_id, 'expt_id': expt_id_1}
EXPT_KEY_2 = {'project_id': project_id, 'expt_id': expt_id_2}
RUN_KEY_1 = {'project_id': project_id, 'expt_id': expt_id_1, 'run_id': run_id_1}
RUN_KEY_2 = {'project_id': project_id, 'expt_id': expt_id_1, 'run_id': run_id_2}
RUN_KEY_3 = {'project_id': project_id, 'expt_id': expt_id_2, 'run_id': run_id_2}
PARTICIPANT_KEY_1 = {'participant_id': participant_id_1}
PARTICIPANT_KEY_2 = {'participant_id': participant_id_2}
REG_KEY_1 = {'project_id': project_id, 'participant_id': participant_id_1}
REG_KEY_2 = {'project_id': project_id, 'participant_id': participant_id_2}
TAG_KEY_1 = {'project_id': project_id, 'participant_id': participant_id_1}
TAG_KEY_2 = {'project_id': project_id, 'participant_id': participant_id_2}
return (
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
)
def generate_extra_keys(
project_id: str,
expt_id_1: str,
expt_id_2: str,
expt_id_3: str,
run_id_1: str,
run_id_2: str,
run_id_3: str,
run_id_4: str,
run_id_5: str,
run_id_6: str,
run_id_7: str,
participant_id_1: str,
participant_id_2: str
) -> dict:
(
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
) = generate_minimal_keys(
project_id,
expt_id_1, expt_id_2,
run_id_1, run_id_2,
participant_id_1, participant_id_2
)
EXPT_KEY_3 = {'project_id': project_id, 'expt_id': expt_id_2}
RUN_KEY_4 = {'project_id': project_id, 'expt_id': expt_id_1, 'run_id': run_id_3}
RUN_KEY_5 = {'project_id': project_id, 'expt_id': expt_id_1, 'run_id': run_id_4}
RUN_KEY_6 = {'project_id': project_id, 'expt_id': expt_id_1, 'run_id': run_id_5}
RUN_KEY_7 = {'project_id': project_id, 'expt_id': expt_id_1, 'run_id': run_id_6}
RUN_KEY_8 = {'project_id': project_id, 'expt_id': expt_id_3, 'run_id': run_id_7}
return (
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2, EXPT_KEY_3,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3, RUN_KEY_4,
RUN_KEY_5, RUN_KEY_6, RUN_KEY_7, RUN_KEY_8,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
)
########################
# Integration Fixtures #
########################
@pytest.fixture
def tabular_regress_cycle_payloads():
project_id = "tabular_regress_project"
expt_id_1 = "tabular_regress_expt_1"
expt_id_2 = "tabular_regress_expt_2"
run_id_1 = "tabular_regress_run_1"
run_id_2 = "tabular_regress_run_2"
participant_id_1 = "tabular_regress_participant_1"
participant_id_2 = "tabular_regress_participant_2"
(
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
) = generate_minimal_keys(
project_id,
expt_id_1, expt_id_2,
run_id_1, run_id_2,
participant_id_1, participant_id_2
)
project_payload = {
**PROJECT_KEY,
'action': 'regress',
'incentives': {
'tier_1': [],
'tier_2': []
}
}
expt_payload_1 = {
**EXPT_KEY_1,
'model': [
{
"activation": None,
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 1
}
}
]
}
expt_payload_2 = {
**EXPT_KEY_2,
'model': [
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 10
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 10,
"out_features": 90
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 90,
"out_features": 80
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 80,
"out_features": 70
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 70,
"out_features": 60
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 60,
"out_features": 50
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 50,
"out_features": 40
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 40,
"out_features": 30
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 30,
"out_features": 20
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 20,
"out_features": 10
}
},
{
"activation": None,
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 10,
"out_features": 1
}
}
]
}
param_set_1 = {
'algorithm': "FedProx",
'batch_size': 500,
'rounds': 2,
'epochs': 1,
'lr': 0.01,
'weight_decay': 0.001,
'lr_decay': 0.001,
'mu': 0.001,
'l1_lambda': 0.001,
'l2_lambda': 0.001,
'optimizer': "SGD",
'criterion': "MSELoss",
'lr_scheduler': "CyclicLR",
'delta': 0.001,
'patience': 10,
'seed': 100,
'is_snn': False,
'precision_fractional': 7,
'base_lr': 0.0001,
'max_lr': 0.001
}
param_set_2 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "L1Loss"
}
run_payload_1 = {**RUN_KEY_1, **param_set_1}
run_payload_2 = {**RUN_KEY_2, **param_set_2}
run_payload_3 = {**RUN_KEY_3, **param_set_2}
participant_payload_1 = {
**PARTICIPANT_KEY_1,
'host': '172.17.0.2',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
participant_payload_2 = {
**PARTICIPANT_KEY_2,
'host': '172.17.0.3',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
registration_payload_1 = {**REG_KEY_1, 'role': "host"}
registration_payload_2 = {**REG_KEY_2, 'role': "guest"}
tag_payload_1 = {
**TAG_KEY_1,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
tag_payload_2 = {
**TAG_KEY_2,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
alignment_payload = {**PROJECT_KEY}
# Specific combination: project|expt_2|run_2
combination_single_payload = {**RUN_KEY_1}
# All combinations under expt_1
combination_expts_payload = {**EXPT_KEY_1}
# All combinations under project
combination_project_payload = {**PROJECT_KEY}
prediction_payload_1 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_single_payload
}
prediction_payload_2 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_expts_payload
}
prediction_payload_3 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_project_payload
}
return {
'project': project_payload,
'experiment': [expt_payload_1, expt_payload_2],
'run': [run_payload_1, run_payload_2, run_payload_3],
'participant': [participant_payload_1, participant_payload_2],
'registration': [registration_payload_1, registration_payload_2],
'tag': [tag_payload_1, tag_payload_2],
'alignment': alignment_payload,
'model': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'validation': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'prediction': [
prediction_payload_1,
prediction_payload_2,
prediction_payload_3
]
}
@pytest.fixture
def tabular_classify_cycle_binary_payloads():
project_id = "tabular_classify_binary_project"
expt_id_1 = "tabular_classify_binary_expt_1"
expt_id_2 = "tabular_classify_binary_expt_2"
expt_id_3 = "tabular_classify_binary_expt_3"
run_id_1 = "tabular_classify_binary_run_1"
run_id_2 = "tabular_classify_binary_run_2"
run_id_3 = "tabular_classify_binary_run_3"
run_id_4 = "tabular_classify_binary_run_4"
run_id_5 = "tabular_classify_binary_run_5"
run_id_6 = "tabular_classify_binary_run_6"
run_id_7 = "tabular_classify_binary_run_7"
participant_id_1 = "tabular_classify_binary_participant_1"
participant_id_2 = "tabular_classify_binary_participant_2"
(
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2, EXPT_KEY_3,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3, RUN_KEY_4,
RUN_KEY_5, RUN_KEY_6, RUN_KEY_7, RUN_KEY_8,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
) = generate_extra_keys(
project_id,
expt_id_1, expt_id_2, expt_id_3,
run_id_1, run_id_2, run_id_3, run_id_4, run_id_5, run_id_6, run_id_7,
participant_id_1, participant_id_2
)
project_payload = {
**PROJECT_KEY,
'action': "classify",
'incentives': {
'tier_1': [],
'tier_2': []
}
}
expt_payload_1 = {
**EXPT_KEY_1,
'model': [
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 1 # placeholder
}
}
]
}
expt_payload_2 = {
**EXPT_KEY_2,
'model': [
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 10
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 10,
"out_features": 90
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 90,
"out_features": 80
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 80,
"out_features": 70
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 70,
"out_features": 60
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 60,
"out_features": 50
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 50,
"out_features": 40
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 40,
"out_features": 30
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 30,
"out_features": 20
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 20,
"out_features": 10
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 10,
"out_features": 1 # Placeholder
}
}
]
}
expt_payload_3 = {
**EXPT_KEY_3,
'model': [
{
"activation": None,
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 1 # placeholder
}
}
]
}
param_set_1 = {
'algorithm': "FedProx",
'batch_size': 32,
'rounds': 2,
'epochs': 1,
'lr': 0.001,
'weight_decay': 0.001,
'lr_decay': 0.001,
'mu': 0.001,
'l1_lambda': 0.001,
'l2_lambda': 0.001,
'optimizer': "SGD",
'criterion': "L1Loss",
'lr_scheduler': "CyclicLR",
'delta': 0.001,
'patience': 10,
'seed': 100,
'is_snn': False,
'precision_fractional': 7,
'base_lr': 0.0001,
'max_lr': 0.001
}
param_set_2 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "MSELoss"
}
param_set_3 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "PoissonNLLLoss"
}
param_set_4 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "KLDivLoss"
}
param_set_5 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "BCELoss"
}
param_set_6 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "SmoothL1Loss"
}
param_set_7 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "BCEWithLogitsLoss"
}
run_payload_1 = {**RUN_KEY_1, **param_set_1}
run_payload_2 = {**RUN_KEY_2, **param_set_2}
run_payload_3 = {**RUN_KEY_3, **param_set_2}
run_payload_4 = {**RUN_KEY_4, **param_set_3}
run_payload_5 = {**RUN_KEY_5, **param_set_4}
run_payload_6 = {**RUN_KEY_6, **param_set_5}
run_payload_7 = {**RUN_KEY_7, **param_set_6}
run_payload_8 = {**RUN_KEY_8, **param_set_7}
participant_payload_1 = {
**PARTICIPANT_KEY_1,
'host': '172.17.0.2',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
participant_payload_2 = {
**PARTICIPANT_KEY_2,
'host': '172.17.0.3',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
registration_payload_1 = {**REG_KEY_1, 'role': "host"}
registration_payload_2 = {**REG_KEY_2, 'role': "guest"}
tag_payload_1 = {
**TAG_KEY_1,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
tag_payload_2 = {
**TAG_KEY_2,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
alignment_payload = {**PROJECT_KEY}
# Specific combination: project|expt_2|run_2
combination_single_payload = {**RUN_KEY_3}
# All combinations under expt_1
combination_expts_payload = {**EXPT_KEY_1}
# All combinations under project
combination_project_payload = {**PROJECT_KEY}
prediction_payload_1 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_single_payload
}
prediction_payload_2 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_expts_payload
}
prediction_payload_3 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_project_payload
}
return {
'project': project_payload,
'experiment': [expt_payload_1, expt_payload_2, expt_payload_3],
'run': [
run_payload_1, run_payload_2, run_payload_3, run_payload_4,
run_payload_5, run_payload_6, run_payload_7, run_payload_8
],
'participant': [participant_payload_1, participant_payload_2],
'registration': [registration_payload_1, registration_payload_2],
'tag': [tag_payload_1, tag_payload_2],
'alignment': alignment_payload,
'model': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'validation': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'prediction': [
prediction_payload_1,
prediction_payload_2,
prediction_payload_3
]
}
@pytest.fixture
def tabular_classify_cycle_multiclass_payloads():
project_id = "tabular_classify_mulitclass_project"
expt_id_1 = "tabular_classify_mulitclass_expt_1"
expt_id_2 = "tabular_classify_mulitclass_expt_2"
expt_id_3 = "tabular_classify_mulitclass_expt_3"
run_id_1 = "tabular_classify_mulitclass_run_1"
run_id_2 = "tabular_classify_mulitclass_run_2"
run_id_3 = "tabular_classify_mulitclass_run_3"
run_id_4 = "tabular_classify_mulitclass_run_4"
run_id_5 = "tabular_classify_mulitclass_run_5"
run_id_6 = "tabular_classify_mulitclass_run_6"
run_id_7 = "tabular_classify_mulitclass_run_7"
participant_id_1 = "tabular_classify_mulitclass_participant_1"
participant_id_2 = "tabular_classify_mulitclass_participant_2"
(
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2, EXPT_KEY_3,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3, RUN_KEY_4,
RUN_KEY_5, RUN_KEY_6, RUN_KEY_7, RUN_KEY_8,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
) = generate_extra_keys(
project_id,
expt_id_1, expt_id_2, expt_id_3,
run_id_1, run_id_2, run_id_3, run_id_4, run_id_5, run_id_6, run_id_7,
participant_id_1, participant_id_2
)
project_payload = {
**PROJECT_KEY,
'action': "classify",
'incentives': {
'tier_1': [],
'tier_2': []
}
}
expt_payload_1 = {
**EXPT_KEY_1,
'model': [
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 3 # placeholder
}
}
]
}
expt_payload_2 = {
**EXPT_KEY_2,
'model': [
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 10
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 10,
"out_features": 90
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 90,
"out_features": 80
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 80,
"out_features": 70
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 70,
"out_features": 60
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 60,
"out_features": 50
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 50,
"out_features": 40
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 40,
"out_features": 30
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 30,
"out_features": 20
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 20,
"out_features": 10
}
},
{
"activation": "sigmoid",
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 10,
"out_features": 3 # Placeholder
}
}
]
}
expt_payload_3 = {
**EXPT_KEY_3,
'model': [
{
"activation": None,
"is_input": True,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 0, # placeholder
"out_features": 3 # placeholder
}
}
]
}
param_set_1 = {
'algorithm': "FedProx",
'batch_size': 32,
'rounds': 2,
'epochs': 1,
'lr': 0.001,
'weight_decay': 0.001,
'lr_decay': 0.001,
'mu': 0.001,
'l1_lambda': 0.001,
'l2_lambda': 0.001,
'optimizer': "SGD",
'criterion': "NLLLoss",
'lr_scheduler': "CyclicLR",
'delta': 0.001,
'patience': 10,
'seed': 100,
'is_snn': False,
'precision_fractional': 7,
'base_lr': 0.0001,
'max_lr': 0.001
}
param_set_2 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "MultiLabelMarginLoss"
}
param_set_3 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "MultiLabelSoftMarginLoss"
}
param_set_4 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "CrossEntropyLoss"
}
param_set_5 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "HingeEmbeddingLoss"
}
run_payload_1 = {**RUN_KEY_1, **param_set_1}
run_payload_2 = {**RUN_KEY_2, **param_set_2}
run_payload_3 = {**RUN_KEY_3, **param_set_2}
run_payload_4 = {**RUN_KEY_4, **param_set_3}
run_payload_5 = {**RUN_KEY_4, **param_set_4}
run_payload_6 = {**RUN_KEY_8, **param_set_5}
participant_payload_1 = {
**PARTICIPANT_KEY_1,
'host': '172.17.0.2',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
participant_payload_2 = {
**PARTICIPANT_KEY_2,
'host': '172.17.0.3',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
registration_payload_1 = {**REG_KEY_1, 'role': "host"}
registration_payload_2 = {**REG_KEY_2, 'role': "guest"}
tag_payload_1 = {
**TAG_KEY_1,
'train': [["non_iid_1"]],
'evaluate': [["iid_1"]]
}
tag_payload_2 = {
**TAG_KEY_2,
'train': [["non_iid_2"]],
'evaluate': [["iid_2"]]
}
alignment_payload = {**PROJECT_KEY}
# Specific combination: project|expt_2|run_2
combination_single_payload = {**RUN_KEY_3}
# All combinations under expt_1
combination_expts_payload = {**EXPT_KEY_1}
# All combinations under project
combination_project_payload = {**PROJECT_KEY}
prediction_payload_1 = {
'tags': {project_id: [["edge_test_missing_coecerable_vals"]]},
**PARTICIPANT_KEY_1,
**combination_single_payload
}
prediction_payload_2 = {
'tags': {project_id: [["edge_test_missing_coecerable_vals"]]},
**PARTICIPANT_KEY_1,
**combination_expts_payload
}
prediction_payload_3 = {
'tags': {project_id: [["edge_test_missing_coecerable_vals"]]},
**PARTICIPANT_KEY_1,
**combination_project_payload
}
return {
'project': project_payload,
'experiment': [expt_payload_1, expt_payload_2, expt_payload_3],
'run': [
run_payload_1, run_payload_2, run_payload_3,
run_payload_4, run_payload_5, run_payload_6
],
'participant': [participant_payload_1, participant_payload_2],
'registration': [registration_payload_1, registration_payload_2],
'tag': [tag_payload_1, tag_payload_2],
'alignment': alignment_payload,
'model': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'validation': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'prediction': [
prediction_payload_1,
prediction_payload_2,
prediction_payload_3
]
}
@pytest.fixture
def image_classify_cycle_binary_payloads():
project_id = "image_classify_binary_project"
expt_id_1 = "image_classify_binary_expt_1"
expt_id_2 = "image_classify_binary_expt_2"
expt_id_3 = "image_classify_binary_expt_3"
run_id_1 = "image_classify_binary_run_1"
run_id_2 = "image_classify_binary_run_2"
run_id_3 = "image_classify_binary_run_3"
run_id_4 = "image_classify_binary_run_4"
run_id_5 = "image_classify_binary_run_5"
run_id_6 = "image_classify_binary_run_6"
run_id_7 = "image_classify_binary_run_7"
participant_id_1 = "image_classify_binary_participant_1"
participant_id_2 = "image_classify_binary_participant_2"
(
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2, EXPT_KEY_3,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3, RUN_KEY_4,
RUN_KEY_5, RUN_KEY_6, RUN_KEY_7, RUN_KEY_8,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
) = generate_extra_keys(
project_id,
expt_id_1, expt_id_2, expt_id_3,
run_id_1, run_id_2, run_id_3, run_id_4, run_id_5, run_id_6, run_id_7,
participant_id_1, participant_id_2
)
project_payload = {
**PROJECT_KEY,
'action': "classify",
'incentives': {
'tier_1': [],
'tier_2': []
}
}
expt_payload_1 = {
**EXPT_KEY_1,
'model': [
# Input: N, C, Height, Width [N, 1, 28, 28]
{
"activation": "relu",
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 1,
"out_channels": 4, # [N, 4, 28, 28]
"kernel_size": 3,
"stride": 1,
"padding": 1
}
},
{
"activation": None,
"is_input": False,
"l_type": "Flatten",
"structure": {}
},
# ------------------------------
{
"activation": "sigmoid",
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 4 * 28 * 28,
"out_features": 1
}
}
]
}
expt_payload_2 = {
**EXPT_KEY_2,
'model': [
##################################
# Section 1 - Feature Extraction #
##################################
# Input: N, C, Height, Width [N, 1, 28, 28]
{
"activation": None,
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 1,
"out_channels": 6, # [N, 6, 28, 28]
"kernel_size": 5,
"stride": 1,
"padding": 2,
"bias": True
}
},
{
"activation": None,
"is_input": False,
"l_type": "Tanh",
"structure": {}
},
{
"activation": None,
"is_input": False,
"l_type": "AvgPool2d",
"structure": {
"kernel_size": 2
}
},
{
"activation": None,
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 6,
"out_channels": 16, # [N, 6, 28, 28]
"kernel_size": 5,
"stride": 1,
"padding": 0,
"bias": True
}
},
{
"activation": None,
"is_input": False,
"l_type": "Tanh",
"structure": {}
},
{
"activation": None,
"is_input": False,
"l_type": "AvgPool2d",
"structure": {
"kernel_size": 2
}
},
{
"activation": None,
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 16,
"out_channels": 120, # [N, 6, 28, 28]
"kernel_size": 5,
"stride": 1
}
},
{
"activation": None,
"is_input": False,
"l_type": "Tanh",
"structure": {}
},
{
"activation": None,
"is_input": False,
"l_type": "Flatten",
"structure": {}
},
####################################
# Section 2 - Sequential Encodings #
####################################
{
"activation": "relu",
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 120,
"out_features": 84
}
},
{
"activation": "sigmoid",
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 84,
"out_features": 1
}
}
]
}
expt_payload_3 = {
**EXPT_KEY_3,
'model': [
# Input: N, C, Height, Width [N, 1, 28, 28]
{
"activation": "relu",
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 1,
"out_channels": 4, # [N, 4, 28, 28]
"kernel_size": 3,
"stride": 1,
"padding": 1
}
},
{
"activation": None,
"is_input": False,
"l_type": "Flatten",
"structure": {}
},
# ------------------------------
{
"activation": None,
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 4 * 28 * 28,
"out_features": 1
}
}
]
}
param_set_1 = {
'algorithm': "FedProx",
'batch_size': 32,
'rounds': 2,
'epochs': 1,
'lr': 0.001,
'weight_decay': 0.001,
'lr_decay': 0.001,
'mu': 0.001,
'l1_lambda': 0.001,
'l2_lambda': 0.001,
'optimizer': "SGD",
'criterion': "L1Loss",
'lr_scheduler': "CyclicLR",
'delta': 0.001,
'patience': 10,
'seed': 100,
'is_snn': False,
'precision_fractional': 7,
'base_lr': 0.0001,
'max_lr': 0.001
}
param_set_2 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "MSELoss"
}
param_set_3 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "PoissonNLLLoss"
}
param_set_4 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "KLDivLoss"
}
param_set_5 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "BCELoss"
}
param_set_6 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "SmoothL1Loss"
}
param_set_7 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "BCEWithLogitsLoss"
}
run_payload_1 = {**RUN_KEY_1, **param_set_1}
run_payload_2 = {**RUN_KEY_2, **param_set_2}
run_payload_3 = {**RUN_KEY_3, **param_set_2}
run_payload_4 = {**RUN_KEY_4, **param_set_3}
run_payload_5 = {**RUN_KEY_5, **param_set_4}
run_payload_6 = {**RUN_KEY_6, **param_set_5}
run_payload_7 = {**RUN_KEY_7, **param_set_6}
run_payload_8 = {**RUN_KEY_8, **param_set_7}
participant_payload_1 = {
**PARTICIPANT_KEY_1,
'host': '172.17.0.2',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
participant_payload_2 = {
**PARTICIPANT_KEY_2,
'host': '172.17.0.3',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
registration_payload_1 = {**REG_KEY_1, 'role': "host"}
registration_payload_2 = {**REG_KEY_2, 'role': "guest"}
tag_payload_1 = {
**TAG_KEY_1,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
tag_payload_2 = {
**TAG_KEY_2,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
alignment_payload = {**PROJECT_KEY}
# Specific combination: project|expt_2|run_2
combination_single_payload = {**RUN_KEY_1, **RUN_KEY_3}
# All combinations under expt_1
combination_expts_payload = {**EXPT_KEY_1}
# All combinations under project
combination_project_payload = {**PROJECT_KEY}
prediction_payload_1 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_single_payload
}
prediction_payload_2 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_expts_payload
}
prediction_payload_3 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_project_payload
}
return {
'project': project_payload,
'experiment': [expt_payload_1, expt_payload_2, expt_payload_3],
'run': [
run_payload_1, run_payload_2, run_payload_3, run_payload_4,
run_payload_5, run_payload_6, run_payload_7, run_payload_8
],
'participant': [participant_payload_1, participant_payload_2],
'registration': [registration_payload_1, registration_payload_2],
'tag': [tag_payload_1, tag_payload_2],
'alignment': alignment_payload,
'model': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'validation': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'prediction': [
prediction_payload_1,
prediction_payload_2,
prediction_payload_3
]
}
@pytest.fixture
def image_classify_cycle_multiclass_payloads():
project_id = "image_classify_mulitclass_project"
expt_id_1 = "image_classify_mulitclass_expt_1"
expt_id_2 = "image_classify_mulitclass_expt_2"
expt_id_3 = "image_classify_mulitclass_expt_3"
run_id_1 = "image_classify_mulitclass_run_1"
run_id_2 = "image_classify_mulitclass_run_2"
run_id_3 = "image_classify_mulitclass_run_3"
run_id_4 = "image_classify_mulitclass_run_4"
run_id_5 = "image_classify_mulitclass_run_5"
run_id_6 = "image_classify_mulitclass_run_6"
run_id_7 = "image_classify_mulitclass_run_7"
participant_id_1 = "image_classify_mulitclass_participant_1"
participant_id_2 = "image_classify_mulitclass_participant_2"
(
PROJECT_KEY,
EXPT_KEY_1, EXPT_KEY_2, EXPT_KEY_3,
RUN_KEY_1, RUN_KEY_2, RUN_KEY_3, RUN_KEY_4,
RUN_KEY_5, RUN_KEY_6, RUN_KEY_7, RUN_KEY_8,
PARTICIPANT_KEY_1, PARTICIPANT_KEY_2,
REG_KEY_1, REG_KEY_2,
TAG_KEY_1, TAG_KEY_2
) = generate_extra_keys(
project_id,
expt_id_1, expt_id_2, expt_id_3,
run_id_1, run_id_2, run_id_3, run_id_4, run_id_5, run_id_6, run_id_7,
participant_id_1, participant_id_2
)
project_payload = {
**PROJECT_KEY,
'action': "classify",
'incentives': {
'tier_1': [],
'tier_2': []
}
}
expt_payload_1 = {
**EXPT_KEY_1,
'model': [
# Input: N, C, Height, Width [N, 1, 28, 28]
{
"activation": "relu",
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 1,
"out_channels": 4, # [N, 4, 28, 28]
"kernel_size": 3,
"stride": 1,
"padding": 1
}
},
{
"activation": None,
"is_input": False,
"l_type": "Flatten",
"structure": {}
},
# ------------------------------
{
"activation": "sigmoid",
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 4 * 28 * 28,
"out_features": 3 # placeholder
}
}
]
}
expt_payload_2 = {
**EXPT_KEY_2,
'model': [
##################################
# Section 1 - Feature Extraction #
##################################
# Input: N, C, Height, Width [N, 1, 28, 28]
{
"activation": None,
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 1,
"out_channels": 6, # [N, 6, 28, 28]
"kernel_size": 5,
"stride": 1,
"padding": 2,
"bias": True
}
},
{
"activation": None,
"is_input": False,
"l_type": "Tanh",
"structure": {}
},
{
"activation": None,
"is_input": False,
"l_type": "AvgPool2d",
"structure": {
"kernel_size": 2
}
},
{
"activation": None,
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 6,
"out_channels": 16, # [N, 6, 28, 28]
"kernel_size": 5,
"stride": 1,
"padding": 0,
"bias": True
}
},
{
"activation": None,
"is_input": False,
"l_type": "Tanh",
"structure": {}
},
{
"activation": None,
"is_input": False,
"l_type": "AvgPool2d",
"structure": {
"kernel_size": 2
}
},
{
"activation": None,
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 16,
"out_channels": 120, # [N, 6, 28, 28]
"kernel_size": 5,
"stride": 1
}
},
{
"activation": None,
"is_input": False,
"l_type": "Tanh",
"structure": {}
},
{
"activation": None,
"is_input": False,
"l_type": "Flatten",
"structure": {}
},
####################################
# Section 2 - Sequential Encodings #
####################################
{
"activation": "relu",
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 120,
"out_features": 84
}
},
{
"activation": "relu",
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 84,
"out_features": 3 # placeholder
}
}
]
}
expt_payload_3 = {
'project_id': project_id,
'expt_id': expt_id_3,
'model': [
# Input: N, C, Height, Width [N, 1, 28, 28]
{
"activation": "relu",
"is_input": True,
"l_type": "Conv2d",
"structure": {
"in_channels": 1,
"out_channels": 4, # [N, 4, 28, 28]
"kernel_size": 3,
"stride": 1,
"padding": 1
}
},
{
"activation": None,
"is_input": False,
"l_type": "Flatten",
"structure": {}
},
# ------------------------------
{
"activation": None,
"is_input": False,
"l_type": "Linear",
"structure": {
"bias": True,
"in_features": 4 * 28 * 28,
"out_features": 3 # placeholder
}
}
]
}
param_set_1 = {
'algorithm': "FedProx",
'batch_size': 32,
'rounds': 2,
'epochs': 1,
'lr': 0.001,
'weight_decay': 0.001,
'lr_decay': 0.001,
'mu': 0.001,
'l1_lambda': 0.001,
'l2_lambda': 0.001,
'optimizer': "SGD",
'criterion': "NLLLoss",
'lr_scheduler': "CyclicLR",
'delta': 0.001,
'patience': 10,
'seed': 100,
'is_snn': False,
'precision_fractional': 7,
'base_lr': 0.0001,
'max_lr': 0.001
}
param_set_2 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "NLLLoss" #"MultiLabelMarginLoss"
}
param_set_3 = {
'rounds': 1,
'epochs': 2,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "CrossEntropyLoss" #"MultiLabelSoftMarginLoss"
}
param_set_4 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "CrossEntropyLoss"
}
param_set_5 = {
'rounds': 2,
'epochs': 1,
'base_lr': 0.0005,
'max_lr': 0.005,
'criterion': "HingeEmbeddingLoss"
}
run_payload_1 = {**RUN_KEY_1, **param_set_1}
run_payload_2 = {**RUN_KEY_2, **param_set_2}
run_payload_3 = {**RUN_KEY_3, **param_set_2}
run_payload_4 = {**RUN_KEY_4, **param_set_3}
run_payload_5 = {**RUN_KEY_5, **param_set_4}
run_payload_6 = {**RUN_KEY_8, **param_set_5}
participant_payload_1 = {
**PARTICIPANT_KEY_1,
'host': '172.17.0.2',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
participant_payload_2 = {
**PARTICIPANT_KEY_2,
'host': '172.17.0.3',
'port': 8020,
'f_port': 5000,
'log_msgs': True,
'verbose': True
}
registration_payload_1 = {**REG_KEY_1, 'role': "host"}
registration_payload_2 = {**REG_KEY_2, 'role': "guest"}
tag_payload_1 = {
**TAG_KEY_1,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
tag_payload_2 = {
**TAG_KEY_2,
'train': [["train"]],
'evaluate': [["evaluate"]]
}
alignment_payload = {**PROJECT_KEY}
# Specific combination: project|expt_2|run_2
combination_single_payload = {**RUN_KEY_2}
# All combinations under expt_1
combination_expts_payload = {**EXPT_KEY_1}
# All combinations under project
combination_project_payload = {**PROJECT_KEY}
prediction_payload_1 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_single_payload
}
prediction_payload_2 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_expts_payload
}
prediction_payload_3 = {
'tags': {project_id: [["predict"]]},
**PARTICIPANT_KEY_2,
**combination_project_payload
}
return {
'project': project_payload,
'experiment': [expt_payload_1, expt_payload_2, expt_payload_3],
'run': [
run_payload_1, run_payload_2, run_payload_3,
run_payload_4, run_payload_5, run_payload_6
],
'participant': [participant_payload_1, participant_payload_2],
'registration': [registration_payload_1, registration_payload_2],
'tag': [tag_payload_1, tag_payload_2],
'alignment': alignment_payload,
'model': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'validation': [
combination_single_payload,
combination_expts_payload,
combination_project_payload
],
'prediction': [
prediction_payload_1,
prediction_payload_2,
prediction_payload_3
]
}
@pytest.fixture
def driver():
return Driver(host=HOST, port=PORT, is_secured=IS_SECURED)
| 28.853037
| 84
| 0.45554
| 5,107
| 53,205
| 4.315058
| 0.040533
| 0.025593
| 0.02396
| 0.026138
| 0.965059
| 0.954123
| 0.939148
| 0.866996
| 0.866996
| 0.859237
| 0
| 0.054176
| 0.415074
| 53,205
| 1,844
| 85
| 28.853037
| 0.653931
| 0.02902
| 0
| 0.72641
| 0
| 0
| 0.208006
| 0.037801
| 0
| 0
| 0
| 0
| 0
| 1
| 0.004748
| false
| 0
| 0.00178
| 0.000593
| 0.011276
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
8effe90420e39471270411e11ae20dd0b6334f29
| 3,250
|
py
|
Python
|
src/python/LuisaCompute/_internal/type.py
|
Mike-Leo-Smith/LuisaCompute
|
232c0039bffb743d3bb5dfffc40d37a39dcd7570
|
[
"BSD-3-Clause"
] | 31
|
2020-11-21T08:16:53.000Z
|
2021-09-05T13:46:32.000Z
|
src/python/LuisaCompute/_internal/type.py
|
Mike-Leo-Smith/LuisaCompute
|
232c0039bffb743d3bb5dfffc40d37a39dcd7570
|
[
"BSD-3-Clause"
] | 1
|
2021-03-08T04:15:26.000Z
|
2021-03-19T04:40:02.000Z
|
src/python/LuisaCompute/_internal/type.py
|
Mike-Leo-Smith/LuisaCompute
|
232c0039bffb743d3bb5dfffc40d37a39dcd7570
|
[
"BSD-3-Clause"
] | 4
|
2020-12-02T09:41:22.000Z
|
2021-03-06T06:36:40.000Z
|
from ctypes import c_void_p, c_char_p, c_int, c_int32, c_uint32, c_int64, c_uint64, c_size_t
from .config import dll
dll.luisa_compute_type_from_description.restype = c_void_p
dll.luisa_compute_type_from_description.argtypes = [c_char_p]
def type_from_description(desc):
return dll.luisa_compute_type_from_description(desc.encode())
dll.luisa_compute_type_description.restype = c_char_p
dll.luisa_compute_type_description.argtypes = [c_void_p]
def type_description(t):
return bytes(dll.luisa_compute_type_description(t)).decode()
dll.luisa_compute_type_size.restype = c_size_t
dll.luisa_compute_type_size.argtypes = [c_void_p]
def type_size(t):
return dll.luisa_compute_type_size(t)
dll.luisa_compute_type_alignment.restype = c_size_t
dll.luisa_compute_type_alignment.argtypes = [c_void_p]
def type_alignment(t):
return dll.luisa_compute_type_alignment(t)
dll.luisa_compute_type_dimension.restype = c_size_t
dll.luisa_compute_type_dimension.argtypes = [c_void_p]
def type_dimension(t):
return dll.luisa_compute_type_dimension(t)
dll.luisa_compute_type_member_count.restype = c_size_t
dll.luisa_compute_type_member_count.argtypes = [c_void_p]
def type_member_count(t):
return dll.luisa_compute_type_member_count(t)
dll.luisa_compute_type_member_types.restype = c_void_p
dll.luisa_compute_type_member_types.argtypes = [c_void_p]
def type_member_types(t):
return dll.luisa_compute_type_member_types(t)
dll.luisa_compute_type_element_type.restype = c_void_p
dll.luisa_compute_type_element_type.argtypes = [c_void_p]
def type_element_type(t):
return dll.luisa_compute_type_element_type(t)
dll.luisa_compute_type_is_array.restype = c_int
dll.luisa_compute_type_is_array.argtypes = [c_void_p]
def type_is_array(t):
return dll.luisa_compute_type_is_array(t)
dll.luisa_compute_type_is_scalar.restype = c_int
dll.luisa_compute_type_is_scalar.argtypes = [c_void_p]
def type_is_scalar(t):
return dll.luisa_compute_type_is_scalar(t)
dll.luisa_compute_type_is_vector.restype = c_int
dll.luisa_compute_type_is_vector.argtypes = [c_void_p]
def type_is_vector(t):
return dll.luisa_compute_type_is_vector(t)
dll.luisa_compute_type_is_matrix.restype = c_int
dll.luisa_compute_type_is_matrix.argtypes = [c_void_p]
def type_is_matrix(t):
return dll.luisa_compute_type_is_matrix(t)
dll.luisa_compute_type_is_structure.restype = c_int
dll.luisa_compute_type_is_structure.argtypes = [c_void_p]
def type_is_structure(t):
return dll.luisa_compute_type_is_structure(t)
dll.luisa_compute_type_is_buffer.restype = c_int
dll.luisa_compute_type_is_buffer.argtypes = [c_void_p]
def type_is_buffer(t):
return dll.luisa_compute_type_is_buffer(t)
dll.luisa_compute_type_is_texture.restype = c_int
dll.luisa_compute_type_is_texture.argtypes = [c_void_p]
def type_is_texture(t):
return dll.luisa_compute_type_is_texture(t)
dll.luisa_compute_type_is_heap.restype = c_int
dll.luisa_compute_type_is_heap.argtypes = [c_void_p]
def type_is_heap(t):
return dll.luisa_compute_type_is_heap(t)
dll.luisa_compute_type_is_accel.restype = c_int
dll.luisa_compute_type_is_accel.argtypes = [c_void_p]
def type_is_accel(t):
return dll.luisa_compute_type_is_accel(t)
| 23.381295
| 92
| 0.823077
| 565
| 3,250
| 4.217699
| 0.077876
| 0.171213
| 0.321024
| 0.40663
| 0.885439
| 0.82543
| 0.492237
| 0.214855
| 0
| 0
| 0
| 0.002731
| 0.098769
| 3,250
| 138
| 93
| 23.550725
| 0.810857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.242857
| false
| 0
| 0.028571
| 0.242857
| 0.514286
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
2d014bbef7ca6dd6b56aa6e3bda509c329fe6f88
| 20,768
|
py
|
Python
|
python_src/util_BinClass.py
|
kaitu02/StochasticProximalMethods
|
b73bb20aa8d858f7907be81b2c2fcf6bb89dc0fb
|
[
"BSD-3-Clause"
] | null | null | null |
python_src/util_BinClass.py
|
kaitu02/StochasticProximalMethods
|
b73bb20aa8d858f7907be81b2c2fcf6bb89dc0fb
|
[
"BSD-3-Clause"
] | null | null | null |
python_src/util_BinClass.py
|
kaitu02/StochasticProximalMethods
|
b73bb20aa8d858f7907be81b2c2fcf6bb89dc0fb
|
[
"BSD-3-Clause"
] | 1
|
2021-01-08T01:48:07.000Z
|
2021-01-08T01:48:07.000Z
|
"""!@package util_BinClass
Useful functions for binary classification with non-convex loss example.
\f$\min_{w\in\mathbb{R}^d}\left\{ F(w) := \frac{1}{n}\sum_{i=1}^n\ell(a_i^{\top}w, b_i) + \lambda\|w\|_1\right\} \f$
The package contains differnt functions to evaluate objective value, gradient as well as proximal operator for the binary classification with
nonconvex loss example.
Copyright (c) 2019 Nhan H. Pham, Department of Statistics and Operations Research, University of North Carolina at Chapel Hill
Copyright (c) 2019 Quoc Tran-Dinh, Department of Statistics and Operations Research, University of North Carolina at Chapel Hill
Copyright (c) 2019 Lam M. Nguyen, IBM Research, Thomas J. Watson Research Center
Yorktown Heights
Copyright (c) 2019 Dzung T. Phan, IBM Research, Thomas J. Watson Research Center
Yorktown Heights
All rights reserved.
If you found this helpful and are using it within our software please cite the following publication:
* N. H. Pham, L. M. Nguyen, D. T. Phan, and Q. Tran-Dinh, **[ProxSARAH: An Efficient Algorithmic Framework for Stochastic Composite Nonconvex Optimization](https://arxiv.org/abs/1902.05679)**, _arXiv preprint arXiv:1902.05679_, 2019.
"""
# external library
import numpy as np
import scipy
import random
import math
## constant indicating total available memory when calculating full gradient
total_mem_full = 3.0e10
## constant indicating total available memory when calculating batch gradient
total_mem_batch = 2.0e10
def prox_l1_norm(w, lamb):
"""! Compute the proximal operator of the \f$\ell_1\f$-norm
\f$ prox_{\lambda \|.\|_1} = {arg\min_x}\left\{\|.\|_1^2 + \frac{1}{2\lambda}\|x - w\|^2\right\} \f$
Parameters
----------
@param w : input vector
@param lamb : penalty paramemeter
Returns
-------
@retval : perform soft-thresholding on input vector
"""
return np.sign(w) * np.maximum( np.abs(w) - lamb, 0)
def func_val_l1_norm(w):
"""! Compute \f$\ell_1\f$-norm of a vector
Parameters
----------
@param w : input vector
Returns
-------
@retval : \f$ \|w\|_1 \f$
"""
return np.linalg.norm(w,ord = 1)
def accuracy(n, d, X, Y, bias, w, nnzX = 0):
"""! Compute accuracy
Parameters
----------
@param n : sample size
@param d : number of features
@param X : input data
@param Y : input label
@param bias : bias vector
@param w : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : value between 0-1 indicating the accuracy
"""
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(n / batch_size)
sum_acc = 0
for j in range(num_batches):
## calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n)
batch_X = X[startIdx:endIdx]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
sum_acc += np.sum(1 * (batch_Y*(batch_X.dot(w) + batch_bias) > 0))
return 1/float(n) * sum_acc
###################################################################
def func_val_bin_class_loss_1(n, XYw_bias):
"""! Compute the objective value of loss function 1
\f$\ell_1(Y(Xw+b)) := 1 - \tanh(\omega Y(Xw+b)) \f$
for a given \f$ \omega > 0\f$.
Parameters
----------
@param n : sample size
@param Xw_bias : the precomputed \f$Y(Xw + b)\f$
Returns
-------
@retval : \f$\ell_1(Y(Xw + b))\f$
"""
omega = 1.0
expt = np.exp(2.0*omega*XYw_bias)
return (1.0/float(n)) * np.sum( 2.0 / (expt + 1.0) )
def grad_eval_bin_class_loss_1(n, d, b, X, Y, bias, w, nnzX = 0):
"""! Compute the (full/stochastic) gradient of loss function 1.
where \f$\ell_1(Y(Xw+b)) := 1 - \tanh(\omega Y(Xw+b)) \f$
for a given \f$ \omega > 0\f$.
Parameters
----------
@param n : sample size
@param d : number of features
@param b : mini-batch size
b = 1: single stochastic gradient
1 < b < n: mini-batch stochastic gradient
b = n: full gradient
@param X : input data
@param Y : input label
@param bias : input bias
@param w : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : computed full/stochastic gradient
@retval XYw_bias: The precomputed \f$ Y(Xw + bias)\f$
"""
omega = 1.0
# single sample
if b == 1:
# get a random sample
i = np.random.randint(0, n)
Xi = X[i,:]
expt = np.exp( 2.0*omega*Y[i]*(Xi.dot(w) + bias[i]) )
return -4.0*omega*( expt/(expt + 1.0)/(expt + 1.0) )*Y[i]*Xi
# batch
elif b < n:
# get a random batch of size b
index = random.sample(range(n), b)
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
batch_grad = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), b-1)
batch_X = X[index[startIdx:endIdx],:]
batch_Y = Y[index[startIdx:endIdx]]
batch_bias = bias[index[startIdx:endIdx]]
expt = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w) + batch_bias) )
batch_grad -= 4.0 * omega * batch_X.transpose().dot(batch_Y*(expt/(expt + 1.0)/(expt + 1.0)))
return batch_grad / float(b)
# full
else:
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
full_grad = np.zeros(d)
XYw_bias = np.zeros(n)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n-1)
batch_X = X[startIdx:endIdx,:]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
batch_XYw_bias = batch_Y * (batch_X.dot(w) + batch_bias)
XYw_bias[startIdx:endIdx] = batch_XYw_bias
expt = np.exp(2.0*omega * batch_XYw_bias)
full_grad -= 4.0 * omega * batch_X.transpose().dot(batch_Y*(expt/(expt + 1.0)/(expt + 1.0)))
return full_grad / float(n), XYw_bias
def grad_diff_eval_bin_class_loss_1(n, d, b, X, Y, bias, w1, w2, nnzX = 0):
"""! Compute the (full/stochastic) gradient difference of loss function 1
\f$\displaystyle\frac{1}{b}\left(\sum_{i \in \mathcal{B}_t}(\nabla f_i(w_2) - \nabla f_i(w_1)) \right) \f$
Parameters
----------
@param n : sample size
@param d : number of features
@param b : mini-batch size
b = 1: single stochastic gradient
1 < b < n: mini-batch stochastic gradient
b = n: full gradient
@param X : input data
@param Y : input label
@param bias : input bias
@param w1 : input vector
@param w2 : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : computed full/stochastic gradient
"""
omega = 1.0
# single sample
if b == 1:
# get a random sample
i = np.random.randint(0,n)
Xi = X[i, :]
expt1 = np.exp( 2.0*omega * Y[i] * (Xi.dot(w1) + bias[i]) )
expt2 = np.exp( 2.0*omega * Y[i] * (Xi.dot(w2) + bias[i]) )
diff_expt = expt2 / (expt2 + 1.0) / (expt2 + 1.0) - expt1 / (expt1 + 1.0) / (expt1 + 1.0)
return -(4.0 * omega * diff_expt * Y[i]) * Xi
# batch
elif b < n:
# get a random batch of size b
index = random.sample(range(n), b)
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
batch_grad_diff = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), b-1)
batch_X = X[index[startIdx:endIdx],:]
batch_Y = Y[index[startIdx:endIdx]]
batch_bias = bias[index[startIdx:endIdx]]
expt1 = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w1) + batch_bias) )
expt2 = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w2) + batch_bias) )
diff_expt = expt2/(expt2 + 1.0)/(expt2 + 1.0) - expt1/(expt1 + 1.0)/(expt1 + 1.0)
batch_grad_diff -= 4.0 * omega * batch_X.transpose().dot(batch_Y * diff_expt )
return batch_grad_diff / float(b)
# full
else:
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
full_grad_diff = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n-1)
batch_X = X[startIdx:endIdx]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
expt1 = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w1) + batch_XYw_bias) )
expt2 = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w2) + batch_XYw_bias) )
diff_expt = expt2/(expt2 + 1.0)/(expt2 + 1.0) - expt1/(expt1 + 1.0)/(expt1 + 1.0)
full_grad_diff -= 4.0 * omega * batch_X.transpose().dot(batch_Y * diff_expt )
return full_grad_diff / float(n)
######################################################################
def func_val_bin_class_loss_2(n, XYw_bias):
"""! Compute the objective value of loss function 2
\f$\ell_2(Y(Xw+b)) := \left(1 - \frac{1}{1 + \exp[-Y(Xw+b)]}\right)^2 \f$
for a given \f$ \omega > 0\f$.
Parameters
----------
@param n : sample size
@param Xw_bias : the precomputed \f$Y(Xw + b)\f$
Returns
-------
@retval : \f$\ell_2(Y(Xw + b))\f$
"""
expt = np.exp( XYw_bias )
return (1.0/float(n))*np.sum ( 1.0 / ( (expt + 1.0)**2.0 ) )
def grad_eval_bin_class_loss_2(n, d, b, X, Y, bias, w, nnzX = 0):
"""! Compute the (full/stochastic) gradient of loss function 2.
\f$\ell_2(Y(Xw+b)) := \left(1 - \frac{1}{1 + \exp[-Y(Xw+b)]}\right)^2 \f$
Parameters
----------
@param n : sample size
@param d : number of features
@param b : mini-batch size
b = 1: single stochastic gradient
1 < b < n: mini-batch stochastic gradient
b = n: full gradient
@param X : input data
@param Y : input label
@param bias : input bias
@param w : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : computed full/stochastic gradient
@retval XYw_bias: The precomputed \f$ Y(Xw + bias)\f$
"""
# single sample
if b == 1:
# get a random sample
i = np.random.randint(0, n)
Xi = X[i, :]
expt = np.exp(Y[i] * (Xi.dot(w) + bias[i]) )
return ( -2.0 * (expt/(1.0 + expt)/(1.0 + expt)/(1.0 + expt)) * Y[i] ) * Xi
# batch
elif b < n:
# get a random batch of size b
index = random.sample(range(n), b)
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
batch_grad = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), b-1)
batch_X = X[index[startIdx:endIdx],:]
batch_Y = Y[index[startIdx:endIdx]]
batch_bias = bias[index[startIdx:endIdx]]
expt = np.exp( batch_Y * (batch_X.dot(w) + batch_bias) )
batch_grad -= 2.0 * batch_X.transpose().dot(batch_Y \
* (expt/(1.0 + expt)/(1.0 + expt)/(1.0 + expt)) )
return batch_grad / float(b)
# full
else:
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
full_grad = np.zeros(d)
XYw_bias = np.zeros(n)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n-1)
batch_X = X[startIdx:endIdx]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
batch_XYw_bias = batch_Y * (batch_X.dot(w) + batch_bias)
XYw_bias[startIdx:endIdx] = batch_XYw_bias
expt = np.exp(batch_XYw_bias)
full_grad -= 2.0 * batch_X.transpose().dot( batch_Y * (expt/(expt+1)/(expt+1)/(expt+1) ) )
return full_grad / float(n), XYw_bias
def grad_diff_eval_bin_class_loss_2(n, d, b, X, Y, bias, w1, w2, nnzX = 0):
"""! Compute the (full/stochastic) gradient difference of loss function 2
\f$\displaystyle\frac{1}{b}\left(\sum_{i \in \mathcal{B}_t}(\nabla f_i(w_2) - \nabla f_i(w_1)) \right) \f$
Parameters
----------
@param n : sample size
@param d : number of features
@param b : mini-batch size
b = 1: single stochastic gradient
1 < b < n: mini-batch stochastic gradient
b = n: full gradient
@param X : input data
@param Y : input label
@param bias : input bias
@param w1 : input vector
@param w2 : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : computed full/stochastic gradient
"""
# single sample
if b == 1:
# get a random sample
i = np.random.randint(0, n)
Xi = X[i,:]
expt1 = np.exp(Y[i]* (Xi.dot(w1) + bias[i]) )
expt2 = np.exp(Y[i] * (Xi.dot(w2) + bias[i]))
diff_expt = (expt2/(1.0 + expt2)/(1.0 + expt2)/(1.0 + expt2)) - (expt1/(1.0 + expt1)/(1.0 + expt1)/(1.0 + expt1))
return -2.0*diff_expt*Y[i]*Xi
# batch
elif b < n:
# get a random batch of size b
index = random.sample(range(n), b)
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
batch_grad_diff = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), b-1)
batch_X = X[index[startIdx:endIdx],:]
batch_Y = Y[index[startIdx:endIdx]]
batch_bias = bias[index[startIdx:endIdx]]
expt1 = np.exp(batch_Y * (batch_X.dot(w1) + batch_bias) )
expt2 = np.exp(batch_Y * (batch_X.dot(w2) + batch_bias) )
diff_expt = expt2/(1.0 + expt2)/(1.0 + expt2)/(1.0 + expt2) - expt1/(1.0 + expt1)/(1.0 + expt1)/(1.0 + expt1)
batch_grad_diff -= 2.0 * batch_X.transpose().dot( batch_Y * diff_expt )
return batch_grad_diff / float(b)
# full
else:
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
full_grad_diff = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n-1)
batch_X = X[startIdx:endIdx]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
expt1 = np.exp(batch_Y * (batch_X.dot(w1) + batch_bias) )
expt2 = np.exp(batch_Y * (batch_X.dot(w2) + batch_bias) )
expt1 = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w1) + batch_XYw_bias) )
expt2 = np.exp( 2.0*omega * batch_Y * (batch_X.dot(w2) + batch_XYw_bias) )
diff_expt = expt2/(1.0 + expt2)/(1.0 + expt2)/(1.0 + expt2) - expt1/(1.0 + expt1)/(1.0 + expt1)/(1.0 + expt1)
full_grad_diff -= 2.0 * batch_X.transpose().dot( batch_Y * diff_expt )
return full_grad_diff / float(n)
##################################################################
def func_val_bin_class_loss_3(n, XYw_bias):
"""! Compute the objective value of loss function 3
\f$ \ell_3(Y(Xw + b)) := \ln(1 + \exp(-Y(Xw + b))) - \ln(1 + \exp(-Y(Xw + b) - \omega))\f$
for a given \f$ \omega > 0\f$.
Parameters
----------
@param n : sample size
@param Xw_bias : the precomputed \f$Y(Xw + b)\f$
Returns
-------
@retval : \f$\ell_3(Y(Xw + b))\f$
"""
omega = 1.0
exp_g = np.exp(-omega)
expt = np.exp(-XYw_bias)
return (1.0 / float(n)) * np.sum((np.log(1.0 + expt) - np.log(1.0 + exp_g*expt)))
def grad_eval_bin_class_loss_3(n, d, b, X, Y, bias, w, nnzX = 0):
"""! Compute the (full/stochastic) gradient of loss function 3.
where \f$ \ell_3(Y(Xw + b)) := \ln(1 + \exp(-Y(Xw + b))) - \ln(1 + \exp(-Y(Xw + b) - \omega))\f$
for a given \f$ \omega > 0\f$.
Parameters
----------
@param n : sample size
@param d : number of features
@param b : mini-batch size
b = 1: single stochastic gradient
1 < b < n: mini-batch stochastic gradient
b = n: full gradient
@param X : input data
@param Y : input label
@param bias : input bias
@param w : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : computed full/stochastic gradient
@retval XYw_bias: The precomputed \f$ Y(Xw + bias)\f$
"""
alpha = 1
exp_a = np.exp(alpha)
# single sample
if b == 1:
# get a random sample
i = np.random.randint(0, n)
Xi = X[i, :]
expt = np.exp( Y[i] * (Xi.dot(w) + bias[i]) )
return ( (1 / (expt * exp_a + 1.0) - 1 / (expt + 1.0) ) * Y[i] ) * Xi
# batch
elif b < n:
# get a random batch of size b
index = random.sample(range(n), b)
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
batch_grad = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), b-1)
batch_X = X[index[startIdx:endIdx],:]
batch_Y = Y[index[startIdx:endIdx]]
batch_bias = bias[index[startIdx:endIdx]]
expt = np.exp( batch_Y * (batch_X.dot(w) + batch_bias) )
batch_grad += batch_X.transpose().dot(batch_Y * (1 / (expt * exp_a + 1.0) - 1 / (expt + 1.0)) )
return batch_grad / float(b)
# full
else:
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = np.maximum(int(total_mem_full // nnzX), 1)
num_batches = math.ceil(b / batch_size)
full_grad = np.zeros(d)
XYw_bias = np.zeros(n)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n-1)
batch_X = X[startIdx:endIdx,:]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
batch_XYw_bias = batch_Y * (batch_X.dot(w) + batch_bias)
XYw_bias[startIdx:endIdx] = batch_XYw_bias
expt = expt = np.exp(batch_XYw_bias)
full_grad = batch_X.transpose().dot(batch_Y * ( 1.0/ (expt * exp_a + 1.0) - 1.0/ (expt + 1.0) ) )
return full_grad / float(n), XYw_bias
def grad_diff_eval_bin_class_loss_3(n, d, b, X, Y, bias, w1, w2, nnzX = 0):
"""! Compute the (full/stochastic) gradient difference of loss function 3
\f$\displaystyle\frac{1}{b}\left(\sum_{i \in \mathcal{B}_t}(\nabla f_i(w_2) - \nabla f_i(w_1)) \right) \f$
Parameters
----------
@param n : sample size
@param d : number of features
@param b : mini-batch size
b = 1: single stochastic gradient
1 < b < n: mini-batch stochastic gradient
b = n: full gradient
@param X : input data
@param Y : input label
@param bias : input bias
@param w1 : input vector
@param w2 : input vector
@param nnzX : average number of non-zero elements for each sample
Returns
-------
@retval : computed full/stochastic gradient
"""
alpha = 1
exp_a = np.exp(alpha)
# single sample
if b == 1:
# get a random sample
i = np.random.randint(0, n)
Xi = X[i,:]
expt1 = np.exp( -Y[i]*(Xi.dot(w1) + bias[i]) )
expt2 = np.exp( -Y[i]*(Xi.dot(w2) + bias[i]) )
diff_expt = (1.0/(expt2*exp_a + 1.0) - 1.0/(expt2 + 1.0)) - (1.0/(expt1*exp_a + 1.0) - 1.0/(expt1 + 1.0))
return diff_expt*Y[i]*Xi
# batch
elif b < n:
# get a random batch of size b
index = random.sample(range(n), b)
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = int(total_mem_batch // nnzX)
num_batches = math.ceil(b / batch_size)
batch_grad_diff = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), b-1)
batch_X = X[index[startIdx:endIdx],:]
batch_Y = Y[index[startIdx:endIdx]]
batch_bias = bias[index[startIdx:endIdx]]
expt1 = np.exp(batch_Y * (batch_X.dot(w1) + batch_bias) )
expt2 = np.exp(batch_Y * (batch_X.dot(w2) + batch_bias) )
diff_expt = ( 1/(expt2*exp_a + 1.0) - 1/(expt2 + 1.0) ) - (1/(expt1*exp_a + 1.0) - 1/(expt1 + 1.0) )
batch_grad_diff += batch_X.transpose().dot( batch_Y * diff_expt )
return batch_grad_diff / float(b)
# full
else:
# calculate number of batches
if nnzX == 0:
nnzX = d
batch_size = int(total_mem_full // nnzX)
num_batches = math.ceil(b / batch_size)
full_grad_diff = np.zeros(d)
for j in range(num_batches):
# calculate start/end indices for each batch
startIdx = batch_size*j
endIdx = np.minimum(batch_size*(j+1), n-1)
batch_X = X[startIdx:endIdx]
batch_Y = Y[startIdx:endIdx]
batch_bias = bias[startIdx:endIdx]
expt1 = np.exp(batch_Y * (batch_X.dot(w1) + batch_bias) )
expt2 = np.exp(batch_Y * (batch_X.dot(w2) + batch_bias) )
diff_expt = ( 1/(expt2*exp_a + 1.0) - 1/(expt2 + 1.0) ) - (1/(expt1*exp_a + 1.0) - 1/(expt1 + 1.0) )
full_grad_diff += batch_X.transpose().dot( batch_Y * diff_expt )
return full_grad_diff / float(n)
| 27.87651
| 233
| 0.637712
| 3,500
| 20,768
| 3.652571
| 0.066286
| 0.012203
| 0.047559
| 0.019712
| 0.903473
| 0.893539
| 0.883761
| 0.869133
| 0.858182
| 0.845275
| 0
| 0.031993
| 0.196312
| 20,768
| 744
| 234
| 27.913978
| 0.733928
| 0.419732
| 0
| 0.768707
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.040816
| false
| 0
| 0.013605
| 0
| 0.136054
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
2d167c74f6c67998d0791608c1e406c16b715f4f
| 5,116
|
py
|
Python
|
Other/setDimensions.py
|
protimient/Glyphs-Scripts
|
0481ea01153844667cff8cfa3fad97c33af09956
|
[
"Apache-2.0"
] | 2
|
2021-02-12T20:36:29.000Z
|
2021-11-03T08:04:01.000Z
|
Other/setDimensions.py
|
protimient/Glyphs-Scripts
|
0481ea01153844667cff8cfa3fad97c33af09956
|
[
"Apache-2.0"
] | null | null | null |
Other/setDimensions.py
|
protimient/Glyphs-Scripts
|
0481ea01153844667cff8cfa3fad97c33af09956
|
[
"Apache-2.0"
] | null | null | null |
# MenuTitle: Set Dimensions
# -*- coding: utf-8 -*-
__doc__ = """
Sets the Latin values for each master in the Dimesions pallette in the top right.
"""
Glyphs.clearLog()
# Glyphs.showMacroWindow()
class getMeasurements:
def __init__(self, m):
self.m = m
if Glyphs.font.userData["GSDimensionPlugin.Dimensions"] is None:
Glyphs.font.userData["GSDimensionPlugin.Dimensions"] = {}
if Glyphs.font.userData["GSDimensionPlugin.Dimensions"].get(self.m.id) is None:
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id] = {}
def get_HH(self):
l = Glyphs.font.glyphs['H'].layers[self.m.id].copyDecomposedLayer()
p1 = NSPoint(l.width / 2, 0)
p2 = NSPoint(l.width / 2, self.m.capHeight)
vals = l.intersectionsBetweenPoints(p1, p2, components=True)[1:-1]
if vals:
return int(vals[1].y - vals[0].y)
def get_HV(self):
l = Glyphs.font.glyphs['H'].layers[self.m.id].copyDecomposedLayer()
p1 = NSPoint(0, self.m.capHeight / 3)
p2 = NSPoint(l.width / 2, self.m.capHeight / 3)
vals = l.intersectionsBetweenPoints(p1, p2, components=True)[1:-1]
if vals:
return int(vals[1].x - vals[0].x)
def get_OH(self):
l = Glyphs.font.glyphs['O'].layers[self.m.id].copyDecomposedLayer()
l.removeOverlap()
c1 = l.paths[0]
c2 = l.paths[1]
c1_top = c1.bounds.origin.y + c1.bounds.size.height
c2_top = c2.bounds.origin.y + c2.bounds.size.height
val = int(abs(c1_top - c2_top))
return val
def get_OV(self):
l = Glyphs.font.glyphs['O'].layers[self.m.id].copyDecomposedLayer()
l.removeOverlap()
c1 = l.paths[0]
c2 = l.paths[1]
c1_top = c1.bounds.origin.x
c2_top = c2.bounds.origin.x
val = int(abs(c1_top - c2_top))
return val
def get_nV(self):
l = Glyphs.font.glyphs['i'].layers[self.m.id].copyDecomposedLayer()
p1 = NSPoint(0, self.m.xHeight / 2)
p2 = NSPoint(l.width, self.m.xHeight / 2)
vals = l.intersectionsBetweenPoints(p1, p2, components=True)[1:-1]
if vals:
return int(vals[1].x - vals[0].x)
def get_oH(self):
l = Glyphs.font.glyphs['o'].layers[self.m.id].copyDecomposedLayer()
l.removeOverlap()
c1 = l.paths[0]
c2 = l.paths[1]
c1_top = c1.bounds.origin.y + c1.bounds.size.height
c2_top = c2.bounds.origin.y + c2.bounds.size.height
val = int(abs(c1_top - c2_top))
return val
def get_oV(self):
l = Glyphs.font.glyphs['o'].layers[self.m.id].copyDecomposedLayer()
l.removeOverlap()
c1 = l.paths[0]
c2 = l.paths[1]
c1_top = c1.bounds.origin.x
c2_top = c2.bounds.origin.x
val = int(abs(c1_top - c2_top))
return val
def get_tH(self):
l = Glyphs.font.glyphs['t'].layers[self.m.id].copyDecomposedLayer()
p1 = NSPoint(l.width * 0.75, self.m.ascender)
p2 = NSPoint(l.width * 0.75, self.m.xHeight / 2)
vals = l.intersectionsBetweenPoints(p1, p2, components=True)[1:-1]
if vals:
return abs(int(vals[1].y - vals[0].y))
@staticmethod
def report(msg):
print(msg)
def set_vals(self):
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['HH'] = self.get_HH() or ''
self.report('Set HH to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['HH']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['HV'] = self.get_HV() or ''
self.report('Set HV to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['HV']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['OH'] = self.get_OH() or ''
self.report('Set OH to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['OH']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['OV'] = self.get_OV() or ''
self.report('Set OV to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['OV']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['nV'] = self.get_nV() or ''
self.report('Set nV to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['nV']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['oH'] = self.get_oH() or ''
self.report('Set oH to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['oH']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['oV'] = self.get_oV() or ''
self.report('Set oV to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['oV']))
Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['tH'] = self.get_tH() or ''
self.report('Set tH to {}'.format(Glyphs.font.userData["GSDimensionPlugin.Dimensions"][self.m.id]['tH']))
for m in Glyphs.font.masters:
x = getMeasurements(m)
x.set_vals()
| 42.991597
| 113
| 0.617279
| 707
| 5,116
| 4.407355
| 0.123055
| 0.056162
| 0.058408
| 0.224647
| 0.854621
| 0.841142
| 0.810976
| 0.77792
| 0.741977
| 0.686457
| 0
| 0.023313
| 0.211884
| 5,116
| 118
| 114
| 43.355932
| 0.749504
| 0.014073
| 0
| 0.44898
| 0
| 0
| 0.154563
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 1
| 0.112245
| false
| 0
| 0
| 0
| 0.204082
| 0.010204
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
2d208c7b0715fa7e15cedbd1958336d6a88c7e6d
| 280
|
py
|
Python
|
ros_package/setup.py
|
Tobias-Fischer/code_templates
|
c3e454515dba2b2a5fd3e27dadca5e617230d8df
|
[
"BSD-3-Clause"
] | 1
|
2021-04-20T22:28:14.000Z
|
2021-04-20T22:28:14.000Z
|
ros_package/setup.py
|
Tobias-Fischer/code_templates
|
c3e454515dba2b2a5fd3e27dadca5e617230d8df
|
[
"BSD-3-Clause"
] | 15
|
2021-04-19T22:34:37.000Z
|
2022-02-10T12:26:33.000Z
|
ros_package/setup.py
|
Tobias-Fischer/code_templates
|
c3e454515dba2b2a5fd3e27dadca5e617230d8df
|
[
"BSD-3-Clause"
] | 1
|
2022-02-10T04:24:47.000Z
|
2022-02-10T04:24:47.000Z
|
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
setup(**generate_distutils_setup(packages=['PACKAGE_NAME'],
scripts=['scripts/ADD_PY_NODE'],
package_dir={'': 'src'}))
| 40
| 65
| 0.614286
| 29
| 280
| 5.586207
| 0.62069
| 0.209877
| 0.271605
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.282143
| 280
| 6
| 66
| 46.666667
| 0.80597
| 0
| 0
| 0
| 1
| 0
| 0.121429
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
77bdb7afb378a5d4719bccadddc8d06741d20c3c
| 22,917
|
py
|
Python
|
tb_rest_client/api/api_pe/solution_controller_api.py
|
samson0v/python_tb_rest_client
|
08ff7898740f7cec2170e85d5c3c89e222e967f7
|
[
"Apache-2.0"
] | 30
|
2020-06-19T06:42:50.000Z
|
2021-08-23T21:16:36.000Z
|
tb_rest_client/api/api_pe/solution_controller_api.py
|
samson0v/python_tb_rest_client
|
08ff7898740f7cec2170e85d5c3c89e222e967f7
|
[
"Apache-2.0"
] | 25
|
2021-08-30T01:17:27.000Z
|
2022-03-16T14:10:14.000Z
|
tb_rest_client/api/api_pe/solution_controller_api.py
|
samson0v/python_tb_rest_client
|
08ff7898740f7cec2170e85d5c3c89e222e967f7
|
[
"Apache-2.0"
] | 23
|
2020-07-06T13:41:54.000Z
|
2021-08-23T21:04:50.000Z
|
# coding: utf-8
"""
ThingsBoard REST API
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.3.3PAAS-RC1
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from tb_rest_client.api_client import ApiClient
class SolutionControllerApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def get_solution_template_details_using_get(self, solution_template_id, **kwargs): # noqa: E501
"""Get Solution template details (getSolutionTemplateDetails) # noqa: E501
Get a solution template details based on the provided id Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_solution_template_details_using_get(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: TenantSolutionTemplateDetails
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_solution_template_details_using_get_with_http_info(solution_template_id, **kwargs) # noqa: E501
else:
(data) = self.get_solution_template_details_using_get_with_http_info(solution_template_id, **kwargs) # noqa: E501
return data
def get_solution_template_details_using_get_with_http_info(self, solution_template_id, **kwargs): # noqa: E501
"""Get Solution template details (getSolutionTemplateDetails) # noqa: E501
Get a solution template details based on the provided id Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_solution_template_details_using_get_with_http_info(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: TenantSolutionTemplateDetails
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['solution_template_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_solution_template_details_using_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'solution_template_id' is set
if ('solution_template_id' not in params or
params['solution_template_id'] is None):
raise ValueError("Missing the required parameter `solution_template_id` when calling `get_solution_template_details_using_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'solution_template_id' in params:
path_params['solutionTemplateId'] = params['solution_template_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['X-Authorization'] # noqa: E501
return self.api_client.call_api(
'/api/solutions/templates/details/{solutionTemplateId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='TenantSolutionTemplateDetails', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_solution_template_infos_using_get(self, **kwargs): # noqa: E501
"""Get Solution templates (getSolutionTemplateInfos) # noqa: E501
Get a list of solution template descriptors Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_solution_template_infos_using_get(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[TenantSolutionTemplateInfo]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_solution_template_infos_using_get_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.get_solution_template_infos_using_get_with_http_info(**kwargs) # noqa: E501
return data
def get_solution_template_infos_using_get_with_http_info(self, **kwargs): # noqa: E501
"""Get Solution templates (getSolutionTemplateInfos) # noqa: E501
Get a list of solution template descriptors Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_solution_template_infos_using_get_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[TenantSolutionTemplateInfo]
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_solution_template_infos_using_get" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['X-Authorization'] # noqa: E501
return self.api_client.call_api(
'/api/solutions/templates/infos', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[TenantSolutionTemplateInfo]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_solution_template_instructions_using_get(self, solution_template_id, **kwargs): # noqa: E501
"""Get Solution Template Instructions (getSolutionTemplateInstructions) # noqa: E501
Get a solution template instructions based on the provided id Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_solution_template_instructions_using_get(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: TenantSolutionTemplateInstructions
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_solution_template_instructions_using_get_with_http_info(solution_template_id, **kwargs) # noqa: E501
else:
(data) = self.get_solution_template_instructions_using_get_with_http_info(solution_template_id, **kwargs) # noqa: E501
return data
def get_solution_template_instructions_using_get_with_http_info(self, solution_template_id, **kwargs): # noqa: E501
"""Get Solution Template Instructions (getSolutionTemplateInstructions) # noqa: E501
Get a solution template instructions based on the provided id Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_solution_template_instructions_using_get_with_http_info(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: TenantSolutionTemplateInstructions
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['solution_template_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_solution_template_instructions_using_get" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'solution_template_id' is set
if ('solution_template_id' not in params or
params['solution_template_id'] is None):
raise ValueError("Missing the required parameter `solution_template_id` when calling `get_solution_template_instructions_using_get`") # noqa: E501
collection_formats = {}
path_params = {}
if 'solution_template_id' in params:
path_params['solutionTemplateId'] = params['solution_template_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['X-Authorization'] # noqa: E501
return self.api_client.call_api(
'/api/solutions/templates/instructions/{solutionTemplateId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='TenantSolutionTemplateInstructions', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def install_solution_template_using_post(self, solution_template_id, **kwargs): # noqa: E501
"""Install Solution Template (installSolutionTemplate) # noqa: E501
Install solution template based on the provided id Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.install_solution_template_using_post(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: SolutionInstallResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.install_solution_template_using_post_with_http_info(solution_template_id, **kwargs) # noqa: E501
else:
(data) = self.install_solution_template_using_post_with_http_info(solution_template_id, **kwargs) # noqa: E501
return data
def install_solution_template_using_post_with_http_info(self, solution_template_id, **kwargs): # noqa: E501
"""Install Solution Template (installSolutionTemplate) # noqa: E501
Install solution template based on the provided id Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.install_solution_template_using_post_with_http_info(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: SolutionInstallResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['solution_template_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method install_solution_template_using_post" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'solution_template_id' is set
if ('solution_template_id' not in params or
params['solution_template_id'] is None):
raise ValueError("Missing the required parameter `solution_template_id` when calling `install_solution_template_using_post`") # noqa: E501
collection_formats = {}
path_params = {}
if 'solution_template_id' in params:
path_params['solutionTemplateId'] = params['solution_template_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['X-Authorization'] # noqa: E501
return self.api_client.call_api(
'/api/solutions/templates/{solutionTemplateId}/install', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='SolutionInstallResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def uninstall_solution_template_using_delete(self, solution_template_id, **kwargs): # noqa: E501
"""Uninstall Solution Template (uninstallSolutionTemplate) # noqa: E501
Uninstall solution template based on the provided id Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.uninstall_solution_template_using_delete(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.uninstall_solution_template_using_delete_with_http_info(solution_template_id, **kwargs) # noqa: E501
else:
(data) = self.uninstall_solution_template_using_delete_with_http_info(solution_template_id, **kwargs) # noqa: E501
return data
def uninstall_solution_template_using_delete_with_http_info(self, solution_template_id, **kwargs): # noqa: E501
"""Uninstall Solution Template (uninstallSolutionTemplate) # noqa: E501
Uninstall solution template based on the provided id Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.uninstall_solution_template_using_delete_with_http_info(solution_template_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str solution_template_id: A string value representing the solution template id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['solution_template_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method uninstall_solution_template_using_delete" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'solution_template_id' is set
if ('solution_template_id' not in params or
params['solution_template_id'] is None):
raise ValueError("Missing the required parameter `solution_template_id` when calling `uninstall_solution_template_using_delete`") # noqa: E501
collection_formats = {}
path_params = {}
if 'solution_template_id' in params:
path_params['solutionTemplateId'] = params['solution_template_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['X-Authorization'] # noqa: E501
return self.api_client.call_api(
'/api/solutions/templates/{solutionTemplateId}/delete', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 45.742515
| 186
| 0.660514
| 2,637
| 22,917
| 5.459613
| 0.075085
| 0.138918
| 0.085018
| 0.025005
| 0.952768
| 0.943322
| 0.934917
| 0.925887
| 0.921164
| 0.911857
| 0
| 0.022741
| 0.261247
| 22,917
| 500
| 187
| 45.834
| 0.827643
| 0.39198
| 0
| 0.795455
| 0
| 0
| 0.214419
| 0.08876
| 0
| 0
| 0
| 0
| 0
| 1
| 0.041667
| false
| 0
| 0.015152
| 0
| 0.117424
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
77de934815d0230519633429fb72dcdfd66e189b
| 8,181
|
py
|
Python
|
eeghdf/convert.py
|
aragorn/eeg-hdfstorage
|
bfc2048a3cc6e941353eec43840b5086c4f115cf
|
[
"BSD-3-Clause"
] | null | null | null |
eeghdf/convert.py
|
aragorn/eeg-hdfstorage
|
bfc2048a3cc6e941353eec43840b5086c4f115cf
|
[
"BSD-3-Clause"
] | null | null | null |
eeghdf/convert.py
|
aragorn/eeg-hdfstorage
|
bfc2048a3cc6e941353eec43840b5086c4f115cf
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
import mne
# TODO !!!:
# def hdf2edf(hf) # so can reverse process
def sechdf1020_to_mne(hf):
"""@hf is an eeghdf Eeghdf object opened on a file
from the stanford EEG corpus for a scalp EEG using
the 10-20 system"""
# start to make this into a function
# find useful_channels
useful_channels = []
useful_channel_labels = []
for ii, label in enumerate(hf.electrode_labels):
if label.find("Mark") >= 0:
continue
if label.find("EEG") >= 0: # we use standard names
useful_channels.append(ii)
useful_channel_labels.append(label)
# add ECG if there
for ii, label in enumerate(hf.electrode_labels):
if label.find("ECG") >= 0:
useful_channels.append(ii)
useful_channel_labels.append(label)
print(list(zip(useful_channels, useful_channel_labels)))
num_uchans = len(useful_channels)
def label2type(name):
"""lots of assumptions to use this as name is already limited"""
try:
if name[:6] == "EEG Pg":
return "eog"
except:
pass
if name[:3] == "ECG":
return "ecg"
if name[:3] == "EEG":
return "eeg"
return "misc"
channel_types = [label2type(label) for label in useful_channel_labels]
print(channel_types)
# now get rid of the prefixes
uchan_names = [
ss.split()[1] if ss[:3] == "EEG" else ss for ss in useful_channel_labels
]
print("final view before sending to info")
for ii, name in enumerate(uchan_names):
print(ii, name, channel_types[ii])
# finally remove the prefix 'EEG' from the label names
# info - mne.create_info(unum_uchans, hf.sample_frequency)
info = mne.create_info(
uchan_names, hf.sample_frequency, channel_types, montage="standard_1020"
)
print(info)
# montage = 'standard_1010' # might work
# start on the data
data = hf.phys_signals[useful_channels, :]
# MNE wants EEG and ECG in Volts
for jj, ii in enumerate(useful_channels):
unit = hf.physical_dimensions[ii]
if unit == "uV":
data[jj, :] = data[jj, :] / 1000000
if unit == "mV":
data[jj, :] = data[jj, :] / 1000
print(data.shape)
# TODO: transfer recording and patient details. API ref
# url: https://martinos.org/mne/dev/generated/mne.Info.html#mne.Info
# TODO: next need to figure out how to add the events/annotations
info["custom_ref_applied"] = True # for SEC this is true
# events are a list of dict events list of dict:
# channels : list of int
# Channel indices for the events.
# event dict:
# 'channels' : list|ndarray of int|int32 # channel indices for the evnets
# 'list' : ndarray, shape (n_events * 3,)
# triplets as number of samples, before, after.
# I will need to see an exmaple of this
# info['highpass'], info['lowpass']
info["line_freq"] = 60.0
# info['subject_info'] = <dict>
# subject_info dict:
# id : int
# Integer subject identifier.
# his_id : str
# String subject identifier.
# last_name : str
# Last name.
# first_name : str
# First name.
# middle_name : str
# Middle name.
# birthday : tuple of int
# Birthday in (year, month, day) format.
# sex : int
# Subject sex (0=unknown, 1=male, 2=female).
customraw = mne.io.RawArray(data, info)
return customraw, info, useful_channels
def hdf2mne(hf):
"""convert generic eeg hdf5 object to mne raw object
@hf is a generic eeghdf Eeghdf object opened on a file
if you are using the stanford eeg corpus (SEC) then
you should use sechdf1020_to_mne as this can assume more things
can put more info in the raw object.
In many cases for example the recording was done using 10-20 system
electrodes + EOG and ECG monitors and this does not respect that
This just dumps all the data in as misc channels and expects the user to
figure out which channels types are which
"""
# start to make this into a function
# find useful_channels
useful_channels = []
useful_channel_labels = []
for ii, label in enumerate(hf.electrode_labels):
if label.find("Mark") >= 0:
continue
if label.find("EEG") >= 0: # we use standard names
useful_channels.append(ii)
useful_channel_labels.append(label)
# add ECG if there
for ii, label in enumerate(hf.electrode_labels):
if label.find("ECG") >= 0:
useful_channels.append(ii)
useful_channel_labels.append(label)
print(list(zip(useful_channels, useful_channel_labels)))
num_uchans = len(useful_channels)
def label2type(name):
"""lots of assumptions to use this as name is already limited
it is more or less based upon the "standard texts" the edf
specification"""
try:
if (
name[:6] == "EEG Pg"
): # this is a decision but could figure this out better
return "eog"
except:
pass
if name[:3] == "ECG":
return "ecg"
if name[:3] == "EEG":
return "eeg"
if name[:3] == "EMG":
return "emg"
if name[:3] == "MEG":
return "meg"
if name[:3] == "MCG":
return "misc" # 'mcg' ?
if name[:3] == "EP":
return "eeg" # evoked potential
if name[:3] == "ERG": # electroretinogram
return "misc"
if name[:4] == "Temp":
return "misc" #
if name[:4] == "SaO2":
return "misc"
if name[:5] == "Light":
return "misc"
if name[:5] == "Sound":
return "misc"
if name[:5] == "Event": # event button
return "misc"
return "misc"
channel_types = [label2type(label) for label in useful_channel_labels]
print(channel_types)
# now get rid of the prefixes
uchan_names = [
ss.split()[1] if ss[:3] == "EEG" else ss for ss in useful_channel_labels
]
print("final view before sending to info")
for ii, name in enumerate(uchan_names):
print(ii, name, channel_types[ii])
# finally remove the prefix 'EEG' from the label names
info = mne.create_info(
uchan_names, hf.sample_frequency, channel_types, montage="standard_1020"
)
print(info)
# montage = 'standard_1010' # might work
# start on the data
data = hf.phys_signals[useful_channels, :]
# MNE wants EEG and ECG in Volts
for jj, ii in enumerate(useful_channels):
unit = hf.physical_dimensions[ii]
if unit == "uV":
data[jj, :] = data[jj, :] / 1000000
if unit == "mV":
data[jj, :] = data[jj, :] / 1000
print(data.shape)
# TODO: transfer recording and patient details. API ref
# url: https://martinos.org/mne/dev/generated/mne.Info.html#mne.Info
# TODO: next need to figure out how to add the events/annotations
info["custom_ref_applied"] = True # for SEC this is true
# events are a list of dict events list of dict:
# channels : list of int
# Channel indices for the events.
# event dict:
# 'channels' : list|ndarray of int|int32 # channel indices for the evnets
# 'list' : ndarray, shape (n_events * 3,)
# triplets as number of samples, before, after.
# I will need to see an exmaple of this
# info['highpass'], info['lowpass']
info["line_freq"] = 60.0
# info['subject_info'] = <dict>
# subject_info dict:
# id : int
# Integer subject identifier.
# his_id : str
# String subject identifier.
# last_name : str
# Last name.
# first_name : str
# First name.
# middle_name : str
# Middle name.
# birthday : tuple of int
# Birthday in (year, month, day) format.
# sex : int
# Subject sex (0=unknown, 1=male, 2=female).
customraw = mne.io.RawArray(data, info)
return customraw, info, useful_channels
| 28.307958
| 80
| 0.597971
| 1,093
| 8,181
| 4.383349
| 0.230558
| 0.052599
| 0.047589
| 0.016698
| 0.830724
| 0.812983
| 0.806721
| 0.79378
| 0.79378
| 0.79378
| 0
| 0.018628
| 0.297885
| 8,181
| 288
| 81
| 28.40625
| 0.81546
| 0.409974
| 0
| 0.813008
| 0
| 0
| 0.065348
| 0
| 0
| 0
| 0
| 0.010417
| 0
| 1
| 0.03252
| false
| 0.01626
| 0.00813
| 0
| 0.203252
| 0.097561
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
7ae2801cbad727d971af4b1f8964418899ae580e
| 10,558
|
py
|
Python
|
Pycraft/DisplayUtils.py
|
demirdogukan/InsiderPycraft
|
5567107326fbd222a7df6aabf4ab265e0a157636
|
[
"MIT"
] | 22
|
2021-03-25T17:47:45.000Z
|
2022-03-29T01:56:12.000Z
|
Pycraft/DisplayUtils.py
|
demirdogukan/InsiderPycraft
|
5567107326fbd222a7df6aabf4ab265e0a157636
|
[
"MIT"
] | 1
|
2021-12-22T16:12:59.000Z
|
2021-12-22T16:12:59.000Z
|
Pycraft/DisplayUtils.py
|
demirdogukan/InsiderPycraft
|
5567107326fbd222a7df6aabf4ab265e0a157636
|
[
"MIT"
] | 3
|
2021-09-05T14:10:05.000Z
|
2022-01-10T12:57:34.000Z
|
if not __name__ == "__main__":
print("Started <Pycraft_DisplayUtils>")
class DisplayUtils:
def __init__(self):
pass
def UpdateDisplay(self): # Run tests to make sure windows not too small
self.Data_aFPS = []
self.Data_CPUUsE = []
self.Data_eFPS = []
self.Data_MemUsE = []
self.Timer = 0
self.Data_aFPS_Min = 60
self.Data_aFPS_Max = 1
self.Data_CPUUsE_Min = 60
self.Data_CPUUsE_Max = 1
self.Data_eFPS_Min = 60
self.Data_eFPS_Max = 1
self.Data_MemUsE_Min = 50
self.Data_MemUsE_Max = 50
self.Data_CPUUsE_Min = 50
self.Data_CPUUsE_Max = 50
try:
try:
FullscreenX, FullscreenY = self.mod_Pyautogui__.size()
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
if self.Fullscreen == False:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Fullscreen = True
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight), self.mod_Pygame__.RESIZABLE)
elif self.Fullscreen == True:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Fullscreen = False
self.Display = self.mod_Pygame__.display.set_mode((FullscreenX, FullscreenY), self.mod_Pygame__.FULLSCREEN|self.mod_Pygame__.HWSURFACE|self.mod_Pygame__.DOUBLEBUF)
except Exception as error:
self.Fullscreen = True
self.SavedWidth = 1280
self.SavedHeight = 720
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight))
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
except Exception as Message:
return Message
else:
return None
def SetOPENGLdisplay(self):
try:
try:
FullscreenX, FullscreenY = self.mod_Pyautogui__.size()
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
if self.Fullscreen == True:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight), self.mod_Pygame__.DOUBLEBUF|self.mod_Pygame__.OPENGL)
elif self.Fullscreen == False:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((FullscreenX, FullscreenY), self.mod_Pygame__.FULLSCREEN|self.mod_Pygame__.HWSURFACE|self.mod_Pygame__.DOUBLEBUF|self.mod_Pygame__.OPENGL)
except Exception as error:
self.SavedWidth = 1280
self.SavedHeight = 720
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight), self.mod_Pygame__.DOUBLEBUF|self.mod_Pygame__.OPENGL)
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
except Exception as Message:
return Message
else:
return None
def UpdateOPENGLdisplay(self):
try:
try:
FullscreenX, FullscreenY = self.mod_Pyautogui__.size()
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
if self.Fullscreen == False:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Fullscreen = True
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight), self.mod_Pygame__.DOUBLEBUF|self.mod_Pygame__.OPENGL)
elif self.Fullscreen == True:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Fullscreen = False
self.Display = self.mod_Pygame__.display.set_mode((FullscreenX, FullscreenY), self.mod_Pygame__.FULLSCREEN|self.mod_Pygame__.HWSURFACE|self.mod_Pygame__.DOUBLEBUF|self.mod_Pygame__.OPENGL)
except:
self.SavedWidth = 1280
self.SavedHeight = 720
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Fullscreen = False
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight), self.mod_Pygame__.DOUBLEBUF|self.mod_Pygame__.OPENGL)
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
except Exception as Message:
return Message
else:
return None
def SetDisplay(self):
self.Data_aFPS = []
self.Data_CPUUsE = []
self.Data_eFPS = []
self.Data_MemUsE = []
self.Timer = 0
self.Data_aFPS_Min = 60
self.Data_aFPS_Max = 1
self.Data_CPUUsE_Min = 60
self.Data_CPUUsE_Max = 1
self.Data_eFPS_Min = 60
self.Data_eFPS_Max = 1
self.Data_MemUsE_Min = 50
self.Data_MemUsE_Max = 50
self.Data_CPUUsE_Min = 50
self.Data_CPUUsE_Max = 50
try:
try:
FullscreenX, FullscreenY = self.mod_Pyautogui__.size()
if self.Fullscreen == True:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight), self.mod_Pygame__.RESIZABLE)
elif self.Fullscreen == False:
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((FullscreenX, FullscreenY), self.mod_Pygame__.FULLSCREEN|self.mod_Pygame__.HWSURFACE|self.mod_Pygame__.DOUBLEBUF)
except Exception as error:
self.SavedWidth = 1280
self.SavedHeight = 720
self.mod_Pygame__.display.quit()
self.mod_Pygame__.init()
self.Display = self.mod_Pygame__.display.set_mode((self.SavedWidth, self.SavedHeight))
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
except Exception as Message:
return Message
else:
return None
def GenerateMinDisplay(self, width, height):
try:
self.Display = self.mod_Pygame__.display.set_mode((width, height), self.mod_Pygame__.RESIZABLE)
icon = self.mod_Pygame__.image.load(self.mod_OS__.path.join(self.base_folder, ("Resources\\General_Resources\\Icon.jpg"))).convert()
self.mod_Pygame__.display.set_icon(icon)
except Exception as Message:
return Message
else:
return None
def GetDisplayLocation(self):
hwnd = self.mod_Pygame__.display.get_wm_info()["window"]
prototype = self.mod_Ctypes__.WINFUNCTYPE(self.mod_Ctypes__.wintypes.BOOL, self.mod_Ctypes__.wintypes.HWND, self.mod_Ctypes__.POINTER(self.mod_Ctypes__.wintypes.RECT))
paramflags = (1, "hwnd"), (2, "lprect")
GetWindowRect = prototype(("GetWindowRect", self.mod_Ctypes__.windll.user32), paramflags)
rect = GetWindowRect(hwnd)
return rect.left+8, rect.top+31
def GetPlayStatus(self):
if self.mod_Pygame__.display.get_active() == True:
tempFPS = self.FPS
self.mod_Pygame__.mixer.Channel(2).unpause()
if self.mod_Pygame__.mixer.Channel(2).get_busy() == 0 and self.LoadMusic == True:
if self.music == True and self.CurrentlyPlaying == None:
self.CurrentlyPlaying = "InvSound"
self.LoadMusic = False
MusicThread = self.mod_Threading__.Thread(target=self.mod_SoundUtils__.PlaySound.PlayInvSound, args=(self,))
MusicThread.start()
else:
self.LoadMusic = True
tempFPS = 15
self.mod_Pygame__.mixer.Channel(2).pause()
return tempFPS
else:
print("You need to run this as part of Pycraft")
import tkinter as tk
from tkinter import messagebox
root = tk.Tk()
root.withdraw()
messagebox.showerror("Startup Fail", "You need to run this as part of Pycraft, please run the 'main.py' file")
quit()
| 50.516746
| 213
| 0.557492
| 1,088
| 10,558
| 5.032169
| 0.136949
| 0.13169
| 0.197078
| 0.127854
| 0.814429
| 0.806027
| 0.791781
| 0.791781
| 0.78484
| 0.773516
| 0
| 0.011259
| 0.352245
| 10,558
| 209
| 214
| 50.516746
| 0.789297
| 0.004167
| 0
| 0.78022
| 0
| 0
| 0.04852
| 0.031635
| 0
| 0
| 0
| 0
| 0
| 1
| 0.043956
| false
| 0.005495
| 0.010989
| 0
| 0.126374
| 0.010989
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
bb507127334af2651fbbedf3b62a999642fc7fd6
| 169
|
py
|
Python
|
python/lsst/obs/vista/__init__.py
|
raphaelshirley/obs_vista
|
69457409dcbeb856c174e4233d2dd5419602b93f
|
[
"Apache-2.0"
] | 1
|
2020-07-16T16:20:00.000Z
|
2020-07-16T16:20:00.000Z
|
python/lsst/obs/vista/__init__.py
|
raphaelshirley/obs_vista
|
69457409dcbeb856c174e4233d2dd5419602b93f
|
[
"Apache-2.0"
] | 1
|
2020-07-16T10:17:07.000Z
|
2020-07-20T15:30:49.000Z
|
python/lsst/obs/vista/__init__.py
|
raphaelshirley/obs_vista
|
69457409dcbeb856c174e4233d2dd5419602b93f
|
[
"Apache-2.0"
] | 1
|
2021-06-07T10:09:03.000Z
|
2021-06-07T10:09:03.000Z
|
from ._instrument import *
from .vircamMapper import *
from .makeVircamRawVisitInfo import *
from ._instrument import *
from .rawFormatter import *
from .ingest import *
| 28.166667
| 37
| 0.792899
| 18
| 169
| 7.333333
| 0.388889
| 0.378788
| 0.30303
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136095
| 169
| 6
| 38
| 28.166667
| 0.90411
| 0
| 0
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.