tomofi commited on
Commit
13a4831
1 Parent(s): aea61de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -16,6 +16,9 @@ Input the text you'd like to analyze. See the [NEologd][] docs for more details.
16
  [NEologd]: https://github.com/neologd
17
  """
18
 
 
 
 
19
 
20
  text = st.text_area("input", "麩菓子は、麩を主材料とした日本の菓子。")
21
 
@@ -75,7 +78,3 @@ while node:
75
  node = node.next
76
 
77
  st.table(data)
78
-
79
- if st.button('Update NEologd', help='It may take some time'):
80
- os.system('cd mecab-ipadic-neologd && ./bin/install-mecab-ipadic-neologd -n -y -u -p $PWD')
81
- os.system('cd mecab-unidic-neologd && ./bin/install-mecab-unidic-neologd -n -y -u -p $PWD')
 
16
  [NEologd]: https://github.com/neologd
17
  """
18
 
19
+ if st.button('Update NEologd', help='It may take some time'):
20
+ os.system('cd mecab-ipadic-neologd && ./bin/install-mecab-ipadic-neologd -n -y -u -p $PWD')
21
+ os.system('cd mecab-unidic-neologd && ./bin/install-mecab-unidic-neologd -n -y -u -p $PWD')
22
 
23
  text = st.text_area("input", "麩菓子は、麩を主材料とした日本の菓子。")
24
 
 
78
  node = node.next
79
 
80
  st.table(data)