(*libML=ReadString["/Users/darashayda1xfer/Desktop/MODULES/Ryerson/TRSMREL/libML.m"]<>"\n";
libERR=ReadString["/Users/darashayda1xfer/Desktop/MODULES/Ryerson/TRSMREL/libERR.m"]<>"\n";*)

libML=ReadString["C:/mathematica/Work/lossofgenerality/TRSM/10.3/libML.m"]<>"\n";
libERR=ReadString["C:/mathematica/Work/lossofgenerality/TRSM/10.3/libERR.m"]<>"\n";
ToExpression@libML;
ToExpression@libERR;

Keys[YINTERCEPT`classssssssss2]

Keys[YINTERCEPT`classssssssss2][[10]]

filter=True;
a2=Keys[YINTERCEPT`classssssssss2][[10]];
If[((StringContainsQ[a2, "intersect"]==True||StringContainsQ[a2, "cross"]==True) && (StringContainsQ[a2, "line"]==True||StringContainsQ[a2, "graph"]==True||StringContainsQ[a2, "plot"]==True) && (StringContainsQ[a2, "y axis"]==True || StringContainsQ[a2, "y-axis"]==True)), filter, False]

This tests the filter to make sure corpus is accepted 100%

err6["","",#]&/@(Keys[YINTERCEPT`classssssssss2])

The last argument is the user input, change that to test the ML:

err6["","","y axis intersection with the line"]

err6["","","intersecting with the line at y axis"]

err6["","","intersection of line and y axis"]

Random junk mostly fails

err6["","","lkjs slkjldkj skjf lkj"]
err6["","","fdjh hd jj kfljlkjg "]
err6["","","dflkj llkjdf l lll"]

WRONG ANSWERS ARE FILTERED

err6["","","the line of intersection"]

err6["","","the y-intercept is nothing"]

err6["","","line intersect"]

err6["","","are driven"]

err6["","","represents the cost of owning a car when @@@@@@@@@ km are driven"]

err6["","","represents the cost of owning a car when 0 km are driven"]

err6["","","point line"]

err6["","","where the line intersect"]

err6["","","x-intercept is intersection of line with y axis"]

err6["","","y-intercept"]

err6["","","point"]

err6["","","the value"]

err6["","","when"]

err6["","","crosses"]

err6["","","y axis"]

err6["","","of owning"]

err6["","","represents"]

Keys[SLOPE`classssssssss]

This tests the filter to make sure corpus is accepted 100%

err5["","",#]&/@(Keys[SLOPE`classssssssss])

some keyword missing

err5["","","slope measures the rate of change for a line"]

err5["","","rate of change of a line is called slope"]

err5["","","rate of change is slope"]

err5["","","how fast variable change is slope"]

err5["","","change of variable is slope"]

err5["","","variable changing rate called slope"]

err5["","","slope measures how fast something changes"]

err5["","","slope measure how fast something changes"]

Random junk mostly fails

err5["","","lkjs slkjldkj skjf lkj"]
err5["","","fdjh hd jj kfljlkjg "]
err5["","","dflkj llkjdf l lll"]

These are from the net

err5["","","How steep a line is"]

err5["","","How steep a straight line is"]

err5["","","A number which is used to indicate the steepness of a line"]

err5["","","the slope of a line is a number that describes both the direction and the steepness of the line"]

err5["","","It is the change in y for a unit change in x along the line"]

err5["","","The slope of a line is a measure of the incline of the line"]

err5["","","the slope of a line is the ratio of the change in y compared to the change in x"]

Car specific

err5["","","The increase of cost of owning a car"]

err5["","","how much cost of owning a car goes up"]

WRONG ANSWERS

err5["","","the slope shows nothing"]

err5["","","the slope is nothing"]

err5["","","which the cost"]

err5["","","by"]

err5["","","The annual"]

err5["","","The annual cost of"]

err5["","","The annual cost of owning "]

err5["","","a car"]

err5["","","The annual cost of owning a car"]

err5["","","it is it"]

err5["","","it is"]

err5["","","increases by"]

err5["","","y for"]

err5["","","a car"]

err5["","","km driven"]

err5["","","km"]

err5["","","of owning"]

err5["","","driven"]

err5["","","represents the"]

err5["","","indicates"]

err5["","","slope"]