Skip to content

Commit

Permalink
filter when not in corpus
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEnquirer committed Jul 15, 2021
1 parent f1c9269 commit 5169d47
Showing 1 changed file with 3 additions and 64 deletions.
67 changes: 3 additions & 64 deletions app_holder/corsaurus/src/components/VecViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,69 +20,8 @@ class VecViewer extends Component
//'man', 'woman', 'boy', 'girl', 'apple', 'orange', 'pear', 'avocado', 'tomato'
//'i', 'love', 'you',
//'mean', 'rude', 'horrible', 'nice', 'amazing'
'Acai',
'Apples',
'Apricots',
'Avocado',
'Ackee',
'Bananas',
'Bilberries',
'Blueberries',
'Blackberries',
'Boysenberries',
'Bread',
'fruit',
'Cantaloupes',
'(cantalope)',
'Chocolate-Fruit',
'Cherimoya',
'Cherries',
'Cranberries',
'Cucumbers',
'Currants',
'Dates',
'Durian',
'Eggplant',
'Elderberries',
'Figs',
'Gooseberries',
'Grapes',
'Grapefruit',
'Guava',
'Honeydew',
'melons',
'Horned',
'melon',
'(Kiwano)',
'Huckleberries',
'Ita',
'Palm',
'Jujubes',
'Kiwis',
'Durian.jpg',
'Kumquat',
'Lemons',
'Limes',
'Lychees',
'Mangos',
'Mangosteen',
'Mulberries',
'Muskmelon',
'Nectarines',
'Ogden',
'melons',
'Olives',
'Oranges',
'Papaya',
'Passion',
'fruit',
'Peaches',
'Pears',
'Peppers',
'Persimmon',
'Pineapple',
'Plums'

'Acai', 'Apples', 'Apricots', 'Avocado', 'Ackee', 'Bananas', 'Bilberries', 'Blueberries', 'Blackberries', 'Boysenberries', 'Bread', 'fruit', 'Cantaloupes', '(cantalope)', 'Chocolate-Fruit', 'Cherimoya', 'Cherries', 'Cranberries', 'Cucumbers', 'Currants', 'Dates', 'Durian', 'Eggplant',
//'Elderberries', 'Figs', 'Gooseberries', 'Grapes', 'Grapefruit', 'Guava', 'Honeydew', 'melons', 'Horned', 'melon', '(Kiwano)', 'Huckleberries', 'Ita', 'Palm', 'Jujubes', 'Kiwis', 'Durian.jpg', 'Kumquat', 'Lemons', 'Limes', 'Lychees', 'Mangos', 'Mangosteen', 'Mulberries', 'Muskmelon', 'Nectarines', 'Ogden', 'melons', 'Olives', 'Oranges', 'Papaya', 'Passion', 'fruit', 'Peaches', 'Pears', 'Peppers', 'Persimmon', 'Pineapple', 'Plums'
]
};

Expand Down Expand Up @@ -141,7 +80,7 @@ class VecViewer extends Component
{this.state.words.map((word, i) => {
return (
<div className="r-wrapper">
<p className="vword"> {word} </p>
{this.state.data[i]? <p className="vword"> {word} </p> : ""}
{this.state.data[i]? this.state.data[i].map((v) => {
return (
<div>
Expand Down

0 comments on commit 5169d47

Please sign in to comment.