You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: porterStemmer.m
    path of file: ./repos/Octave/mlclass-ex6/mlclass-ex6
    
    the code of the file until where you have to start completion: function stem = porterStemmer(inString)
% Applies the Porter Stemming algorithm as presented in the following
% paper:
% P
    
function c1 = cvc(i, b, k0)
if ((i < (k0+2)) || ~cons(i, b, k0) || cons(i-1, b, k0) || ~cons(i-2, b, k0))
    c1 = false;
else
    if (b(i) == 'w' || b(i) == 'x' || b(i) == 'y')
        c1 = false;
        return
    end