tomofi commited on
Commit
af57430
1 Parent(s): 82bab6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,7 +29,7 @@ def make_row(word):
29
 
30
  data = []
31
 
32
- tagger = MeCab.Tagger('-r /etc/mecabrc -Ochasen -d /home/user/app/mecab-ipadic-neologd')
33
  node = tagger.parseToNode(text)
34
  while node:
35
  if node.feature.startswith('BOS/EOS'):
@@ -46,7 +46,7 @@ st.table(data)
46
 
47
  data = []
48
 
49
- tagger = MeCab.Tagger('-r /etc/mecabrc -Ochasen -d /home/user/app/mecab-unidic-neologd')
50
  node = tagger.parseToNode(text)
51
  while node:
52
  if node.feature.startswith('BOS/EOS'):
@@ -63,7 +63,7 @@ st.table(data)
63
 
64
  data = []
65
 
66
- tagger = MeCab.Tagger('-r /etc/mecabrc -Ochasen')
67
  node = tagger.parseToNode(text)
68
  while node:
69
  if node.feature.startswith('BOS/EOS'):
 
29
 
30
  data = []
31
 
32
+ tagger = MeCab.Tagger('-r /etc/mecabrc -d /home/user/app/mecab-ipadic-neologd')
33
  node = tagger.parseToNode(text)
34
  while node:
35
  if node.feature.startswith('BOS/EOS'):
 
46
 
47
  data = []
48
 
49
+ tagger = MeCab.Tagger('-r /etc/mecabrc -d /home/user/app/mecab-unidic-neologd')
50
  node = tagger.parseToNode(text)
51
  while node:
52
  if node.feature.startswith('BOS/EOS'):
 
63
 
64
  data = []
65
 
66
+ tagger = MeCab.Tagger('-r /etc/mecabrc')
67
  node = tagger.parseToNode(text)
68
  while node:
69
  if node.feature.startswith('BOS/EOS'):