chinese_vocab 0.9.0 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +8 -1
- data/lib/chinese_vocab/scraper.rb +1 -1
- data/lib/chinese_vocab/version.rb +1 -1
- metadata +1 -1
data/ChangeLog.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
+
## Version 0.9.2 (April 20, 2012)
|
2
|
+
|
3
|
+
#### Other
|
4
|
+
* `Straper`:
|
5
|
+
* Changed default sentence size from `:average` to `:short`.
|
6
|
+
|
7
|
+
|
1
8
|
## Version 0.9.0 (April 20, 2012)
|
2
9
|
|
3
|
-
####
|
10
|
+
#### Features
|
4
11
|
* `Vocab`:
|
5
12
|
* Added `#word_frequency`.
|
6
13
|
* Added `#find_minimum_sentences`: new and faster algorithm to calculate the minimum number of required sentences.
|
@@ -39,7 +39,7 @@ module Chinese
|
|
39
39
|
}
|
40
40
|
|
41
41
|
OPTIONS = {:source => [:nciku, lambda {|value| Sources.keys.include?(value) }],
|
42
|
-
:size => [:
|
42
|
+
:size => [:short, lambda {|value| [:short, :average, :long].include?(value) }]}
|
43
43
|
|
44
44
|
|
45
45
|
# Options:
|