Commit Graph

98 Commits

Author SHA1 Message Date
Joshua Chin
a0b7211451 updated tests for emoji splitting
Former-commit-id: 3bcb3e84a1
2015-06-25 11:25:51 -04:00
Joshua Chin
99562d04f8 uses DATA_PATH instead of explicit path
Former-commit-id: 35a80e5f50
2015-06-25 10:42:59 -04:00
Joshua Chin
d4b5530d0e now uses ranges
Former-commit-id: f3a365fda9
2015-06-25 10:39:04 -04:00
Joshua Chin
44e7fb5b70 added docstrings
Former-commit-id: d10737bb51
2015-06-24 17:45:29 -04:00
Joshua Chin
9349b53f40 removed duplicate of non_punct.txt
Former-commit-id: d9ebeca734
2015-06-24 17:36:57 -04:00
Joshua Chin
0ddf0220fa added non_punct to MANIFEST.in and moved it into data
Former-commit-id: b198f4b0c2
2015-06-24 17:30:01 -04:00
Joshua Chin
7bbcffd848 removed old FIXME
Former-commit-id: d372b5618c
2015-06-24 17:15:50 -04:00
Joshua Chin
fd2b0fc015 caches non_punct regex in non_punct.txt
Former-commit-id: f576ca58ae
2015-06-24 17:11:50 -04:00
Joshua Chin
90c41de48a splits emoji from text
Former-commit-id: 78c5b589c5
2015-06-24 16:50:28 -04:00
Joshua Chin
af4b4e56c9 word_frequency no longer returns None if it does not detect tokens
Former-commit-id: 2346a0535a
2015-06-24 14:47:26 -04:00
Robyn Speer
f3958d63ae Switch to a more precise centibel scale.
Former-commit-id: 7862a4d2b6
2015-06-22 17:36:30 -04:00
Robyn Speer
2c5ffa1b52 Update the copyright year in the license
I don't know when you need to update the year, but the code has substantially changed since 2013.

Former-commit-id: 28c9edf135
2015-06-18 18:55:59 -04:00
Robyn Speer
2763063bd2 Rename MIT-LICENSE to MIT-LICENSE.txt
This makes the filename match what README.txt refers to.

Former-commit-id: cd3270168f
2015-06-18 18:55:18 -04:00
Joshua Chin
7ef897e739 updated data with a clean build
Former-commit-id: 90fc3970c6
2015-06-18 11:38:57 -04:00
Joshua Chin
4706a38c7a updated test because the new tokenizer removes URLs
Former-commit-id: 35f472fcf9
2015-06-18 11:38:28 -04:00
Robyn Speer
c980cd883a copy-edit some docstrings
Former-commit-id: 981cc249f1
2015-06-17 14:42:38 -04:00
Robyn Speer
940b9b71db Merge pull request #8 from LuminosoInsight/newbuild-refactor
Refactored the newbuild branch, in response to the preliminary review notes

Former-commit-id: 13988f8e3d
2015-06-17 14:35:37 -04:00
Joshua Chin
7e5a1476c0 updated dB_to_freq docstring
Former-commit-id: 68b1c121bd
2015-06-17 14:34:03 -04:00
Joshua Chin
ac7c71ae70 clearified the docstrings for random_words and random_ascii_words
Former-commit-id: a289ab7f8b
2015-06-17 14:26:06 -04:00
Joshua Chin
e877e2120b corrected available_languages to return a dict of strs to strs
Former-commit-id: 9f288bac31
2015-06-17 12:43:13 -04:00
Joshua Chin
0e25c91c93 changed yield to yield from in iter_wordlist
Former-commit-id: 6cc962bfea
2015-06-17 12:38:31 -04:00
Joshua Chin
dbb588a1cf updated db_to_freq docstring
Former-commit-id: 9b30da4dec
2015-06-17 12:24:23 -04:00
Joshua Chin
fff550b233 added docstrings
Former-commit-id: 7e808bf7c1
2015-06-17 12:20:50 -04:00
Joshua Chin
76c504bdd2 removed temporary variable
Former-commit-id: 053e4da3e6
2015-06-17 12:16:02 -04:00
Robyn Speer
2dc3d82a98 clearer error on py2
Former-commit-id: ed19d79c5a
2015-05-28 14:05:11 -04:00
Robyn Speer
a3cc8d403c add installation instructions to the readme
Former-commit-id: 0f4ca80026
2015-05-28 14:02:12 -04:00
Robyn Speer
860e929bf8 update Japanese data; test Japanese and token combining
Former-commit-id: 611a6a35de
2015-05-28 14:01:56 -04:00
Robyn Speer
5db3c4ef9e Work on making Japanese tokenization use MeCab consistently
Former-commit-id: 05cf94d1fd
2015-05-27 18:10:25 -04:00
Robyn Speer
c66b55d8dd Merge branch 'master' into newbuild
Conflicts:
	setup.py
	wordfreq/build.py
	wordfreq/config.py

Former-commit-id: 0e5156e162
2015-05-21 20:41:47 -04:00
Robyn Speer
65f6107d36 rebuild data
Former-commit-id: 84e5edcea1
2015-05-21 20:36:15 -04:00
Robyn Speer
4a865bfaec remove old tests
Former-commit-id: 410912d8f0
2015-05-21 20:36:09 -04:00
Robyn Speer
8954061a2a allow more language matches; reorder some parameters
Former-commit-id: b42594fa5f
2015-05-21 20:35:02 -04:00
Robyn Speer
26517c1b86 tests for new wordfreq with full coverage
Former-commit-id: df863a5169
2015-05-21 20:34:17 -04:00
Robyn Speer
7c6cf84749 update README, another setup fix
Former-commit-id: dd41e61c57
2015-05-13 04:09:34 -04:00
Robyn Speer
c1edefa419 update dependencies
Former-commit-id: f13cca4d81
2015-05-12 12:30:01 -04:00
Robyn Speer
fd4df8d1eb restore missing line in setup.py
Former-commit-id: bb18f741e2
2015-05-12 12:24:18 -04:00
Robyn Speer
aa0e844b81 add new data files from wordfreq_builder
Former-commit-id: 35aec061de
2015-05-11 18:45:47 -04:00
Robyn Speer
f92598b13d WIP: burn stuff down
Former-commit-id: 9b63e54471
2015-05-08 15:28:52 -04:00
Lance Nathan
60c7f3a7da Tweak to previous variable name fix
Former-commit-id: e8a1548d93
2015-05-06 17:57:10 -04:00
Lance Nathan
8400dee933 Merge pull request #6 from LuminosoInsight/ftfy4
Clean data with ftfy v4

Former-commit-id: 4632ffb177
2015-05-06 17:32:45 -04:00
Lance Nathan
bbf9164542 Merge pull request #5 from LuminosoInsight/dutch-201504
Better Dutch surface-form data

Former-commit-id: 5f05b52fe5
2015-05-06 17:15:21 -04:00
Robyn Speer
5ef406fd43 fix reused variable name
Former-commit-id: 506073030a
2015-05-06 17:06:37 -04:00
Robyn Speer
d5d24cb098 set version number to 0.8
Former-commit-id: 2f3bb955d1
2015-05-05 12:05:00 -04:00
Robyn Speer
c9ca5b94b0 Merge branch 'dutch-201504' into ftfy4
Conflicts:
	setup.py

Former-commit-id: 24a7c73e6d
2015-05-05 12:04:44 -04:00
Robyn Speer
922c658b68 require ftfy 4
Former-commit-id: 70b2c678ea
2015-05-05 12:04:13 -04:00
Robyn Speer
cb6b2a8002 v0.7: make a proper Dutch 'surfaces' list
Former-commit-id: 873ace87db
2015-04-30 13:01:24 -04:00
Robyn Speer
b4dfdaa47c Merge branch 'master' into dutch-201503
Conflicts:
	wordfreq/build.py

Former-commit-id: 6cf46ee5aa
2015-04-29 14:36:24 -04:00
Robyn Speer
d29e8bfddf start a new multilingual wordlist called 'stems'
So far, this wordlist is only in Dutch.


Former-commit-id: af5f65b328
2015-03-31 15:59:30 -04:00
Robyn Speer
56e811be19 Fix Dutch lists
- Use surface forms consistently, not stems
- Count all instances of words on Wikipedia, not one per article


Former-commit-id: 3507d8b630
2015-03-12 16:00:03 -04:00
Andrew Lin
6e98ca9822 Merge pull request #3 from LuminosoInsight/variable_name_fix
Fix a variable name for clarity.

Former-commit-id: cfe58cd899
2015-03-11 14:10:53 -04:00