예제 #1
0
파일: tests.py 프로젝트: dracone/nlp-tools
 def test_is_mention_https(self):
     ism = SocialLM.is_mention_line('https://www.yahoo.com')
     self.assertEqual(ism,True)
예제 #2
0
파일: tests.py 프로젝트: dracone/nlp-tools
 def test_is_not_mention(self):
     ism = SocialLM.is_mention_line('This is https://www.yahoo.com')
     self.assertEqual(ism,False)
예제 #3
0
파일: tests.py 프로젝트: dracone/nlp-tools
 def test_is_mention_at(self):
     ism = SocialLM.is_mention_line('@gr33ndata')
     self.assertEqual(ism,True)