Metadata-Version: 2.1
Name: ais-wordnet
Version: 0.0.11
Summary: An interface for the wordnet
Home-page: https://github.com/minhdc/ais-wordnet
Author: Minh Dinh
Author-email: extreme45nm@gmail.com
License: UNKNOWN
Description: # ais-wordnet
        
        
        
        ### Get Synset of the specified word
        
        
        from ais import wordnet
        from ais import sentence
        test_data = ['phòng','đảng','chính quyền','làm chủ','ban','đảng viên']
        
        sample_wordnet = wordnet.Wordnet('wordnet10-4-2019.xlsx')
        
        
        for each in test_data:
            print(sample.get_ez_synsets_as_row(each))
        
        
        
        
        
        ### Get similar sentences
        
        from ais import sentence
        
        tag_list = ['n','v','a','e'] # tags from pos_tag() of underthesea library
        sentence = 'thế lực thù địch có những âm mưu gì'
        
        
        s = sentence.Sentence(sentence,tag_list)
        print(s.get_similar_sentences_as_list(sample))
        
        
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
