diff --git a/package.json b/package.json
index 441737a8..b2075667 100644
--- a/package.json
+++ b/package.json
@@ -75,7 +75,7 @@
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-markdown": "^4.1.0",
- "react-nlp-annotate": "^1.0.0",
+ "react-nlp-annotate": "^1.0.1",
"rimraf": "^3.0.2",
"spelling": "^2.0.1"
},
diff --git a/src/components/TextEntityRecognition/index.js b/src/components/TextEntityRecognition/index.js
index 2290fcf0..a692f4e5 100644
--- a/src/components/TextEntityRecognition/index.js
+++ b/src/components/TextEntityRecognition/index.js
@@ -27,6 +27,7 @@ export const TextEntityRecognition = ({
key={sampleIndex}
titleContent={Sample {sampleIndex}}
type="label-sequence"
+ separatorRegex={iface?.wordSplitRegex}
document={sample?.document}
labels={iface?.labels}
initialSequence={initialSequence}
diff --git a/src/components/TextEntityRelations/index.js b/src/components/TextEntityRelations/index.js
index a8946484..d0e47603 100644
--- a/src/components/TextEntityRelations/index.js
+++ b/src/components/TextEntityRelations/index.js
@@ -31,6 +31,7 @@ export const TextEntityRelations = ({
key={sampleIndex}
titleContent={Sample {sampleIndex}}
type="label-relationships"
+ separatorRegex={iface?.wordSplitRegex}
document={sample?.document}
entityLabels={iface?.entityLabels}
relationshipLabels={iface?.relationLabels}
diff --git a/yarn.lock b/yarn.lock
index cd456dfc..f657d642 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -16932,10 +16932,10 @@ react-native-get-random-values@^1.4.0:
dependencies:
fast-base64-decode "^1.0.0"
-react-nlp-annotate@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/react-nlp-annotate/-/react-nlp-annotate-1.0.0.tgz#bda66cf967dd78b79b0ec60afbfd920d6c40cdab"
- integrity sha512-D01lbuaABLMegccLz9VFjhc8bKviESwAKm3hD3y89pmmLresrInOpAGfk5dS+8dAJAmDEZDYhP6xiFMKN3C1xw==
+react-nlp-annotate@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/react-nlp-annotate/-/react-nlp-annotate-1.0.1.tgz#38612b1805b1927ae3d230d2bddc2f5621801d1e"
+ integrity sha512-NRJoVoWMWVO+bmpSMgOdL82peJPzCSXeTKXDtl/i5E7qRcGt1A9pp25lquMYqUtr4klmuiS5QoN7AN4F78/SKw==
dependencies:
"@material-ui/lab" "^4.0.0-alpha.56"
chroma-js "^2.0.3"