Closed CaptainDario closed 1 year ago
I am using the default counter app with this addition:
...
var tagger = new Mecab();
String text = "";
@override
void initState() {
// TODO: implement initState
super.initState();
mecab();
}
Future<void> mecab () async {
await tagger.init("assets/ipadic", true);
var tokens = tagger.parse('にわにわにわにわとりがいる。');
for(var token in tokens) {
text += token.surface + "\t";
for(var i = 0; i < token.features.length; i++) {
text += token.features[i];
if(i + 1 < token.features.length) {
text += ",";
}
}
text += "\n";
}
print("text: $text");
}
...
Seems like this only happens on Windows. Building on MacOS for android works fine.
Can you try again to see if it is working now?
@dttvn0010 yes, seems to be working now. Thank you!
Would be nice if you could publish a new version with all the new changes.
When I try to run the plugin in a new android app, there is no output. The compilation goes through fine but there is no output. Do you have any ideas why?