Skip to content
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

Fix offsets #38 #39

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Conversation

miyakelp
Copy link
Contributor

@miyakelp miyakelp commented Feb 6, 2019

GET my_index/_analyze '{"analyzer":"sudachi_analyzer", "text":["りんご、ごりら", "らっぱ"]}'
{
  "tokens" : [
    {
      "token" : "りんご",
      "start_offset" : 0,
      "end_offset" : 3,
      "type" : "word",
      "position" : 0
    },
    {
      "token" : "ごり",
      "start_offset" : 4,
      "end_offset" : 6,
      "type" : "word",
      "position" : 1
    },
    {
      "token" : "ら",
      "start_offset" : 6,
      "end_offset" : 7,
      "type" : "word",
      "position" : 2
    },
    {
      "token" : "らっぱ",
      "start_offset" : 8,
      "end_offset" : 11,
      "type" : "word",
      "position" : 103
    }
  ]
}

@miyakelp miyakelp changed the title Fix #38 Fix offset #38 Feb 6, 2019
@miyakelp miyakelp changed the title Fix offset #38 Fix offsets #38 Feb 6, 2019
@kazuma-t kazuma-t merged commit 15cf239 into WorksApplications:develop Feb 7, 2019
@kazuma-t
Copy link
Member

kazuma-t commented Feb 7, 2019

Thank you for your nice patch!

ogino added a commit to ogino/elasticsearch-sudachi that referenced this pull request Feb 7, 2019
 - pom.xml

Update maven plugins.
 - pom.xml

Merge from ‘origin/develop’ branch.
 *WorksApplications#39
 -  src/main/java/com/worksap/nlp/lucene/sudachi/ja/SudachiTokenizer.java
ogino added a commit to ogino/elasticsearch-sudachi that referenced this pull request Jun 3, 2019
 - pom.xml

Update maven plugins.
 - pom.xml

Merge from ‘origin/develop’ branch.
 *WorksApplications#39
 -  src/main/java/com/worksap/nlp/lucene/sudachi/ja/SudachiTokenizer.java
ogino added a commit to ogino/elasticsearch-sudachi that referenced this pull request Jun 3, 2019
 - pom.xml

Update maven plugins.
 - pom.xml

Merge from ‘origin/develop’ branch.
 *WorksApplications#39
 -  src/main/java/com/worksap/nlp/lucene/sudachi/ja/SudachiTokenizer.java
ogino added a commit to ogino/elasticsearch-sudachi that referenced this pull request Jun 3, 2019
 - pom.xml

Update maven plugins.
 - pom.xml

Merge from ‘origin/develop’ branch.
 *WorksApplications#39
 -  src/main/java/com/worksap/nlp/lucene/sudachi/ja/SudachiTokenizer.java
ogino added a commit to ogino/elasticsearch-sudachi that referenced this pull request Jun 3, 2019
 - pom.xml

Update maven plugins.
 - pom.xml

Merge from ‘origin/develop’ branch.
 *WorksApplications#39
 -  src/main/java/com/worksap/nlp/lucene/sudachi/ja/SudachiTokenizer.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants