cooperchris17 commited on
Commit
c91b480
·
verified ·
1 Parent(s): 95238bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -9,4 +9,17 @@ license: cc-by-sa-4.0
9
  short_description: Calculates the complexity measure described in Nelson (2024)
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  short_description: Calculates the complexity measure described in Nelson (2024)
10
  ---
11
 
12
+ # ConstructionComplexityCalculator
13
+
14
+ Access the tool online here:
15
+
16
+ This tool calculates the complexity measure described in Nelson (2024). If you use this tool in your research, please cite Nelson's (2024) paper.
17
+
18
+ The complexity score for one text can be calculated by pasting a text into the textbox and multiple texts can be analysed by clicking "upload" and selecting the desired number of texts. In both cases, the "Process Input" button must be clicked.
19
+
20
+ Full details about the measure are available in an Open Acess paper:
21
+ Nelson, R. (2024). Using constructions to measure developmental language complexity. Cognitive Linguistics. https://doi.org/10.1515/cog-2023-0062
22
+
23
+ The tool uses Stanza to split texts into sentences and tag the texts with treebank-specific (XPOS) tags. After the texts have been tagged, tokens with the universal POS (UPOS) tag of "PUNCT", meaning all punctuation, are excluded from the analysis. The entropy used in the sentence diversity and sentence productivity calculation (see Nelson (2024) for more details) is calculated using the entropy() function in SciPy.
24
+
25
+ The tool outputs the mean complexity score for each text, along with the mean diversity and mean productivity scores. It is expected that most researchers will only use the complexity score.