"""Dasem app."""


from __future__ import absolute_import, division, print_function

from flask import Flask
from flask_bootstrap import Bootstrap

from ..dannet import Dannet
from ..semantic import Semantic


app = Flask(__name__)
Bootstrap(app)

app.dasem_dannet = Dannet()
app.dasem_semantic = Semantic()

from . import views

"""Dasem app."""


from __future__ import absolute_import, division, print_function

from flask import Flask
from flask_bootstrap import Bootstrap

from ..dannet import Dannet
from ..wikipedia import ExplicitSemanticAnalysis


app = Flask(__name__)
Bootstrap(app)

app.dasem_dannet = Dannet()
app.dasem_wikipedia_esa = ExplicitSemanticAnalysis(display=True)

from . import views

Change to use ESA class in other module
Change to use ESA class in other module

  """Dasem app."""
  
  
  from __future__ import absolute_import, division, print_function
  
  from flask import Flask
  from flask_bootstrap import Bootstrap
  
  from ..dannet import Dannet
- from ..semantic import Semantic
+ from ..wikipedia import ExplicitSemanticAnalysis
  
  
  app = Flask(__name__)
  Bootstrap(app)
  
  app.dasem_dannet = Dannet()
- app.dasem_semantic = Semantic()
+ app.dasem_wikipedia_esa = ExplicitSemanticAnalysis(display=True)
  
  from . import views
  
Change to use ESA class in other module
## Code Before:
"""Dasem app."""


from __future__ import absolute_import, division, print_function

from flask import Flask
from flask_bootstrap import Bootstrap

from ..dannet import Dannet
from ..semantic import Semantic


app = Flask(__name__)
Bootstrap(app)

app.dasem_dannet = Dannet()
app.dasem_semantic = Semantic()

from . import views

## Instruction:
Change to use ESA class in other module
## Code After:
"""Dasem app."""


from __future__ import absolute_import, division, print_function

from flask import Flask
from flask_bootstrap import Bootstrap

from ..dannet import Dannet
from ..wikipedia import ExplicitSemanticAnalysis


app = Flask(__name__)
Bootstrap(app)

app.dasem_dannet = Dannet()
app.dasem_wikipedia_esa = ExplicitSemanticAnalysis(display=True)

from . import views
