<commit_before>%% @author <NAME> <<EMAIL>>
%% @author <NAME> <<EMAIL>>
%% @copyright 2007-2009 Basho Technologies
%%
%%    Licensed under the Apache License, Version 2.0 (the "License");
%%    you may not use this file except in compliance with the License.
%%    You may obtain a copy of the License at
%%
%%        http://www.apache.org/licenses/LICENSE-2.0
%%
%%    Unless required by applicable law or agreed to in writing, software
%%    distributed under the License is distributed on an "AS IS" BASIS,
%%    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%%    See the License for the specific language governing permissions and
%%    limitations under the License.

-module(webzmachine).
-author('<NAME> <<EMAIL>>').
-author('<NAME> <<EMAIL>>').
-export([start/0, stop/0]).
-export_type([reqdata/0, context/0, reply/0]).

-include("webmachine_logger.hrl").
-include_lib("include/wm_reqdata.hrl").

-opaque reqdata() :: #wm_reqdata{}.
-opaque context() :: term().
-type reply() :: {Result::term(), reqdata(), context()}.

%% @spec start() -> ok
%% @doc Start the webmachine server.
start() ->
    webmachine_deps:ensure(),
    application:set_env(webzmachine, server_header, webmachine_request:server_header()),
    application:start(crypto),
    application:start(webzmachine).

%% @spec stop() -> ok
%% @doc Stop the webmachine server.
stop() ->
    application:stop(webzmachine).<commit_msg>Fix compilation error on R16B01<commit_after>%% @author <NAME> <<EMAIL>>
%% @author <NAME> <<EMAIL>>
%% @copyright 2007-2009 Basho Technologies
%%
%%    Licensed under the Apache License, Version 2.0 (the "License");
%%    you may not use this file except in compliance with the License.
%%    You may obtain a copy of the License at
%%
%%        http://www.apache.org/licenses/LICENSE-2.0
%%
%%    Unless required by applicable law or agreed to in writing, software
%%    distributed under the License is distributed on an "AS IS" BASIS,
%%    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%%    See the License for the specific language governing permissions and
%%    limitations under the License.

-module(webzmachine).
-author('<NAME> <<EMAIL>>').
-author('<NAME> <<EMAIL>>').
-export([start/0, stop/0]).
-export_type([reqdata/0, context/0, reply/0]).

-include("webmachine_logger.hrl").
-include_lib("include/wm_reqdata.hrl").

-opaque reqdata() :: #wm_reqdata{}.
-type context() :: term().
-type reply() :: {Result::term(), reqdata(), context()}.

%% @spec start() -> ok
%% @doc Start the webmachine server.
start() ->
    webmachine_deps:ensure(),
    application:set_env(webzmachine, server_header, webmachine_request:server_header()),
    application:start(crypto),
    application:start(webzmachine).

%% @spec stop() -> ok
%% @doc Stop the webmachine server.
stop() ->
    application:stop(webzmachine).
{'fraction_non_alphanumeric': 0.15749128919860628, 'fraction_numerical': 0.0132404181184669, 'mean_word_length': 4.346368715083799, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1636384', 'n_tokens_mistral': 869, 'n_tokens_neox': 856, 'n_words': 277}