summarize-meeting 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c14fc93afabfd456a2c3778dffccf9d2a66e77f2d47ab98b864986ad0e10cd2
4
- data.tar.gz: 68ba17378b48f84ad029ef1d3d6e1575110739bb4c8f5c40e25a759350722cba
3
+ metadata.gz: 502d04b52ca4fb6aeba632d7d9959ef043db57cd7f70f9de278a5fc70f52a034
4
+ data.tar.gz: b1aae558f143f92a5d21e0f5268025768ef517b1ace5773c5f4b44a0b9fab10d
5
5
  SHA512:
6
- metadata.gz: 40a944d8e2289d02368c1f05c98ef3b26612f40c01c0aa761c110e7f46664b8411f11c7881152b32cc4aa3d1c4db20d726906fdc00ef69c5d362779cd5300e40
7
- data.tar.gz: 6477d716ebf27e2b6b7a8a5e15c4ce2ec205e7f089b277002fb5f1ab5273d1e486f2248625571038475fac55e91d81fa77378094615727d0bccae970251b1f74
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.0"
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.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine