Skip to content

Commit bcfa411

Browse files
committed
release version 2.0.0a1
1 parent 7ececa6 commit bcfa411

File tree

7 files changed

+21
-15
lines changed

7 files changed

+21
-15
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ If you would like to contribute, feel free to submit the pull requests. You can
8484

8585
## News
8686

87+
* 07/12/2024: `shorttext` 2.0.0 released.
8788
* 12/21/2023: `shorttext` 1.6.1 released.
8889
* 08/26/2023: `shorttext` 1.6.0 released.
8990
* 06/19/2023: `shorttext` 1.5.9 released.

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
# built documents.
5757
#
5858
# The short X.Y version.
59-
version = u'1.6'
59+
version = u'2.0'
6060
# The full version, including alpha/beta/rc tags.
61-
release = u'1.6.1'
61+
release = u'2.0.0'
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
6464
# for a list of supported languages.

docs/faq.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
Frequently Asked Questions (FAQ)
22
================================
33

4-
**Q1. Can we use TensorFlow backend?**
4+
**Q1. Can we use backends other than TensorFlow?**
55

6-
Ans: Yes, users can use TensorFlow and CNTK backend instead of Theano backend. Refer to `Keras Backend
7-
<https://keras.io/backend/>`_ for information about switching backends.
6+
Ans: No.
87

98

109
**Q2. Can we use word-embedding algorithms other than Word2Vec?**
1110

1211
Ans: Yes. Besides Word2Vec, you can use FastText and Poincaré embedding. See: :doc:`tutorial_wordembed` .
1312

1413

15-
**Q3. Can this package work on Python 3?**
14+
**Q3. Can this package work on Python 2?**
1615

17-
Ans: Since release 1.0.0, this package can be run in Python 2.7, 3.5, and 3.6. (Before that, it operates only under Python 2.7.)
18-
Since release 1.0.7, this package can also be run in Python 3.7 as well.
16+
Ans: No.
1917

2018

2119
**Q4. Warning or messages pop up when running models involving neural networks. What is the problem?**
@@ -47,7 +45,9 @@ Ans: This functionality is removed since release 0.5.11, due to the following re
4745

4846
Ans: There is no "Python.h". Run: `sudo apt-get install python3-dev` in SSH shell of the VM instance.
4947

48+
**Q8. My model files were created by `shorttext` version < 2.0.0. How do I make them readable for version >= 2.0.0?
5049
50+
Ans: Simply make those files with names ending with `.h5` to `.weights.h5`.
5151

5252

5353

docs/install.rst

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Installation
44
PIP
55
---
66

7-
Package `shorttext` runs in Python 3.6, 3.7, and 3.8. However, for Python>=3.7, the backend
7+
Package `shorttext` runs in Python 3.9, 3.10, 3.11, and 3.12. However, for Python>=3.7, the backend
88
of keras_ cannot be Tensorflow_.
99

1010
To install the package in Linux or OS X, enter the following in the console:
@@ -29,10 +29,7 @@ you have to install these packages on your own.
2929
Backend for Keras
3030
-----------------
3131

32-
The package keras_ (version >= 2.0.0) uses either Tensorflow_, Theano_, or CNTK_ as the backend, while Theano is usually
33-
the default. However, it is highly recommended to use Tensorflow as the backend.
34-
Users are advised to install the backend Tensorflow_ (preferred for Python 2.7, 3.5, and 3.6) or
35-
Theano_ (preferred for Python 3.7) in advance. Refer to
32+
The package keras_ (version >= 2.0.0) uses Tensorflow_ as the backend. Refer to
3633
:doc:`faq` for how to switch the backend. It is also desirable if the package Cython_ has been previously installed.
3734

3835

docs/intro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ representation of the texts and documents are needed before they are put into
88
any classification algorithm. In this package, it facilitates various types
99
of these representations, including topic modeling and word-embedding algorithms.
1010

11-
The package `shorttext` runs on Python 3.8, 3.9, 3.10, and 3.11.
11+
The package `shorttext` runs on Python 3.9, 3.10, 3.11, and 3.12.
1212

1313
Characteristics:
1414

docs/news.rst

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
News
22
====
33

4+
* 07/12/2024: `shorttext` 2.0.0 released.
45
* 12/21/2023: `shorttext` 1.6.1 released.
56
* 08/26/2023: `shorttext` 1.6.0 released.
67
* 06/19/2023: `shorttext` 1.5.9 released.
@@ -80,6 +81,13 @@ News
8081
What's New
8182
----------
8283

84+
Released 2.0.0 (July 13, 2024)
85+
------------------------------
86+
87+
* Decommissioned support for Python 3.8.
88+
* Added support for Python 3.12.
89+
* Updated file extensions for model files.
90+
8391
Released 1.6.1 (December 21, 2023)
8492
----------------------------------
8593

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_requirements():
3434

3535

3636
setup(name='shorttext',
37-
version='1.7.0a1',
37+
version='2.0.0a1',
3838
description="Short Text Mining",
3939
long_description=package_description(),
4040
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)