OSCR

SRM-CSR: unsupervised aspect category detection based on semantic-aware relevance modeling and contextual sentence representation.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match
  1. [1] § Experiments › Implementation details ↔ code/preprocess.py, lines 6–12 · score 0.75 · CountVectorizer, WordNetLemmatizer, lemmatized, stopword, tokenizing, English

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 51 lines · 1.8 KB · Apache-2.0 · 1 match

  1. from sklearn.feature_extraction.text import CountVectorizer
  2. from nltk.corpus import stopwords
  3. from nltk.stem.wordnet import WordNetLemmatizer
  4. import codecs
  5. def parseSentence(line):
  6. lmtzr = WordNetLemmatizer()
  7. stop = stopwords.words('english')
  8. text_token = CountVectorizer().build_tokenizer()(line.lower())
  9. text_rmstop = [i for i in text_token if i not in stop]
  10. text_stem = [lmtzr.lemmatize(w) for w in text_rmstop]
  11. return text_stem
  12. def preprocess_train(domain):
  13. f = codecs.open('../datasets/'+domain+'/train.txt', 'r', 'utf-8')
  14. out = codecs.open('../preprocessed_data/'+domain+'/train.txt', 'w', 'utf-8')
  15. for line in f:
  16. tokens = parseSentence(line)
  17. if len(tokens) > 0:
  18. out.write(' '.join(tokens)+'\n')
  19. def preprocess_test(domain):
  20. # For restaurant domain, only keep sentences with single
  21. # aspect label that in {Food, Staff, Ambience}
  22. f1 = codecs.open('../datasets/'+domain+'/test.txt', 'r', 'utf-8')
  23. f2 = codecs.open('../datasets/'+domain+'/test_label.txt', 'r', 'utf-8')
  24. out1 = codecs.open('../preprocessed_data/'+domain+'/test.txt', 'w', 'utf-8')
  25. out2 = codecs.open('../preprocessed_data/'+domain+'/test_label.txt', 'w', 'utf-8')
  26. for text, label in zip(f1, f2):
  27. label = label.strip()
  28. if domain == 'restaurant' and label not in ['Food', 'Staff', 'Ambience']:
  29. continue
  30. tokens = parseSentence(text)
  31. if len(tokens) > 0:
  32. out1.write(' '.join(tokens) + '\n')
  33. out2.write(label+'\n')
  34. def preprocess(domain):
  35. print '\t'+domain+' train set ...'
  36. preprocess_train(domain)
  37. print '\t'+domain+' test set ...'
  38. preprocess_test(domain)
  39. print 'Preprocessing raw review sentences ...'
  40. preprocess('restaurant')
  41. preprocess('beer')

preprocess.py at commit 1b17f1f, under Apache-2.0 · at the source

Overview

Authors: Yao Xu1,2, Xian Mu1,3, Ketong Liu1, Dagang Li1,4
  1. School of Computer Science and Engineering, Macau University of Science and Technology, Macau, 999078 China
  2. School of Economics, Fuyang Normal University, Fuyang, 236041 China
  3. College of Computer Information and Engineering, Nanchang Institute of Technology, Nanchang, 330044 China
  4. Zhuhai M.U.S.T. Science and Technology Research Institute, Zhuhai, 519000 China
Journal: Scientific reports, volume 16, issue 1, article 24980
Dates: received 25 January 2026; accepted 23 May 2026; published online 1 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41598-026-55299-x · PMID 42225841 · PMCID PMC13462333 · OpenAlex W7163022393
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: methods / tools (subfield)
Methods: Machine learning
Keywords: Aspect category detection, Aspect-relevant terms, Contextual sentence representation, Pseudo-labeling, Engineering, Mathematics and computing
Topic: Topic Modeling (Artificial Intelligence, Computer Science), according to OpenAlex
Funding: Fund for the Development of Science and Technology (FDCT) of Macau (0095/2023/RIA2)
Citations: not cited yet (Europe PMC); 57 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

ruidan/unsupervised-aspect-extraction

License: Apache-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 1b17f1f65d7d562fc25b9538ee0238ec9da32df7, 9 December 2019
Languages: Python (10), Shell (1)
Size: 16 files, 11 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: Keras (5 files), NumPy (4 files), scikit-learn (3 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
13 files

teapot123/JASen

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: c9dc8720ce3edbe16e5dd67f1be3c63b54b30580, 22 October 2020
Languages: Python (2), C (2), Shell (1)
Size: 16 files, 5 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: PyTorch (2 files), NumPy (1 file), scikit-learn (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
6 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 16 scripts, each with its path and the digest of its content;
  • 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41598-026-55299-x.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 6 keywords, 1 funder, 10 references.

Cite

This paper

Xu, Y., Mu, X., Liu, K., & Li, D. (2026). SRM-CSR: unsupervised aspect category detection based on semantic-aware relevance modeling and contextual sentence representation. Scientific reports, 16(1), 24980. https://doi.org/10.1038/s41598-026-55299-x

BibTeX

@article{xu2026srm,
author = {Xu, Yao and Mu, Xian and Liu, Ketong and Li, Dagang},
title = {{SRM-CSR: unsupervised aspect category detection based on semantic-aware relevance modeling and contextual sentence representation}},
journal = {Scientific reports},
year = {2026},
month = jun,
volume = {16},
number = {1},
pages = {24980},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-55299-x},
url = {https://doi.org/10.1038/s41598-026-55299-x},
pmid = {42225841},
pmcid = {PMC13462333}
}

RIS

TY - JOUR
AU - Xu, Yao
AU - Mu, Xian
AU - Liu, Ketong
AU - Li, Dagang
TI - SRM-CSR: unsupervised aspect category detection based on semantic-aware relevance modeling and contextual sentence representation
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/06/01
VL - 16
IS - 1
SP - 24980
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-55299-x
UR - https://doi.org/10.1038/s41598-026-55299-x
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-55299-x",
"type": "article-journal",
"title": "SRM-CSR: unsupervised aspect category detection based on semantic-aware relevance modeling and contextual sentence representation",
"container-title": "Scientific reports",
"author": [
{
"family": "Xu",
"given": "Yao"
},
{
"family": "Mu",
"given": "Xian"
},
{
"family": "Liu",
"given": "Ketong"
},
{
"family": "Li",
"given": "Dagang"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "24980",
"DOI": "10.1038/s41598-026-55299-x",
"PMID": "42225841",
"PMCID": "PMC13462333",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-55299-x",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1126/sciadv.aed3650 [code]
Truthful visualizations for mass spectrometry imaging enable high-spatial-resolution interactive <i>m/z</i> mapping and exploration.
Journal: Science advances
In common: Keras, PyTorch, scikit-learn, 1 other tool, methods / tools
[2] doi:10.1371/journal.pone.0347867 [code]
LiteFeatNet: A parameter-efficient and performance-centric deep learning model for multi-ocular disease identification using intermediate feature reduction from fundus images.
Journal: PloS one
In common: Keras, PyTorch, scikit-learn, 1 other tool, methods / tools
[3] doi:10.1002/nbm.70263 [code]
Cross-Site Generalization of CNN-Based $$ {B}_1^{+} $$ Mapping in UHF MRI.
Journal: NMR in biomedicine
In common: Keras, PyTorch, scikit-learn, 1 other tool, methods / tools
[4] doi:10.1038/s41592-026-03057-2 [code]
CREsted: modeling genomic and synthetic cell-type-specific enhancers across tissues and species.
Journal: Nature methods
In common: Keras, PyTorch, scikit-learn, 1 other tool, methods / tools
[5] doi:10.1038/s41597-025-05174-7 [code]
A large-scale MEG and EEG dataset for object recognition in naturalistic scenes
Journal: n/a
In common: Keras, PyTorch, scikit-learn, 1 other tool, methods / tools
[6] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: Keras, PyTorch, scikit-learn, 1 other tool
[7] doi:10.1126/sciadv.aee6952 [code]
Wafer-scale SOT-MRAM for analog crossbar array applications.
Journal: Science advances
In common: Keras, PyTorch, scikit-learn, 1 other tool
[8] doi:10.1371/journal.pcbi.1014615 [code]
Toward reliable machine learning models for neural circuit inference: A diagnostic study of CNNs on spike trains.
Journal: PLoS computational biology
In common: Keras, PyTorch, scikit-learn, 1 other tool
[9] doi:10.1002/pro.70695 [code]
MIF-MAPMS: Enhancing identification of myelin autoantigenic peptides in multiple sclerosis through multimodal information fusion.
Journal: Protein science : a publication of the Protein Society
In common: Keras, PyTorch, scikit-learn, 1 other tool
[10] doi:10.1371/journal.pcbi.1014571 [code]
SynAPSeg: A novel dataset and image analysis framework for deep learning-based synapse detection and quantification.
Journal: PLoS computational biology
In common: Keras, PyTorch, scikit-learn, 1 other tool

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.