shunkuntype 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/Rakefile.rb +1 -1
  4. data/lib/data/STEP-52.txt +4 -1
  5. data/lib/data/STEP-53.txt +5 -1
  6. data/lib/data/STEP-54.txt +6 -1
  7. data/lib/data/STEP-56.txt +4 -1
  8. data/lib/data/STEP-57.txt +4 -1
  9. data/lib/data/STEP-58.txt +5 -1
  10. data/lib/data/STEP-60.txt +3 -1
  11. data/lib/data/STEP-61.txt +4 -1
  12. data/lib/data/STEP-62.txt +5 -1
  13. data/lib/data/STEP-64.txt +4 -1
  14. data/lib/data/STEP-65.txt +4 -1
  15. data/lib/data/STEP-66.txt +4 -1
  16. data/lib/data/STEP-68.txt +2 -1
  17. data/lib/data/STEP-69.txt +4 -1
  18. data/lib/data/STEP-70.txt +5 -1
  19. data/lib/data/STEP-72.txt +2 -1
  20. data/lib/data/STEP-73.txt +4 -1
  21. data/lib/data/STEP-74.txt +5 -1
  22. data/lib/data/STEP-75.txt +3 -1
  23. data/lib/data/STEP-76.txt +4 -1
  24. data/lib/data/STEP-77.txt +5 -1
  25. data/lib/data/STEP-78.txt +3 -1
  26. data/lib/data/STEP-79.txt +3 -1
  27. data/lib/data/STEP-80.txt +5 -1
  28. data/lib/data/STEP-81.txt +3 -1
  29. data/lib/data/STEP-82.txt +5 -1
  30. data/lib/data/STEP-83.txt +5 -1
  31. data/lib/data/STEP-84.txt +3 -1
  32. data/lib/data/STEP-85.txt +5 -1
  33. data/lib/data/STEP-86.txt +5 -1
  34. data/lib/data/STEP-87.txt +4 -1
  35. data/lib/data/STEP-88.txt +2 -1
  36. data/lib/data/STEP-89.txt +3 -1
  37. data/lib/data/STEP-90.txt +3 -1
  38. data/lib/data/STEP-92.txt +9 -1
  39. data/lib/data/STEP-93.txt +9 -2
  40. data/lib/data/STEP-94.txt +4 -2
  41. data/lib/data/STEP-95.txt +7 -2
  42. data/lib/data/STEP-96.txt +8 -2
  43. data/lib/data/STEP-97.txt +4 -1
  44. data/lib/shunkuntype/#mk_summary.rb# +77 -0
  45. data/lib/shunkuntype/training.rb +3 -3
  46. data/lib/shunkuntype/version.rb +1 -1
  47. data/lib/shunkuntype.rb +1 -1
  48. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8116daf8b4491b03eae9efc00a2293e7d1779ef7
4
- data.tar.gz: 05516f095e981543e05e2ddd08a1983de4e789d8
3
+ metadata.gz: 5128660299349619d6b55bdf79a0219d370b1696
4
+ data.tar.gz: c01a3754b9a3c5638591d29819bb3e528bc5ea27
5
5
  SHA512:
6
- metadata.gz: 8deff29282144e6fcfd6144b88dff256d1cf28f93c69539edbcd2863838b8aa1b8e36442fce0922b1f5d9e7be5363d49f4ef3f8d396a751ce5d4544fb0069aa4
7
- data.tar.gz: 0c04fcec5327b3b6068915a00ef93932e99e21390670c010f838a30334e64ffe17c282c5841f8898da845b7e91142e081cf162f5ea4d45d15bbf78eaaa139979
6
+ metadata.gz: ca01302e44c4cba38b0f4e99c04139bebe0bfbe1ca83df55d53c66e78bd5c9735c3c57b6380076c50d5dede2d33ebe22b6be3cbff53a9fc6cbcbfc062f87290b
7
+ data.tar.gz: a451e2e506a1806fc96c23bce7df75dd896dde35651c710dc07b0d73ef9fe681b57d33fe2ff97ca9ccb37aa220126a80d7e0b74a90f9badc5637a68a3450e9c4
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- system
1
+ 2.4.3
data/Rakefile.rb CHANGED
@@ -1 +1 @@
1
- Rakefile
1
+ ./Rakefile
data/lib/data/STEP-52.txt CHANGED
@@ -1 +1,4 @@
1
- I shall have to make this form so that it will go into a mailer with a name on it; and then we will plan the other form to fit into this smaller one.
1
+ I shall have to make this form so that
2
+ it will go into a mailer with a name on it;
3
+ and then we will plan the other form to fit
4
+ into this smaller one.
data/lib/data/STEP-53.txt CHANGED
@@ -1 +1,5 @@
1
- They did make a good sale, and then both men went to work to fill out all the forms they had to use to make sure the store would get the caps in time for the big spring sales we are planning for all.
1
+ They did make a good sale,
2
+ and then both men went to work to fill out all the forms
3
+ they had to use to make sure the store
4
+ would get the caps in time for the big spring sales
5
+ we are planning for all.
data/lib/data/STEP-54.txt CHANGED
@@ -1 +1,6 @@
1
- I had the form with me when we took down the size of the sign on which to put the name of the firm. We had to go to the city to see the entire lot of signs, to make sure we had all the things that we needed to make good our work and our word to all.
1
+ I had the form with me
2
+ when we took down the size of the sign
3
+ on which to put the name of the firm.
4
+ We had to go to the city to see the entire lot of signs,
5
+ to make sure we had all the things
6
+ that we needed to make good our work and our word to all.
data/lib/data/STEP-56.txt CHANGED
@@ -1 +1,4 @@
1
- Now that they have the new plan to work for them, she will wish to take bids and to make sales with the aid of the new forms we sent them last month.
1
+ Now that they have the new plan to work for them,
2
+ she will wish to take bids
3
+ and to make sales with the aid of the new forms
4
+ we sent them last month.
data/lib/data/STEP-57.txt CHANGED
@@ -1 +1,4 @@
1
- If you wish to have an item that will aid the men who sell for you to do the kind of sales job that you want, you will wish to see our new sales kit, as it is just the tool to make one proud to sell.
1
+ If you wish to have an item that will aid the men
2
+ who sell for you to do the kind of sales job that you want,
3
+ you will wish to see our new sales kit,
4
+ as it is just the tool to make one proud to sell.
data/lib/data/STEP-58.txt CHANGED
@@ -1 +1,5 @@
1
- At this time of the year, no doubt you would like a new item or two to add to your list of aids for the men who sell for your firm. He will get back from his trip in a few days and, when he is here, he will let your office know about all new items.
1
+ At this time of the year,
2
+ no doubt you would like a new item or two
3
+ to add to your list of aids for the men who sell for your firm.
4
+ He will get back from his trip in a few days and,
5
+ when he is here, he will let your office know about all new items.
data/lib/data/STEP-60.txt CHANGED
@@ -1 +1,3 @@
1
- If we can have these men go to the firms that use a lot of goods of this kind or that need a lot of it, the men can be sure that they will get sales.
1
+ If we can have these men go to the firms
2
+ that use a lot of goods of this kind or that need a lot of it,
3
+ he men can be sure that they will get sales.
data/lib/data/STEP-61.txt CHANGED
@@ -1 +1,4 @@
1
- To make sure they have all the goods on the list, the two of them plan to go to the town next week; when they get therem they will go to the store to get the last thing or two that they may not have.
1
+ To make sure they have all the goods on the list,
2
+ the two of them plan to go to the town next week;
3
+ when they get there they will go to the store
4
+ to get the last thing or two that they may not have.
data/lib/data/STEP-62.txt CHANGED
@@ -1 +1,5 @@
1
- The bid a large firm sent in for that job was too high, but the bid we had from the smaller firm in the next town was a whole lot less. Do send this form in as soon as you can so that we may be able to have all the plans made for you to go to work.
1
+ The bid a large firm sent in for that job was too high,
2
+ but the bid we had from the smaller firm in the next town
3
+ was a whole lot less.
4
+ Do send this form in as soon as you can
5
+ so that we may be able to have all the plans made for you to go to work.
data/lib/data/STEP-64.txt CHANGED
@@ -1 +1,4 @@
1
- If they send us a bill for the fuel now, they may have to wait a while; we can take care of it just as soon as we move to our new office in the city.
1
+ If they send us a bill for the fuel now,
2
+ they may have to wait a while;
3
+ we can take care of it just as soon as we move
4
+ to our new office in the city.
data/lib/data/STEP-65.txt CHANGED
@@ -1 +1,4 @@
1
- W want you to talk to our men and tell them both how to make fair sales and how to make plans when they make trips; so if you can talk about this on the day you are here, we should get our sales up.
1
+ We want you to talk to our men and tell them both
2
+ how to make fair sales and how to make plans when they make trips;
3
+ so if you can talk about this on the day you are here,
4
+ we should get our sales up.
data/lib/data/STEP-66.txt CHANGED
@@ -1 +1,4 @@
1
- He said that he hoped we would be able to wind up the meeting by two or three so that he would then count on getting the plane back at five. We know that he did go to see them all and that they want just another visit before they singn for the work.
1
+ He said that he hoped we would be able to wind up the meeting by two or three
2
+ so that he would then count on getting the plane back at five.
3
+ We know that he did go to see them all and
4
+ that they want just another visit before they sign for the work.
data/lib/data/STEP-68.txt CHANGED
@@ -1 +1,2 @@
1
- I had the form with me when we took down the name of the firm to put on the new sign for them.
1
+ I had the form with me when we took down the name of the firm
2
+ to put on the new sign for them.
data/lib/data/STEP-69.txt CHANGED
@@ -1 +1,4 @@
1
- I do not see why we put in a low bid for the work when did not have to bid low, for now the only thing we can do is go ahead with the job and hope that we get it done with just a little loss.
1
+ I do not see why we put in a low bid for the work
2
+ when did not have to bid low,
3
+ for now the only thing we can do is go ahead with the job
4
+ and hope that we get it done with just a little loss.
data/lib/data/STEP-70.txt CHANGED
@@ -1 +1,5 @@
1
- We did receive the goods you shipped us last week. As far as we can tell from the record here in our office, the goods got to the plant in good shape and right on time. The men will go ro work on it in a day or two, as we told you they would.
1
+ We did receive the goods you shipped us last week.
2
+ As far as we can tell from the record here in our office,
3
+ the goods got to the plant in good shape and right on time.
4
+ The men will go ro work on it in a day or two,
5
+ as we told you they would.
data/lib/data/STEP-72.txt CHANGED
@@ -1 +1,2 @@
1
- a11a s22s d33d f45f j67j j67j k88k 1991 ;00; 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
1
+ a11a s22s d33d f45f j67j j67j k88k 1991 ;00;
2
+ 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
data/lib/data/STEP-73.txt CHANGED
@@ -1 +1,4 @@
1
- IF you ask these men to do the work and then to see us when they make the trip to the city, we shall take them to a good firm that pays well and is looking for men who do this kind of work well.
1
+ If you ask these men to do the work
2
+ and then to see us when they make the trip to the city,
3
+ we shall take them to a good firm that pays well
4
+ and is looking for men who do this kind of work well.
data/lib/data/STEP-74.txt CHANGED
@@ -1 +1,5 @@
1
- We are sure the firm will need more men when our job is done. The firm has bid on five or six huge jobs of which we know and will need more men than they now have if they get the nod on any two or more of the jobs on which they have made bids; and the odds are that they will win at least two.
1
+ We are sure the firm will need more men when our job is done.
2
+ The firm has bid on five or six huge jobs of which
3
+ we know and will need more men than they now have
4
+ if they get the nod on any two or more of the jobs on which they have made bids;
5
+ and the odds are that they will win at least two.
data/lib/data/STEP-75.txt CHANGED
@@ -1 +1,3 @@
1
- The quick brown fox jumped over the very lazy dog. a11a s22s d33d f45f f45f j67j k88k 1991 ;00; 1981 1982 1983 1984 1985 1986 1988 1989 1990
1
+ The quick brown fox jumped over the very lazy dog.
2
+ a11a s22s d33d f45f f45f j67j k88k 1991 ;00;
3
+ 1981 1982 1983 1984 1985 1986 1988 1989 1990
data/lib/data/STEP-76.txt CHANGED
@@ -1 +1,4 @@
1
- Last year I stopped at your shop and, if you remember, had you make up a suit in a blue cloth, the number of which must be in your file. It has been a fine suit; I wish to order a suit like it.
1
+ Last year I stopped at your shop and,
2
+ if you remember, had you make up a suit in a blue cloth,
3
+ the number of which must be in your file.
4
+ It has been a fine suit; I wish to order a suit like it.
data/lib/data/STEP-77.txt CHANGED
@@ -1 +1,5 @@
1
- It looks as if I will not be able to stop in again before the holidays, and yet I do want this new suit to wear during the holidays. So, please make up another suit for me, in the same size and cloth but gray instead of blue, and have it sent to me so that it will arrive before the holidays.
1
+ It looks as if I will not be able to stop in again before the holidays,
2
+ and yet I do want this new suit to wear during the holidays.
3
+ So, please make up another suit for me,
4
+ in the same size and cloth but gray instead of blue,
5
+ and have it sent to me so that it will arrive before the holidays.
data/lib/data/STEP-78.txt CHANGED
@@ -1 +1,3 @@
1
- The quick brown fox jumped over the very lazy dog. a11a s22s d33d f45f j67j j67j k88k 1991 ;00; 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
1
+ The quick brown fox jumped over the very lazy dog.
2
+ a11a s22s d33d f45f j67j j67j k88k 1991 ;00;
3
+ 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
data/lib/data/STEP-79.txt CHANGED
@@ -1 +1,3 @@
1
- It was a happy day for all of us when we got your letter with the good news that we may expect you yo come down to our farm for a long visit, as you did a couple of years ago at about this time.
1
+ It was a happy day for all of us when we got your letter with the good news
2
+ that we may expect you to come down to our farm for a long visit,
3
+ as you did a couple of years ago at about this time.
data/lib/data/STEP-80.txt CHANGED
@@ -1 +1,5 @@
1
- I cannot tell you how pleased we are to know you will be with us soon. Be sure to let us know tha date that you will arrive, so that we can get together some of your friends. Let us know, too, what you would like to do while you are here. If you wish to hunt or fish, I will line up a guide.
1
+ I cannot tell you how pleased we are to know you will be with us soon.
2
+ Be sure to let us know tha date that you will arrive,
3
+ so that we can get together some of your friends.
4
+ Let us know, too, what you would like to do while you are here.
5
+ If you wish to hunt or fish, I will line up a guide.
data/lib/data/STEP-81.txt CHANGED
@@ -1 +1,3 @@
1
- The quick brown fo jumped over the very lazy dog. a11a s22s d33d f45f f45f j67j j67j k88k 1991 ;00; 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
1
+ The quick brown fox jumped over the very lazy dog.
2
+ a11a s22s d33d f45f f45f j67j j67j k88k 1991
3
+ ;00; 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
data/lib/data/STEP-82.txt CHANGED
@@ -1 +1,5 @@
1
- It looks as though it is just about time for us to plan a conference with all the managers, as we have to do each year in the fall. So, this is to ask whether you have any new ideas to suggest; if you do, pass them on to me as soon as you can.
1
+ It looks as though it is just about time for us
2
+ to plan a conference with all the managers,
3
+ as we have to do each year in the fall.
4
+ So, this is to ask whether you have any new ideas to suggest;
5
+ if you do, pass them on to me as soon as you can.
data/lib/data/STEP-83.txt CHANGED
@@ -1 +1,5 @@
1
- I think we will count on making arrangements about the same as we had last year. We will plan on holding the conference for four days, with all the men at the same hotel. We will hold meetings right at the hotel from about nine to four daily.
1
+ I think we will count on making arrangements
2
+ about the same as we had last year.
3
+ We will plan on holding the conference for four days,
4
+ with all the men at the same hotel.
5
+ We will hold meetings right at the hotel from about nine to four daily.
data/lib/data/STEP-84.txt CHANGED
@@ -1 +1,3 @@
1
- The quick brown fox jumped over the very laze dog. a11a s22s d33d f45f f45f j67j j67j k88k 1991 ;00; 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
1
+ The quick brown fox jumped over the very lazy dog.
2
+ a11a s22s d33d f45f f45f j67j j67j k88k 1991
3
+ ;00; 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
data/lib/data/STEP-85.txt CHANGED
@@ -1 +1,5 @@
1
- You will be happy to learn that the order of new furniture that we usually get at this time of the year has come and is now on showroom display. I know that you will wish to stop in for a visit, and soon, to have a first view of the new things.
1
+ You will be happy to learn that the order of new furniture
2
+ that we usually get at this time of the year
3
+ has come and is now on showroom display.
4
+ I know that you will wish to stop in for a visit,
5
+ and soon, to have a first view of the new things.
data/lib/data/STEP-86.txt CHANGED
@@ -1 +1,5 @@
1
- We are going to hold up our ad about the new things for a weekm to give you and our other good patrons a chance to pick what you would like from the new furniture. Do stop in by Tuesday od next week; after that, others will know the good news.
1
+ We are going to hold up our ad about the new things for a week,
2
+ to give you and our other good patrons a chance to pick
3
+ what you would like from the new furniture.
4
+ Do stop in by Tuesday of next week;
5
+ after that, others will know the good news.
data/lib/data/STEP-87.txt CHANGED
@@ -1 +1,4 @@
1
- umi, ten, chi, yuki, niji, chikyuu. renge, yuri, fuji, kiku, ume. urei, nikki ifu, kui. fumie, yuri, yuusuke, kenji, jun'ichi.
1
+ umi, ten, chi, yuki, niji, chikyuu.
2
+ renge, yuri, fuji, kiku, ume.
3
+ urei, nikki, ifu, kui.
4
+ fumie, yuri, yuusuke, kenji, jun'ichi.
data/lib/data/STEP-88.txt CHANGED
@@ -1 +1,2 @@
1
- tukuru, semeru, dekiru, miru, seirisuru. sumire, kikyou, rindou, keitou, tessen.
1
+ tukuru, semeru, dekiru, miru, seirisuru.
2
+ sumire, kikyou, rindou, keitou, tessen.
data/lib/data/STEP-89.txt CHANGED
@@ -1 +1,3 @@
1
- jakuniku kyousyoku, taigi meibun, wakamono. LP to CD no fan, renzoku kyousen, veeru. x jiku to kyokusen Q tono kouten.
1
+ jakuniku kyousyoku, taigi meibun, wakamono.
2
+ LP to CD no fan, renzoku kyousen, veeru.
3
+ x jiku to kyokusen Q tono kouten.
data/lib/data/STEP-90.txt CHANGED
@@ -1 +1,3 @@
1
- aru hi no koto de gozai masu. oshaka sama ha gokuraku no hasuike no fuchi wo, hitori de bura bura oarki ni natte irasshai mashita.
1
+ aru hi no koto de gozai masu.
2
+ oshaka sama ha gokuraku no hasuike no fuchi wo,
3
+ hitori de bura bura oaruki ni natte irasshai mashita.
data/lib/data/STEP-92.txt CHANGED
@@ -1 +1,9 @@
1
- suruto sono jigoku no soko ni, kandata to iu otoko ga hitori, hoka no zainin to issho ni ugomeite iru sugata ga ome ni tomari mashita. kono kandata to iu otoko ha, hito wo koroshi tari ie ni hi wo tsuke tari, iro iro akuji wo hataraita oodorobou de gozai masu ga, soredemo tatta hitotsu, yoi koto wo shita oboe ga gozai masu.
1
+ suruto sono jigoku no soko ni,
2
+ kandata to iu otoko ga hitori,
3
+ hoka no zainin to issho ni ugomeite iru
4
+ sugata ga ome ni tomari mashita.
5
+ kono kandata to iu otoko ha,
6
+ hito wo koroshi tari ie ni hi wo tsuke tari,
7
+ iro iro akuji wo hataraita oodorobou de gozai masu ga,
8
+ soredemo tatta hitotsu,
9
+ yoi koto wo shita oboe ga gozai masu.
data/lib/data/STEP-93.txt CHANGED
@@ -1,2 +1,9 @@
1
- to moushi masu no ha, aru toki kono otoko ga fukai hayashi no naka wo toori masu to, chiisana kumo ga ippiki michibata wo hatte yuku no ga miemashita.
2
- soko de kandata ha sassoku ashi wo agete, fimi korosou to itashi mashita ga, "iya iya, kore mo chiisai nagara, inochi aru mono ni chigai nai. sono inochi wo muyami ni toru to iu koto ha, ikura nandemo kawaisou da." to, kou kyuu ni omoi kaeshite, toutou sono kumo wo korosazu ni tasukete yatta kara de gozai mashita.
1
+ to moushi masu no ha, aru toki kono otoko ga
2
+ fukai hayashi no naka wo toori masu to,
3
+ chiisana kumo ga ippiki michibata wo hatte yuku no ga miemashita.
4
+ soko de kandata ha sassoku ashi wo agete,
5
+ fumi korosou to itashi mashita ga,
6
+ "iya iya, kore mo chiisai nagara, inochi aru mono ni chigai nai.
7
+ sono inochi wo muyami ni toru to iu koto ha, ikura nandemo kawaisou da."
8
+ to, kou kyuu ni omoi kaeshite,
9
+ toutou sono kumo wo korosazu ni tasukete yatta kara de gozai mashita.
data/lib/data/STEP-94.txt CHANGED
@@ -1,2 +1,4 @@
1
- oshaka sama ha jigoku no yousu wo goran'ni nari nagara, kono kandata ni ha kumo wo tasuketa koto ga aru no wo oomoi dashi ni nari mashita.
2
- soushite sore ake no yoi koto wo shita mukui ni ha, dekiru nara, kono otoko wo jigoku kara sukui dashite yarou to okangae ni nari mashita.
1
+ oshaka sama ha jigoku no yousu wo goran'ni nari nagara,
2
+ kono kandata ni ha kumo wo tasuketa koto ga aru no wo oomoi dashi ni nari mashita.
3
+ soushite sore ake no yoi koto wo shita mukui ni ha,
4
+ dekiru nara, kono otoko wo jigoku kara sukui dashite yarou to okangae ni nari mashita.
data/lib/data/STEP-95.txt CHANGED
@@ -1,2 +1,7 @@
1
- saiwai, soba wo mimasu to, hisui no you na iro wo shita hasu no ha no ue ni, gokuraku no kumo ga ippiki, utsukushii gin'iro no ito wo kakete orimasu.
2
- oshaka sama ha sono kumo no ito wo sotto ote ni otori ni natte, tama no you na shirahasu no aida kara, haruka shita ni aru jigoku no soko he, massugu ni sore wo oorashi nasai mashita.
1
+ saiwai, soba wo mimasu to,
2
+ hisui no you na iro wo shita hasu no ha no ue ni,
3
+ gokuraku no kumo ga ippiki, utsukushii gin'iro no ito wo kakete orimasu.
4
+ oshaka sama ha sono kumo no ito wo sotto ote ni otori ni natte,
5
+ tama no you na shirahasu no aida kara,
6
+ haruka shita ni aru jigoku no soko he,
7
+ massugu ni sore wo oorashi nasai mashita.
data/lib/data/STEP-96.txt CHANGED
@@ -1,3 +1,9 @@
1
1
  sono totan de gozai masu.
2
- ima made nantomo nakatta kumo no ito ga, kyuu ni kandata no burasagatte iru tokoro kara, putsuri to oto wo tatete kire mashita. desukara, kandata mo tamari masen.
3
- atto iu ma mo naku kaze wo kitte, koma no you ni kuru kuru mawari nagara, miru miru uchi ni yami no soko he, massakasama ni ochite shimai mashita.
2
+ ima made nantomo nakatta kumo no ito ga,
3
+ kyuu ni kandata no burasagatte iru tokoro kara,
4
+ putsuri to oto wo tatete kire mashita.
5
+ desukara, kandata mo tamari masen.
6
+ atto iu ma mo naku kaze wo kitte,
7
+ koma no you ni kuru kuru mawari nagara,
8
+ miru miru uchi ni yami no soko he,
9
+ massakasama ni ochite shimai mashita.
data/lib/data/STEP-97.txt CHANGED
@@ -1 +1,4 @@
1
- ato ni ha tada gokuraku no kumo no ito ga, kira kira to hosoku hikari nagara, tsuki mo hoshi mo nai sora no chuuto ni, mijikaku tarete iru bakari de gozai masu.
1
+ ato ni ha tada gokuraku no kumo no ito ga,
2
+ kira kira to hosoku hikari nagara,
3
+ tsuki mo hoshi mo nai sora no chuuto ni,
4
+ mijikaku tarete iru bakari de gozai masu.
@@ -0,0 +1,77 @@
1
+ class MkSummary
2
+ def initialize(tmp_dir)
3
+ $mem_dir=File.join(tmp_dir,"mem_data")
4
+ files = Dir::entries($mem_dir)
5
+ member = mk_member(files)
6
+ @scores = take_scores(files,member)
7
+ end
8
+
9
+ def mk_member(files)
10
+ member = []
11
+ files.each{|file|
12
+ if file.include?('training') then
13
+ name=file.split('_')[0]
14
+ member << name
15
+ end
16
+ }
17
+ return member
18
+ end
19
+
20
+ def take_scores(files,member)
21
+ scores = {}
22
+ member.each{|name|
23
+ p name
24
+ speed_file="#{name}_speed_data.txt"
25
+ if files.include?(speed_file)
26
+ p speed_file
27
+ file = File.readlines(File.join($mem_dir,speed_file))
28
+ init= (file[0]!=nil ? file[0].split(",")[2].to_f : 0.0 )
29
+ cur = (file[-1]!=nil ? file[-1].split(",")[2].to_f : 0.0 )
30
+ scores[name]=[init,cur]
31
+ end
32
+ training_file="#{name}_training_data.txt"
33
+ if files.include?(training_file)
34
+ p training_file
35
+ file = File.readlines(File.join($mem_dir,training_file))
36
+ work_time = file.inject(0){|sum,line|
37
+ sec=line.split(',')[3].to_i
38
+ sec= (sec!=0)? sec : 60
39
+ sum + sec
40
+ }
41
+ step = (file[-1]!=nil ? file[-1].match(/STEP-(\d*)/)[1].to_i : 0 )
42
+ scores[name] << work_time/60 << step
43
+ end
44
+ }
45
+ return scores
46
+ end
47
+
48
+ def mk_html_table()
49
+ cont = ""
50
+ title = "Shunkun typer"
51
+ cont << "<table border=\"1\">\n<caption>#{title}<caption>\n"
52
+ cont << "<tr><th></th><th colspan=2>speed[sec]</th><th colspan=2>training</th></tr>\n"
53
+ cont << "<tr><th></th><th>init</th><th>current</th><th>total time[min]</th><th>step</th></tr>\n"
54
+ @scores.each_pair{|key,score|
55
+ cont << "<tr><th>#{key}</th>"
56
+ score.each{|val| cont << sprintf("<td>%5.2f</td>",val)}
57
+ cont << "</tr>\n"
58
+ }
59
+ cont << "</table>\n"
60
+ return cont
61
+ end
62
+
63
+ def mk_hiki_table()
64
+ t= Time.now
65
+ cont = "!!Shunkun typer #{t.localtime}\n"
66
+ cont << "|| ||>speed[sec]||>training\n"
67
+ cont << "||||init||current||total time[min]||step\n"
68
+ @scores.each_pair{|key,score|
69
+ cont << "||#{key}"
70
+ score.each{|val| cont << sprintf("||%5.2f",val)}
71
+ cont << "\n"
72
+ }
73
+ cont << "\n"
74
+ return cont
75
+ end
76
+ end
77
+
@@ -2,7 +2,7 @@ class Training
2
2
  def initialize(val_i)
3
3
  val_i ||= 47
4
4
  data_dir=File.expand_path('../../../lib/data', __FILE__)
5
- base_name="STEP-#{val_i}.txt"
5
+ p base_name="STEP-#{val_i}.txt"
6
6
  file_name=File.join(data_dir,base_name)
7
7
 
8
8
  @period = 60
@@ -53,7 +53,7 @@ EOF
53
53
  data=File.readlines(file_name)
54
54
  data.each{|word| print word }
55
55
  print "\nRepeat above sentences. Type return-key to start."
56
- p ''
56
+ # p ''
57
57
  line=STDIN.gets
58
58
  start_time = Time.now
59
59
  return start_time,data
@@ -69,7 +69,7 @@ EOF
69
69
  data.each do |sentence|
70
70
  break if @time_flag == false
71
71
  puts sentence
72
- p ''
72
+ # p ''
73
73
  line=STDIN.gets.chomp
74
74
  counter(sentence,line)
75
75
  end
@@ -2,7 +2,7 @@ require 'fileutils'
2
2
  require 'tmpdir'
3
3
 
4
4
  module Shunkuntype
5
- VERSION = "1.0.13"
5
+ VERSION = "1.0.14"
6
6
  data_dir = File.join(ENV['HOME'], '.shunkuntype')
7
7
  # SPEED_FILE="./shunkuntype_speed_data.txt"
8
8
  SPEED_FILE=File.join(data_dir,"speed_data.txt")
data/lib/shunkuntype.rb CHANGED
@@ -107,7 +107,7 @@ module Shunkuntype
107
107
  p tmp_dir
108
108
  FileUtils.mkdir_p(File.join(tmp_dir,'mem_data'))
109
109
  system "scp -r #{server_directory}/* #{tmp_dir}/mem_data"
110
- table = MkSummary.new(tmp_dir) # read data from files
110
+ p table = MkSummary.new(tmp_dir) # read data from files
111
111
  MkPlots.new(tmp_dir,opts)
112
112
  File.open('./tmp.html','a'){|f|
113
113
  f.write("<html>\n")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shunkuntype
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shigeto R. Nishitani
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2018-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: systemu
@@ -237,6 +237,7 @@ files:
237
237
  - lib/data/word.list
238
238
  - lib/shunkuntype.rb
239
239
  - lib/shunkuntype/#db.rb#
240
+ - lib/shunkuntype/#mk_summary.rb#
240
241
  - lib/shunkuntype/db.rb
241
242
  - lib/shunkuntype/finished_check.rb
242
243
  - lib/shunkuntype/merge.rb
@@ -273,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
274
  version: '0'
274
275
  requirements: []
275
276
  rubyforge_project:
276
- rubygems_version: 2.5.1
277
+ rubygems_version: 2.6.14
277
278
  signing_key:
278
279
  specification_version: 4
279
280
  summary: type training.