ApexNLP icon indicating copy to clipboard operation
ApexNLP copied to clipboard

location isn't extracted

Open sharukhmohammed opened this issue 6 years ago • 0 comments

{
"title" : "Lunch",
"location" : "",
"startDateTime" : "2017/4/13 12:00",
"endDateTime" : "2017/4/13 12:30",
"isAllDay" : false,
"recurrence" : null
}

location is said to be returned by Apex.nlp();

Event class here

But in my Android Studio Import, it's not present. screen shot 2018-02-28 at 16 59 07

here is my Gradle build import file:

apply plugin: 'com.android.application'
apply plugin: 'realm-android'

android {
    compileSdkVersion 27
    buildToolsVersion "26.0.2"
    defaultConfig {
        applicationId "sharukh.reminds"
        minSdkVersion 21
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:27.0.2'
    compile 'com.android.support:design:27.0.2'
    compile 'com.android.support:recyclerview-v7:27.0.2'
    compile 'com.android.support:cardview-v7:27.0.2'
    //ApexNLP core library
    compile 'com.sixthsolution.apex:apex:0.1.0-alpha1'
    //NLP for English
    compile 'com.sixthsolution.apex:english-nlp:0.1.0-alpha1'
    //ThreeTen
    compile 'org.threeten:threetenbp:1.3.3'
    testCompile 'junit:junit:4.12'
}

sharukhmohammed avatar Feb 28 '18 11:02 sharukhmohammed