-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tokens in tokens.csv are all lowercase #57
Comments
Which task do you run? |
I use the pathContexts task. |
Okay, I will add the functionality for this! |
Thanks a lot. |
I removed the ' toLowerCase() 'in astminer/src/main/kotlin/astminer/common/TreeUtil.kt line62. But after building , the tokens are still in lowercase. |
@v587su I assume that you are modifying the library and building the CLI then. In order to see changes, you should point CLI to the local build of the library. To do so, modify |
@egor-bogomolov Sry, I'm not familiar with gradle. I tried many times. And change the dependency of astminer-cli to
Thanks again. |
Hi, @v587su! Sorry for not elaborating on it previously :( |
@egor-bogomolov Thanks for your warm heart. It seems that CLI and the local library are incompatible. When I run
|
I recommend you pull the latest changes from our master branch. Recently I've updated the API of storages and it looks like it is updated in your CLI (call with 3 parameters) but not in the library (constructor with a single parameter). |
As you can see in Code2VecPathStorage.kt, in master branch it is already updated. |
It is my fault. The latest version is 0.5.5. However, I use 0.5.4.jar.
My java version is 11.0.3. |
Could you please fork the repository and push your changes there? |
I make no changes. Just to test the process. |
Does the error occur when you use remote version of the library? I.e., if you just clone the repository, run |
It is ok with remote version. I guess it is caused by my java version. What is yours? |
|
I was able to reproduce your error, looking for a fix. |
I've made a commit to master where I added
|
@egor-bogomolov Thanks! It works! |
@egor-bogomolov Hi, the local library still has bugs. The result generated by |
What do you mean by the local and online libraries? Did you check the corresponding versions? What project do you test it on? |
Forgive my poor English. |
Since the issue discussion, we significantly improved the |
I can not split them when they are in camel case. Could you please add an option to keep upper case letters?
The text was updated successfully, but these errors were encountered: