BioSSES computes similarity of biomedical sentences by utilizing WordNet as the general domain ontology and UMLS as the biomedical domain specific ontology.
We allow you to compute sentence similarity with the following methods:
Requirements for running BIOSSES locally on your computer: Java 7 (JRE 1.7) or higher Perl (For Windows: "C:\Strawberry\perl\bin\perl.exe")
DOWNLOAD RESOURCES: Before starting to use the system you have to download necessary resources:
To use from command-line:
The following are usage examples of different methods provided by BIOSSES for measuring semantic similarity between sentences.
CombinedOntologyMethod semanticSimilarity = new CombinedOntologyMethod();
similarityScore = semanticSimilarity.getSimilarityForWordnet(sentence1, sentence2);
similarityScore = semanticSimilarity.getSimilarityForUMLS(sentence1, sentence2);
similarityScore = semanticSimilarity.getSimilarity(sentence1, sentence2);
StringMetric metric = StringMetrics.qGramsDistance();
similarityScore = metric.compare(sentence1, sentence2);
SentenceVectorsBasedSimilarity sentenceVectorsBasedSimilarity = new SentenceVectorsBasedSimilarity();
similarityScore = sentenceVectorsBasedSimilarity.getSimilarity(preprocessedS1, preprocessedS2);
LinearRegressionMethod linearRegressionMethod = new LinearRegressionMethod();
similarityScore = linearRegressionMethod.getSimilarity(sentence1, sentence2);
sentence1 and sentence2 are the parameters to be compared. CombinedOntologyMethod has one more constructor which takes a List parameter. You can call this if you want to use your own stop words list in this type.
If you use this system, please cite the following paper: Soğancıoğlu, Gizem, Hakime Öztürk, and Arzucan Özgür. "BIOSSES: a semantic sentence similarity estimation system for the biomedical domain." Bioinformatics 33.14 (2017): i49-i58.
For more information and any problems please contact: gizemsogancioglu@gmail.com
14 commits
Java
86.2%
HTML
10.7%
JavaScript
1.4%
BioSSES computes similarity of biomedical sentences by utilizing WordNet as the general domain ontology and UMLS as the biomedical domain specific ontology.
We allow you to compute sentence similarity with the following methods:
Requirements for running BIOSSES locally on your computer: Java 7 (JRE 1.7) or higher Perl (For Windows: "C:\Strawberry\perl\bin\perl.exe")
DOWNLOAD RESOURCES: Before starting to use the system you have to download necessary resources:
To use from command-line:
The following are usage examples of different methods provided by BIOSSES for measuring semantic similarity between sentences.
CombinedOntologyMethod semanticSimilarity = new CombinedOntologyMethod();
similarityScore = semanticSimilarity.getSimilarityForWordnet(sentence1, sentence2);
similarityScore = semanticSimilarity.getSimilarityForUMLS(sentence1, sentence2);
similarityScore = semanticSimilarity.getSimilarity(sentence1, sentence2);
StringMetric metric = StringMetrics.qGramsDistance();
similarityScore = metric.compare(sentence1, sentence2);
SentenceVectorsBasedSimilarity sentenceVectorsBasedSimilarity = new SentenceVectorsBasedSimilarity();
similarityScore = sentenceVectorsBasedSimilarity.getSimilarity(preprocessedS1, preprocessedS2);
LinearRegressionMethod linearRegressionMethod = new LinearRegressionMethod();
similarityScore = linearRegressionMethod.getSimilarity(sentence1, sentence2);
sentence1 and sentence2 are the parameters to be compared. CombinedOntologyMethod has one more constructor which takes a List parameter. You can call this if you want to use your own stop words list in this type.
If you use this system, please cite the following paper: Soğancıoğlu, Gizem, Hakime Öztürk, and Arzucan Özgür. "BIOSSES: a semantic sentence similarity estimation system for the biomedical domain." Bioinformatics 33.14 (2017): i49-i58.
For more information and any problems please contact: gizemsogancioglu@gmail.com
14 commits
Java
86.2%
HTML
10.7%
JavaScript
1.4%