SemanticExcel is a web application for statistical analysis of text. It turns each text into a list of numbers, called a semantic representation. You then run tests and models on these numbers from a spreadsheet. You do not need to write code.
The numbers come from one of two kinds of models. A Hugging Face model is a transformer language model, such as a sentence-transformer or BERT. An LSA model is a semantic space made with latent semantic analysis.
This manual describes what the current version of the software does. Where we are not sure how a feature behaves, we say so.
Each email address can hold one account. A new account starts with copies of the demo documents, so you have examples to look at.
Sign in with your username and password on the front page. If you forget your password, click Forgot Password? and enter your email address. SemanticExcel works best in the Chrome web browser. Other browsers show a warning the first time.
After you log in, the main page lists your documents. A document is one spreadsheet. The list has these columns:
model and the model name.EXLS downloads an Excel file and CSV downloads a CSV file.The buttons below the list are Create Document, Import Sheet and Create Space. The list shows ten documents per page.
The menu bar at the top links to Home, Publications, and a Scales menu. The Scales menu holds All Predictions, My Predictions, All Norms, My Norms, All Spaces and My Spaces. The API page is also in the menu bar.
Ordinary accounts can use a limited number of cells per document. The administrator sets this number. The spreadsheet shows the limit and a link named Apply for more cells. Use it if your data set is larger.
You can start with an empty document or import a sheet. Both forms ask you to choose a model. The model decides how texts become numbers, so choose it with care. The document keeps this model, and the forms offer no way to change it later. To use another model, make a new document. A single formula can also use another model through the parameter BERTname (see section 6).
A Hugging Face model knows its own languages, so you do not choose a language. The list holds models we recommend:
| Language | Model name on huggingface.co | Description |
|---|---|---|
| Many languages | sentence-transformers/paraphrase-multilingual-mpnet-base-v2 | Multilingual sentence model, 50+ languages. This is the default. |
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 | Multilingual sentence model, 50+ languages, small and fast | |
intfloat/multilingual-e5-base | Multilingual E5, 100 languages | |
xlm-roberta-base | XLM-RoBERTa, 100 languages | |
bert-base-multilingual-cased | Multilingual BERT, 104 languages | |
| English | sentence-transformers/all-mpnet-base-v2 | English sentence model |
answerdotai/ModernBERT-base | ModernBERT | |
roberta-base | RoBERTa | |
bert-base-uncased | BERT | |
| Swedish | KBLab/sentence-bert-swedish-cased | Swedish sentence model (KBLab) |
KBLab/bert-base-swedish-cased | Swedish BERT (KBLab) | |
| Portuguese | neuralmind/bert-base-portuguese-cased | Brazilian Portuguese BERT (BERTimbau) |
Sentence models are trained to compare the meaning of whole sentences. They are a good first choice for answers to open questions.
Search for another model. Type in the field Or search any model on huggingface.co. The field suggests models as you type. A name in this field wins over the list. The server accepts a model only if it has safetensors weights and needs no code of its own. Other models fail with an error.
First use. A model marked (on the server) starts at once. Any other model is downloaded the first time it is used. That first calculation can take several minutes. The server removes models that have not been used for a long time when it runs short of disk space. Such a model is downloaded again on the next use.
Choose LSA models, then a language, then a space. The default LSA spaces were made from Google 5-grams. The space list also shows your own spaces and public spaces in that language.
The languages are Swedish, English, Norwegian, Spanish, Dutch, Romanian, Italian, German, French, Chinese, Czech, Finnish, Hebrew, Polish, Portuguese, Russian and Persian. Two spaces built from Facebook data are also listed. English has two default spaces, English 1 and English 2.
The language of the space must match the language of your texts. Words that are not in the space are ignored.
.csv, .xlsx or .xls.The document takes the name of the file. Only the first sheet of an Excel file is read. The largest file is 1 MB for ordinary accounts and 10 MB for administrators. The form shows your limit, and a larger file gives a message. Rows and columns beyond your cell limit are cut off.
Example layout:
| A | B | C | |
|---|---|---|---|
| 1 | harmony_text | swls_total | group |
| 2 | calm, balanced, peace, content, happy | 27 | 1 |
| 3 | stressed, busy, tired, worried, alone | 12 | 2 |
| ... | ... | ... | ... |
Columns are named A, B, C and so on. Rows are numbered from 1. A cell is named by its column and row, such as A2. You type a value by selecting a cell and typing. You can paste data from another spreadsheet. You can drag a column border to make it wider.
A range is written as a start cell and a last cell, separated by a semicolon. A2;A51 means cells A2 to A51 in column A.
The cell then shows Calculating... while the server works. Large data sets, and the first use of a new model, can take several minutes. Keep the page open. When the work is done, the cell shows the result.
The dialog writes the formula for you. You can also type or edit formulas yourself. The rules are:
=, followed by the function name and arguments in brackets.;. Do not use commas or colons.A2. A $ keeps a reference fixed when the formula is copied, such as $A$2. See Copying formulas.'predictionname';'harmony'.Examples of formulas the dialog writes:
| Formula | What it does |
|---|---|
=Similarity(singletext;A2;B2) | Semantic similarity between the texts in A2 and B2. |
=Similarity(multipletext;A2;A51;B2;B51;C2;C51) | Similarity row by row between A2:A51 and B2:B51, written into C2:C51. |
=semanticTest(A2;A51;B2;B51) | Semantic t-test between the texts in A2:A51 and B2:B51. |
=keywordsTest(A2;A51;B2;B51;bonferroni) | Keyword test with Bonferroni correction. |
=train(A2;A51;B2;B51;'predictionname';'harmony') | Trains a model that predicts B2:B51 from the texts in A2:A51, and saves it as harmony. |
=Property(singletext;A2;PREDICT;harmony) | Applies the saved model harmony to the text in A2. |
=clusterSpace(A2;A51;5) | Sorts the texts in A2:A51 into 5 clusters. |
=AVG(B2;B51) | Mean of B2:B51. |
Settings from Advanced options are added at the end, as in 'parameters';'{"NleaveOuts":"10"}'.
You can copy a formula to other cells in two ways. You can copy the cell and paste it into another cell. You can also drag the small square at the lower right corner of the selected cells, which fills the cells you drag over.
The cell references in the formula then move with it. If the formula in C2 is =Similarity(singletext;A2;B2) and you copy it to C3, it becomes =Similarity(singletext;A3;B3).
A dollar sign $ keeps a reference fixed, as in Excel. Put it before the column, before the row, or before both:
| Reference | Copied one row down and one column right | What stays fixed |
|---|---|---|
A2 | B3 | Nothing |
$A2 | $A3 | The column |
A$2 | B$2 | The row |
$A$2 | $A$2 | The column and the row |
For example, write =Similarity(singletext;A2;$B$1) in C2 and drag it down to C51. Each cell then compares one text in column A with the same text in B1.
A reference that would move outside the sheet, such as above row 1, becomes #REF!. Text in double quotes, and named options such as 'predictionname';'harmony', are not changed. A formula copied from another program, such as Excel, is pasted as it is.
p, r and n, with a short explanation of each..fig file. It also shows a text that describes the method and the test results behind the figure.Error during calculating.Results are stored with the document. When you open the document again, the stored results are shown without a new calculation.
There is no save button. Every change to a cell is saved on the server at once.
.xlsx file. Formula cells hold their result. The formula itself is kept as a comment on the cell.The Functions dialog groups the functions as follows:
| Group | Function in the list | Formula |
|---|---|---|
| Measure | Semantic similarity | Similarity |
| Properties of texts | Property | |
| Predict | Property with PREDICT | |
| Analyse | Semantic t-test | semanticTest |
| Semantic dimension test | semantictestpropertymany | |
| Keyword test | keywordsTest | |
| Cluster | clusterSpace | |
| Train | train | |
| Visualise | Plot | plotWordCloud |
| Plot text properties on x, y, z (shown after you click +) | plotSpace | |
| Word clouds and categories of data, Clusters (shown after you click +) | plotWordcount | |
| Numerical functions | Sum, Average, Standard deviation, T-test, Correlation | SUM, AVG, STDEV, TTEST, corr |
Most functions have an Advanced Options link at the bottom of the dialog. It holds extra fields for some functions, a filter for selecting texts, and the parameter settings described in section 6.
Under Advanced Options, most analysis and plot functions have the field Select texts with the following criteria. Type a condition such as x>2.3. Then give the start cell and last cell of a numeric column. Only rows where the value x in that column meets the condition are used. This field is not offered for Similarity, Properties, Predict, Sum and Average.
This function computes how close two texts are in meaning. The value is the cosine of the angle between the two semantic representations. It is near 1 for texts with the same meaning and near 0 for unrelated texts. It can be negative.
Single Text compares two cells:
Multiple Text compares two columns row by row:
Compare with a norm. Choose a norm in Select norms. A norm is a stored text that stands for a concept, such as happiness. Text2 is then hidden, and each text is compared with the norm. The norm list shows your own norms and public norms in the language of the document. A short description of the norm is shown when you choose it. See section 5 for how to make norms.
Measure semantic distance by changes what is computed. The default is the semantic similarity. Other choices include:
| Choice | Meaning |
|---|---|
semanticSimilarity | Cosine similarity between the two texts. This is the default. |
mean, min, max | Mean, smallest or largest value over the words in the text. |
standarddeviation | Standard deviation of the semantic similarity of the words. |
sortword, sortwordLow2High | Lists the words sorted from high to low, or low to high. |
meanFull | Mean of the pairwise similarities between the words in the two texts. |
semanticTest | Semantic t-test on the words in the two texts. |
chi2test | Chi-square test on the words in the two texts. |
unionText, unionPercentage | The words in both texts, or the percentage of words in both texts. |
mergeTexts, subtractTexts | Joins two texts, or removes the words of the second text from the first. |
pred2percentage, pred2z | Maps a prediction to a percentage or to a z-value. |
The list holds a few more choices without a description in the code. We do not describe them here.
This function computes a property of a text, such as its number of words, or its value on a stored scale.
The categories are:
| Category | What it holds |
|---|---|
| Functions | Built-in measures of a text. See the next table. |
| Clusters | Clusters made with the Cluster function. |
| Prediction (from train) | Models made with Train. |
| LIWC | Word categories in the style of Linguistic Inquiry and Word Count. |
| Semantic dimensions | The dimensions of the semantic space. |
| Semantic scales | Stored semantic scales. |
| Wordclasses | Word classes, such as nouns and verbs. |
| Texts, Words, Stopwords, Variables | Stored texts, words in the space, stop words, and stored variables. |
| Norms | Norms made on the norms pages. |
The contents of each category depend on the space or model of your document. The list shows at most 2000 entries. The Functions category holds measures such as these:
| Property | Meaning |
|---|---|
nwords | Number of words in the text. |
nwordsfound | Number of words in the text that are also found in the space. |
frequency, logfrequency | Mean frequency of the words (parts per million), or mean log frequency. |
wordlength | Mean number of characters per word. |
sentencelength | Number of words per sentence. |
typetokenratio | Number of different words divided by the number of words. |
associates | A list of words with the most similar semantic representations. |
language | Positive values mean the text has the same language as the space. |
coherence | A sliding window of the semantic difference over the text. |
wordclass | Word class of a single word. It does not work for longer texts. |
space | The values of the text on all dimensions. |
The third choice, Properties, computes a property of a stored entry rather than of a cell. We have not tested this mode, so we do not describe it further.
Predict applies a saved model to new texts. A model is made with Train.
The list is not limited to models of your language or space. Choose a model that was trained with the same model or space as your document. Read its description to check what it predicts and how it was made.
The semantic t-test asks whether two sets of texts differ in meaning. An example is texts written by two groups, or texts written under two conditions.
The result holds these values, among others:
| Value | Meaning |
|---|---|
m1, m2, s1, s2 | Mean and standard deviation of the semantic scale in set 1 and set 2. |
n1, n2 | Number of data points in set 1 and set 2. |
t, p | The t-value and the one-tailed p-value. |
z | Mean value divided by the standard deviation of the mean. |
cohensD | Effect size, Cohen's d. |
correct | Share of texts placed on the correct side of the scale. |
semanticTestMethod | Paired for a paired test, or Word subtraction for the independent test. |
Paired tests. In a paired test, row 1 of Texts 1 belongs with row 1 of Texts 2, and so on. Both ranges must have the same length. The value semanticTestMethod in the result says Paired when the paired test was run.
This function compares two or more sets of texts on several semantic properties at once. Each set has a data range, a properties start cell and an optional labels start cell. Click Add Set to add more sets. The result is a table with one row and one column per set. By default the cells hold p-values, or r and pCorrelation when correlations are computed.
We could not confirm from the code what the properties cells must hold. Test this function on a small example before you use it in a study.
The keyword test asks which words occur more often in one set of texts than in another.
The result holds the number of words and texts in each set (N1, N2, N1text, N2text), and the similarity of the two sets' word frequencies. It then lists keywords1, the words that are significantly more frequent in set 1, and keywords2, those more frequent in set 2. Further down it shows clusters of words that differ, and a table of the most common words with their statistics.
Texts 2 may be left empty. We believe set 1 is then compared with word frequencies in the language, but we have not confirmed this.
Cluster sorts texts into groups with similar meaning, using k-means on the semantic representations.
The random start of k-means is reset before each run, so the same data give the same clusters. Fuzzy k-means and measures of cluster quality are available as parameters in the CLUSTER category.
Train builds a model that predicts a number from text. An example is predicting a rating scale score from a free-text answer. The model is tested with cross-validation and saved, so you can use it later with Predict.
The fields are:
| Field | What to enter |
|---|---|
| Train on text data in start cell/last cell | The range of texts. It can span several neighbouring columns, for example A2;C51 for three text questions. |
| Word label | One short label per text column, each confirmed with the space bar. The number of labels should match the number of text columns. |
| Train to predict numerical values in start cell/last cell | The range of numbers to predict. It must have the same number of rows as the texts. This field is required. |
| Prediction name | The name the model is saved under. Do not use the underscore _. The name must be new. |
| Public | Tick this to let all users apply your model. A public model needs a description. |
| WD Public | Marks the model as public for WordDiagnostics, a related service. Leave it unticked unless you know you need it. |
| Description | What the model predicts, the data it was trained on and the model or space it uses. |
Always give a prediction name. Without one, the model is saved under a shared default name.
Advanced Options adds these fields for Train:
How to read the result. The summary lists, among others:
| Value | Meaning |
|---|---|
modelName, space, algorithm | The name of the model, the space or model used, and the type of regression. |
n | Number of data points. |
nWordsFound, nWords | Words found in the space, and all words. |
r | Pearson correlation between the cross-validated predictions and the actual values. This is the main measure of how well the model works. |
p | One-tailed p-value for r. |
rStd | Standard error of r. |
rOutlinersRemoved, pOutlinersRemoved | The same, after predictions outside the range of the training values are truncated. |
ndim, nStddim | Mean and standard deviation of the number of dimensions used. |
c | Constant term of the regression. |
Nremoved | Number of removed or missing data points. |
AUC | Area under the ROC curve, when the values are split at their mean. |
binaryCorrect, binarySensitivity, binarySpecificity, binaryPrecision, binaryRecall | Classification measures when values above the mean count as 1 and the rest as 0. |
textPredHigh, textDataHigh | Texts sorted by predicted value, or by actual value. |
A model is useful when r is clearly above zero and p is below your alpha level. The value of r estimates how well the model works on new data from the same population.
The Plot function draws words, texts or LIWC categories on one, two or three axes. Each axis can be tied to a numeric variable. Words that are significantly related to the variable are shown.
The semantic scale of an axis decides the test behind it:
| Scale | Test |
|---|---|
semanticTest | Semantic t-test on each word. A numeric variable is split at its median into two groups. |
train | Multiple linear regression against the numeric variable, with cross-validation. |
frequency | Chi-square test on word frequency. |
frequency-correlation or property | Pearson correlation between word frequency and the numeric variable. |
Each word gets a z-value and a one-tailed p-value. By default only words with a p-value below 0.05 after Bonferroni correction are plotted. The Bonferroni limit is 0.05 divided by the number of words. The figure note in Show value says how many words were significant with and without correction. Colours, font sizes, the number of words, the correction and the axis labels are set with parameters in the PLOT category. See section 6.
Click + in the Visualise group to see this function. It places texts in a plot with two axes.
We could not confirm from the code exactly which names this field accepts. Try it on a small example first.
Click + in the Visualise group to see this function. It makes keyword figures and word clouds.
SUM(B2;B51), AVG(B2;B51) and STDEV(B2;B51) give the sum, mean and standard deviation of a numeric range. All cells must hold numbers.TTEST(B2;B26;B27;B51;both) compares two numeric ranges with a t-test. The last argument is the tail: both, left or right.corr(B2;B51;C2;C51) gives the correlation between two numeric ranges.A norm is a short text that stands for a concept. For example, a norm for harmony could be the words harmony, peace, balance, calm. Similarity to a norm then gives each text a score on that concept.
My Norms lists your norms. You can update a description, set public access, and remove a norm. To make a norm:
All Norms lists public norms, with the name and email of the person who made each one. Do not give an email address you do not want others to see.
Norms are made in an LSA space of the chosen language. We are not sure how a norm is computed when it is used in a Hugging Face document. Check the results before you rely on them.
My Predictions lists the models you made with Train. For each model you can update the description, set Public Access and Public on WordDiagnostics, and remove the model. All Predictions lists the public models of all users.
You can make your own LSA space from a text corpus.
.txt) with the corpus. The file name must be new on the server.The space is built on the server, which takes time. The main page shows Recently created space status, where Space Created changes to Yes when it is ready. My Spaces lists your spaces and All Spaces lists public spaces. A ready space appears in the space list when you create a document with LSA models.
The settings for building a space are in the CREATESPACE category of the parameters. They include a context size of 15 words, at most 120,000 words, and 10,000 columns in the co-occurrence matrix. We have not checked whether the web form uses settings other than these defaults.
A parameter changes only the formula it is added to. For an option with two states, 1 means on and 0 means off.
| Category | Parameter | What it does | Values |
|---|---|---|---|
| BERT | BERTname | The Hugging Face model, written exactly as on huggingface.co. It overrides BERT. A Hugging Face document sets this for you. | A model name, such as sentence-transformers/all-mpnet-base-v2 |
BERT | Uses a model instead of LSA. | LSA, bert-base-multilingual-cased, bert-base-uncased, roberta-base, xlm-roberta-base | |
| CONTEXT GENERATIONS | normalizeSpace | Normalises each text vector to length 1. | 1 (default), 0 |
xmeanCorrection | Corrects for frequency artefacts when a text vector is made. | 0, 1 | |
forceMaxDim | Largest number of dimensions used. 0 means all. | A whole number | |
trainReplaceMissingDataWithMean | Replaces missing numeric values with the mean of the variable. | 0 (default), 1 | |
| GETPROPERTY | getPropertyShow | What a similarity or property returns. The same as Measure semantic distance by. | See Semantic similarity |
correlationType | Type of correlation. | Pearson (default), Kendall, Spearman | |
mapPredictions2Labels | Maps predictions to the labels Normal, Mild, Moderate and Severe. | 0 (default), 1 | |
| SEMANTIC TEST | paired_semantic_difference | Runs a paired semantic t-test. | 0, 1 |
match_paired_test_on_subject_property | Matches the pairs on a stored subject property instead of row order. | 0, 1 | |
semanticTestMatchProperty | The property to match pairs on. | A property name | |
| KEYWORDS | keywordCorrectionType | Correction for multiple comparisons in the keyword test. | 0 Bonferroni (default), 1 Holm, 2 none |
keywordsPointBiSerialCorrelation | Uses point-biserial correlation. | 0 (default), 1 | |
| CLUSTER | clusterFuzzyKMeans | Uses fuzzy k-means. | 0 (default), 1 |
clusterQuality | Computes the Davies-Bouldin and Dunn indices for 1 to N clusters. This is slow. | 0 (default), 1 | |
clusterNRepetions | Repeats k-means N times and keeps the best result by Dunn's index. | A whole number, default 1 | |
| TRAIN | NleaveOuts | Number of groups in the cross-validation. | A whole number, such as 10 |
model | Type of regression. | regression (default), logistic, ridge, lasso | |
selectBestDimensions | Orders dimensions by how well they correlate with the outcome. | noSelection (default), stepwise, simple, after | |
trainRemoveOutLiners | Removes outliers in the training data and the predictions. | 0 (default), 1 | |
zTransformGroup | Z-transforms the values within each group. | 0 (default), 1 | |
trainOutPutCrossValidatedData | Prints the cross-validated predictions in the result. | 0 (default), 1 | |
trainMengz | Tests with Meng's test whether the prediction correlates more with the outcome than another variable does. | A variable name | |
trainBinaryOptimizeMethod | How the threshold is chosen for the binary measures. | recall&precision (default), recall, FA, Hits | |
randomizeTraining | Shuffles the training data. The result should then not be significant. Use it as a check. | 0 (default), 1 | |
| PLOT | plotBonferroni | Correction for multiple comparisons in word plots. | 1 Bonferroni (default), 2 Holm, 0 none |
keywordsPlotPvalue | Plots words with p-values below this limit. | A number between 0 and 1, such as 0.05 | |
plotWordcountMaxNumber | Largest number of words in a word cloud. | A whole number | |
plotAxis | What the axes show. | default, z, q, f, 1-p, predicted | |
plotSignificantColors | Colour scheme. | 1 red, 2 by p-value (default), 3 grouped, 4 random, 5 one random colour, 6 colour map, 7 z-values, 8 cluster | |
plotColorMap | Colour map used by scheme 6. | hot (default), parula, jet, hsv, cool, spring, summer, autumn, winter, gray | |
plotRemoveWords | Words to leave out of the plot. | Words separated by spaces | |
plotReplaceWords | Replaces words in the plot. | Pairs separated by commas, such as U.S. USA, you YOU | |
plotRemoveHFWords | Removes high-frequency words. | 0 keeps all, try 0.001 | |
plotTitle, plotXlabel, plotYlabel, plotZlabel | Title and axis labels. | Text | |
fontsizeLimits | Smallest and largest font size. | Two numbers | |
plotNominal | Treats the data as categories or as continuous. | non-nominal (default), nominal | |
| TRANSLATE | translate | Translates the words in plots into English. | 0 (default), 1 |
translateTolanguage | Language to translate into. | A language code, such as en | |
| ASSOCIATES | number_of_ass2 | Number of semantic associates to print. | A whole number |
The dialog lists many more parameters. Most of them are for special analyses. Change them only if you know what they do. Some parameters are blocked on the web server for safety.
Similarity is the cosine of the angle between two text vectors.
Independent sets. The vectors of each set are summed. The sum of one set is subtracted from the sum of the other. This gives a difference vector, which is a semantic scale between the two sets. Each text is then given a score, its similarity to the difference vector. To avoid bias, the difference vector is made with 10% of the texts left out, and the left-out texts are scored. This is repeated until all texts have a score. The scores of the two sets are compared with a one-tailed t-test.
Paired sets. For each pair, the vector of the second text is subtracted from the vector of the first. Each pair's difference is compared with the mean difference of all other pairs. The resulting scores are tested against zero with a one-tailed one-sample t-test.
Train uses multiple linear regression. The predictors are the first d dimensions of the text vectors. The number d is chosen by leave-one-out cross-validation. The performance of the model is then measured with leave-10%-out cross-validation. The cross-validated predictions are correlated with the actual values. The p-value of this correlation is one-tailed, because only a positive correlation shows that the model works.
Each word gets a z-value. The z-value is turned into a one-tailed p-value. With Bonferroni correction, a word is significant when its p-value is below 0.05 divided by the number of words.
Give enough detail for another person to repeat the analysis. State:
sentence-transformers/paraphrase-multilingual-mpnet-base-v2. For LSA, give the language and the space name shown next to the document name.r between predicted and actual values, and the one-tailed p-value.An example: "We trained a model in SemanticExcel to predict SWLS scores from the harmony texts, using the Hugging Face model sentence-transformers/paraphrase-multilingual-mpnet-base-v2 and multiple linear regression with 10-fold cross-validation. The predicted and actual scores correlated r = .45, p < .001 (one-tailed), N = 300." The numbers in this example are made up.
The figure note under Show value describes the method behind a word plot in words. You can use it as a starting point for the method section.
The API lets a program send texts to SemanticExcel and get properties back. It is meant for users who can program. The API page in the menu bar describes it. You need an API key pair. Use the contact form to ask for one.
Each request must carry two HTTP headers, public and hash, with your public key and your key value. Results come back in JSON.
Stores texts on the server under names you choose. The parameters are:
documentSpace: a name for your store, such as myTest.language: a language code, such as en or sv.data[]: the texts, one per entry.identifier[]: a name for each text, such as _text1.datalabel[]: optional numbers for each text, such as _number1.A reply looks like {"status":"ok","data":"{\"refkey\":\"...\",\"answer\":\"saved successfully\"}"}.
Computes a property of stored texts or of texts you send. The parameters are:
language: a language code.property: the property, such as frequency or the name of a prediction. Do not add _ in front.identifierOrText[]: names of stored texts with a leading _, together with documentSpace. Or the texts themselves.parameterType[] and parameterValue[]: optional parameters from section 6, in matching pairs.refkey: a reference key for the request. The server requires it, although the API page does not list it.A reply looks like {"status":"ok","data":{"refkey":"...","answer":" 0.17998 "}}.
| Problem | What to do |
|---|---|
| The cell shows Calculating... for a long time. | Large data sets take time. The first use of a Hugging Face model also includes a download, which can take several minutes. Keep the page open. |
The cell shows Error during calculating. | Check that the ranges are correct and in one column, that ranges that belong together have the same length, and that numeric ranges hold only numbers. Check that the model name is correct. Then try a small part of the data. |
| The result is empty or very low for some texts. | With LSA, words that are not in the space are ignored. A text in another language than the space, or a text with only rare words, gets an empty or weak vector. Use the property nwordsfound to count the words found. Empty cells give empty results. |
| A Hugging Face model fails. | The model must exist on huggingface.co under exactly that name. It must have safetensors weights and must not need its own code. Try a model from the recommended list. |
| Long texts. | A Hugging Face model reads only up to its maximum length, often 512 tokens. The rest of a longer text is cut off without a warning. Split long texts into parts if the end matters. |
| The import gives no document. | Ordinary accounts can import files up to 1 MB. Use .csv, .xlsx or .xls. Only the first sheet is read. |
| Part of the data is missing after import. | Your cell limit cuts off rows and columns. Use Apply for more cells. |
| The dialog does not open. | Select a cell before you open Functions. |
Use the contact form on the login page. Click Send a message under Contact us. Choose a topic: Report an error, Interested in developing the software, Add a related publication, Sign up for a workshop, or Other. Then give your name, your email address and your message. When you report an error, say which document, which function and what the cell showed.
These publications describe the methods behind SemanticExcel and show how to use them:
The Publications page in the menu bar lists more studies that used SemanticExcel.
The Library is an open collection of semantic measures: norms and trained models that others can find, use, cite and share. Anyone can browse it without logging in.
Publishing makes the measure and its datasheet public. Do not write personal data about participants in it. For a trained model, the training results stored with the model are added to the datasheet.
A published version never changes. When you edit the datasheet, a new version is added, and the old one stays, so a citation of it still works. Each measure page shows a citation with the version number. Cite the version you used, and the DOI when the measure has one.
If you withdraw a measure, it is no longer listed, but its page stays so that citations still work.