Research Article
Study of Keyword Extraction Techniques for Electric Double-Layer Capacitor Domain Using Text Similarity Indexes: An Experimental Analysis
Algorithm 1
Similarity score calculation.
| Input: Whole text String | | Input: Positive sentence String | | Input: Domain expert-curated keywords list’s string | | Output: String containing filename, algorithm and score | (1) | Def get_score(,,): | (2) | = 0 | (3) | = [“yake”, “topicrank”, “multipartiterank”, | (4) | “kpminer”, “kea”, “wingnus”] | (5) | ifinthen | (6) | = = Extract Keywords using algorithm from | (7) | = Calculate similarity of with using | (8) | = | (9) | return | (10) | end | (11) | else | (12) | return | (13) | end | (14) | Def main(): | (15) | = [jaccard, cosine, coswv] | (16) | = [“yake”, “topicrank”, “multipartiterank”, “kpminer”, “kea”, “wingnus”] | (17) | forindo | (18) | forindo | (19) | = get_score , , ) | (20) | = get_score (, , ) | (21) | = + + + | (22) | end | (23) | return | (24) | end |
|