Skip to content

Commit 4648dd5

Browse files
committed
chore: bump to 0.1.1
1 parent 6730a77 commit 4648dd5

6 files changed

Lines changed: 44 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
<div align="center"><h1>Changelog</h1></div>
22

3+
## [0.1.1](https://github.com/tanloong/neosca/releases/tag/0.1.1) (17 March 2024)
4+
5+
### Improvements
6+
7+
+ Able to query long sentences
8+
9+
Now query constituency trees non-recursively to prevent reaching the maximum recursion depth limit (default 1000 in Python). If any, trees for sentences that have hundreds of words can be queried normally.
10+
11+
+ Support macOS 10
12+
13+
Migrate from PySide6 to PyQt5 for earlier macOS version support. The testing macOS 10 complains that "Qt requires macOS 11.0.0 or later" when importing PySide6/PyQt6. Fallback to Qt5.
14+
315
## [0.1.0](https://github.com/tanloong/neosca/releases/tag/0.1.0) (13 March 2024)
416

517
### Breaking Changes
@@ -30,7 +42,7 @@
3042

3143
+ Fix including Windows temporary files (`~$\*`) as input files
3244

33-
### License
45+
### License change
3446

3547
Change the license from GPLv2-or-later to GPLv3. According to the [license compatibility matrix](https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility), the combination of code under GPLv2-or-later, which is the current license, and code under LGPLv3, which is the license of the recently added dependency PySide6, should be licensed under GPLv3.
3648

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
.PHONY: build clean install lint run test
1+
.PHONY: build package clean install lint run test
22

3-
build:
3+
build: clean ACKNOWLEDGMENTS.md
44
python -m build
5+
6+
package: clean ACKNOWLEDGMENTS.md
57
pyinstaller ./utils/ns_packaging.spec --noconfirm --clean
68

79
clean:
@@ -13,6 +15,8 @@ clean:
1315
rm -rf build/
1416
rm -rf dist/
1517
rm -rf src/neosca.egg-info
18+
# delete macos metadata
19+
rm -rf src/neosca/ns_data/.*
1620

1721
install:
1822
# avoid rm

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,22 @@ Starting from version 0.1.0, NeoSCA no longer requires Java installation. It has
1515

1616
## Download
1717

18-
### Download binary builds
19-
20-
[Github Releases](https://github.com/tanloong/neosca/releases/tag/0.1.0)
18+
|Release|Remarks|
19+
|-|-|
20+
|[Latest Release for Windows]()|1. Extract all files<br>2. Double-click **NeoSCA/NeoSCA.exe** to run|
21+
|[Latest Release for macOS]()|1. Extract all files<br>2. Double-click **NeoSCA.app** to run|
22+
|[Latest Release for Linux]()|1. Extract all files<br>2. Double-click **NeoSCA/NeoSCA** to run<br>|
23+
|[Past Releases](https://github.com/tanloong/neosca/releases)|Not recommended|
24+
|[Baidu Netdisk](https://pan.baidu.com/s/1--ZzABrDQBZlZagWlVQMbg?pwd=wdls#list/path=%2FWordless%2FWordless%203.4.0)|For users with unstable connections to Github|
25+
26+
<!-- ### Download from source -->
27+
<!---->
28+
<!-- ```sh -->
29+
<!-- git clone https://github.com/tanloong/neosca -->
30+
<!-- cd neosca -->
31+
<!-- pip3 install . -->
32+
<!-- python -m neosca gui -->
33+
<!-- ``` -->
2134

2235
## Citing
2336

@@ -31,7 +44,7 @@ BibTeX
3144

3245
```BibTeX
3346
@misc{long2024neosca,
34-
title = {NeoSCA: A Fork of L2 Syntactic Complexity Analyzer, version 0.1.0},
47+
title = {NeoSCA: A Fork of L2 Syntactic Complexity Analyzer, version 0.1.1},
3548
author = {Long Tan},
3649
howpublished = {\url{https://github.com/tanloong/neosca}},
3750
year = {2024}
@@ -46,7 +59,7 @@ year = {2024}
4659
APA (7th edition)
4760
</summary>
4861

49-
<pre>Tan, L. (2024). <i>NeoSCA</i> (version 0.1.0) [Computer software]. Github. https://github.com/tanloong/neosca</pre>
62+
<pre>Tan, L. (2024). <i>NeoSCA</i> (version 0.1.1) [Computer software]. Github. https://github.com/tanloong/neosca</pre>
5063

5164
</details>
5265

@@ -56,7 +69,7 @@ APA (7th edition)
5669
MLA (9th edition)
5770
</summary>
5871

59-
<pre>Tan, Long. <i>NeoSCA</i>. version 0.1.0, GitHub, 2024, https://github.com/tanloong/neosca.</pre>
72+
<pre>Tan, Long. <i>NeoSCA</i>. version 0.1.1, GitHub, 2024, https://github.com/tanloong/neosca.</pre>
6073

6174
</details>
6275

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.0"
4+
__version__ = "0.1.1"
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.0) [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.0, 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.0},\nauthor = {Long Tan},\nhowpublished = {\\url{https://github.com/tanloong/neosca-gui}},\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.1) [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.1, 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.1},\nauthor = {Long Tan},\nhowpublished = {\\url{https://github.com/tanloong/neosca-gui}},\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
}

src/neosca/ns_widgets/ns_widgets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def __init__(self, parent=None):
126126

127127
class Ns_MessageBox_Question(QMessageBox):
128128
"""Use Ns_MessageBox_Question.exec() == QMessageBox.StandardButton.Yes"""
129+
129130
def __init__(
130131
self,
131132
parent=None,
@@ -142,6 +143,7 @@ def __init__(
142143
if checkbox is not None:
143144
self.setCheckBox(checkbox)
144145

146+
145147
class Ns_TextEdit_ReadOnly(QTextEdit):
146148
def __init__(self, *, text: str = "", parent=None):
147149
super().__init__(text, parent)

0 commit comments

Comments
 (0)