fasttext 0.2.4 → 0.4.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 +2 -2
- data/ext/fasttext/ext.cpp +1 -0
- data/lib/fasttext/version.rb +1 -1
- data/lib/fasttext.rb +4 -4
- data/vendor/fastText/src/args.h +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374cacde6bb0c017d6d787dd41180d5de774929a34cad2e356546e02c89345b6
|
4
|
+
data.tar.gz: b4c767a2d263053148a2f02537fd2eff0883840cf8da5e4c5f437c5fcaca55da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65dceed43c0cb7f84779b85b8387bdd67ab43b779fff5577e4bb13202ddee6a0d27fbdcab5f82af40fc070925c6e30ce73090c7db7d21da48a79810011235fd5
|
7
|
+
data.tar.gz: c565ef3d2c8132e84ec84a2d33b04caf6c8dead8928287966db1c34814673df3ca5a3d8372e3994478fd364f95c806a2515fa7f2106bef30deaf9e89f19a938a
|
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-2024 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
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
[fastText](https://fasttext.cc) - efficient text classification and representation learning - for Ruby
|
4
4
|
|
5
|
-
[![Build Status](https://github.com/ankane/fastText-ruby/workflows/build/badge.svg
|
5
|
+
[![Build Status](https://github.com/ankane/fastText-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/fastText-ruby/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Add this line to your application’s Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem
|
12
|
+
gem "fasttext"
|
13
13
|
```
|
14
14
|
|
15
15
|
## Getting Started
|
data/ext/fasttext/ext.cpp
CHANGED
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.4.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: 2024-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rice
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.3.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: 4.3.3
|
27
27
|
description:
|
28
28
|
email: andrew@ankane.org
|
29
29
|
executables: []
|
@@ -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.1'
|
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.5.16
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Efficient text classification and representation learning for Ruby
|