engtagger 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Gemfile +3 -1
- data/README.md +1 -1
- data/engtagger.gemspec +1 -1
- data/lib/engtagger/version.rb +1 -1
- data/lib/engtagger.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 043237e54c8a17bcf8871e4a45a6231fb84cf75a6a975cfb027f2bdc2cda7fa9
|
4
|
+
data.tar.gz: 6bc1e9161ade26750731d4d9c11ecad6e406dc3edfcc1774bd1e52970890c6dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcae03556ad6402de71668519418889b76b9b850e18719b5e91c5d9bd0095725676523fb4e9bc51114f11e01dd18c44d9d21bcab30cd5ef58b8780707030233e
|
7
|
+
data.tar.gz: 2f518f2f6968838cca458ec1ee51a614ae332b43dce59302ec6fe746b24923b868a682bb9b2d2c7c656989d68bc9d66ddc3a0d26869da6a98561748f23336cf9
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -147,7 +147,7 @@ sudo gem install engtagger
|
|
147
147
|
2. Grant necessary permissions to your user:
|
148
148
|
|
149
149
|
```bash
|
150
|
-
sudo chown -R $(whoami) /Library/Ruby/Gems/2.6.0/gems/engtagger-0.4.
|
150
|
+
sudo chown -R $(whoami) /Library/Ruby/Gems/2.6.0/gems/engtagger-0.4.2
|
151
151
|
```
|
152
152
|
|
153
153
|
**Note:** The path above assumes you are using Ruby version 2.6.0. If you are using a different version, you will need to modify the path accordingly. You can find your Ruby version by running `ruby -v`.
|
data/engtagger.gemspec
CHANGED
data/lib/engtagger/version.rb
CHANGED
data/lib/engtagger.rb
CHANGED
@@ -12,7 +12,7 @@ module BoundedSpaceMemoizable
|
|
12
12
|
alias_method "__memoized__#{method}", method
|
13
13
|
module_eval <<-MODEV
|
14
14
|
def #{method}(*a)
|
15
|
-
@__memoized_#{method}_cache ||= LruRedux::Cache.new(#{max_cache_size})
|
15
|
+
@__memoized_#{method}_cache ||= LruRedux::Cache.new(#{max_cache_size}, true)
|
16
16
|
@__memoized_#{method}_cache[a] ||= __memoized__#{method}(*a)
|
17
17
|
end
|
18
18
|
MODEV
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engtagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoichiro Hasebe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: sin_lru_redux
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.5.9
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: A probability based, corpus-trained English POS tagger
|