chat bot nfL6.json training data

I am experimenting with chatterbot and the nfL6.json training data set. The data looks like this below, should I be using an nbestanswers or answer to train the chat bot?

{
    main_category: Food  Drink, 
    question: For those of you who have been to Mexico, how amazing is the Joya?, 
    nbestanswers: [
        I lived for 12 years in Mexico. Do not know a town by Joya.. Looked in my directory for city codes and did not find it either. Only found LA JOYA DE CALVILLO, GTO  429.. Are you speaking of a hotel?, 
        great
    ], 
    answer: I lived for 12 years in Mexico. Do not know a town by Joya.. Looked in my directory for city codes and did not find it either. Only found LA JOYA DE CALVILLO, GTO  429.. Are you speaking of a hotel?, 
    id: 2938817
}, 
{
    main_category: Science  Mathematics, 
    question: How the water turbines works?, 
    nbestanswers: [
        A turbine used under a waterfall simply catches water as it falls and uses the weight of the water to turn it. A turbine that operating due to a flow of water has fan blades on it. As water pushes against the angled blades, the component of force  perpendicular to the blade turns the turbine about its axle.. . Once you have a method of rotating an axle, it is connected to a generator, which is a combination of rotating coils inside a magnetic field which generates eletrical potential., 
        Water turbines convert the gravitational energy of a falling water flow into kinetic energy, and then into electrical energy if a generator is connected to the turbine axis. The shape of turbines is optimized to get the maximum from this conversion and depend on the fall height and on the flow amount., 
        weight of water * acceleration of water = water pressure applied on turbine blade. Turbine blade is free to rotate  we get energy of water converted to rotating energy of turbine.
    ], 
    answer: A turbine used under a waterfall simply catches water as it falls and uses the weight of the water to turn it. A turbine that operating due to a flow of water has fan blades on it. As water pushes against the angled blades, the component of force  perpendicular to the blade turns the turbine about its axle.. . Once you have a method of rotating an axle, it is connected to a generator, which is a combination of rotating coils inside a magnetic field which generates electrical potential., 
    id: 2434940
}

Topic chatbot nltk python machine-learning

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.