from flask import Flask from flask_restful import Api from api.resources.Jaccard import JaccardResource app = Flask(__name__) api = Api(app) api.add_resource(JaccardResource, '/stemmer-distance') if __name__ == '__main__': app.run()