Skip to content

Commit 6328620

Browse files
committed
chore: bump version
1 parent 22dda49 commit 6328620

File tree

5 files changed

+41
-30
lines changed

5 files changed

+41
-30
lines changed

CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center"><h1>Changelog</h1></div>
22

3-
## [0.1.4](https://github.com/tanloong/neosca/releases/tag/0.1.4) (3 August 2024)
3+
## [0.1.4](https://github.com/tanloong/neosca/releases/tag/0.1.4) (4 August 2024)
44

55
### Bug fixes
66

@@ -10,10 +10,6 @@
1010

1111
+ File Area: support drag and drop
1212

13-
### Improvements
14-
15-
+ Add support for dropping files/folders into the file area
16-
1713
## [0.1.3](https://github.com/tanloong/neosca/releases/tag/0.1.3) (25 June 2024)
1814

1915
### Bug fixes

Makefile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.PHONY: build package clean install lint run test bump freeze
22

33
build: clean acks
4-
python3 -m build
4+
python -m build
55

66
package: clean acks model
7-
python3 ./scripts/ns_packaging.py
7+
python ./scripts/ns_packaging.py
88

99
model: requirements.txt
10-
python3 -m scripts.ns_download_models
10+
python -m scripts.ns_download_models
1111

1212
clean:
1313
rm -rf __pycache__
@@ -33,13 +33,13 @@ lint:
3333
mypy --check-untyped-defs src/
3434

3535
test:
36-
python3 -m unittest
36+
python -m unittest
3737

3838
run:
39-
cd ./src && python3 -m neosca gui
39+
cd ./src && python -m neosca gui
4040

4141
acks: src/neosca/ns_data/acks.json scripts/ns_generate_acks.py
42-
python3 ./scripts/ns_generate_acks.py
42+
python ./scripts/ns_generate_acks.py
4343

4444
component="patch"
4545
bump:
@@ -51,3 +51,9 @@ bump:
5151

5252
freeze:
5353
bash ./scripts/ns_freeze.sh
54+
55+
sync:
56+
# unlisted packages will be removed
57+
uv pip sync ./requirements.txt
58+
# install missing intermediate dependencies
59+
uv pip install -r ./requirements.txt

README.md

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@
1111

1212
NeoSCA is a fork of [Xiaofei Lu](http://personal.psu.edu/xxl13/index.html)'s [L2 Syntactic Complexity Analyzer](http://personal.psu.edu/xxl13/downloads/l2sca.html) (L2SCA) and [Lexical Complexity Analyzer](https://sites.psu.edu/xxl13/lca/) (LCA). Starting from version 0.1.0, NeoSCA has a graphical interface and no longer requires Java installation, it has translated a portion of the Tregex code into Python and favors Stanza over Stanford Parser.
1313

14-
## Download
15-
16-
|Release|Remarks|
17-
|-|-|
18-
|[Latest Release for Windows](https://github.com/tanloong/neosca/releases/download/0.1.3/NeoSCA-0.1.3-windows.zip)|1. Extract all files<br>2. Double-click **NeoSCA/NeoSCA.exe** to run|
19-
|[Latest Release for macOS](https://github.com/tanloong/neosca/releases/download/0.1.3/NeoSCA-0.1.3-macos.zip)|1. Extract all files<br>2. Search and open **Terminal** in Launchpad, then type `xattr -rc ` (note the trailing whitespace), drag the whole **NeoSCA** directory to the **Terminal**, and press `Enter` <br>3. Double-click **NeoSCA.app** to run|
20-
|[Latest Release for Arch Linux](https://github.com/tanloong/neosca/releases/download/0.1.3/NeoSCA-0.1.3-archlinux.tar.gz)|1. Extract all files<br>2. Double-click **NeoSCA/NeoSCA** to run<br>|
21-
|[Past Releases](https://github.com/tanloong/neosca/releases)|Not recommended|
22-
|[Baidu Netdisk](https://pan.baidu.com/s/1okMY3Dw20jQJtQfS6KtlYw?pwd=nsca)|For users with unstable connections to GitHub|
23-
2414
<!-- ### Download from source -->
2515
<!---->
2616
<!-- ```sh -->
@@ -32,9 +22,28 @@ NeoSCA is a fork of [Xiaofei Lu](http://personal.psu.edu/xxl13/index.html)'s [L2
3222

3323
## Basic Usage
3424

25+
### GUI
26+
27+
Download and run the packaged application
28+
29+
|Release|Remarks|
30+
|-|-|
31+
|[Latest Release for Windows](https://github.com/tanloong/neosca/releases/download/0.1.4/NeoSCA-0.1.4-windows.zip)|1. Extract all files<br>2. Double-click **NeoSCA/NeoSCA.exe** to run|
32+
|[Latest Release for macOS](https://github.com/tanloong/neosca/releases/download/0.1.4/NeoSCA-0.1.4-macos.zip)|1. Extract all files<br>2. Search and open **Terminal** in Launchpad, then type `xattr -rc ` (note the trailing whitespace), drag the whole **NeoSCA** directory to the **Terminal**, and press `Enter` <br>3. Double-click **NeoSCA.app** to run|
33+
|[Latest Release for Arch Linux](https://github.com/tanloong/neosca/releases/download/0.1.4/NeoSCA-0.1.4-archlinux.tar.gz)|1. Extract all files<br>2. Double-click **NeoSCA/NeoSCA** to run<br>|
34+
|[Past Releases](https://github.com/tanloong/neosca/releases)|Not recommended|
35+
|[Baidu Netdisk](https://pan.baidu.com/s/1okMY3Dw20jQJtQfS6KtlYw?pwd=nsca)|For users with unstable connections to GitHub|
36+
37+
3538
### Command Line
3639

37-
You can run SCA or LCA on a file/text by
40+
Install NeoSCA from the source code
41+
42+
```
43+
pip install git+https://github.com/tanloong/neosca
44+
```
45+
46+
Run SCA or LCA by
3847

3948
```
4049
python -m neosca sca filepath.txt
@@ -43,7 +52,7 @@ python -m neosca lca filepath.txt
4352
python -m neosca lca --text 'This is a test.'
4453
```
4554

46-
For other command line options please use
55+
To see other command line options please use
4756

4857
```
4958
python -m neosca --help
@@ -63,7 +72,7 @@ BibTeX
6372

6473
```BibTeX
6574
@misc{long2024neosca,
66-
title = {NeoSCA: A Fork of L2 Syntactic Complexity Analyzer, version 0.1.3},
75+
title = {NeoSCA: A Fork of L2 Syntactic Complexity Analyzer, version 0.1.4},
6776
author = {Long Tan},
6877
howpublished = {\url{https://github.com/tanloong/neosca}},
6978
year = {2024}
@@ -78,7 +87,7 @@ year = {2024}
7887
APA (7th edition)
7988
</summary>
8089

81-
<pre>Tan, L. (2024). <i>NeoSCA</i> (version 0.1.3) [Computer software]. GitHub. https://github.com/tanloong/neosca</pre>
90+
<pre>Tan, L. (2024). <i>NeoSCA</i> (version 0.1.4) [Computer software]. GitHub. https://github.com/tanloong/neosca</pre>
8291

8392
</details>
8493

@@ -88,7 +97,7 @@ APA (7th edition)
8897
MLA (9th edition)
8998
</summary>
9099

91-
<pre>Tan, Long. <i>NeoSCA</i>. version 0.1.3, GitHub, 2024, https://github.com/tanloong/neosca.</pre>
100+
<pre>Tan, Long. <i>NeoSCA</i>. version 0.1.4, GitHub, 2024, https://github.com/tanloong/neosca.</pre>
92101

93102
</details>
94103

src/neosca/ns_about.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33
__title__ = "NeoSCA"
4-
__version__ = "0.1.3"
4+
__version__ = "0.1.4"
55
__author__ = "Tan, Long"
66
__email__ = "tanloong@foxmail.com"
77
__license__ = "GNU GPLv3"

src/neosca/ns_data/citings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"APA (7th edition)": "<p>Tan, L. (2024). <i>NeoSCA</i> (version 0.1.3) [Computer software]. GitHub. https://github.com/tanloong/neosca</p><p>Lu, X. (2010). Automatic analysis of syntactic complexity in second language writing. <i>International Journal of Corpus Linguistics, 15</i>(4), 474-496. https://doi.org/10.1075/ijcl.15.4.02lu</p><p>Lu, X. (2012). The relationship of lexical richness to the quality of ESL learners' oral narratives. <i>The Modern Language Journal, 96</i>(2), 190-208. https://doi.org/10.1111/j.1540-4781.2011.01232_1.x</p>",
3-
"MLA (9th edition)": "<p>Tan, Long. <i>NeoSCA</i>. version 0.1.3, GitHub, 2024, https://github.com/tanloong/neosca.</p><p>Lu, Xiaofei. \"Automatic Analysis of Syntactic Complexity in Second Language Writing.\" <i>International Journal of Corpus Linguistics</i>, vol. 15, no. 4, John Benjamins Publishing Company, 2010, pp. 474-96, https://doi.org/10.1075/ijcl.15.4.02lu.</p><p>Lu, Xiaofei. \"The Relationship of Lexical Richness to the Quality of ESL Learners' Oral Narratives.\" <i>The Modern Language Journal</i>, vol. 96, no. 2, Wiley-Blackwell, 2012, pp. 190-208, https://doi.org/10.1111/j.1540-4781.2011.01232_1.x.</p>",
4-
"BibTeX": "@misc{long2024neosca,\ntitle = {NeoSCA: A Fork of L2 Syntactic Complexity Analyzer, version 0.1.3},\nauthor = {Long Tan},\nhowpublished = {\\url{https://github.com/tanloong/neosca}},\nyear = {2024}\n}\n\n@article{xiaofei2010automatic,\ntitle = {Automatic analysis of syntactic complexity in second language writing},\nauthor = {Xiaofei Lu},\njournal = {International journal of corpus linguistics},\nvolume = {15},\nnumber = {4},\npages = {474--496},\nyear = {2010},\npublisher = {John Benjamins Publishing Company},\ndoi = {10.1075/ijcl.15.4.02lu},\n}\n\n@article{xiaofei2012relationship,\nauthor = {Xiaofei Lu},\ntitle = {The Relationship of Lexical Richness to the Quality of ESL Learners' Oral Narratives},\njournal = {The Modern Language Journal},\nvolume = {96},\nnumber = {2},\npages = {190-208},\ndoi = {https://doi.org/10.1111/j.1540-4781.2011.01232_1.x},\nyear = {2012}\n}"
2+
"APA (7th edition)": "<p>Tan, L. (2024). <i>NeoSCA</i> (version 0.1.4) [Computer software]. GitHub. https://github.com/tanloong/neosca</p><p>Lu, X. (2010). Automatic analysis of syntactic complexity in second language writing. <i>International Journal of Corpus Linguistics, 15</i>(4), 474-496. https://doi.org/10.1075/ijcl.15.4.02lu</p><p>Lu, X. (2012). The relationship of lexical richness to the quality of ESL learners' oral narratives. <i>The Modern Language Journal, 96</i>(2), 190-208. https://doi.org/10.1111/j.1540-4781.2011.01232_1.x</p>",
3+
"MLA (9th edition)": "<p>Tan, Long. <i>NeoSCA</i>. version 0.1.4, GitHub, 2024, https://github.com/tanloong/neosca.</p><p>Lu, Xiaofei. \"Automatic Analysis of Syntactic Complexity in Second Language Writing.\" <i>International Journal of Corpus Linguistics</i>, vol. 15, no. 4, John Benjamins Publishing Company, 2010, pp. 474-96, https://doi.org/10.1075/ijcl.15.4.02lu.</p><p>Lu, Xiaofei. \"The Relationship of Lexical Richness to the Quality of ESL Learners' Oral Narratives.\" <i>The Modern Language Journal</i>, vol. 96, no. 2, Wiley-Blackwell, 2012, pp. 190-208, https://doi.org/10.1111/j.1540-4781.2011.01232_1.x.</p>",
4+
"BibTeX": "@misc{long2024neosca,\ntitle = {NeoSCA: A Fork of L2 Syntactic Complexity Analyzer, version 0.1.4},\nauthor = {Long Tan},\nhowpublished = {\\url{https://github.com/tanloong/neosca}},\nyear = {2024}\n}\n\n@article{xiaofei2010automatic,\ntitle = {Automatic analysis of syntactic complexity in second language writing},\nauthor = {Xiaofei Lu},\njournal = {International journal of corpus linguistics},\nvolume = {15},\nnumber = {4},\npages = {474--496},\nyear = {2010},\npublisher = {John Benjamins Publishing Company},\ndoi = {10.1075/ijcl.15.4.02lu},\n}\n\n@article{xiaofei2012relationship,\nauthor = {Xiaofei Lu},\ntitle = {The Relationship of Lexical Richness to the Quality of ESL Learners' Oral Narratives},\njournal = {The Modern Language Journal},\nvolume = {96},\nnumber = {2},\npages = {190-208},\ndoi = {https://doi.org/10.1111/j.1540-4781.2011.01232_1.x},\nyear = {2012}\n}"
55
}

0 commit comments

Comments
 (0)