summarize-meeting 0.2.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd8ba0fbf2d8b0610cebeccbd7906283f9b39a357dc594026dd31c4853488b92
4
- data.tar.gz: 6ab995e6472dc2b9cd749a99f8f5ecb634de40baf8645a66e2b2a761676b235e
3
+ metadata.gz: 502d04b52ca4fb6aeba632d7d9959ef043db57cd7f70f9de278a5fc70f52a034
4
+ data.tar.gz: b1aae558f143f92a5d21e0f5268025768ef517b1ace5773c5f4b44a0b9fab10d
5
5
  SHA512:
6
- metadata.gz: 90d848336e888922379d35d17b54fcd7312e5671005f1731ac93921e724c0b17c013c4230615e0842a771afc824af15280d18db1104ee404ffb9a8c8356545d7
7
- data.tar.gz: ba360026742a884fb68cd7c2f5f079b1502da67da3ed9747f30585ff109ca59ddbb00869d18e796ad4ee38d439e4f063ced2a65609ec74f5d6f9b8844344ff28
6
+ metadata.gz: 781f9a4108fce791c7355e73161922b1271d8c7aefadc878dedadc5dfeec5b7a408a454c0d93d20912dd897a16b8c017ea6a4fcda27d2859fd90e252538163ae
7
+ data.tar.gz: 7b01038c1cd4a0473d98338131866fb751b471fcdffa49e91619ce12d0e83cf8dddf68814dbaf2c822e29d3d43c9260a0dbcb44d304f6bd4f4aee9e262ca8210
@@ -44,9 +44,10 @@ def main
44
44
  end
45
45
 
46
46
  transcript_file = ARGV[0]
47
- transcript = File.read(transcript_file)
47
+ transcript = File.read(transcript_file, encoding: "UTF-8")
48
48
 
49
49
  meeting = SummarizeMeeting::Meeting.new(transcript)
50
+
50
51
  summary = meeting.summarize
51
52
  summary_file_name = if options[:output_file]
52
53
  options[:output_file]
@@ -62,7 +62,7 @@ module SummarizeMeeting
62
62
  def summarize
63
63
 
64
64
  # Step 1. Split the transcript into lines.
65
- lines = transcript.split("\n")
65
+ lines = transcript.lines
66
66
 
67
67
  # Step 2. Calculate the maximum chunk size in words.
68
68
  max_total_tokens = 4000
@@ -1,3 +1,3 @@
1
1
  module SummarizeMeeting
2
- VERSION = "0.2.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summarize-meeting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine