Skip to content

Commit 48788ac

Browse files
committed
Moved from TextAnalysis
1 parent 3ff0cb2 commit 48788ac

19 files changed

+150
-218
lines changed

Diff for: .github/workflows/CompatHelper.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: 23 23 * * *
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

Diff for: .github/workflows/TagBot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: TagBot
2+
on:
3+
schedule:
4+
- cron: 49 23 * * *
5+
jobs:
6+
TagBot:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: JuliaRegistries/TagBot@v1
10+
with:
11+
token: ${{ secrets.GITHUB_TOKEN }}

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_Store
22
docs/build
3+
Manifest.toml

Diff for: Artifacts.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[sentiment_model]
2+
git-tree-sha1 = "b7b8c228827945936e76c895729682d081ac152c"
3+
4+
[[sentiment_model.download]]
5+
sha256 = "5dcb031eccf01bb0b2d074281140679683f73603a54caa79941a1df1c8a6d70d"
6+
url = "https://github.com/JuliaText/TextAnalysis.jl/releases/download/v0.3.0//sentiment.tar.gz"

Diff for: Project.toml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
1-
name = "TextAnalysis"
2-
uuid = "a2db99b7-8b79-58f8-94bf-bbc811eef33d"
1+
name = "TextModels"
2+
uuid = "77b9cbda-2a23-51df-82a3-24144d1cd378"
33
license = "MIT"
44
desc = "Julia package for text analysis"
5-
version = "0.7.0"
5+
version = "0.9.0"
66

77
[deps]
88
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
9-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
109
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
11-
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1210
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
1311
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
1412
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1513
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1614
Languages = "8ef0a80b-9436-5d2c-a485-80b904378c43"
17-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1815
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1916
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
17+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
2018
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
2119
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
22-
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2320
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2421
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
22+
TextAnalysis = "a2db99b7-8b79-58f8-94bf-bbc811eef33d"
2523
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
2624
WordTokenizers = "796a5d58-b03d-544a-977e-18100b691f6e"
2725

2826
[compat]
2927
BSON = ">= 0.2.5"
3028
Flux = "< 0.10"
31-
julia = "1"
29+
TextAnalysis = "0.9"
30+
julia = "1.3"
3231

3332
[extras]
3433
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

Diff for: README.md

+7-15
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
1-
# TextAnalysis
1+
# TextModels
22

33
A Julia package for working with text.
44

5-
[![Travis](https://travis-ci.org/JuliaText/TextAnalysis.jl.svg?branch=master)](https://travis-ci.org/JuliaText/TextAnalysis.jl)
6-
[![Appveyor](https://ci.appveyor.com/api/projects/status/aviks/textanalysis-jl?svg=true)](https://ci.appveyor.com/project/aviks/textanalysis-jl)
7-
<!--[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliatext.github.io/TextAnalysis.jl/stable) -->
8-
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliatext.github.io/TextAnalysis.jl/dev)
9-
[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://juliatext.github.io/TextAnalysis.jl/latest)
5+
[![Travis](https://travis-ci.org/JuliaText/TextAnalysis.jl.svg?branch=master)](https://travis-ci.org/JuliaText/TextModels.jl)
6+
[![Appveyor](https://ci.appveyor.com/api/projects/status/aviks/textanalysis-jl?svg=true)](https://ci.appveyor.com/project/aviks/textmodels-jl)
7+
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliahub.com/docs/TextModels)
108

11-
Please see the detailed `manual` and `API Documentation` for the linked above. The package also comes with a set of `docstrings` for offline documentation access.
129

1310
## Introduction
1411

15-
TextAnalysis provides support for standard tools and models for working with textual data and natural languages in the Julia langauges. Please see the [documentation](https://juliatext.github.io/TextAnalysis.jl/latest) for more.
12+
The TextModels package enhances the TextAnalysis package with end-user focussed, practical natural language models, typically based on neural networks (in this case, [Flux](https://fluxml.ai/)). Please see the [documentation](https://juliatext.github.io/TextAnalysis.jl/latest) for more.
1613

17-
- **Features** : Refer to NEWS.md for the latest features.
1814
- **License** : [MIT License](https://github.com/JuliaText/TextAnalysis.jl/blob/master/LICENSE.md)
1915

2016
## Installation
2117

2218
```julia
23-
pkg> add TextAnalysis
19+
pkg> add TextModels
2420
```
2521

26-
You may want to work on the master branch for the latest features (as mentioned in NEWS.md).
27-
28-
```julia
29-
pkg> add TextAnalysis#master
30-
```
22+
Some of the models require data files to run, which are downloaded on demand. Therefore, internet access is required at runtime for certain functionality in this package.
3123

3224
## Contributing and Reporting Bugs
3325

Diff for: deps/.gitignore

-3
This file was deleted.

Diff for: docs/Project.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
TextAnalysis = "a2db99b7-8b79-58f8-94bf-bbc811eef33d"
4+
TextModels = "77b9cbda-2a23-51df-82a3-24144d1cd378"

Diff for: docs/make.jl

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
1-
using Documenter, TextAnalysis
1+
using Documenter, TextModels
22

33
makedocs(
4-
modules = [TextAnalysis],
4+
modules = [TextModels],
55
sitename = "TextAnalysis",
66
format = Documenter.HTML(
7-
canonical = "https://juliatext.github.io/TextAnalysis.jl/stable/",
8-
#prettyurls = false,
97
),
10-
assets = ["assets/custom.css", "assets/custom.js", "assets/favicon.ico"],
118
pages = [
129
"Home" => "index.md",
13-
"Documents" => "documents.md",
14-
"Corpus" => "corpus.md",
15-
"Features" => "features.md",
16-
"Semantic Analysis" => "semantic.md",
17-
"Classifier" => "classify.md",
18-
"Extended Example" => "example.md",
19-
"Evaluation Metrics" => "evaluation_metrics.md",
2010
"Conditional Random Fields" => "crf.md",
2111
"Named Entity Recognition" => "ner.md",
2212
"ULMFiT" => "ULMFiT.md",
23-
"Statistical Language Model" => "LM.md",
2413
"API References" => "APIReference.md"
2514
],
2615
)
2716

28-
deploydocs(repo = "github.com/JuliaText/TextAnalysis.jl.git")

Diff for: docs/src/APIReference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# API References
22

33
```@autodocs
4-
Modules = [TextAnalysis]
4+
Modules = [TextModels, TextModels.ULMFiT]
55
Order = [:function, :type]
66
```

Diff for: docs/src/index.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Preface
2+
3+
The TextModels package enhances the TextAnalysis package with end-user focussed, practical natural language models, typically based on neural networks (in this case, [Flux](https://fluxml.ai/))
4+
5+
## Installation
6+
7+
The TextModels package can be installed using Julia's package manager:
8+
9+
Pkg.add("TextModels")
10+
11+
Some of the models require data files to run, which are downloaded on demand. Therefore, internet access is required at runtime for certain functionality in this package.

Diff for: src/TextAnalysis.jl

-151
This file was deleted.

0 commit comments

Comments
 (0)