fasttext 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/ext/fasttext/ext.cpp +1 -0
- data/ext/fasttext/extconf.rb +1 -1
- data/lib/fasttext/version.rb +1 -1
- data/lib/fasttext.rb +4 -4
- data/vendor/fastText/src/args.h +1 -0
- 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: 901023151197dbfbf3f5869eb97607201a355bbbb929221e8ee46800d979e306
|
4
|
+
data.tar.gz: eb3652ad82ff2e79f6ea7141ceaef245fdfda9f7985ec12bbfa9a69ceae25eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9987aa49ccb296a56ff8cccca54754d9579fbad4019c2ca79c899a7778d4bc88074740c52001de65774a8066cf754f2016307600cf0df0a51855cd14688344a0
|
7
|
+
data.tar.gz: 9072b668db0c34f3135d33752a8aca4d7ceb61a3e46a429f56e1eaad3ca6a21569955035298995938ff201e0063d1493d561cf3e296d26b3693adf6f39d33855
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
3
|
Copyright (c) 2016-present, Facebook, Inc.
|
4
|
-
Copyright (c) 2019-
|
4
|
+
Copyright (c) 2019-2022 Andrew Kane
|
5
5
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
data/ext/fasttext/ext.cpp
CHANGED
data/ext/fasttext/extconf.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "mkmf-rice"
|
2
2
|
|
3
3
|
# -march=native not supported with ARM Mac
|
4
|
-
default_optflags = RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm/i ? "" : "-march=native"
|
4
|
+
default_optflags = RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i ? "" : "-march=native"
|
5
5
|
# -pthread and -O3 set by default
|
6
6
|
$CXXFLAGS << " -std=c++17 $(optflags) -funroll-loops " << with_config("optflags", default_optflags)
|
7
7
|
|
data/lib/fasttext/version.rb
CHANGED
data/lib/fasttext.rb
CHANGED
@@ -5,10 +5,10 @@ require "fasttext/ext"
|
|
5
5
|
require "tempfile"
|
6
6
|
|
7
7
|
# modules
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
require_relative "fasttext/model"
|
9
|
+
require_relative "fasttext/classifier"
|
10
|
+
require_relative "fasttext/vectorizer"
|
11
|
+
require_relative "fasttext/version"
|
12
12
|
|
13
13
|
module FastText
|
14
14
|
class Error < StandardError; end
|
data/vendor/fastText/src/args.h
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fasttext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rice
|
@@ -83,14 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
86
|
+
version: '3'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
|
-
rubygems_version: 3.
|
93
|
+
rubygems_version: 3.4.10
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Efficient text classification and representation learning for Ruby
|