fBayes 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/.DS_Store +0 -0
  2. data/README.rdoc +6 -3
  3. data/VERSION +1 -1
  4. data/fBayes.gemspec +17 -2
  5. data/lib/.DS_Store +0 -0
  6. data/lib/data/.DS_Store +0 -0
  7. data/lib/data/internalTurnk/.DS_Store +0 -0
  8. data/lib/data/internalTurnk/classifier.rb +55 -0
  9. data/lib/data/internalTurnk/csv_to_data.rb +10 -0
  10. data/lib/data/internalTurnk/data/Beverages +366 -0
  11. data/lib/data/internalTurnk/data/Cereal +46 -0
  12. data/lib/data/internalTurnk/data/Dairy +69 -0
  13. data/lib/data/internalTurnk/data/Fast-foods +29 -0
  14. data/lib/data/internalTurnk/data/Fat, +53 -0
  15. data/lib/data/internalTurnk/data/Fruits +47 -0
  16. data/lib/data/internalTurnk/data/Grains +85 -0
  17. data/lib/data/internalTurnk/data/Meat +132 -0
  18. data/lib/data/internalTurnk/data/Unknown +127 -0
  19. data/lib/data/internalTurnk/data/Vegetables +310 -0
  20. data/lib/data/internalTurnk/results.csv +1703 -0
  21. data/lib/data/sr24/.DS_Store +0 -0
  22. data/lib/data/sr24/classifier.rb +35 -15
  23. data/lib/data/sr24/csv_to_muchidata.rb +8 -0
  24. data/lib/data/sr24/data/baby-foods +192 -192
  25. data/lib/data/sr24/data/baked-products +350 -350
  26. data/lib/data/sr24/data/beef-products +137 -131
  27. data/lib/data/sr24/data/beverages +182 -177
  28. data/lib/data/sr24/data/breakfast-cereals +304 -304
  29. data/lib/data/sr24/data/cereal-grains-and-pasta +101 -101
  30. data/lib/data/sr24/data/dairy-and-egg-products +178 -178
  31. data/lib/data/sr24/data/ethnic-foods +97 -97
  32. data/lib/data/sr24/data/fast-foods +208 -190
  33. data/lib/data/sr24/data/fats-and-oils +146 -146
  34. data/lib/data/sr24/data/finfish-and-shellfish-products +123 -123
  35. data/lib/data/sr24/data/fruits-and-fruit-juices +198 -198
  36. data/lib/data/sr24/data/lamb +73 -73
  37. data/lib/data/sr24/data/legumes-and-legume-products +231 -231
  38. data/lib/data/sr24/data/meals +48 -48
  39. data/lib/data/sr24/data/nut-and-seed-products +104 -104
  40. data/lib/data/sr24/data/pork-products +37 -37
  41. data/lib/data/sr24/data/poultry-products +134 -134
  42. data/lib/data/sr24/data/restaurant-foods +45 -45
  43. data/lib/data/sr24/data/sausages-and-luncheon-meats +140 -140
  44. data/lib/data/sr24/data/snacks +108 -108
  45. data/lib/data/sr24/data/soups +420 -420
  46. data/lib/data/sr24/data/spices-and-herbs +29 -29
  47. data/lib/data/sr24/data/sweets +225 -225
  48. data/lib/data/sr24/data/vegetables-and-vegetable-products +331 -321
  49. data/lib/fBayes.rb +6 -2
  50. data/lib/global_classifier.rb +2 -0
  51. data/spec/accuracy_spec.rb +141 -0
  52. metadata +18 -3
@@ -1,54 +1,54 @@
1
- Spices allspice ground^ALLSPICEGROUND^^^^^0^Pimenta dioica^6.25^3.36^8.37^2.35
1
+ Spices allspice ground ALLSPICEGROUND Pimenta dioica
2
2
  Spices
3
- Spices basil dried^SPICESBASIL
3
+ Spices basil dried SPICESBASIL
4
4
  Spices
5
5
  Spices
6
6
  Spices
7
7
  Spices
8
- Spices chervil dried^CHERVILDRIED^^^^^0^Anthriscus cerefolium^6.25^2.44^8.37^3.0
8
+ Spices chervil dried CHERVILDRIED Anthriscus cerefolium
9
9
  Spices
10
- Spices cinnamon ground^CINNAMONGROUND^Cassia^^Y^^0^Cinnamomum aromaticum^6.25^1.82^8.37^2.85
11
- Spices cloves ground^CLOVESGROUND^^^Y^^0^Syzygium aromaticum^6.25^1.82^8.37^2.35
12
- Spices coriander leaf dried^CORIANDER LEAFDRIED^Chinese parsley
10
+ Spices cinnamon ground CINNAMONGROUND Cassia Y Cinnamomum aromaticum
11
+ Spices cloves ground CLOVESGROUND Y Syzygium aromaticum
12
+ Spices coriander leaf dried CORIANDER LEAFDRIED Chinese parsley
13
13
  Spices
14
14
  Spices
15
15
  Spices
16
16
  Spices
17
- Spices dill weed dried^DILL WEEDDRIED^^^^^0^Anethum graveolens^6.25^2.44^8.37^3.0
17
+ Spices dill weed dried DILL WEEDDRIED Anethum graveolens
18
18
  Spices
19
19
  Spices
20
20
  Spices
21
- Spices ginger ground^GINGERGROUND^^^Y^^0^Zingiber officinale^6.25^2.78^8.37^3.84
22
- Spices mace ground^MACEGROUND^^^^^0^Myristica fragrans^6.25^3.36^8.37^3.6
23
- Spices marjoram dried^MARJORAMDRIED^^^Y^^0^Origanum majorana^6.25^2.44^8.37^3.0
24
- Spices mustard seed ground^SPICESMUSTARD SD
25
- Spices nutmeg ground^NUTMEGGROUND^^^Y^^0^Myristica fragrans^5.3^3.47^8.37^4.07
21
+ Spices ginger ground GINGERGROUND Y Zingiber officinale
22
+ Spices mace ground MACEGROUND Myristica fragrans
23
+ Spices marjoram dried MARJORAMDRIED Y Origanum majorana
24
+ Spices mustard seed ground SPICESMUSTARD SD
25
+ Spices nutmeg ground NUTMEGGROUND Y Myristica fragrans
26
26
  Spices
27
- Spices oregano dried^SPICESOREGANO
27
+ Spices oregano dried SPICESOREGANO
28
28
  Spices
29
- Spices parsley dried^PARSLEYDRIED^^^Y^^0^Petroselinum crispum^6.25^2.44^8.37^3.57
30
- Spices pepper black^PEPPERBLACK^^^Y^^0^Piper nigrum^5.35^1.83^8.37^3.2
31
- Spices pepper red or cayenne^PEPPERRED OR CAYENNE^^^Y^^0^Capsicum frutescens or Capsicum annuum^6.25^3.36^8.37^2.35
32
- Spices pepper white^PEPPERWHITE^^^^^0^Piper nigrum^5.35^1.83^8.37^3.78
29
+ Spices parsley dried PARSLEYDRIED Y Petroselinum crispum
30
+ Spices pepper black PEPPERBLACK Y Piper nigrum
31
+ Spices pepper red or cayenne PEPPERRED OR CAYENNE Y Capsicum frutescens or Capsicum annuum
32
+ Spices pepper white PEPPERWHITE Piper nigrum
33
33
  Spices
34
34
  Spices
35
35
  Spices
36
- Spices rosemary dried^ROSEMARYDRIED^^^^^0^Rosmarinus officinalis^6.25^2.44^8.37^3.0
36
+ Spices rosemary dried ROSEMARYDRIED Rosmarinus officinalis
37
37
  Spices
38
- Spices sage ground^SAGEGROUND^^^Y^^0^Salvia officinalis^6.25^2.44^8.37^3.0
39
- Spices savory ground^SAVORYGROUND^^^^^0^Satureja hortensis^6.25^2.44^8.37^3.0
40
- Spices tarragon dried^SPICESTARRAGON
41
- Spices thyme dried^SPICESTHYME
42
- Spices turmeric ground^TURMERICGROUND^^^Y^^0^Curcuma longa L.^6.25^2.78^8.37^3.84
43
- Basil fresh^BASILFRESH^^^Y^Tough stems flower heads and trimmings^36^Ocimum basilicum^6.25^2.44^8.37^3.57
38
+ Spices sage ground SAGEGROUND Y Salvia officinalis
39
+ Spices savory ground SAVORYGROUND Satureja hortensis
40
+ Spices tarragon dried SPICESTARRAGON
41
+ Spices thyme dried SPICESTHYME
42
+ Spices turmeric ground TURMERICGROUND Y Curcuma longa L
43
+ Basil fresh BASILFRESH Y Tough stems flower heads and trimmings Ocimum basilicum
44
44
  Dill weed
45
- Mustard prepared yellow^MUSTARDPREPARED
45
+ Mustard prepared yellow MUSTARDPREPARED
46
46
  Salt
47
47
  Vinegar
48
48
  Thyme
49
- 3.9
50
- Vanilla extract imitation alcohol^VANILLA EXTRACTIMITN
51
- Vanilla extract imitation no alcohol^VANILLA EXTRACTIMITN
49
+
50
+ Vanilla extract imitation alcohol VANILLA EXTRACTIMITN
51
+ Vanilla extract imitation no alcohol VANILLA EXTRACTIMITN
52
52
  Vinegar
53
53
  Capers
54
54
  Horseradish
@@ -58,4 +58,4 @@ Spearmint
58
58
  Spearmint
59
59
  Vinegar
60
60
  Vinegar
61
- CAMPBELL Soup Company PACE Dry Taco Seasoning Mix^CAMPBELL SOUP COPACE
61
+ CAMPBELL Soup Company PACE Dry Taco Seasoning Mix CAMPBELL SOUP COPACE